amazonka-s3-1.3.4: Amazon Simple Storage Service 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.S3.GetBucketPolicy

Contents

Description

Returns the policy of a specified bucket.

See: AWS API Reference for GetBucketPolicy.

Synopsis

Creating a Request

getBucketPolicy Source

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

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

Request Lenses

Destructuring the Response

getBucketPolicyResponse Source

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

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

Response Lenses

gbprsPolicy :: Lens' GetBucketPolicyResponse (HashMap Text Value) Source

The bucket policy as a JSON document.