describeAccountSettings method

Future<DescribeAccountSettingsResponse> describeAccountSettings({
  1. required String awsAccountId,
})

Describes the settings that were used when your QuickSight subscription was first created in this AWS account.

May throw AccessDeniedException. May throw InvalidParameterValueException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw InternalFailureException. May throw ResourceUnavailableException.

Parameter awsAccountId : The ID for the AWS account that contains the settings that you want to list.

Implementation

Future<DescribeAccountSettingsResponse> describeAccountSettings({
  required String awsAccountId,
}) async {
  ArgumentError.checkNotNull(awsAccountId, 'awsAccountId');
  _s.validateStringLength(
    'awsAccountId',
    awsAccountId,
    12,
    12,
    isRequired: true,
  );
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/accounts/${Uri.encodeComponent(awsAccountId)}/settings',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeAccountSettingsResponse.fromJson(response);
}