Amazon SageMaker Service

2021/02/18 - Amazon SageMaker Service - 1 updated api methods

Changes  Update sagemaker client to latest version

CreatePresignedDomainUrl (updated) Link ΒΆ
Changes (request)
{'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.

See also: AWS API Documentation

Request Syntax

client.create_presigned_domain_url(
    DomainId='string',
    UserProfileName='string',
    SessionExpirationDurationInSeconds=123,
    ExpiresInSeconds=123
)
type DomainId:

string

param DomainId:

[REQUIRED]

The domain ID.

type UserProfileName:

string

param UserProfileName:

[REQUIRED]

The name of the UserProfile to sign-in as.

type SessionExpirationDurationInSeconds:

integer

param SessionExpirationDurationInSeconds:

The session expiration duration in seconds. This value defaults to 43200.

type ExpiresInSeconds:

integer

param ExpiresInSeconds:

The number of seconds until the pre-signed URL expires. This value defaults to 300.

rtype:

dict

returns:

Response Syntax

{
    'AuthorizedUrl': 'string'
}

Response Structure

  • (dict) --

    • AuthorizedUrl (string) --

      The presigned URL.