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 |
Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. To set the logging status of a bucket, you must be the bucket owner.
See: AWS API Reference for PutBucketLogging.
- putBucketLogging :: BucketName -> BucketLoggingStatus -> PutBucketLogging
- data PutBucketLogging
- pblContentMD5 :: Lens' PutBucketLogging (Maybe Text)
- pblBucket :: Lens' PutBucketLogging BucketName
- pblBucketLoggingStatus :: Lens' PutBucketLogging BucketLoggingStatus
- putBucketLoggingResponse :: PutBucketLoggingResponse
- data PutBucketLoggingResponse
Creating a Request
Creates a value of PutBucketLogging
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PutBucketLogging Source
See: putBucketLogging
smart constructor.
Request Lenses
pblContentMD5 :: Lens' PutBucketLogging (Maybe Text) Source
Undocumented member.
pblBucket :: Lens' PutBucketLogging BucketName Source
Undocumented member.
pblBucketLoggingStatus :: Lens' PutBucketLogging BucketLoggingStatus Source
Undocumented member.
Destructuring the Response
putBucketLoggingResponse :: PutBucketLoggingResponse Source
Creates a value of PutBucketLoggingResponse
with the minimum fields required to make a request.
data PutBucketLoggingResponse Source
See: putBucketLoggingResponse
smart constructor.