Skip to content

get_configured_table

get_configured_table(
    configured_table_identifier: ConfiguredTableIdentifier,
    *,
    config_overrides: Optional[CleanRoomsClientConfig] = None,
) -> GetConfiguredTableOutput

Retrieves a configured table.

Parameters:

Raises:

Source code in docs_src/capo_cleanrooms/_services/clean_rooms.py
def get_configured_table(
    self,
    configured_table_identifier: "capo_cleanrooms.types.configured_table_identifier.ConfiguredTableIdentifier",
    *,
    config_overrides: Optional[CleanRoomsClientConfig] = None,
) -> "capo_cleanrooms.types.get_configured_table_output.GetConfiguredTableOutput":
    """<p>Retrieves a configured table.</p>

    Args:
        configured_table_identifier: <p>The unique ID for the configured table to retrieve.</p>

    Raises:
        capo_cleanrooms.errors.access_denied_exception.AccessDeniedException: <p>Caller does not have sufficient access to perform this action.</p>
        capo_cleanrooms.errors.internal_server_exception.InternalServerException: <p>Unexpected error during processing of request.</p>
        capo_cleanrooms.errors.resource_not_found_exception.ResourceNotFoundException: <p>Request references a resource which does not exist.</p>
        capo_cleanrooms.errors.throttling_exception.ThrottlingException: <p>Request was denied due to request throttling.</p>
        capo_cleanrooms.errors.validation_exception.ValidationException: <p>The input fails to satisfy the specified constraints.</p>
        capo_cleanrooms.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[capo_cleanrooms.types.get_configured_table_input.GetConfiguredTableInput]",
    ) -> OperationResponse[
        "capo_cleanrooms.types.get_configured_table_output.GetConfiguredTableOutput"
    ]:
        import capo_cleanrooms._operations.aws_bastion_control_plane_service_lambda.get_configured_table

        output, http_response = (
            capo_cleanrooms._operations.aws_bastion_control_plane_service_lambda.get_configured_table.get_configured_table(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetConfiguredTable")
    )
    input_: capo_cleanrooms.types.get_configured_table_input.GetConfiguredTableInput = {
        "configured_table_identifier": configured_table_identifier
    }

    response = execute_pipeline(
        OperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output