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'
)
[REQUIRED]
The name of an existing application.
[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.
[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.
dict
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
KinesisAnalyticsV2.Client.exceptions.ResourceNotFoundException
KinesisAnalyticsV2.Client.exceptions.ResourceInUseException
KinesisAnalyticsV2.Client.exceptions.InvalidArgumentException
KinesisAnalyticsV2.Client.exceptions.ConcurrentModificationException
KinesisAnalyticsV2.Client.exceptions.InvalidRequestException