amazonka-snowball-2.0: Amazon Import/Export Snowball SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Snowball.CreateLongTermPricing

Description

Creates a job with the long-term usage option for a device. The long-term usage is a 1-year or 3-year long-term pricing type for the device. You are billed upfront, and Amazon Web Services provides discounts for long-term pricing.

Synopsis

Creating a Request

data CreateLongTermPricing Source #

See: newCreateLongTermPricing smart constructor.

Constructors

CreateLongTermPricing' 

Fields

Instances

Instances details
ToJSON CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

ToHeaders CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

ToPath CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

ToQuery CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

AWSRequest CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Associated Types

type AWSResponse CreateLongTermPricing #

Generic CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Associated Types

type Rep CreateLongTermPricing :: Type -> Type #

Read CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Show CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

NFData CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Methods

rnf :: CreateLongTermPricing -> () #

Eq CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Hashable CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

type AWSResponse CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

type Rep CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

type Rep CreateLongTermPricing = D1 ('MetaData "CreateLongTermPricing" "Amazonka.Snowball.CreateLongTermPricing" "amazonka-snowball-2.0-6vnXQdr1CFv4zLyXDWX7zH" 'False) (C1 ('MetaCons "CreateLongTermPricing'" 'PrefixI 'True) (S1 ('MetaSel ('Just "isLongTermPricingAutoRenew") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "snowballType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnowballType)) :*: S1 ('MetaSel ('Just "longTermPricingType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LongTermPricingType))))

newCreateLongTermPricing Source #

Create a value of CreateLongTermPricing 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:

CreateLongTermPricing, createLongTermPricing_isLongTermPricingAutoRenew - snowballty

Specifies whether the current long-term pricing type for the device should be renewed.

CreateLongTermPricing, createLongTermPricing_snowballType - The type of Snow Family devices to use for the long-term pricing job.

CreateLongTermPricing, createLongTermPricing_longTermPricingType - The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.

Request Lenses

createLongTermPricing_isLongTermPricingAutoRenew :: Lens' CreateLongTermPricing (Maybe Bool) Source #

snowballty

Specifies whether the current long-term pricing type for the device should be renewed.

createLongTermPricing_snowballType :: Lens' CreateLongTermPricing (Maybe SnowballType) Source #

The type of Snow Family devices to use for the long-term pricing job.

createLongTermPricing_longTermPricingType :: Lens' CreateLongTermPricing LongTermPricingType Source #

The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.

Destructuring the Response

data CreateLongTermPricingResponse Source #

See: newCreateLongTermPricingResponse smart constructor.

Constructors

CreateLongTermPricingResponse' 

Fields

Instances

Instances details
Generic CreateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Associated Types

type Rep CreateLongTermPricingResponse :: Type -> Type #

Read CreateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Show CreateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

NFData CreateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Eq CreateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

type Rep CreateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

type Rep CreateLongTermPricingResponse = D1 ('MetaData "CreateLongTermPricingResponse" "Amazonka.Snowball.CreateLongTermPricing" "amazonka-snowball-2.0-6vnXQdr1CFv4zLyXDWX7zH" 'False) (C1 ('MetaCons "CreateLongTermPricingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "longTermPricingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateLongTermPricingResponse Source #

Create a value of CreateLongTermPricingResponse 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:

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

$sel:httpStatus:CreateLongTermPricingResponse', createLongTermPricingResponse_httpStatus - The response's http status code.

Response Lenses