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.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 AWS provides discounts for long-term pricing.

Synopsis

Creating a Request

data CreateLongTermPricing Source #

See: newCreateLongTermPricing smart constructor.

Constructors

CreateLongTermPricing' 

Fields

Instances

Instances details
Eq CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Read CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Show CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Generic CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Associated Types

type Rep CreateLongTermPricing :: Type -> Type #

NFData CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Methods

rnf :: CreateLongTermPricing -> () #

Hashable CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

ToJSON CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

AWSRequest CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Associated Types

type AWSResponse 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

type Rep CreateLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

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

Defined in Amazonka.Snowball.CreateLongTermPricing

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:

$sel:snowballType:CreateLongTermPricing', createLongTermPricing_snowballType - The type of AWS Snow Family device to use for the long-term pricing job.

$sel:isLongTermPricingAutoRenew:CreateLongTermPricing', createLongTermPricing_isLongTermPricingAutoRenew - Specifies whether the current long-term pricing type for the device should be renewed.

$sel:longTermPricingType: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_snowballType :: Lens' CreateLongTermPricing (Maybe SnowballType) Source #

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

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

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

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
Eq CreateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Read CreateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Show CreateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Generic CreateLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.CreateLongTermPricing

Associated Types

type Rep CreateLongTermPricingResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-snowballZSamazonka-snowball" '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:

$sel:longTermPricingId: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