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 |
Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner.
See: AWS API Reference for GetBucketLogging.
- getBucketLogging :: BucketName -> GetBucketLogging
- data GetBucketLogging
- getBucket :: Lens' GetBucketLogging BucketName
- getBucketLoggingResponse :: Int -> GetBucketLoggingResponse
- data GetBucketLoggingResponse
- grsLoggingEnabled :: Lens' GetBucketLoggingResponse (Maybe LoggingEnabled)
- grsStatus :: Lens' GetBucketLoggingResponse Int
Creating a Request
Creates a value of GetBucketLogging
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetBucketLogging Source
See: getBucketLogging
smart constructor.
Request Lenses
getBucket :: Lens' GetBucketLogging BucketName Source
Undocumented member.
Destructuring the Response
getBucketLoggingResponse Source
Creates a value of GetBucketLoggingResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetBucketLoggingResponse Source
See: getBucketLoggingResponse
smart constructor.
Response Lenses
grsLoggingEnabled :: Lens' GetBucketLoggingResponse (Maybe LoggingEnabled) Source
Undocumented member.
grsStatus :: Lens' GetBucketLoggingResponse Int Source
The response status code.