KinesisAnalyticsV2 / Client / delete_application_vpc_configuration

delete_application_vpc_configuration#

KinesisAnalyticsV2.Client.delete_application_vpc_configuration(**kwargs)#

Removes a VPC configuration from a Kinesis Data Analytics application.

See also: AWS API Documentation

Request Syntax

response = client.delete_application_vpc_configuration(
    ApplicationName='string',
    CurrentApplicationVersionId=123,
    VpcConfigurationId='string',
    ConditionalToken='string'
)
Parameters:
  • ApplicationName (string) –

    [REQUIRED]

    The name of an existing application.

  • CurrentApplicationVersionId (integer) – The current application version ID. You must provide the CurrentApplicationVersionId or the ConditionalToken. You can retrieve the application version ID using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

  • VpcConfigurationId (string) –

    [REQUIRED]

    The ID of the VPC configuration to delete.

  • ConditionalToken (string) – A value you use to implement strong concurrency for application updates. You must provide the CurrentApplicationVersionId or the ConditionalToken. You get the application’s current ConditionalToken using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • ApplicationARN (string) –

      The ARN of the Kinesis Data Analytics application.

    • 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.InvalidApplicationConfigurationException