libZSservicesZSamazonka-snowballZSamazonka-snowball
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Snowball.GetSoftwareUpdates

Description

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

Synopsis

Creating a Request

data GetSoftwareUpdates Source #

See: newGetSoftwareUpdates smart constructor.

Constructors

GetSoftwareUpdates' 

Fields

  • jobId :: Text

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

Instances

Instances details
Eq GetSoftwareUpdates Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

Read GetSoftwareUpdates Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

Show GetSoftwareUpdates Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

Generic GetSoftwareUpdates Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

Associated Types

type Rep GetSoftwareUpdates :: Type -> Type #

NFData GetSoftwareUpdates Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

Methods

rnf :: GetSoftwareUpdates -> () #

Hashable GetSoftwareUpdates Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

ToJSON GetSoftwareUpdates Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

AWSRequest GetSoftwareUpdates Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

Associated Types

type AWSResponse GetSoftwareUpdates #

ToHeaders GetSoftwareUpdates Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

ToPath GetSoftwareUpdates Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

ToQuery GetSoftwareUpdates Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

type Rep GetSoftwareUpdates Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

type Rep GetSoftwareUpdates = D1 ('MetaData "GetSoftwareUpdates" "Amazonka.Snowball.GetSoftwareUpdates" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "GetSoftwareUpdates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetSoftwareUpdates Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

newGetSoftwareUpdates Source #

Create a value of GetSoftwareUpdates with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:jobId:GetSoftwareUpdates', getSoftwareUpdates_jobId - The ID for a job that you want to get the software update file for, for example JID123e4567-e89b-12d3-a456-426655440000.

Request Lenses

getSoftwareUpdates_jobId :: Lens' GetSoftwareUpdates Text Source #

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

Destructuring the Response

data GetSoftwareUpdatesResponse Source #

See: newGetSoftwareUpdatesResponse smart constructor.

Constructors

GetSoftwareUpdatesResponse' 

Fields

  • updatesURI :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetSoftwareUpdatesResponse Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

Read GetSoftwareUpdatesResponse Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

Show GetSoftwareUpdatesResponse Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

Generic GetSoftwareUpdatesResponse Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

Associated Types

type Rep GetSoftwareUpdatesResponse :: Type -> Type #

NFData GetSoftwareUpdatesResponse Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

type Rep GetSoftwareUpdatesResponse Source # 
Instance details

Defined in Amazonka.Snowball.GetSoftwareUpdates

type Rep GetSoftwareUpdatesResponse = D1 ('MetaData "GetSoftwareUpdatesResponse" "Amazonka.Snowball.GetSoftwareUpdates" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "GetSoftwareUpdatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "updatesURI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetSoftwareUpdatesResponse Source #

Create a value of GetSoftwareUpdatesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:updatesURI:GetSoftwareUpdatesResponse', getSoftwareUpdatesResponse_updatesURI - 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.

$sel:httpStatus:GetSoftwareUpdatesResponse', getSoftwareUpdatesResponse_httpStatus - The response's http status code.

Response Lenses

getSoftwareUpdatesResponse_updatesURI :: Lens' GetSoftwareUpdatesResponse (Maybe Text) Source #

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.