KinesisAnalytics / Client / delete_application_cloud_watch_logging_option

delete_application_cloud_watch_logging_option#

KinesisAnalytics.Client.delete_application_cloud_watch_logging_option(**kwargs)#

Note

This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see Amazon Kinesis Data Analytics API V2 Documentation.

Deletes a CloudWatch log stream from an application. For more information about using CloudWatch log streams with Amazon Kinesis Analytics applications, see Working with Amazon CloudWatch Logs.

See also: AWS API Documentation

Request Syntax

response = client.delete_application_cloud_watch_logging_option(
    ApplicationName='string',
    CurrentApplicationVersionId=123,
    CloudWatchLoggingOptionId='string'
)
Parameters:
  • ApplicationName (string) –

    [REQUIRED]

    The Kinesis Analytics application name.

  • CurrentApplicationVersionId (integer) –

    [REQUIRED]

    The version ID of the Kinesis Analytics application.

  • CloudWatchLoggingOptionId (string) –

    [REQUIRED]

    The CloudWatchLoggingOptionId of the CloudWatch logging option to delete. You can get the CloudWatchLoggingOptionId by using the DescribeApplication operation.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • KinesisAnalytics.Client.exceptions.ResourceNotFoundException

  • KinesisAnalytics.Client.exceptions.ResourceInUseException

  • KinesisAnalytics.Client.exceptions.InvalidArgumentException

  • KinesisAnalytics.Client.exceptions.ConcurrentModificationException

  • KinesisAnalytics.Client.exceptions.UnsupportedOperationException