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.UpdateJobShipmentState

Description

Updates the state when a shipment state changes to a different state.

Synopsis

Creating a Request

data UpdateJobShipmentState Source #

See: newUpdateJobShipmentState smart constructor.

Constructors

UpdateJobShipmentState' 

Fields

  • jobId :: Text

    The job ID of the job whose shipment date you want to update, for example JID123e4567-e89b-12d3-a456-426655440000.

  • shipmentState :: ShipmentState

    The state of a device when it is being shipped.

    Set to RECEIVED when the device arrives at your location.

    Set to RETURNED when you have returned the device to AWS.

Instances

Instances details
Eq UpdateJobShipmentState Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

Read UpdateJobShipmentState Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

Show UpdateJobShipmentState Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

Generic UpdateJobShipmentState Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

Associated Types

type Rep UpdateJobShipmentState :: Type -> Type #

NFData UpdateJobShipmentState Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

Methods

rnf :: UpdateJobShipmentState -> () #

Hashable UpdateJobShipmentState Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

ToJSON UpdateJobShipmentState Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

AWSRequest UpdateJobShipmentState Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

Associated Types

type AWSResponse UpdateJobShipmentState #

ToHeaders UpdateJobShipmentState Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

ToPath UpdateJobShipmentState Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

ToQuery UpdateJobShipmentState Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

type Rep UpdateJobShipmentState Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

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

Defined in Amazonka.Snowball.UpdateJobShipmentState

newUpdateJobShipmentState Source #

Create a value of UpdateJobShipmentState 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:UpdateJobShipmentState', updateJobShipmentState_jobId - The job ID of the job whose shipment date you want to update, for example JID123e4567-e89b-12d3-a456-426655440000.

$sel:shipmentState:UpdateJobShipmentState', updateJobShipmentState_shipmentState - The state of a device when it is being shipped.

Set to RECEIVED when the device arrives at your location.

Set to RETURNED when you have returned the device to AWS.

Request Lenses

updateJobShipmentState_jobId :: Lens' UpdateJobShipmentState Text Source #

The job ID of the job whose shipment date you want to update, for example JID123e4567-e89b-12d3-a456-426655440000.

updateJobShipmentState_shipmentState :: Lens' UpdateJobShipmentState ShipmentState Source #

The state of a device when it is being shipped.

Set to RECEIVED when the device arrives at your location.

Set to RETURNED when you have returned the device to AWS.

Destructuring the Response

data UpdateJobShipmentStateResponse Source #

See: newUpdateJobShipmentStateResponse smart constructor.

Constructors

UpdateJobShipmentStateResponse' 

Fields

Instances

Instances details
Eq UpdateJobShipmentStateResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

Read UpdateJobShipmentStateResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

Show UpdateJobShipmentStateResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

Generic UpdateJobShipmentStateResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

Associated Types

type Rep UpdateJobShipmentStateResponse :: Type -> Type #

NFData UpdateJobShipmentStateResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

type Rep UpdateJobShipmentStateResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJobShipmentState

type Rep UpdateJobShipmentStateResponse = D1 ('MetaData "UpdateJobShipmentStateResponse" "Amazonka.Snowball.UpdateJobShipmentState" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "UpdateJobShipmentStateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateJobShipmentStateResponse Source #

Create a value of UpdateJobShipmentStateResponse 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:httpStatus:UpdateJobShipmentStateResponse', updateJobShipmentStateResponse_httpStatus - The response's http status code.

Response Lenses