getDefaultApplicationSetting method
Gets the ARN of the current default application.
If the default application isn't set, the operation returns a resource not found error.
May throw AccessDeniedException.
May throw InternalException.
May throw ResourceNotFoundException.
May throw ValidationException.
Implementation
Future<GetDefaultApplicationSettingResponse>
getDefaultApplicationSetting() async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/2021-01-01/opensearch/defaultApplicationSetting',
exceptionFnMap: _exceptionFns,
);
return GetDefaultApplicationSettingResponse.fromJson(response);
}