Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a new server-side encryption configuration (or replaces an existing one, if present).
Synopsis
- putBucketEncryption :: BucketName -> ServerSideEncryptionConfiguration -> PutBucketEncryption
- data PutBucketEncryption
- pbeContentMD5 :: Lens' PutBucketEncryption (Maybe Text)
- pbeBucket :: Lens' PutBucketEncryption BucketName
- pbeServerSideEncryptionConfiguration :: Lens' PutBucketEncryption ServerSideEncryptionConfiguration
- putBucketEncryptionResponse :: PutBucketEncryptionResponse
- data PutBucketEncryptionResponse
Creating a Request
Creates a value of PutBucketEncryption
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pbeContentMD5
- The base64-encoded 128-bit MD5 digest of the server-side encryption configuration.pbeBucket
- The name of the bucket for which the server-side encryption configuration is set.pbeServerSideEncryptionConfiguration
- Undocumented member.
data PutBucketEncryption Source #
See: putBucketEncryption
smart constructor.
Instances
Request Lenses
pbeContentMD5 :: Lens' PutBucketEncryption (Maybe Text) Source #
The base64-encoded 128-bit MD5 digest of the server-side encryption configuration.
pbeBucket :: Lens' PutBucketEncryption BucketName Source #
The name of the bucket for which the server-side encryption configuration is set.
pbeServerSideEncryptionConfiguration :: Lens' PutBucketEncryption ServerSideEncryptionConfiguration Source #
Undocumented member.
Destructuring the Response
putBucketEncryptionResponse :: PutBucketEncryptionResponse Source #
Creates a value of PutBucketEncryptionResponse
with the minimum fields required to make a request.
data PutBucketEncryptionResponse Source #
See: putBucketEncryptionResponse
smart constructor.