getAccountSettings method

Future<GetAccountSettingsResponse> getAccountSettings({
  1. required String accountId,
})

Retrieves account settings for the specified Amazon Chime account ID, such as remote control and dial out settings. For more information about these settings, see Use the Policies Page in the Amazon Chime Administration Guide.

May throw UnauthorizedClientException. May throw NotFoundException. May throw BadRequestException. May throw ForbiddenException. May throw ThrottledClientException. May throw ServiceUnavailableException. May throw ServiceFailureException.

Parameter accountId : The Amazon Chime account ID.

Implementation

Future<GetAccountSettingsResponse> getAccountSettings({
  required String accountId,
}) async {
  ArgumentError.checkNotNull(accountId, 'accountId');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/accounts/${Uri.encodeComponent(accountId)}/settings',
    exceptionFnMap: _exceptionFns,
  );
  return GetAccountSettingsResponse.fromJson(response);
}