| 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 |
Network.AWS.S3.GetBucketEncryption
Description
Returns the server-side encryption configuration of a bucket.
- 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
Arguments
| :: BucketName | |
| -> GetBucketEncryption |
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 #
Arguments
| :: Int | |
| -> GetBucketEncryptionResponse |
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.
Response Lenses
gbersServerSideEncryptionConfiguration :: Lens' GetBucketEncryptionResponse (Maybe ServerSideEncryptionConfiguration) Source #
Undocumented member.
gbersResponseStatus :: Lens' GetBucketEncryptionResponse Int Source #
- - | The response status code.