| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Network.AWS.S3.GetBucketPolicy
Description
Returns the policy of a specified bucket.
http://docs.aws.amazon.com/AmazonS3/latest/API/GetBucketPolicy.html
Request
data GetBucketPolicy Source
Instances
Request constructor
Arguments
| :: Text | |
| -> GetBucketPolicy | 
GetBucketPolicy constructor.
The fields accessible through corresponding lenses are:
Request lenses
Response
Response constructor
getBucketPolicyResponse :: GetBucketPolicyResponse Source
GetBucketPolicyResponse constructor.
The fields accessible through corresponding lenses are:
- gbprPolicy- ::- Maybe- Text
Response lenses
gbprPolicy :: Lens' GetBucketPolicyResponse (Maybe Text) Source
The bucket policy as a JSON document.