updateAccountConfiguration method

Future<UpdateAccountConfigurationResponse> updateAccountConfiguration({
  1. AccountConfiguration? accountConfiguration,
})

Update account configuration

May throw BadGatewayException. May throw BadRequestException. May throw ForbiddenException. May throw GatewayTimeoutException. May throw InternalServerErrorException. May throw TooManyRequestsException. May throw UnprocessableEntityException.

Implementation

Future<UpdateAccountConfigurationResponse> updateAccountConfiguration({
  AccountConfiguration? accountConfiguration,
}) async {
  final $payload = <String, dynamic>{
    if (accountConfiguration != null)
      'accountConfiguration': accountConfiguration,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'PUT',
    requestUri: '/prod/accountConfiguration',
    exceptionFnMap: _exceptionFns,
  );
  return UpdateAccountConfigurationResponse.fromJson(response);
}