libZSservicesZSamazonka-glacierZSamazonka-glacier
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.Glacier.PurchaseProvisionedCapacity

Description

This operation purchases a provisioned capacity unit for an AWS account.

Synopsis

Creating a Request

data PurchaseProvisionedCapacity Source #

See: newPurchaseProvisionedCapacity smart constructor.

Constructors

PurchaseProvisionedCapacity' 

Fields

  • accountId :: Text

    The AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, don't include any hyphens ('-') in the ID.

Instances

Instances details
Eq PurchaseProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

Read PurchaseProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

Show PurchaseProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

Generic PurchaseProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

Associated Types

type Rep PurchaseProvisionedCapacity :: Type -> Type #

NFData PurchaseProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

Hashable PurchaseProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

ToJSON PurchaseProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

AWSRequest PurchaseProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

ToHeaders PurchaseProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

ToPath PurchaseProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

ToQuery PurchaseProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

type Rep PurchaseProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

type Rep PurchaseProvisionedCapacity = D1 ('MetaData "PurchaseProvisionedCapacity" "Amazonka.Glacier.PurchaseProvisionedCapacity" "libZSservicesZSamazonka-glacierZSamazonka-glacier" 'False) (C1 ('MetaCons "PurchaseProvisionedCapacity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PurchaseProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

newPurchaseProvisionedCapacity Source #

Create a value of PurchaseProvisionedCapacity 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:accountId:PurchaseProvisionedCapacity', purchaseProvisionedCapacity_accountId - The AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, don't include any hyphens ('-') in the ID.

Request Lenses

purchaseProvisionedCapacity_accountId :: Lens' PurchaseProvisionedCapacity Text Source #

The AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, don't include any hyphens ('-') in the ID.

Destructuring the Response

data PurchaseProvisionedCapacityResponse Source #

Constructors

PurchaseProvisionedCapacityResponse' 

Fields

Instances

Instances details
Eq PurchaseProvisionedCapacityResponse Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

Read PurchaseProvisionedCapacityResponse Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

Show PurchaseProvisionedCapacityResponse Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

Generic PurchaseProvisionedCapacityResponse Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

NFData PurchaseProvisionedCapacityResponse Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

type Rep PurchaseProvisionedCapacityResponse Source # 
Instance details

Defined in Amazonka.Glacier.PurchaseProvisionedCapacity

type Rep PurchaseProvisionedCapacityResponse = D1 ('MetaData "PurchaseProvisionedCapacityResponse" "Amazonka.Glacier.PurchaseProvisionedCapacity" "libZSservicesZSamazonka-glacierZSamazonka-glacier" 'False) (C1 ('MetaCons "PurchaseProvisionedCapacityResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "capacityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPurchaseProvisionedCapacityResponse Source #

Create a value of PurchaseProvisionedCapacityResponse 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:capacityId:PurchaseProvisionedCapacityResponse', purchaseProvisionedCapacityResponse_capacityId - The ID that identifies the provisioned capacity unit.

$sel:httpStatus:PurchaseProvisionedCapacityResponse', purchaseProvisionedCapacityResponse_httpStatus - The response's http status code.

Response Lenses