deleteServiceNetworkResourceAssociation method

Future<DeleteServiceNetworkResourceAssociationResponse> deleteServiceNetworkResourceAssociation({
  1. required String serviceNetworkResourceAssociationIdentifier,
})

Deletes the association between a service network and a resource configuration.

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

Parameter serviceNetworkResourceAssociationIdentifier : The ID of the association.

Implementation

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