| 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.StopAccessLogging
Description
Stops access logging on the specified container. When you stop access logging on a container, MediaStore stops sending access logs to Amazon CloudWatch Logs. These access logs are not saved and are not retrievable.
Synopsis
- data StopAccessLogging = StopAccessLogging' {}
- newStopAccessLogging :: Text -> StopAccessLogging
- stopAccessLogging_containerName :: Lens' StopAccessLogging Text
- data StopAccessLoggingResponse = StopAccessLoggingResponse' {
- httpStatus :: Int
- newStopAccessLoggingResponse :: Int -> StopAccessLoggingResponse
- stopAccessLoggingResponse_httpStatus :: Lens' StopAccessLoggingResponse Int
Creating a Request
data StopAccessLogging Source #
See: newStopAccessLogging smart constructor.
Constructors
| StopAccessLogging' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StopAccessLogging |
Create a value of StopAccessLogging 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:StopAccessLogging', stopAccessLogging_containerName - The name of the container that you want to stop access logging on.
Request Lenses
stopAccessLogging_containerName :: Lens' StopAccessLogging Text Source #
The name of the container that you want to stop access logging on.
Destructuring the Response
data StopAccessLoggingResponse Source #
See: newStopAccessLoggingResponse smart constructor.
Constructors
| StopAccessLoggingResponse' | |
Fields
| |
Instances
newStopAccessLoggingResponse Source #
Create a value of StopAccessLoggingResponse 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:StopAccessLoggingResponse', stopAccessLoggingResponse_httpStatus - The response's http status code.
Response Lenses
stopAccessLoggingResponse_httpStatus :: Lens' StopAccessLoggingResponse Int Source #
The response's http status code.