Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
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.
See: AWS API Reference for PutBucketPolicy.
- putBucketPolicy :: BucketName -> HashMap Text Value -> PutBucketPolicy
- data PutBucketPolicy
- pbpContentMD5 :: Lens' PutBucketPolicy (Maybe Text)
- pbpBucket :: Lens' PutBucketPolicy BucketName
- pbpPolicy :: Lens' PutBucketPolicy (HashMap Text Value)
- putBucketPolicyResponse :: PutBucketPolicyResponse
- data PutBucketPolicyResponse
Creating a Request
Creates a value of PutBucketPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PutBucketPolicy Source
See: putBucketPolicy
smart constructor.
Request Lenses
pbpContentMD5 :: Lens' PutBucketPolicy (Maybe Text) Source
Undocumented member.
pbpBucket :: Lens' PutBucketPolicy BucketName Source
Undocumented member.
Destructuring the Response
putBucketPolicyResponse :: PutBucketPolicyResponse Source
Creates a value of PutBucketPolicyResponse
with the minimum fields required to make a request.
data PutBucketPolicyResponse Source
See: putBucketPolicyResponse
smart constructor.