getIdNamespaceAssociation method

Future<GetIdNamespaceAssociationOutput> getIdNamespaceAssociation({
  1. required String idNamespaceAssociationIdentifier,
  2. required String membershipIdentifier,
})

Retrieves 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 retrieve.

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

Implementation

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