Skip to content

ListTasksInput

Source code in docs_src/capo_assurance/types/list_tasks_input.py
class ListTasksInput(TypedDict, closed=True):
    environment_arn: "capo_assurance.types.environment_arn.EnvironmentArn"
    """<p>The ARN of this governance environment.</p>"""
    project: "capo_assurance.types.project_name.ProjectName"
    """<p>The project to list tasks for. Each request is scoped to one project.</p>"""
    filters: NotRequired["capo_assurance.types.task_filter_list.TaskFilterList"]
    """<p>The response filter criteria. Optional. See <code>TaskFilterName</code> for the filterable attributes. A result must match every attribute you name, and matches if it equals any of the values you give for that attribute. Omitting <code>filters</code> returns every task in the project.</p> <p>A single-valued criterion for <code>framework</code>, <code>framework-version</code>, or <code>control-id</code> narrows the results when every broader component is also supplied. When a broader component is absent, the criterion is applied to the returned results.</p> <p>An <code>assessment-id</code> criterion returns the task history for that assessment. It accepts one value and requires single-valued <code>framework</code>, <code>framework-version</code>, and <code>control-id</code> criteria alongside it.</p>"""
    max_results: NotRequired["capo_assurance.types.max_results.MaxResults"]
    """<p>The maximum number of records to return on one page. If you omit it, the operation uses its default page size. If more records are available, use the <code>nextToken</code> value from the response to get the next page.</p>"""
    next_token: NotRequired["capo_assurance.types.pagination_token.PaginationToken"]
    """<p>The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.</p>"""

environment_arn instance-attribute

environment_arn: EnvironmentArn

The ARN of this governance environment.

filters instance-attribute

filters: NotRequired[TaskFilterList]

The response filter criteria. Optional. See TaskFilterName for the filterable attributes. A result must match every attribute you name, and matches if it equals any of the values you give for that attribute. Omitting filters returns every task in the project.

A single-valued criterion for framework, framework-version, or control-id narrows the results when every broader component is also supplied. When a broader component is absent, the criterion is applied to the returned results.

An assessment-id criterion returns the task history for that assessment. It accepts one value and requires single-valued framework, framework-version, and control-id criteria alongside it.

max_results instance-attribute

max_results: NotRequired[MaxResults]

The maximum number of records to return on one page. If you omit it, the operation uses its default page size. If more records are available, use the nextToken value from the response to get the next page.

next_token instance-attribute

next_token: NotRequired[PaginationToken]

The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.

project instance-attribute

project: ProjectName

The project to list tasks for. Each request is scoped to one project.