| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Glacier.ListProvisionedCapacity
Description
This operation lists the provisioned capacity for the specified AWS account.
- 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 #
Arguments
| :: Text | |
| -> ListProvisionedCapacity |
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- TheAccountIdvalue is 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 AccountId value is 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 #
Arguments
| :: Int | |
| -> ListProvisionedCapacityResponse |
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.