batchGetFreeTrialInfo method

Future<BatchGetFreeTrialInfoResponse> batchGetFreeTrialInfo({
  1. required List<String> accountIds,
})

Gets free trial status for multiple Amazon Web Services accounts.

May throw AccessDeniedException. May throw InternalServerException. May throw ThrottlingException. May throw ValidationException.

Parameter accountIds : The account IDs to get free trial status for.

Implementation

Future<BatchGetFreeTrialInfoResponse> batchGetFreeTrialInfo({
  required List<String> accountIds,
}) async {
  final $payload = <String, dynamic>{
    'accountIds': accountIds,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/freetrialinfo/batchget',
    exceptionFnMap: _exceptionFns,
  );
  return BatchGetFreeTrialInfoResponse.fromJson(response);
}