getCaseEventConfiguration method

Future<GetCaseEventConfigurationResponse> getCaseEventConfiguration({
  1. required String domainId,
})

Returns the case event publishing configuration.

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

Parameter domainId : The unique identifier of the Cases domain.

Implementation

Future<GetCaseEventConfigurationResponse> getCaseEventConfiguration({
  required String domainId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri:
        '/domains/${Uri.encodeComponent(domainId)}/case-event-configuration',
    exceptionFnMap: _exceptionFns,
  );
  return GetCaseEventConfigurationResponse.fromJson(response);
}