Copyright | (c) 2013-2021 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 |
Starts access logging on the specified container. When you enable access logging on a container, MediaStore delivers access logs for objects stored in that container to Amazon CloudWatch Logs.
Synopsis
- data StartAccessLogging = StartAccessLogging' {}
- newStartAccessLogging :: Text -> StartAccessLogging
- startAccessLogging_containerName :: Lens' StartAccessLogging Text
- data StartAccessLoggingResponse = StartAccessLoggingResponse' {
- httpStatus :: Int
- newStartAccessLoggingResponse :: Int -> StartAccessLoggingResponse
- startAccessLoggingResponse_httpStatus :: Lens' StartAccessLoggingResponse Int
Creating a Request
data StartAccessLogging Source #
See: newStartAccessLogging
smart constructor.
StartAccessLogging' | |
|
Instances
newStartAccessLogging Source #
Create a value of StartAccessLogging
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:containerName:StartAccessLogging'
, startAccessLogging_containerName
- The name of the container that you want to start access logging on.
Request Lenses
startAccessLogging_containerName :: Lens' StartAccessLogging Text Source #
The name of the container that you want to start access logging on.
Destructuring the Response
data StartAccessLoggingResponse Source #
See: newStartAccessLoggingResponse
smart constructor.
StartAccessLoggingResponse' | |
|
Instances
newStartAccessLoggingResponse Source #
Create a value of StartAccessLoggingResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:StartAccessLoggingResponse'
, startAccessLoggingResponse_httpStatus
- The response's http status code.
Response Lenses
startAccessLoggingResponse_httpStatus :: Lens' StartAccessLoggingResponse Int Source #
The response's http status code.