Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
This operation lists the provisioned capacity units for the specified AWS account.
Synopsis
- listProvisionedCapacity :: Text -> ListProvisionedCapacity
- data ListProvisionedCapacity
- lpcAccountId :: Lens' ListProvisionedCapacity Text
- listProvisionedCapacityResponse :: Int -> ListProvisionedCapacityResponse
- data ListProvisionedCapacityResponse
- lpcrsProvisionedCapacityList :: Lens' ListProvisionedCapacityResponse [ProvisionedCapacityDescription]
- lpcrsResponseStatus :: Lens' ListProvisionedCapacityResponse Int
Creating a Request
listProvisionedCapacity Source #
Creates a value of ListProvisionedCapacity
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lpcAccountId
- 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 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.
data ListProvisionedCapacity Source #
See: listProvisionedCapacity
smart constructor.
Instances
Request Lenses
lpcAccountId :: 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 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
listProvisionedCapacityResponse Source #
Creates a value of ListProvisionedCapacityResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lpcrsProvisionedCapacityList
- The response body contains the following JSON fields.lpcrsResponseStatus
- -- | The response status code.
data ListProvisionedCapacityResponse Source #
See: listProvisionedCapacityResponse
smart constructor.
Instances
Response Lenses
lpcrsProvisionedCapacityList :: Lens' ListProvisionedCapacityResponse [ProvisionedCapacityDescription] Source #
The response body contains the following JSON fields.
lpcrsResponseStatus :: Lens' ListProvisionedCapacityResponse Int Source #
- - | The response status code.