getAccountConfiguration method

Future<GetAccountConfigurationResponse> getAccountConfiguration()

Returns the account configuration options associated with an Amazon Web Services account.

May throw AccessDeniedException. May throw ThrottlingException.

Implementation

Future<GetAccountConfigurationResponse> getAccountConfiguration() async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'CertificateManager.GetAccountConfiguration'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
  );

  return GetAccountConfigurationResponse.fromJson(jsonResponse.body);
}