getUserSettings method
Gets user settings.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter userSettingsArn :
The ARN of the user settings.
Implementation
Future<GetUserSettingsResponse> getUserSettings({
required String userSettingsArn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/userSettings/${userSettingsArn.split('/').map(Uri.encodeComponent).join('/')}',
exceptionFnMap: _exceptionFns,
);
return GetUserSettingsResponse.fromJson(response);
}