Safe Haskell | None |
---|---|
Language | Haskell2010 |
Replaces a policy on a bucket. If the bucket already has a policy, the one in this request completely replaces it.
http://docs.aws.amazon.com/AmazonS3/latest/API/PutBucketPolicy.html
Request
data PutBucketPolicy Source
Request constructor
PutBucketPolicy
constructor.
The fields accessible through corresponding lenses are:
Request lenses
pbpPolicy :: Lens' PutBucketPolicy Text Source
The bucket policy as a JSON document.