get_artifact_url

get_artifact_url(**kwargs)

Returns the artifact info that corresponds to an artifact id.

See also: AWS API Documentation

Request Syntax

response = client.get_artifact_url(
    artifactId='string'
)
Parameters
artifactId (string) --

[REQUIRED]

The unique ID for an artifact.

Return type
dict
Returns
Response Syntax
{
    'artifactId': 'string',
    'artifactUrl': 'string'
}

Response Structure

  • (dict) --

    Returns the result structure for the get artifact request.

    • artifactId (string) --

      The unique ID for an artifact.

    • artifactUrl (string) --

      The presigned URL for the artifact.

Exceptions

  • Amplify.Client.exceptions.BadRequestException
  • Amplify.Client.exceptions.UnauthorizedException
  • Amplify.Client.exceptions.InternalFailureException
  • Amplify.Client.exceptions.NotFoundException
  • Amplify.Client.exceptions.LimitExceededException