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

Description

Updates the long-term pricing type.

Synopsis

Creating a Request

data UpdateLongTermPricing Source #

See: newUpdateLongTermPricing smart constructor.

Constructors

UpdateLongTermPricing' 

Fields

  • isLongTermPricingAutoRenew :: Maybe Bool

    If set to true, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.

  • replacementJob :: Maybe Text

    Specifies that a device that is ordered with long-term pricing should be replaced with a new device.

  • longTermPricingId :: Text

    The ID of the long-term pricing type for the device.

Instances

Instances details
Eq UpdateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

Read UpdateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

Show UpdateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

Generic UpdateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

Associated Types

type Rep UpdateLongTermPricing :: Type -> Type #

NFData UpdateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

Methods

rnf :: UpdateLongTermPricing -> () #

Hashable UpdateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

ToJSON UpdateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

AWSRequest UpdateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

Associated Types

type AWSResponse UpdateLongTermPricing #

ToHeaders UpdateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

ToPath UpdateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

ToQuery UpdateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

type Rep UpdateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

type Rep UpdateLongTermPricing = D1 ('MetaData "UpdateLongTermPricing" "Amazonka.Snowball.UpdateLongTermPricing" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "UpdateLongTermPricing'" 'PrefixI 'True) (S1 ('MetaSel ('Just "isLongTermPricingAutoRenew") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "replacementJob") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "longTermPricingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

newUpdateLongTermPricing Source #

Create a value of UpdateLongTermPricing 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:isLongTermPricingAutoRenew:UpdateLongTermPricing', updateLongTermPricing_isLongTermPricingAutoRenew - If set to true, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.

$sel:replacementJob:UpdateLongTermPricing', updateLongTermPricing_replacementJob - Specifies that a device that is ordered with long-term pricing should be replaced with a new device.

$sel:longTermPricingId:UpdateLongTermPricing', updateLongTermPricing_longTermPricingId - The ID of the long-term pricing type for the device.

Request Lenses

updateLongTermPricing_isLongTermPricingAutoRenew :: Lens' UpdateLongTermPricing (Maybe Bool) Source #

If set to true, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.

updateLongTermPricing_replacementJob :: Lens' UpdateLongTermPricing (Maybe Text) Source #

Specifies that a device that is ordered with long-term pricing should be replaced with a new device.

updateLongTermPricing_longTermPricingId :: Lens' UpdateLongTermPricing Text Source #

The ID of the long-term pricing type for the device.

Destructuring the Response

data UpdateLongTermPricingResponse Source #

See: newUpdateLongTermPricingResponse smart constructor.

Constructors

UpdateLongTermPricingResponse' 

Fields

Instances

Instances details
Eq UpdateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

Read UpdateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

Show UpdateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

Generic UpdateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

Associated Types

type Rep UpdateLongTermPricingResponse :: Type -> Type #

NFData UpdateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

type Rep UpdateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateLongTermPricing

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

newUpdateLongTermPricingResponse Source #

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

Response Lenses