SageMaker / Client / create_partner_app_presigned_url

create_partner_app_presigned_url#

SageMaker.Client.create_partner_app_presigned_url(**kwargs)#

Creates a presigned URL to access an Amazon SageMaker Partner AI App.

See also: AWS API Documentation

Request Syntax

response = client.create_partner_app_presigned_url(
    Arn='string',
    ExpiresInSeconds=123,
    SessionExpirationDurationInSeconds=123
)
Parameters:
  • Arn (string) –

    [REQUIRED]

    The ARN of the SageMaker Partner AI App to create the presigned URL for.

  • ExpiresInSeconds (integer) – The time that will pass before the presigned URL expires.

  • SessionExpirationDurationInSeconds (integer) – Indicates how long the Amazon SageMaker Partner AI App session can be accessed for after logging in.

Return type:

dict

Returns:

Response Syntax

{
    'Url': 'string'
}

Response Structure

  • (dict) –

    • Url (string) –

      The presigned URL that you can use to access the SageMaker Partner AI App.

Exceptions

  • SageMaker.Client.exceptions.ResourceNotFound