CodeDeploy.Paginator.
ListOnPremisesInstances
¶paginator = client.get_paginator('list_on_premises_instances')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from CodeDeploy.Client.list_on_premises_instances()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
registrationStatus='Registered'|'Deregistered',
tagFilters=[
{
'Key': 'string',
'Value': 'string',
'Type': 'KEY_ONLY'|'VALUE_ONLY'|'KEY_AND_VALUE'
},
],
PaginationConfig={
'MaxItems': 123,
'StartingToken': 'string'
}
)
The registration status of the on-premises instances:
Deregistered
: Include deregistered on-premises instances in the resulting list.Registered
: Include registered on-premises instances in the resulting list.The on-premises instance tags that are used to restrict the on-premises instance names returned.
Information about an on-premises instance tag filter.
The on-premises instance tag filter key.
The on-premises instance tag filter value.
The on-premises instance tag filter type:
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.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'instanceNames': [
'string',
],
'NextToken': 'string'
}
Response Structure
(dict) --
Represents the output of the list on-premises instances operation.
instanceNames (list) --
The list of matching on-premises instance names.
NextToken (string) --
A token to resume pagination.