Lambda / Paginator / ListFunctionVersionsByCapacityProvider
ListFunctionVersionsByCapacityProvider¶
- class Lambda.Paginator.ListFunctionVersionsByCapacityProvider¶
paginator = client.get_paginator('list_function_versions_by_capacity_provider')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
Lambda.Client.list_function_versions_by_capacity_provider().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( CapacityProviderName='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
CapacityProviderName (string) –
[REQUIRED]
The name of the capacity provider to list function versions for.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'CapacityProviderArn': 'string', 'FunctionVersions': [ { 'FunctionArn': 'string', 'State': 'Pending'|'Active'|'Inactive'|'Failed'|'Deactivating'|'Deactivated'|'ActiveNonInvocable'|'Deleting' }, ], 'NextToken': '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.
NextToken (string) –
A token to resume pagination.