-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With this change, we can use paginator for the OpenSearch APIs with Max Results limit, instead of looping with NextToken manually. fixes: #3245
- Loading branch information
Showing
1 changed file
with
96 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,97 @@ | ||
{ | ||
"pagination": {} | ||
} | ||
"pagination": { | ||
"DescribeDomainAutoTunes": { | ||
"input_token": "NextToken", | ||
"limit_key": "MaxResults", | ||
"output_token": "NextToken", | ||
"result_key": "AutoTunes" | ||
}, | ||
"DescribeInboundConnections": { | ||
"input_token": "NextToken", | ||
"limit_key": "MaxResults", | ||
"output_token": "NextToken", | ||
"result_key": "Connections" | ||
}, | ||
"DescribeOutboundConnections": { | ||
"input_token": "NextToken", | ||
"limit_key": "MaxResults", | ||
"output_token": "NextToken", | ||
"result_key": "Connections" | ||
}, | ||
"DescribePackages": { | ||
"input_token": "NextToken", | ||
"limit_key": "MaxResults", | ||
"output_token": "NextToken", | ||
"result_key": "PackageDetailsList" | ||
}, | ||
"DescribeReservedInstanceOfferings": { | ||
"input_token": "NextToken", | ||
"limit_key": "MaxResults", | ||
"output_token": "NextToken", | ||
"result_key": "ReservedInstanceOfferings" | ||
}, | ||
"DescribeReservedInstances": { | ||
"input_token": "NextToken", | ||
"limit_key": "MaxResults", | ||
"output_token": "NextToken", | ||
"result_key": "ReservedInstances" | ||
}, | ||
"GetUpgradeHistory": { | ||
"input_token": "NextToken", | ||
"limit_key": "MaxResults", | ||
"output_token": "NextToken", | ||
"result_key": "UpgradeHistories" | ||
}, | ||
"ListDomainMaintenances": { | ||
"input_token": "NextToken", | ||
"limit_key": "MaxResults", | ||
"output_token": "NextToken", | ||
"result_key": "DomainMaintenances" | ||
}, | ||
"ListDomainsForPackage": { | ||
"input_token": "NextToken", | ||
"limit_key": "MaxResults", | ||
"output_token": "NextToken", | ||
"result_key": "DomainPackageDetailsList" | ||
}, | ||
"ListInstanceTypeDetails": { | ||
"input_token": "NextToken", | ||
"limit_key": "MaxResults", | ||
"output_token": "NextToken", | ||
"result_key": "InstanceTypeDetails" | ||
}, | ||
"ListPackagesForDomain": { | ||
"input_token": "NextToken", | ||
"limit_key": "MaxResults", | ||
"output_token": "NextToken", | ||
"result_key": "DomainPackageDetailsList" | ||
}, | ||
"ListScheduledActions": { | ||
"input_token": "NextToken", | ||
"limit_key": "MaxResults", | ||
"output_token": "NextToken", | ||
"result_key": "ScheduledActions" | ||
}, | ||
"ListVersions": { | ||
"input_token": "NextToken", | ||
"limit_key": "MaxResults", | ||
"output_token": "NextToken", | ||
"result_key": "Versions" | ||
}, | ||
"ListVpcEndpointAccess": { | ||
"input_token": "NextToken", | ||
"output_token": "NextToken", | ||
"result_key": "AuthorizedPrincipalList" | ||
}, | ||
"ListVpcEndpoints": { | ||
"input_token": "NextToken", | ||
"output_token": "NextToken", | ||
"result_key": "VpcEndpointSummaryList" | ||
}, | ||
"ListVpcEndpointsForDomain": { | ||
"input_token": "NextToken", | ||
"output_token": "NextToken", | ||
"result_key": "VpcEndpointSummaryList" | ||
} | ||
} | ||
} |