dot-aws_partition: Given a region name (ex: "cn-north-1"), return the...

.aws_partitionR Documentation

Given a region name (ex: "cn-north-1"), return the corresponding aws partition ("aws-cn").

Description

region (str): The region name for which to return the corresponding partition.

Usage

.aws_partition(region)

Value

str: partition corresponding to the region name passed in.

See Also

Other sagemaker_utils: .download_files_under_prefix(), base_from_name(), base_name_from_image(), build_dict(), common_variables, create_tar_file(), download_file(), download_folder(), get_config_value(), get_short_version(), name_from_base(), name_from_image(), regional_hostname(), repack_model(), retries(), sagemaker_short_timestamp(), sagemaker_timestamp(), secondary_training_status_changed(), secondary_training_status_message(), sts_regional_endpoint(), unique_name_from_base()


DyfanJones/sagemaker-r-local documentation built on June 14, 2022, 10:32 p.m.