KinesisAnalyticsV2 / Client / delete_application_reference_data_source

delete_application_reference_data_source#

KinesisAnalyticsV2.Client.delete_application_reference_data_source(**kwargs)#

Deletes a reference data source configuration from the specified SQL-based Kinesis Data Analytics application’s configuration.

If the application is running, Kinesis Data Analytics immediately removes the in-application table that you created using the AddApplicationReferenceDataSource operation.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The name of an existing application.

  • CurrentApplicationVersionId (integer) –

    [REQUIRED]

    The current application version. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned.

  • ReferenceId (string) –

    [REQUIRED]

    The ID of the reference data source. When you add a reference data source to your application using the AddApplicationReferenceDataSource, Kinesis Data Analytics assigns an ID. You can use the DescribeApplication operation to get the reference ID.

Return type:

dict

Returns:

Response Syntax

{
    'ApplicationARN': 'string',
    'ApplicationVersionId': 123
}

Response Structure

  • (dict) –

    • ApplicationARN (string) –

      The application Amazon Resource Name (ARN).

    • ApplicationVersionId (integer) –

      The updated version ID of the application.

Exceptions