Skip to content

list_function_versions_by_capacity_provider

Operation

list_function_versions_by_capacity_provider

Returns a list of function versions that are configured to use a specific capacity provider.

Parameters:

Name Type Description Default
request ListFunctionVersionsByCapacityProviderInput | ListFunctionVersionsByCapacityProviderInputDict | 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[ListFunctionVersionsByCapacityProviderInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListFunctionVersionsByCapacityProviderOutput

An instance of ListFunctionVersionsByCapacityProviderOutput.

list_function_versions_by_capacity_provider async

Returns a list of function versions that are configured to use a specific capacity provider.

Parameters:

Name Type Description Default
request ListFunctionVersionsByCapacityProviderInput | ListFunctionVersionsByCapacityProviderInputDict | 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[ListFunctionVersionsByCapacityProviderInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListFunctionVersionsByCapacityProviderOutput

An instance of ListFunctionVersionsByCapacityProviderOutput.

Input

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

ListFunctionVersionsByCapacityProviderInputDict

Bases: TypedDict

Dictionary form of ListFunctionVersionsByCapacityProviderInput.

Attributes

capacity_provider_name instance-attribute
capacity_provider_name: Required[str]

The name of the capacity provider to list function versions for.

marker instance-attribute
marker: str | None

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

max_items instance-attribute
max_items: int | None

The maximum number of function versions to return in the response.

ListFunctionVersionsByCapacityProviderInput dataclass

Bases: _SerdeShape

Dataclass for ListFunctionVersionsByCapacityProviderInput structure.

Attributes

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

The name of the capacity provider to list function versions for.

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

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

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

The maximum number of function versions to return in the response.

Output

ListFunctionVersionsByCapacityProviderOutput dataclass

Bases: _SerdeShape

Dataclass for ListFunctionVersionsByCapacityProviderOutput structure.

Attributes

capacity_provider_arn instance-attribute
capacity_provider_arn: str

The Amazon Resource Name (ARN) of the capacity provider.

function_versions instance-attribute

A list of function versions that use the specified capacity provider.

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

The pagination token that's included if more results are available.

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.