getDataCatalogExportConfiguration method

Future<GetDataCatalogExportConfigurationOutput> getDataCatalogExportConfiguration()

Retrieves the current export configuration for the Glue Data Catalog. The export configuration controls whether catalog metadata is exported to S3 Tables.

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

Implementation

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

  return GetDataCatalogExportConfigurationOutput.fromJson(jsonResponse.body);
}