ApiGatewayV2 / Paginator / GetDeployments
GetDeployments#
- class ApiGatewayV2.Paginator.GetDeployments#
- paginator = client.get_paginator('get_deployments') - paginate(**kwargs)#
- Creates an iterator that will paginate through responses from - ApiGatewayV2.Client.get_deployments().- See also: AWS API Documentation - Request Syntax- response_iterator = paginator.paginate( ApiId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) - Parameters:
- ApiId (string) – - [REQUIRED] - The API identifier. 
- 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- { 'Items': [ { 'AutoDeployed': True|False, 'CreatedDate': datetime(2015, 1, 1), 'DeploymentId': 'string', 'DeploymentStatus': 'PENDING'|'FAILED'|'DEPLOYED', 'DeploymentStatusMessage': 'string', 'Description': 'string' }, ], } - Response Structure- (dict) – - Success - Items (list) – - The elements from this collection. - (dict) – - An immutable representation of an API that can be called by users. A Deployment must be associated with a Stage for it to be callable over the internet. - AutoDeployed (boolean) – - Specifies whether a deployment was automatically released. 
- CreatedDate (datetime) – - The date and time when the Deployment resource was created. 
- DeploymentId (string) – - The identifier for the deployment. 
- DeploymentStatus (string) – - The status of the deployment: PENDING, FAILED, or SUCCEEDED. 
- DeploymentStatusMessage (string) – - May contain additional feedback on the status of an API deployment. 
- Description (string) – - The description for the deployment.