regional_hostname | R Documentation |
We need this function because the AWS SDK does not yet honor the “region_name“ parameter when creating an AWS STS client. For the list of regional endpoints, see https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html#id_credentials_region-endpoints.
regional_hostname(service_name, region)
service_name |
(str): Name of the service to resolve an endpoint for (e.g., s3) |
region |
(str): AWS region name |
str: AWS STS regional endpoint
Other sagemaker_utils:
.aws_partition()
,
.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()
,
repack_model()
,
retries()
,
sagemaker_short_timestamp()
,
sagemaker_timestamp()
,
secondary_training_status_changed()
,
secondary_training_status_message()
,
sts_regional_endpoint()
,
unique_name_from_base()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.