batchGetTaxExemptions method

Future<BatchGetTaxExemptionsResponse> batchGetTaxExemptions({
  1. required List<String> accountIds,
})

Get the active tax exemptions for a given list of accounts. The IAM action is tax:GetExemptions.

May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter accountIds : List of unique account identifiers.

Implementation

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