Skip to content

list_workload_identities

Operation

list_workload_identities

list_workload_identities(request: ListWorkloadIdentitiesInput | ListWorkloadIdentitiesInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListWorkloadIdentitiesInputDict]) -> ListWorkloadIdentitiesOutput

Lists all workload identities in your account.

Parameters:

Name Type Description Default
request ListWorkloadIdentitiesInput | ListWorkloadIdentitiesInputDict | 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[ListWorkloadIdentitiesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListWorkloadIdentitiesOutput

An instance of ListWorkloadIdentitiesOutput.

list_workload_identities async

list_workload_identities(request: ListWorkloadIdentitiesInput | ListWorkloadIdentitiesInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListWorkloadIdentitiesInputDict]) -> ListWorkloadIdentitiesOutput

Lists all workload identities in your account.

Parameters:

Name Type Description Default
request ListWorkloadIdentitiesInput | ListWorkloadIdentitiesInputDict | 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[ListWorkloadIdentitiesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListWorkloadIdentitiesOutput

An instance of ListWorkloadIdentitiesOutput.

Input

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

ListWorkloadIdentitiesInputDict

Bases: TypedDict

Dictionary form of ListWorkloadIdentitiesInput.

Attributes

max_results instance-attribute
max_results: int | None

Maximum number of results to return.

next_token instance-attribute
next_token: str | None

Pagination token.

ListWorkloadIdentitiesInput dataclass

Bases: _SerdeShape

Dataclass for ListWorkloadIdentitiesInput structure.

Attributes

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

Maximum number of results to return.

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

Pagination token.

Output

ListWorkloadIdentitiesOutput dataclass

Bases: _SerdeShape

Dataclass for ListWorkloadIdentitiesOutput structure.

Attributes

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

Pagination token for the next page 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.

workload_identities instance-attribute
workload_identities: list[WorkloadIdentityType]

The list of workload identities.