delete_application

KinesisAnalytics.Client.delete_application(**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 the specified application. Amazon Kinesis Analytics halts application execution and deletes the application, including any application artifacts (such as in-application streams, reference table, and application code).

This operation requires permissions to perform the kinesisanalytics:DeleteApplication action.

See also: AWS API Documentation

Request Syntax

response = client.delete_application(
    ApplicationName='string',
    CreateTimestamp=datetime(2015, 1, 1)
)
Parameters
  • ApplicationName (string) --

    [REQUIRED]

    Name of the Amazon Kinesis Analytics application to delete.

  • CreateTimestamp (datetime) --

    [REQUIRED]

    You can use the DescribeApplication operation to get this value.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • KinesisAnalytics.Client.exceptions.ConcurrentModificationException
  • KinesisAnalytics.Client.exceptions.ResourceNotFoundException
  • KinesisAnalytics.Client.exceptions.ResourceInUseException
  • KinesisAnalytics.Client.exceptions.UnsupportedOperationException