getIdNamespace method

Future<GetIdNamespaceOutput> getIdNamespace({
  1. required String idNamespaceName,
})

Returns the IdNamespace with a given name, if it exists.

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

Parameter idNamespaceName : The name of the ID namespace.

Implementation

Future<GetIdNamespaceOutput> getIdNamespace({
  required String idNamespaceName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/idnamespaces/${Uri.encodeComponent(idNamespaceName)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetIdNamespaceOutput.fromJson(response);
}