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

Description

This operation lists the provisioned capacity units for the specified AWS account.

Synopsis

Creating a Request

data ListProvisionedCapacity Source #

See: newListProvisionedCapacity smart constructor.

Constructors

ListProvisionedCapacity' 

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

Defined in Amazonka.Glacier.ListProvisionedCapacity

Read ListProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

Show ListProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

Generic ListProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

Associated Types

type Rep ListProvisionedCapacity :: Type -> Type #

NFData ListProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

Methods

rnf :: ListProvisionedCapacity -> () #

Hashable ListProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

AWSRequest ListProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

ToHeaders ListProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

ToPath ListProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

ToQuery ListProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

type Rep ListProvisionedCapacity Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

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

Defined in Amazonka.Glacier.ListProvisionedCapacity

newListProvisionedCapacity Source #

Create a value of ListProvisionedCapacity 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:ListProvisionedCapacity', listProvisionedCapacity_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

listProvisionedCapacity_accountId :: Lens' ListProvisionedCapacity 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 ListProvisionedCapacityResponse Source #

See: newListProvisionedCapacityResponse smart constructor.

Constructors

ListProvisionedCapacityResponse' 

Fields

Instances

Instances details
Eq ListProvisionedCapacityResponse Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

Read ListProvisionedCapacityResponse Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

Show ListProvisionedCapacityResponse Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

Generic ListProvisionedCapacityResponse Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

Associated Types

type Rep ListProvisionedCapacityResponse :: Type -> Type #

NFData ListProvisionedCapacityResponse Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

type Rep ListProvisionedCapacityResponse Source # 
Instance details

Defined in Amazonka.Glacier.ListProvisionedCapacity

type Rep ListProvisionedCapacityResponse = D1 ('MetaData "ListProvisionedCapacityResponse" "Amazonka.Glacier.ListProvisionedCapacity" "libZSservicesZSamazonka-glacierZSamazonka-glacier" 'False) (C1 ('MetaCons "ListProvisionedCapacityResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "provisionedCapacityList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProvisionedCapacityDescription])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newListProvisionedCapacityResponse Source #

Create a value of ListProvisionedCapacityResponse 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:provisionedCapacityList:ListProvisionedCapacityResponse', listProvisionedCapacityResponse_provisionedCapacityList - The response body contains the following JSON fields.

$sel:httpStatus:ListProvisionedCapacityResponse', listProvisionedCapacityResponse_httpStatus - The response's http status code.

Response Lenses