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 |
Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration
Description
Configures 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 -> ConfigureLogsForPlaybackConfigurationResponse
- configureLogsForPlaybackConfigurationResponse_playbackConfigurationName :: Lens' ConfigureLogsForPlaybackConfigurationResponse (Maybe Text)
- configureLogsForPlaybackConfigurationResponse_percentEnabled :: Lens' ConfigureLogsForPlaybackConfigurationResponse (Maybe Int)
- configureLogsForPlaybackConfigurationResponse_httpStatus :: Lens' ConfigureLogsForPlaybackConfigurationResponse Int
Creating a Request
data ConfigureLogsForPlaybackConfiguration Source #
Configures Amazon CloudWatch log settings for a playback configuration.
See: newConfigureLogsForPlaybackConfiguration
smart constructor.
Constructors
ConfigureLogsForPlaybackConfiguration' | |
Fields
|
Instances
newConfigureLogsForPlaybackConfiguration Source #
Arguments
:: Int | |
-> Text |
|
-> ConfigureLogsForPlaybackConfiguration |
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:
$sel:percentEnabled: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
$sel:playbackConfigurationName: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.
Constructors
ConfigureLogsForPlaybackConfigurationResponse' | |
Fields
|
Instances
newConfigureLogsForPlaybackConfigurationResponse Source #
Arguments
:: 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:
$sel:playbackConfigurationName:ConfigureLogsForPlaybackConfiguration'
, configureLogsForPlaybackConfigurationResponse_playbackConfigurationName
- The name of the playback configuration.
$sel:percentEnabled:ConfigureLogsForPlaybackConfiguration'
, configureLogsForPlaybackConfigurationResponse_percentEnabled
- The percentage of session logs that MediaTailor sends to your Cloudwatch
Logs account.
$sel:httpStatus:ConfigureLogsForPlaybackConfigurationResponse'
, configureLogsForPlaybackConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
configureLogsForPlaybackConfigurationResponse_playbackConfigurationName :: Lens' ConfigureLogsForPlaybackConfigurationResponse (Maybe Text) Source #
The name of the playback configuration.
configureLogsForPlaybackConfigurationResponse_percentEnabled :: Lens' ConfigureLogsForPlaybackConfigurationResponse (Maybe Int) Source #
The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account.
configureLogsForPlaybackConfigurationResponse_httpStatus :: Lens' ConfigureLogsForPlaybackConfigurationResponse Int Source #
The response's http status code.