| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MediaStore.StartAccessLogging
Description
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.
Constructors
| StartAccessLogging' | |
Fields
| |
Instances
newStartAccessLogging Source #
Arguments
| :: Text | |
| -> StartAccessLogging |
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.
Constructors
| StartAccessLoggingResponse' | |
Fields
| |
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.