VPCLattice / Client / delete_service_network_vpc_association

delete_service_network_vpc_association#

VPCLattice.Client.delete_service_network_vpc_association(**kwargs)#

Disassociates the VPC from the service network. You can’t disassociate the VPC if there is a create or update association in progress.

See also: AWS API Documentation

Request Syntax

response = client.delete_service_network_vpc_association(
    serviceNetworkVpcAssociationIdentifier='string'
)
Parameters:

serviceNetworkVpcAssociationIdentifier (string) –

[REQUIRED]

The ID or Amazon Resource Name (ARN) of the association.

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'id': 'string',
    'status': 'CREATE_IN_PROGRESS'|'ACTIVE'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'CREATE_FAILED'|'DELETE_FAILED'|'UPDATE_FAILED'
}

Response Structure

  • (dict) –

    • arn (string) –

      The Amazon Resource Name (ARN) of the association.

    • id (string) –

      The ID of the association.

    • status (string) –

      The status. You can retry the operation if the status is DELETE_FAILED. However, if you retry it when the status is DELETE_IN_PROGRESS, there is no change in the status.

Exceptions

  • VPCLattice.Client.exceptions.ValidationException

  • VPCLattice.Client.exceptions.AccessDeniedException

  • VPCLattice.Client.exceptions.ThrottlingException

  • VPCLattice.Client.exceptions.ResourceNotFoundException

  • VPCLattice.Client.exceptions.ConflictException

  • VPCLattice.Client.exceptions.InternalServerException