batchGetTableOptimizer method

Future<BatchGetTableOptimizerResponse> batchGetTableOptimizer({
  1. required List<BatchGetTableOptimizerEntry> entries,
})

Returns the configuration for the specified table optimizers.

May throw AccessDeniedException. May throw EntityNotFoundException. May throw InternalServiceException. May throw InvalidInputException. May throw ThrottlingException.

Parameter entries : A list of BatchGetTableOptimizerEntry objects specifying the table optimizers to retrieve.

Implementation

Future<BatchGetTableOptimizerResponse> batchGetTableOptimizer({
  required List<BatchGetTableOptimizerEntry> entries,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AWSGlue.BatchGetTableOptimizer'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'Entries': entries,
    },
  );

  return BatchGetTableOptimizerResponse.fromJson(jsonResponse.body);
}