VPCLattice / Client / delete_service_network

delete_service_network#

VPCLattice.Client.delete_service_network(**kwargs)#

Deletes a service network. You can only delete the service network if there is no service or VPC associated with it. If you delete a service network, all resources related to the service network, such as the resource policy, auth policy, and access log subscriptions, are also deleted. For more information, see Delete a service network in the Amazon VPC Lattice User Guide.

See also: AWS API Documentation

Request Syntax

response = client.delete_service_network(
    serviceNetworkIdentifier='string'
)
Parameters:

serviceNetworkIdentifier (string) –

[REQUIRED]

The ID or ARN of the service network.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions