Skip to content

get_data_catalog_export_configuration async

get_data_catalog_export_configuration(
    *, config_overrides: Optional[AsyncGlueClientConfig] = None
) -> GetDataCatalogExportConfigurationOutput

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

Raises:

Source code in docs_src/capo_glue/_services/async_glue.py
async def get_data_catalog_export_configuration(
    self, *, config_overrides: Optional[AsyncGlueClientConfig] = None
) -> "capo_glue.types.get_data_catalog_export_configuration_output.GetDataCatalogExportConfigurationOutput":
    """<p>Retrieves the current export configuration for the Glue Data Catalog. The export configuration controls whether catalog metadata is exported to S3 Tables.</p>

    Raises:
        capo_glue.errors.entity_not_found_exception.EntityNotFoundException: <p>A specified entity does not exist</p>
        capo_glue.errors.internal_service_exception.InternalServiceException: <p>An internal service error occurred.</p>
        capo_glue.errors.invalid_input_exception.InvalidInputException: <p>The input provided was not valid.</p>
        capo_glue.errors.throttling_exception.ThrottlingException: <p>The throttling threshhold was exceeded.</p>
        capo_glue.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    async def _handler(
        req: "AsyncOperationRequest[capo_glue.types.get_data_catalog_export_configuration_input.GetDataCatalogExportConfigurationInput]",
    ) -> AsyncOperationResponse[
        "capo_glue.types.get_data_catalog_export_configuration_output.GetDataCatalogExportConfigurationOutput"
    ]:
        import capo_glue._operations.aws_glue.get_data_catalog_export_configuration

        (
            output,
            http_response,
        ) = await capo_glue._operations.aws_glue.get_data_catalog_export_configuration.async_get_data_catalog_export_configuration(
            req.options, req.input
        )
        return AsyncOperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetDataCatalogExportConfiguration")
    )
    input_: capo_glue.types.get_data_catalog_export_configuration_input.GetDataCatalogExportConfigurationInput = {}

    response = await aexecute_pipeline(
        AsyncOperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    await response.response.aclose()
    return response.output