Skip to content

Commit

Permalink
feat: add paginator for opensearch
Browse files Browse the repository at this point in the history
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
digglife committed Sep 5, 2024
1 parent 2e9980c commit 935be32
Showing 1 changed file with 96 additions and 2 deletions.
98 changes: 96 additions & 2 deletions botocore/data/opensearch/2021-01-01/paginators-1.json
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"
}
}
}

0 comments on commit 935be32

Please sign in to comment.