delete_application_reference_data_source
async
¶
delete_application_reference_data_source(
application_name: ApplicationName,
current_application_version_id: ApplicationVersionId,
reference_id: Id,
*,
config_overrides: Optional[AsyncKinesisAnalyticsV2ClientConfig] = None,
) -> DeleteApplicationReferenceDataSourceResponse
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.
Parameters:
-
application_name(ApplicationName) –The name of an existing application.
-
current_application_version_id(ApplicationVersionId) –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
ConcurrentModificationExceptionis returned. -
reference_id(Id) –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.
Raises:
-
ConcurrentModificationException–Exception thrown as a result of concurrent modifications to an application or snapshot. This error can be the result of attempting to modify an application without using the current application ID.
-
InvalidArgumentException–The specified input parameter value is not valid.
-
InvalidRequestException–The request JSON is not valid for the operation.
-
ResourceInUseException–The application or snapshot is not available for this operation.
-
ResourceNotFoundException–The specified application, snapshot, or snapshot operation can't be found.
-
UnknownServiceError–The service returned an error code this client does not model.