| 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 |
Network.AWS.S3.PutBucketReplication
Description
Creates a new replication configuration (or replaces an existing one, if present).
See: AWS API Reference for PutBucketReplication.
- putBucketReplication :: BucketName -> ReplicationConfiguration -> PutBucketReplication
- data PutBucketReplication
- pbrContentMD5 :: Lens' PutBucketReplication (Maybe Text)
- pbrBucket :: Lens' PutBucketReplication BucketName
- pbrReplicationConfiguration :: Lens' PutBucketReplication ReplicationConfiguration
- putBucketReplicationResponse :: PutBucketReplicationResponse
- data PutBucketReplicationResponse
Creating a Request
Arguments
| :: BucketName | |
| -> ReplicationConfiguration | |
| -> PutBucketReplication |
Creates a value of PutBucketReplication with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PutBucketReplication Source
See: putBucketReplication smart constructor.
Instances
Request Lenses
pbrContentMD5 :: Lens' PutBucketReplication (Maybe Text) Source
Undocumented member.
pbrBucket :: Lens' PutBucketReplication BucketName Source
Undocumented member.
pbrReplicationConfiguration :: Lens' PutBucketReplication ReplicationConfiguration Source
Undocumented member.
Destructuring the Response
putBucketReplicationResponse :: PutBucketReplicationResponse Source
Creates a value of PutBucketReplicationResponse with the minimum fields required to make a request.
data PutBucketReplicationResponse Source
See: putBucketReplicationResponse smart constructor.