CreatePartnerAppPresignedUrl
Creates a presigned URL to access an Amazon SageMaker Partner AI App.
Request Syntax
{
"Arn": "string
",
"ExpiresInSeconds": number
,
"SessionExpirationDurationInSeconds": number
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- Arn
-
The ARN of the SageMaker Partner AI App to create the presigned URL for.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
Pattern:
arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:partner-app\/app-[A-Z0-9]{12}$
Required: Yes
- ExpiresInSeconds
-
The time that will pass before the presigned URL expires.
Type: Integer
Valid Range: Minimum value of 5. Maximum value of 300.
Required: No
- SessionExpirationDurationInSeconds
-
Indicates how long the Amazon SageMaker Partner AI App session can be accessed for after logging in.
Type: Integer
Valid Range: Minimum value of 1800. Maximum value of 43200.
Required: No
Response Syntax
{
"Url": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- Url
-
The presigned URL that you can use to access the SageMaker Partner AI App.
Type: String
Length Constraints: Maximum length of 2048.
Errors
For information about the errors that are common to all actions, see Common Errors.
- ResourceNotFound
-
Resource being access is not found.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: