VPCLattice / Client / delete_service_network_service_association

delete_service_network_service_association#

VPCLattice.Client.delete_service_network_service_association(**kwargs)#

Deletes the association between a specified service and the specific service network. This operation fails if an association is still in progress.

See also: AWS API Documentation

Request Syntax

response = client.delete_service_network_service_association(
    serviceNetworkServiceAssociationIdentifier='string'
)
Parameters:

serviceNetworkServiceAssociationIdentifier (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'|'DELETE_IN_PROGRESS'|'CREATE_FAILED'|'DELETE_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