Skip to content

get_analysis_log_export

get_analysis_log_export(
    membership_identifier: MembershipIdentifier,
    analysis_log_export_identifier: AnalysisLogExportIdentifier,
    *,
    config_overrides: Optional[CleanRoomsClientConfig] = None,
) -> GetAnalysisLogExportOutput

Returns information about an analysis log export, including its current status and, if the export failed, the reason for the failure.

Poll this operation until the status is SUCCESS or FAILED. An export can't be canceled after it starts.

Parameters:

  • membership_identifier (MembershipIdentifier) –

    A unique identifier for the membership that the analysis log export belongs to. Currently accepts the membership ID.

  • analysis_log_export_identifier (AnalysisLogExportIdentifier) –

    The unique identifier of the analysis log export to retrieve.

Raises:

Source code in docs_src/capo_cleanrooms/_services/clean_rooms.py
def get_analysis_log_export(
    self,
    membership_identifier: "capo_cleanrooms.types.membership_identifier.MembershipIdentifier",
    analysis_log_export_identifier: "capo_cleanrooms.types.analysis_log_export_identifier.AnalysisLogExportIdentifier",
    *,
    config_overrides: Optional[CleanRoomsClientConfig] = None,
) -> "capo_cleanrooms.types.get_analysis_log_export_output.GetAnalysisLogExportOutput":
    """<p>Returns information about an analysis log export, including its current status and, if the export failed, the reason for the failure.</p> <p>Poll this operation until the <code>status</code> is <code>SUCCESS</code> or <code>FAILED</code>. An export can't be canceled after it starts.</p>

    Args:
        membership_identifier: <p>A unique identifier for the membership that the analysis log export belongs to. Currently accepts the membership ID.</p>
        analysis_log_export_identifier: <p>The unique identifier of the analysis log export 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_analysis_log_export_input.GetAnalysisLogExportInput]",
    ) -> OperationResponse[
        "capo_cleanrooms.types.get_analysis_log_export_output.GetAnalysisLogExportOutput"
    ]:
        import capo_cleanrooms._operations.aws_bastion_control_plane_service_lambda.get_analysis_log_export

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

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetAnalysisLogExport")
    )
    input_: capo_cleanrooms.types.get_analysis_log_export_input.GetAnalysisLogExportInput = {
        "membership_identifier": membership_identifier,
        "analysis_log_export_identifier": analysis_log_export_identifier,
    }

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