LambdaClient.list_function_versions_by_capacity_provider
rboto-lambda==0.4.0 · Service index · Types
Model summary (excerpt): Returns a list of function versions that are configured to use a specific capacity provider.
Install and imports
from rboto import LambdaClient
from rboto_lambda.types import (
ListFunctionVersionsByCapacityProviderOutput,
)
Signature
async def list_function_versions_by_capacity_provider(
*,
capacity_provider_name: str,
marker: str | None = None,
max_items: int | None = None,
) -> ListFunctionVersionsByCapacityProviderOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
capacity_provider_name |
Yes | The name of the capacity provider to list function versions for. |
marker |
No | Specify the pagination token that's returned by a previous request to retrieve the next page of results. |
max_items |
No | The maximum number of function versions to return in the response. |
Output
ListFunctionVersionsByCapacityProviderOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
capacity_provider_arn |
str |
Always present | — |
function_versions |
list[FunctionVersionsByCapacityProviderListItemOutput] |
Always present | FunctionVersionsByCapacityProviderListItemOutput |
next_marker |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
ListFunctionVersionsByCapacityProviderOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_function_versions_by_capacity_provider(...) accepts the same arguments and returns AsyncIterator[ListFunctionVersionsByCapacityProviderOutput]. Direct calls return one page. Pages preserve the Output representation above.
Input cursors: marker. Page-size argument: max_items.
No output stream.
Errors
Import from rboto_lambda.exceptions:
InvalidParameterValueError, ResourceNotFoundError, ServiceError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.