deleteIdNamespaceAssociation method

Future<void> deleteIdNamespaceAssociation({
  1. required String idNamespaceAssociationIdentifier,
  2. required String membershipIdentifier,
})

Deletes an ID namespace association.

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

Parameter idNamespaceAssociationIdentifier : The unique identifier of the ID namespace association that you want to delete.

Parameter membershipIdentifier : The unique identifier of the membership that contains the ID namespace association that you want to delete.

Implementation

Future<void> deleteIdNamespaceAssociation({
  required String idNamespaceAssociationIdentifier,
  required String membershipIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/memberships/${Uri.encodeComponent(membershipIdentifier)}/idnamespaceassociations/${Uri.encodeComponent(idNamespaceAssociationIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
}