EC2 / Client / delete_local_gateway_route_table_vpc_association

delete_local_gateway_route_table_vpc_association#

EC2.Client.delete_local_gateway_route_table_vpc_association(**kwargs)#

Deletes the specified association between a VPC and local gateway route table.

See also: AWS API Documentation

Request Syntax

response = client.delete_local_gateway_route_table_vpc_association(
    LocalGatewayRouteTableVpcAssociationId='string',
    DryRun=True|False
)
Parameters:
  • LocalGatewayRouteTableVpcAssociationId (string) –

    [REQUIRED]

    The ID of the association.

  • DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Return type:

dict

Returns:

Response Syntax

{
    'LocalGatewayRouteTableVpcAssociation': {
        'LocalGatewayRouteTableVpcAssociationId': 'string',
        'LocalGatewayRouteTableId': 'string',
        'LocalGatewayRouteTableArn': 'string',
        'LocalGatewayId': 'string',
        'VpcId': 'string',
        'OwnerId': 'string',
        'State': 'string',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) –

    • LocalGatewayRouteTableVpcAssociation (dict) –

      Information about the association.

      • LocalGatewayRouteTableVpcAssociationId (string) –

        The ID of the association.

      • LocalGatewayRouteTableId (string) –

        The ID of the local gateway route table.

      • LocalGatewayRouteTableArn (string) –

        The Amazon Resource Name (ARN) of the local gateway route table for the association.

      • LocalGatewayId (string) –

        The ID of the local gateway.

      • VpcId (string) –

        The ID of the VPC.

      • OwnerId (string) –

        The ID of the Amazon Web Services account that owns the local gateway route table for the association.

      • State (string) –

        The state of the association.

      • Tags (list) –

        The tags assigned to the association.

        • (dict) –

          Describes a tag.

          • Key (string) –

            The key of the tag.

            Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

          • Value (string) –

            The value of the tag.

            Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.