Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
This operation lists the provisioned capacity units for the specified AWS account.
Synopsis
- data ListProvisionedCapacity = ListProvisionedCapacity' {}
- newListProvisionedCapacity :: Text -> ListProvisionedCapacity
- listProvisionedCapacity_accountId :: Lens' ListProvisionedCapacity Text
- data ListProvisionedCapacityResponse = ListProvisionedCapacityResponse' {}
- newListProvisionedCapacityResponse :: Int -> ListProvisionedCapacityResponse
- listProvisionedCapacityResponse_provisionedCapacityList :: Lens' ListProvisionedCapacityResponse (Maybe [ProvisionedCapacityDescription])
- listProvisionedCapacityResponse_httpStatus :: Lens' ListProvisionedCapacityResponse Int
Creating a Request
data ListProvisionedCapacity Source #
See: newListProvisionedCapacity
smart constructor.
ListProvisionedCapacity' | |
|
Instances
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.
ListProvisionedCapacityResponse' | |
|
Instances
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
listProvisionedCapacityResponse_provisionedCapacityList :: Lens' ListProvisionedCapacityResponse (Maybe [ProvisionedCapacityDescription]) Source #
The response body contains the following JSON fields.
listProvisionedCapacityResponse_httpStatus :: Lens' ListProvisionedCapacityResponse Int Source #
The response's http status code.