Skip to content

list_matching_workflows

list_matching_workflows(
    *,
    config_overrides: Optional[EntityResolutionClientConfig] = None,
    next_token: Optional[NextToken] = None,
    max_results: Optional[int] = None,
) -> ListMatchingWorkflowsOutput

Returns a list of all the MatchingWorkflows that have been created for an Amazon Web Services account.

Parameters:

  • next_token (Optional[NextToken], default: None ) –

    The pagination token from the previous API call.

  • max_results (Optional[int], default: None ) –

    The maximum number of objects returned per page.

Raises:

Source code in docs_src/capo_entityresolution/_services/entity_resolution.py
def list_matching_workflows(
    self,
    *,
    config_overrides: Optional[EntityResolutionClientConfig] = None,
    next_token: Optional["capo_entityresolution.types.next_token.NextToken"] = None,
    max_results: Optional[int] = None,
) -> "capo_entityresolution.types.list_matching_workflows_output.ListMatchingWorkflowsOutput":
    """<p>Returns a list of all the <code>MatchingWorkflows</code> that have been created for an Amazon Web Services account.</p>

    Args:
        next_token: <p>The pagination token from the previous API call.</p>
        max_results: <p>The maximum number of objects returned per page.</p>

    Raises:
        capo_entityresolution.errors.access_denied_exception.AccessDeniedException: <p>You do not have sufficient access to perform this action. </p>
        capo_entityresolution.errors.internal_server_exception.InternalServerException: <p>This exception occurs when there is an internal failure in the Entity Resolution service. </p>
        capo_entityresolution.errors.throttling_exception.ThrottlingException: <p>The request was denied due to request throttling. </p>
        capo_entityresolution.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by Entity Resolution. </p>
        capo_entityresolution.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[capo_entityresolution.types.list_matching_workflows_input.ListMatchingWorkflowsInput]",
    ) -> OperationResponse[
        "capo_entityresolution.types.list_matching_workflows_output.ListMatchingWorkflowsOutput"
    ]:
        import capo_entityresolution._operations.aws_venice_service.list_matching_workflows

        output, http_response = (
            capo_entityresolution._operations.aws_venice_service.list_matching_workflows.list_matching_workflows(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("ListMatchingWorkflows")
    )
    input_: capo_entityresolution.types.list_matching_workflows_input.ListMatchingWorkflowsInput = {}
    if next_token is not None:
        input_["next_token"] = next_token
    if max_results is not None:
        input_["max_results"] = max_results

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