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 |
Adds an Amazon CloudWatch log stream to monitor application configuration errors.
Synopsis
- data AddApplicationCloudWatchLoggingOption = AddApplicationCloudWatchLoggingOption' {}
- newAddApplicationCloudWatchLoggingOption :: Text -> CloudWatchLoggingOption -> AddApplicationCloudWatchLoggingOption
- addApplicationCloudWatchLoggingOption_currentApplicationVersionId :: Lens' AddApplicationCloudWatchLoggingOption (Maybe Natural)
- addApplicationCloudWatchLoggingOption_conditionalToken :: Lens' AddApplicationCloudWatchLoggingOption (Maybe Text)
- addApplicationCloudWatchLoggingOption_applicationName :: Lens' AddApplicationCloudWatchLoggingOption Text
- addApplicationCloudWatchLoggingOption_cloudWatchLoggingOption :: Lens' AddApplicationCloudWatchLoggingOption CloudWatchLoggingOption
- data AddApplicationCloudWatchLoggingOptionResponse = AddApplicationCloudWatchLoggingOptionResponse' {}
- newAddApplicationCloudWatchLoggingOptionResponse :: Int -> AddApplicationCloudWatchLoggingOptionResponse
- addApplicationCloudWatchLoggingOptionResponse_applicationARN :: Lens' AddApplicationCloudWatchLoggingOptionResponse (Maybe Text)
- addApplicationCloudWatchLoggingOptionResponse_applicationVersionId :: Lens' AddApplicationCloudWatchLoggingOptionResponse (Maybe Natural)
- addApplicationCloudWatchLoggingOptionResponse_cloudWatchLoggingOptionDescriptions :: Lens' AddApplicationCloudWatchLoggingOptionResponse (Maybe [CloudWatchLoggingOptionDescription])
- addApplicationCloudWatchLoggingOptionResponse_httpStatus :: Lens' AddApplicationCloudWatchLoggingOptionResponse Int
Creating a Request
data AddApplicationCloudWatchLoggingOption Source #
See: newAddApplicationCloudWatchLoggingOption
smart constructor.
AddApplicationCloudWatchLoggingOption' | |
|
Instances
newAddApplicationCloudWatchLoggingOption Source #
:: Text | |
-> CloudWatchLoggingOption |
|
-> AddApplicationCloudWatchLoggingOption |
Create a value of AddApplicationCloudWatchLoggingOption
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:currentApplicationVersionId:AddApplicationCloudWatchLoggingOption'
, addApplicationCloudWatchLoggingOption_currentApplicationVersionId
- The version ID of the Kinesis Data Analytics application. You must
provide the CurrentApplicationVersionId
or the ConditionalToken
.You
can retrieve the application version ID using DescribeApplication. For
better concurrency support, use the ConditionalToken
parameter instead
of CurrentApplicationVersionId
.
$sel:conditionalToken:AddApplicationCloudWatchLoggingOption'
, addApplicationCloudWatchLoggingOption_conditionalToken
- A value you use to implement strong concurrency for application updates.
You must provide the CurrentApplicationVersionId
or the
ConditionalToken
. You get the application's current
ConditionalToken
using DescribeApplication. For better concurrency
support, use the ConditionalToken
parameter instead of
CurrentApplicationVersionId
.
$sel:applicationName:AddApplicationCloudWatchLoggingOption'
, addApplicationCloudWatchLoggingOption_applicationName
- The Kinesis Data Analytics application name.
$sel:cloudWatchLoggingOption:AddApplicationCloudWatchLoggingOption'
, addApplicationCloudWatchLoggingOption_cloudWatchLoggingOption
- Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN).
Request Lenses
addApplicationCloudWatchLoggingOption_currentApplicationVersionId :: Lens' AddApplicationCloudWatchLoggingOption (Maybe Natural) Source #
The version ID of the Kinesis Data Analytics application. You must
provide the CurrentApplicationVersionId
or the ConditionalToken
.You
can retrieve the application version ID using DescribeApplication. For
better concurrency support, use the ConditionalToken
parameter instead
of CurrentApplicationVersionId
.
addApplicationCloudWatchLoggingOption_conditionalToken :: Lens' AddApplicationCloudWatchLoggingOption (Maybe Text) Source #
A value you use to implement strong concurrency for application updates.
You must provide the CurrentApplicationVersionId
or the
ConditionalToken
. You get the application's current
ConditionalToken
using DescribeApplication. For better concurrency
support, use the ConditionalToken
parameter instead of
CurrentApplicationVersionId
.
addApplicationCloudWatchLoggingOption_applicationName :: Lens' AddApplicationCloudWatchLoggingOption Text Source #
The Kinesis Data Analytics application name.
addApplicationCloudWatchLoggingOption_cloudWatchLoggingOption :: Lens' AddApplicationCloudWatchLoggingOption CloudWatchLoggingOption Source #
Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN).
Destructuring the Response
data AddApplicationCloudWatchLoggingOptionResponse Source #
See: newAddApplicationCloudWatchLoggingOptionResponse
smart constructor.
AddApplicationCloudWatchLoggingOptionResponse' | |
|
Instances
newAddApplicationCloudWatchLoggingOptionResponse Source #
:: Int |
|
-> AddApplicationCloudWatchLoggingOptionResponse |
Create a value of AddApplicationCloudWatchLoggingOptionResponse
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:applicationARN:AddApplicationCloudWatchLoggingOptionResponse'
, addApplicationCloudWatchLoggingOptionResponse_applicationARN
- The application's ARN.
$sel:applicationVersionId:AddApplicationCloudWatchLoggingOptionResponse'
, addApplicationCloudWatchLoggingOptionResponse_applicationVersionId
- The new version ID of the Kinesis Data Analytics application. Kinesis
Data Analytics updates the ApplicationVersionId
each time you change
the CloudWatch logging options.
$sel:cloudWatchLoggingOptionDescriptions:AddApplicationCloudWatchLoggingOptionResponse'
, addApplicationCloudWatchLoggingOptionResponse_cloudWatchLoggingOptionDescriptions
- The descriptions of the current CloudWatch logging options for the
Kinesis Data Analytics application.
$sel:httpStatus:AddApplicationCloudWatchLoggingOptionResponse'
, addApplicationCloudWatchLoggingOptionResponse_httpStatus
- The response's http status code.
Response Lenses
addApplicationCloudWatchLoggingOptionResponse_applicationARN :: Lens' AddApplicationCloudWatchLoggingOptionResponse (Maybe Text) Source #
The application's ARN.
addApplicationCloudWatchLoggingOptionResponse_applicationVersionId :: Lens' AddApplicationCloudWatchLoggingOptionResponse (Maybe Natural) Source #
The new version ID of the Kinesis Data Analytics application. Kinesis
Data Analytics updates the ApplicationVersionId
each time you change
the CloudWatch logging options.
addApplicationCloudWatchLoggingOptionResponse_cloudWatchLoggingOptionDescriptions :: Lens' AddApplicationCloudWatchLoggingOptionResponse (Maybe [CloudWatchLoggingOptionDescription]) Source #
The descriptions of the current CloudWatch logging options for the Kinesis Data Analytics application.
addApplicationCloudWatchLoggingOptionResponse_httpStatus :: Lens' AddApplicationCloudWatchLoggingOptionResponse Int Source #
The response's http status code.