VPCLattice / Client / delete_service_network
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
response = client.delete_service_network( serviceNetworkIdentifier='string' )
serviceNetworkIdentifier (string) –
The Amazon Resource Name (ARN) or ID of the service network.
- Return type: