| 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.GetBucketReplication
Description
Returns the replication configuration of a bucket.
Synopsis
- getBucketReplication :: BucketName -> GetBucketReplication
- data GetBucketReplication
- gbrBucket :: Lens' GetBucketReplication BucketName
- getBucketReplicationResponse :: Int -> GetBucketReplicationResponse
- data GetBucketReplicationResponse
- gbrrsReplicationConfiguration :: Lens' GetBucketReplicationResponse (Maybe ReplicationConfiguration)
- gbrrsResponseStatus :: Lens' GetBucketReplicationResponse Int
Creating a Request
Arguments
| :: BucketName | |
| -> GetBucketReplication |
Creates a value of GetBucketReplication with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbrBucket- Undocumented member.
data GetBucketReplication Source #
See: getBucketReplication smart constructor.
Instances
Request Lenses
gbrBucket :: Lens' GetBucketReplication BucketName Source #
Undocumented member.
Destructuring the Response
getBucketReplicationResponse Source #
Arguments
| :: Int | |
| -> GetBucketReplicationResponse |
Creates a value of GetBucketReplicationResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbrrsReplicationConfiguration- Undocumented member.gbrrsResponseStatus- -- | The response status code.
data GetBucketReplicationResponse Source #
See: getBucketReplicationResponse smart constructor.
Instances
Response Lenses
gbrrsReplicationConfiguration :: Lens' GetBucketReplicationResponse (Maybe ReplicationConfiguration) Source #
Undocumented member.
gbrrsResponseStatus :: Lens' GetBucketReplicationResponse Int Source #
- - | The response status code.