getSettings method

Future<GetSettingsResponse> getSettings({
  1. required SettingAttribute attribute,
})

Gets the settings for a specified Amazon Web Services account.

May throw AccessDeniedException. May throw InternalServerException.

Parameter attribute : The list of setting attribute enum values.

Implementation

Future<GetSettingsResponse> getSettings({
  required SettingAttribute attribute,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/settings/${Uri.encodeComponent(attribute.value)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetSettingsResponse.fromJson(response);
}