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 |
Amazon CloudWatch log settings for a playback configuration.
Synopsis
- data ConfigureLogsForPlaybackConfiguration = ConfigureLogsForPlaybackConfiguration' {}
- newConfigureLogsForPlaybackConfiguration :: Int -> Text -> ConfigureLogsForPlaybackConfiguration
- configureLogsForPlaybackConfiguration_percentEnabled :: Lens' ConfigureLogsForPlaybackConfiguration Int
- configureLogsForPlaybackConfiguration_playbackConfigurationName :: Lens' ConfigureLogsForPlaybackConfiguration Text
- data ConfigureLogsForPlaybackConfigurationResponse = ConfigureLogsForPlaybackConfigurationResponse' {}
- newConfigureLogsForPlaybackConfigurationResponse :: Int -> Int -> ConfigureLogsForPlaybackConfigurationResponse
- configureLogsForPlaybackConfigurationResponse_playbackConfigurationName :: Lens' ConfigureLogsForPlaybackConfigurationResponse (Maybe Text)
- configureLogsForPlaybackConfigurationResponse_httpStatus :: Lens' ConfigureLogsForPlaybackConfigurationResponse Int
- configureLogsForPlaybackConfigurationResponse_percentEnabled :: Lens' ConfigureLogsForPlaybackConfigurationResponse Int
Creating a Request
data ConfigureLogsForPlaybackConfiguration Source #
Configures Amazon CloudWatch log settings for a playback configuration.
See: newConfigureLogsForPlaybackConfiguration
smart constructor.
ConfigureLogsForPlaybackConfiguration' | |
|
Instances
newConfigureLogsForPlaybackConfiguration Source #
Create a value of ConfigureLogsForPlaybackConfiguration
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:
ConfigureLogsForPlaybackConfiguration
, configureLogsForPlaybackConfiguration_percentEnabled
- The percentage of session logs that MediaTailor sends to your Cloudwatch
Logs account. For example, if your playback configuration has 1000
sessions and percentEnabled is set to 60
, MediaTailor sends logs for
600 of the sessions to CloudWatch Logs. MediaTailor decides at random
which of the playback configuration sessions to send logs for. If you
want to view logs for a specific session, you can use the
debug log mode.
Valid values: 0
- 100
ConfigureLogsForPlaybackConfiguration
, configureLogsForPlaybackConfiguration_playbackConfigurationName
- The name of the playback configuration.
Request Lenses
configureLogsForPlaybackConfiguration_percentEnabled :: Lens' ConfigureLogsForPlaybackConfiguration Int Source #
The percentage of session logs that MediaTailor sends to your Cloudwatch
Logs account. For example, if your playback configuration has 1000
sessions and percentEnabled is set to 60
, MediaTailor sends logs for
600 of the sessions to CloudWatch Logs. MediaTailor decides at random
which of the playback configuration sessions to send logs for. If you
want to view logs for a specific session, you can use the
debug log mode.
Valid values: 0
- 100
configureLogsForPlaybackConfiguration_playbackConfigurationName :: Lens' ConfigureLogsForPlaybackConfiguration Text Source #
The name of the playback configuration.
Destructuring the Response
data ConfigureLogsForPlaybackConfigurationResponse Source #
See: newConfigureLogsForPlaybackConfigurationResponse
smart constructor.
ConfigureLogsForPlaybackConfigurationResponse' | |
|
Instances
newConfigureLogsForPlaybackConfigurationResponse Source #
:: Int |
|
-> Int | |
-> ConfigureLogsForPlaybackConfigurationResponse |
Create a value of ConfigureLogsForPlaybackConfigurationResponse
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:
ConfigureLogsForPlaybackConfiguration
, configureLogsForPlaybackConfigurationResponse_playbackConfigurationName
- The name of the playback configuration.
$sel:httpStatus:ConfigureLogsForPlaybackConfigurationResponse'
, configureLogsForPlaybackConfigurationResponse_httpStatus
- The response's http status code.
ConfigureLogsForPlaybackConfiguration
, configureLogsForPlaybackConfigurationResponse_percentEnabled
- The percentage of session logs that MediaTailor sends to your Cloudwatch
Logs account.
Response Lenses
configureLogsForPlaybackConfigurationResponse_playbackConfigurationName :: Lens' ConfigureLogsForPlaybackConfigurationResponse (Maybe Text) Source #
The name of the playback configuration.
configureLogsForPlaybackConfigurationResponse_httpStatus :: Lens' ConfigureLogsForPlaybackConfigurationResponse Int Source #
The response's http status code.
configureLogsForPlaybackConfigurationResponse_percentEnabled :: Lens' ConfigureLogsForPlaybackConfigurationResponse Int Source #
The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account.