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 |
Returns the server-side encryption configuration of a bucket.
Synopsis
- getBucketEncryption :: BucketName -> GetBucketEncryption
- data GetBucketEncryption
- gbeBucket :: Lens' GetBucketEncryption BucketName
- getBucketEncryptionResponse :: Int -> GetBucketEncryptionResponse
- data GetBucketEncryptionResponse
- gbersServerSideEncryptionConfiguration :: Lens' GetBucketEncryptionResponse (Maybe ServerSideEncryptionConfiguration)
- gbersResponseStatus :: Lens' GetBucketEncryptionResponse Int
Creating a Request
Creates a value of GetBucketEncryption
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbeBucket
- The name of the bucket from which the server-side encryption configuration is retrieved.
data GetBucketEncryption Source #
See: getBucketEncryption
smart constructor.
Instances
Request Lenses
gbeBucket :: Lens' GetBucketEncryption BucketName Source #
The name of the bucket from which the server-side encryption configuration is retrieved.
Destructuring the Response
getBucketEncryptionResponse Source #
Creates a value of GetBucketEncryptionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbersServerSideEncryptionConfiguration
- Undocumented member.gbersResponseStatus
- -- | The response status code.
data GetBucketEncryptionResponse Source #
See: getBucketEncryptionResponse
smart constructor.
Instances
Response Lenses
gbersServerSideEncryptionConfiguration :: Lens' GetBucketEncryptionResponse (Maybe ServerSideEncryptionConfiguration) Source #
Undocumented member.
gbersResponseStatus :: Lens' GetBucketEncryptionResponse Int Source #
- - | The response status code.