getConfiguration method

Future<GetConfigurationResponse> getConfiguration({
  1. required String name,
})

Retrieve configuration details for specified name.

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

Parameter name : Configuration name to retrieve.

Implementation

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