Skip to content

get_system_tables_configuration async

get_system_tables_configuration(
    *,
    config_overrides: Optional[AsyncEMRClientConfig] = None,
    platform: Optional[SystemTablesPlatform] = None,
) -> GetSystemTablesConfigurationOutput

Returns the system tables configuration of your account in the current Region. For each Amazon EMR platform, the response shows which system tables are enabled, how they are encrypted, and the status of each table. You can request a single platform.

Parameters:

  • platform (Optional[SystemTablesPlatform], default: None ) –

    The platform to return. If you omit it, the response includes every platform.

Raises:

Source code in docs_src/capo_emr/_services/async_emr.py
async def get_system_tables_configuration(
    self,
    *,
    config_overrides: Optional[AsyncEMRClientConfig] = None,
    platform: Optional[
        "capo_emr.types.system_tables_platform.SystemTablesPlatform"
    ] = None,
) -> "capo_emr.types.get_system_tables_configuration_output.GetSystemTablesConfigurationOutput":
    """<p>Returns the system tables configuration of your account in the current Region. For each Amazon EMR platform, the response shows which system tables are enabled, how they are encrypted, and the status of each table. You can request a single platform.</p>

    Args:
        platform: <p>The platform to return. If you omit it, the response includes every platform.</p>

    Raises:
        capo_emr.errors.access_denied_exception.AccessDeniedException: <p>You do not have sufficient permissions to perform this operation.</p>
        capo_emr.errors.internal_server_exception.InternalServerException: <p>This exception occurs when there is an internal failure in the Amazon EMR service.</p>
        capo_emr.errors.throttling_exception.ThrottlingException: <p>The request was denied because of request throttling. Retry the request after a delay.</p>
        capo_emr.errors.validation_exception.ValidationException: <p>The request failed because an input parameter is not valid.</p>
        capo_emr.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    async def _handler(
        req: "AsyncOperationRequest[capo_emr.types.get_system_tables_configuration_input.GetSystemTablesConfigurationInput]",
    ) -> AsyncOperationResponse[
        "capo_emr.types.get_system_tables_configuration_output.GetSystemTablesConfigurationOutput"
    ]:
        import capo_emr._operations.elastic_map_reduce.get_system_tables_configuration

        (
            output,
            http_response,
        ) = await capo_emr._operations.elastic_map_reduce.get_system_tables_configuration.async_get_system_tables_configuration(
            req.options, req.input
        )
        return AsyncOperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetSystemTablesConfiguration")
    )
    input_: capo_emr.types.get_system_tables_configuration_input.GetSystemTablesConfigurationInput = {}
    if platform is not None:
        input_["platform"] = platform

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