Skip to content

list_harness_versions

Operation

list_harness_versions

list_harness_versions(request: ListHarnessVersionsInput | ListHarnessVersionsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListHarnessVersionsInputDict]) -> ListHarnessVersionsOutput

Operation to list the versions of a Harness.

Parameters:

Name Type Description Default
request ListHarnessVersionsInput | ListHarnessVersionsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[ListHarnessVersionsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListHarnessVersionsOutput

An instance of ListHarnessVersionsOutput.

list_harness_versions async

list_harness_versions(request: ListHarnessVersionsInput | ListHarnessVersionsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListHarnessVersionsInputDict]) -> ListHarnessVersionsOutput

Operation to list the versions of a Harness.

Parameters:

Name Type Description Default
request ListHarnessVersionsInput | ListHarnessVersionsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[ListHarnessVersionsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListHarnessVersionsOutput

An instance of ListHarnessVersionsOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

ListHarnessVersionsInputDict

Bases: TypedDict

Dictionary form of ListHarnessVersionsInput.

Attributes

harness_id instance-attribute
harness_id: Required[str]

The ID of the harness whose versions are listed.

max_results instance-attribute
max_results: int | None

The maximum number of results to return in a single call.

next_token instance-attribute
next_token: str | None

The token for the next set of results.

ListHarnessVersionsInput dataclass

Bases: _SerdeShape

Dataclass for ListHarnessVersionsInput structure.

Attributes

harness_id class-attribute instance-attribute
harness_id: str | None = ...

The ID of the harness whose versions are listed.

max_results class-attribute instance-attribute
max_results: int | None = ...

The maximum number of results to return in a single call.

next_token class-attribute instance-attribute
next_token: str | None = ...

The token for the next set of results.

Output

ListHarnessVersionsOutput dataclass

Bases: _SerdeShape

Dataclass for ListHarnessVersionsOutput structure.

Attributes

harness_versions instance-attribute
harness_versions: list[HarnessVersionSummary]

The list of harness version summaries.

next_token class-attribute instance-attribute
next_token: str | None = ...

The token for the next set of results.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.