2021/02/18 - Amazon SageMaker Service - 1 updated api methods
Changes Update sagemaker client to latest version
{'ExpiresInSeconds': 'integer'}
Creates a URL for a specified UserProfile in a Domain. When accessed in a web browser, the user will be automatically signed in to Amazon SageMaker Studio, and granted access to all of the Apps and files associated with the Domain's Amazon Elastic File System (EFS) volume. This operation can only be called when the authentication mode equals IAM.
Note
The URL that you get from a call to CreatePresignedDomainUrl has a default timeout of 5 minutes. You can configure this value using ExpiresInSeconds . If you try to use the URL after the timeout limit expires, you are directed to the AWS console sign-in page.
See also: AWS API Documentation
Request Syntax
client.create_presigned_domain_url( DomainId='string', UserProfileName='string', SessionExpirationDurationInSeconds=123, ExpiresInSeconds=123 )
string
[REQUIRED]
The domain ID.
string
[REQUIRED]
The name of the UserProfile to sign-in as.
integer
The session expiration duration in seconds. This value defaults to 43200.
integer
The number of seconds until the pre-signed URL expires. This value defaults to 300.
dict
Response Syntax
{ 'AuthorizedUrl': 'string' }
Response Structure
(dict) --
AuthorizedUrl (string) --
The presigned URL.