deleteServiceNetworkVpcAssociation method

Future<DeleteServiceNetworkVpcAssociationResponse> deleteServiceNetworkVpcAssociation({
  1. required String serviceNetworkVpcAssociationIdentifier,
})

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

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter serviceNetworkVpcAssociationIdentifier : The ID or ARN of the association.

Implementation

Future<DeleteServiceNetworkVpcAssociationResponse>
    deleteServiceNetworkVpcAssociation({
  required String serviceNetworkVpcAssociationIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/servicenetworkvpcassociations/${Uri.encodeComponent(serviceNetworkVpcAssociationIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteServiceNetworkVpcAssociationResponse.fromJson(response);
}