StorageGateway.Paginator.
ListGateways
¶paginator = client.get_paginator('list_gateways')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from StorageGateway.Client.list_gateways()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
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.
{
'Gateways': [
{
'GatewayId': 'string',
'GatewayARN': 'string',
'GatewayType': 'string',
'GatewayOperationalState': 'string',
'GatewayName': 'string',
'Ec2InstanceId': 'string',
'Ec2InstanceRegion': 'string',
'HostEnvironment': 'VMWARE'|'HYPER-V'|'EC2'|'KVM'|'OTHER'|'SNOWBALL',
'HostEnvironmentId': 'string'
},
],
'NextToken': 'string'
}
Response Structure
An array of GatewayInfo objects.
Describes a gateway object.
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
The type of the gateway.
The state of the gateway.
Valid Values: DISABLED
| ACTIVE
The name of the gateway.
The ID of the Amazon EC2 instance that was used to launch the gateway.
The Amazon Web Services Region where the Amazon EC2 instance is located.
The type of hardware or software platform on which the gateway is running.
A unique identifier for the specific instance of the host platform running the gateway. This value is only available for certain host environments, and its format depends on the host environment type.
A token to resume pagination.