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 |
Deletes an Amazon CloudWatch log stream from an Kinesis Data Analytics application.
Synopsis
- data DeleteApplicationCloudWatchLoggingOption = DeleteApplicationCloudWatchLoggingOption' {}
- newDeleteApplicationCloudWatchLoggingOption :: Text -> Text -> DeleteApplicationCloudWatchLoggingOption
- deleteApplicationCloudWatchLoggingOption_currentApplicationVersionId :: Lens' DeleteApplicationCloudWatchLoggingOption (Maybe Natural)
- deleteApplicationCloudWatchLoggingOption_conditionalToken :: Lens' DeleteApplicationCloudWatchLoggingOption (Maybe Text)
- deleteApplicationCloudWatchLoggingOption_applicationName :: Lens' DeleteApplicationCloudWatchLoggingOption Text
- deleteApplicationCloudWatchLoggingOption_cloudWatchLoggingOptionId :: Lens' DeleteApplicationCloudWatchLoggingOption Text
- data DeleteApplicationCloudWatchLoggingOptionResponse = DeleteApplicationCloudWatchLoggingOptionResponse' {}
- newDeleteApplicationCloudWatchLoggingOptionResponse :: Int -> DeleteApplicationCloudWatchLoggingOptionResponse
- deleteApplicationCloudWatchLoggingOptionResponse_applicationARN :: Lens' DeleteApplicationCloudWatchLoggingOptionResponse (Maybe Text)
- deleteApplicationCloudWatchLoggingOptionResponse_applicationVersionId :: Lens' DeleteApplicationCloudWatchLoggingOptionResponse (Maybe Natural)
- deleteApplicationCloudWatchLoggingOptionResponse_cloudWatchLoggingOptionDescriptions :: Lens' DeleteApplicationCloudWatchLoggingOptionResponse (Maybe [CloudWatchLoggingOptionDescription])
- deleteApplicationCloudWatchLoggingOptionResponse_httpStatus :: Lens' DeleteApplicationCloudWatchLoggingOptionResponse Int
Creating a Request
data DeleteApplicationCloudWatchLoggingOption Source #
See: newDeleteApplicationCloudWatchLoggingOption
smart constructor.
DeleteApplicationCloudWatchLoggingOption' | |
|
Instances
newDeleteApplicationCloudWatchLoggingOption Source #
:: Text |
|
-> Text |
|
-> DeleteApplicationCloudWatchLoggingOption |
Create a value of DeleteApplicationCloudWatchLoggingOption
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:DeleteApplicationCloudWatchLoggingOption'
, deleteApplicationCloudWatchLoggingOption_currentApplicationVersionId
- The version ID of the 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:DeleteApplicationCloudWatchLoggingOption'
, deleteApplicationCloudWatchLoggingOption_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:DeleteApplicationCloudWatchLoggingOption'
, deleteApplicationCloudWatchLoggingOption_applicationName
- The application name.
$sel:cloudWatchLoggingOptionId:DeleteApplicationCloudWatchLoggingOption'
, deleteApplicationCloudWatchLoggingOption_cloudWatchLoggingOptionId
- The CloudWatchLoggingOptionId
of the Amazon CloudWatch logging option
to delete. You can get the CloudWatchLoggingOptionId
by using the
DescribeApplication operation.
Request Lenses
deleteApplicationCloudWatchLoggingOption_currentApplicationVersionId :: Lens' DeleteApplicationCloudWatchLoggingOption (Maybe Natural) Source #
The version ID of the 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
.
deleteApplicationCloudWatchLoggingOption_conditionalToken :: Lens' DeleteApplicationCloudWatchLoggingOption (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
.
deleteApplicationCloudWatchLoggingOption_applicationName :: Lens' DeleteApplicationCloudWatchLoggingOption Text Source #
The application name.
deleteApplicationCloudWatchLoggingOption_cloudWatchLoggingOptionId :: Lens' DeleteApplicationCloudWatchLoggingOption Text Source #
The CloudWatchLoggingOptionId
of the Amazon CloudWatch logging option
to delete. You can get the CloudWatchLoggingOptionId
by using the
DescribeApplication operation.
Destructuring the Response
data DeleteApplicationCloudWatchLoggingOptionResponse Source #
See: newDeleteApplicationCloudWatchLoggingOptionResponse
smart constructor.
DeleteApplicationCloudWatchLoggingOptionResponse' | |
|
Instances
newDeleteApplicationCloudWatchLoggingOptionResponse Source #
:: Int |
|
-> DeleteApplicationCloudWatchLoggingOptionResponse |
Create a value of DeleteApplicationCloudWatchLoggingOptionResponse
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:DeleteApplicationCloudWatchLoggingOptionResponse'
, deleteApplicationCloudWatchLoggingOptionResponse_applicationARN
- The application's Amazon Resource Name (ARN).
$sel:applicationVersionId:DeleteApplicationCloudWatchLoggingOptionResponse'
, deleteApplicationCloudWatchLoggingOptionResponse_applicationVersionId
- The version ID of the application. Kinesis Data Analytics updates the
ApplicationVersionId
each time you change the CloudWatch logging
options.
$sel:cloudWatchLoggingOptionDescriptions:DeleteApplicationCloudWatchLoggingOptionResponse'
, deleteApplicationCloudWatchLoggingOptionResponse_cloudWatchLoggingOptionDescriptions
- The descriptions of the remaining CloudWatch logging options for the
application.
$sel:httpStatus:DeleteApplicationCloudWatchLoggingOptionResponse'
, deleteApplicationCloudWatchLoggingOptionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteApplicationCloudWatchLoggingOptionResponse_applicationARN :: Lens' DeleteApplicationCloudWatchLoggingOptionResponse (Maybe Text) Source #
The application's Amazon Resource Name (ARN).
deleteApplicationCloudWatchLoggingOptionResponse_applicationVersionId :: Lens' DeleteApplicationCloudWatchLoggingOptionResponse (Maybe Natural) Source #
The version ID of the application. Kinesis Data Analytics updates the
ApplicationVersionId
each time you change the CloudWatch logging
options.
deleteApplicationCloudWatchLoggingOptionResponse_cloudWatchLoggingOptionDescriptions :: Lens' DeleteApplicationCloudWatchLoggingOptionResponse (Maybe [CloudWatchLoggingOptionDescription]) Source #
The descriptions of the remaining CloudWatch logging options for the application.
deleteApplicationCloudWatchLoggingOptionResponse_httpStatus :: Lens' DeleteApplicationCloudWatchLoggingOptionResponse Int Source #
The response's http status code.