Safe Haskell | None |
---|---|
Language | Haskell2010 |
This operation returns the current data retrieval policy for the account and region specified in the GET request. For more information about data retrieval policies, see Amazon Glacier Data Retrieval Policies.
http://docs.aws.amazon.com/amazonglacier/latest/dev/api-GetDataRetrievalPolicy.html
- data GetDataRetrievalPolicy
- getDataRetrievalPolicy :: Text -> GetDataRetrievalPolicy
- gdrpAccountId :: Lens' GetDataRetrievalPolicy Text
- data GetDataRetrievalPolicyResponse
- getDataRetrievalPolicyResponse :: GetDataRetrievalPolicyResponse
- gdrprPolicy :: Lens' GetDataRetrievalPolicyResponse (Maybe DataRetrievalPolicy)
Request
data GetDataRetrievalPolicy Source
Request constructor
GetDataRetrievalPolicy
constructor.
The fields accessible through corresponding lenses are:
Request lenses
gdrpAccountId :: Lens' GetDataRetrievalPolicy Text Source
The AccountId
value is the AWS account ID. This value must match the AWS
account ID associated with the credentials used to sign the request. You can
either specify an AWS account ID or optionally a single apos-
apos (hyphen),
in which case Amazon Glacier uses the AWS account ID associated with the
credentials used to sign the request. If you specify your Account ID, do not
include any hyphens (apos-apos) in the ID.
Response
Response constructor
getDataRetrievalPolicyResponse :: GetDataRetrievalPolicyResponse Source
GetDataRetrievalPolicyResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
gdrprPolicy :: Lens' GetDataRetrievalPolicyResponse (Maybe DataRetrievalPolicy) Source
Contains the returned data retrieval policy in JSON format.