Copyright | (c) 2013-2017 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 |
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.
- getBucketLogging :: BucketName -> GetBucketLogging
- data GetBucketLogging
- gBucket :: Lens' GetBucketLogging BucketName
- getBucketLoggingResponse :: Int -> GetBucketLoggingResponse
- data GetBucketLoggingResponse
- gblrsLoggingEnabled :: Lens' GetBucketLoggingResponse (Maybe LoggingEnabled)
- gblrsResponseStatus :: 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:
gBucket
- Undocumented member.
data GetBucketLogging Source #
See: getBucketLogging
smart constructor.
Request Lenses
gBucket :: 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:
gblrsLoggingEnabled
- Undocumented member.gblrsResponseStatus
- -- | The response status code.
data GetBucketLoggingResponse Source #
See: getBucketLoggingResponse
smart constructor.
Response Lenses
gblrsLoggingEnabled :: Lens' GetBucketLoggingResponse (Maybe LoggingEnabled) Source #
Undocumented member.
gblrsResponseStatus :: Lens' GetBucketLoggingResponse Int Source #
- - | The response status code.