Lambda / Client / list_function_versions_by_capacity_provider
list_function_versions_by_capacity_provider¶
- Lambda.Client.list_function_versions_by_capacity_provider(**kwargs)¶
Returns a list of function versions that are configured to use a specific capacity provider.
See also: AWS API Documentation
Request Syntax
response = client.list_function_versions_by_capacity_provider( CapacityProviderName='string', Marker='string', MaxItems=123 )
- Parameters:
CapacityProviderName (string) –
[REQUIRED]
The name of the capacity provider to list function versions for.
Marker (string) – Specify the pagination token that’s returned by a previous request to retrieve the next page of results.
MaxItems (integer) – The maximum number of function versions to return in the response.
- Return type:
dict
- Returns:
Response Syntax
{ 'CapacityProviderArn': 'string', 'FunctionVersions': [ { 'FunctionArn': 'string', 'State': 'Pending'|'Active'|'Inactive'|'Failed'|'Deactivating'|'Deactivated'|'ActiveNonInvocable'|'Deleting' }, ], 'NextMarker': 'string' }
Response Structure
(dict) –
CapacityProviderArn (string) –
The Amazon Resource Name (ARN) of the capacity provider.
FunctionVersions (list) –
A list of function versions that use the specified capacity provider.
(dict) –
Information about a function version that uses a specific capacity provider, including its ARN and current state.
FunctionArn (string) –
The Amazon Resource Name (ARN) of the function version.
State (string) –
The current state of the function version.
NextMarker (string) –
The pagination token that’s included if more results are available.
Exceptions
Lambda.Client.exceptions.InvalidParameterValueExceptionLambda.Client.exceptions.ServiceExceptionLambda.Client.exceptions.TooManyRequestsExceptionLambda.Client.exceptions.ResourceNotFoundException