ElasticInference.Paginator.
DescribeAccelerators
¶paginator = client.get_paginator('describe_accelerators')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from ElasticInference.Client.describe_accelerators()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
acceleratorIds=[
'string',
],
filters=[
{
'name': 'string',
'values': [
'string',
]
},
],
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
The IDs of the accelerators to describe.
One or more filters. Filter names and values are case-sensitive. Valid filter names are: accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a list of EC2 instance ids to filter for.
A filter expression for the Elastic Inference Accelerator list.
The filter name for the Elastic Inference Accelerator list. It can assume the following values: accelerator-type: the type of Elastic Inference Accelerator to filter for. instance-id: an EC2 instance id to filter for.
The values for the filter of the Elastic Inference Accelerator list.
A dictionary that provides parameters to control pagination.
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 NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'acceleratorSet': [
{
'acceleratorHealth': {
'status': 'string'
},
'acceleratorType': 'string',
'acceleratorId': 'string',
'availabilityZone': 'string',
'attachedResource': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
acceleratorSet (list) --
The details of the Elastic Inference Accelerators.
(dict) --
The details of an Elastic Inference Accelerator.
acceleratorHealth (dict) --
The health of the Elastic Inference Accelerator.
status (string) --
The health status of the Elastic Inference Accelerator.
acceleratorType (string) --
The type of the Elastic Inference Accelerator.
acceleratorId (string) --
The ID of the Elastic Inference Accelerator.
availabilityZone (string) --
The availability zone where the Elastic Inference Accelerator is present.
attachedResource (string) --
The ARN of the resource that the Elastic Inference Accelerator is attached to.
NextToken (string) --
A token to resume pagination.