Snowball / Client / get_software_updates

get_software_updates#

Snowball.Client.get_software_updates(**kwargs)#

Returns an Amazon S3 presigned URL for an update file associated with a specified JobId.

See also: AWS API Documentation

Request Syntax

response = client.get_software_updates(
    JobId='string'
)
Parameters:

JobId (string) –

[REQUIRED]

The ID for a job that you want to get the software update file for, for example JID123e4567-e89b-12d3-a456-426655440000.

Return type:

dict

Returns:

Response Syntax

{
    'UpdatesURI': 'string'
}

Response Structure

  • (dict) –

    • UpdatesURI (string) –

      The Amazon S3 presigned URL for the update file associated with the specified JobId value. The software update will be available for 2 days after this request is made. To access an update after the 2 days have passed, you’ll have to make another call to GetSoftwareUpdates.

Exceptions

  • Snowball.Client.exceptions.InvalidResourceException

  • Snowball.Client.exceptions.InvalidJobStateException