KinesisAnalyticsV2 / Client / delete_application_cloud_watch_logging_option
delete_application_cloud_watch_logging_option#
- KinesisAnalyticsV2.Client.delete_application_cloud_watch_logging_option(**kwargs)#
Deletes an Amazon CloudWatch log stream from an SQL-based Kinesis Data Analytics application.
See also: AWS API Documentation
Request Syntax
response = client.delete_application_cloud_watch_logging_option( ApplicationName='string', CurrentApplicationVersionId=123, CloudWatchLoggingOptionId='string', ConditionalToken='string' )
- Parameters:
ApplicationName (string) –
[REQUIRED]
The application name.
CurrentApplicationVersionId (integer) – The version ID of the application. You must provide the
CurrentApplicationVersionId
or theConditionalToken
. You can retrieve the application version ID using DescribeApplication. For better concurrency support, use theConditionalToken
parameter instead ofCurrentApplicationVersionId
.CloudWatchLoggingOptionId (string) –
[REQUIRED]
The
CloudWatchLoggingOptionId
of the Amazon CloudWatch logging option to delete. You can get theCloudWatchLoggingOptionId
by using the DescribeApplication operation.ConditionalToken (string) – A value you use to implement strong concurrency for application updates. You must provide the
CurrentApplicationVersionId
or theConditionalToken
. You get the application’s currentConditionalToken
using DescribeApplication. For better concurrency support, use theConditionalToken
parameter instead ofCurrentApplicationVersionId
.
- Return type:
dict
- Returns:
Response Syntax
{ 'ApplicationARN': 'string', 'ApplicationVersionId': 123, 'CloudWatchLoggingOptionDescriptions': [ { 'CloudWatchLoggingOptionId': 'string', 'LogStreamARN': 'string', 'RoleARN': 'string' }, ] }
Response Structure
(dict) –
ApplicationARN (string) –
The application’s Amazon Resource Name (ARN).
ApplicationVersionId (integer) –
The version ID of the application. Kinesis Data Analytics updates the
ApplicationVersionId
each time you change the CloudWatch logging options.CloudWatchLoggingOptionDescriptions (list) –
The descriptions of the remaining CloudWatch logging options for the application.
(dict) –
Describes the Amazon CloudWatch logging option.
CloudWatchLoggingOptionId (string) –
The ID of the CloudWatch logging option description.
LogStreamARN (string) –
The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.
RoleARN (string) –
The IAM ARN of the role to use to send application messages.
Note
Provided for backward compatibility. Applications created with the current API version have an application-level service execution role rather than a resource-level role.
Exceptions
KinesisAnalyticsV2.Client.exceptions.ResourceNotFoundException
KinesisAnalyticsV2.Client.exceptions.ResourceInUseException
KinesisAnalyticsV2.Client.exceptions.InvalidArgumentException
KinesisAnalyticsV2.Client.exceptions.ConcurrentModificationException
KinesisAnalyticsV2.Client.exceptions.InvalidRequestException
KinesisAnalyticsV2.Client.exceptions.InvalidApplicationConfigurationException