amazonka-glacier-1.3.2: Amazon Glacier SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Glacier.GetDataRetrievalPolicy

Contents

Description

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.

See: AWS API Reference for GetDataRetrievalPolicy.

Synopsis

Creating a Request

getDataRetrievalPolicy Source

Creates a value of GetDataRetrievalPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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.

Destructuring the Response

getDataRetrievalPolicyResponse Source

Creates a value of GetDataRetrievalPolicyResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

gdrprsPolicy :: Lens' GetDataRetrievalPolicyResponse (Maybe DataRetrievalPolicy) Source

Contains the returned data retrieval policy in JSON format.