@aws-sdk/client-ec2 3.76.0 → 3.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/pagination/DescribeAddressesAttributePaginator.js +2 -1
- package/dist-cjs/pagination/DescribeByoipCidrsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeCapacityReservationFleetsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeCapacityReservationsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeCarrierGatewaysPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeClassicLinkInstancesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeClientVpnAuthorizationRulesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeClientVpnConnectionsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeClientVpnEndpointsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeClientVpnRoutesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeClientVpnTargetNetworksPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeCoipPoolsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeDhcpOptionsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeEgressOnlyInternetGatewaysPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeExportImageTasksPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeFastLaunchImagesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeFastSnapshotRestoresPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeFleetsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeFlowLogsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeFpgaImagesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeHostReservationOfferingsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeHostReservationsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeHostsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeIamInstanceProfileAssociationsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeImportImageTasksPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeImportSnapshotTasksPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeInstanceCreditSpecificationsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeInstanceEventWindowsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeInstanceStatusPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeInstanceTypeOfferingsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeInstanceTypesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeInstancesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeInternetGatewaysPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeIpamPoolsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeIpamScopesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeIpamsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeIpv6PoolsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeLaunchTemplateVersionsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeLaunchTemplatesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeLocalGatewayRouteTableVpcAssociationsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeLocalGatewayRouteTablesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeLocalGatewayVirtualInterfaceGroupsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeLocalGatewayVirtualInterfacesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeLocalGatewaysPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeManagedPrefixListsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeMovingAddressesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeNatGatewaysPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeNetworkAclsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeNetworkInsightsAccessScopeAnalysesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeNetworkInsightsAccessScopesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeNetworkInsightsAnalysesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeNetworkInsightsPathsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeNetworkInterfacePermissionsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeNetworkInterfacesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribePrefixListsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribePrincipalIdFormatPaginator.js +2 -1
- package/dist-cjs/pagination/DescribePublicIpv4PoolsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeReplaceRootVolumeTasksPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeReservedInstancesModificationsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeReservedInstancesOfferingsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeRouteTablesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeScheduledInstanceAvailabilityPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeScheduledInstancesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeSecurityGroupRulesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeSecurityGroupsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeSnapshotTierStatusPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeSpotFleetRequestsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeSpotInstanceRequestsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeSpotPriceHistoryPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeStaleSecurityGroupsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeStoreImageTasksPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeSubnetsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeTagsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeTrafficMirrorFiltersPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeTrafficMirrorSessionsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeTrafficMirrorTargetsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeTransitGatewayAttachmentsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeTransitGatewayConnectPeersPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeTransitGatewayConnectsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeTransitGatewayMulticastDomainsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeTransitGatewayPeeringAttachmentsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeTransitGatewayRouteTablesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeTransitGatewayVpcAttachmentsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeTransitGatewaysPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeTrunkInterfaceAssociationsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeVolumeStatusPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeVolumesModificationsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeVolumesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeVpcClassicLinkDnsSupportPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeVpcEndpointConnectionNotificationsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeVpcEndpointConnectionsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeVpcEndpointServiceConfigurationsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeVpcEndpointServicePermissionsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeVpcEndpointsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeVpcPeeringConnectionsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeVpcsPaginator.js +2 -1
- package/dist-cjs/pagination/GetAssociatedIpv6PoolCidrsPaginator.js +2 -1
- package/dist-cjs/pagination/GetGroupsForCapacityReservationPaginator.js +2 -1
- package/dist-cjs/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.js +2 -1
- package/dist-cjs/pagination/GetIpamAddressHistoryPaginator.js +2 -1
- package/dist-cjs/pagination/GetIpamPoolAllocationsPaginator.js +2 -1
- package/dist-cjs/pagination/GetIpamPoolCidrsPaginator.js +2 -1
- package/dist-cjs/pagination/GetIpamResourceCidrsPaginator.js +2 -1
- package/dist-cjs/pagination/GetManagedPrefixListAssociationsPaginator.js +2 -1
- package/dist-cjs/pagination/GetManagedPrefixListEntriesPaginator.js +2 -1
- package/dist-cjs/pagination/GetSpotPlacementScoresPaginator.js +2 -1
- package/dist-cjs/pagination/GetTransitGatewayAttachmentPropagationsPaginator.js +2 -1
- package/dist-cjs/pagination/GetTransitGatewayMulticastDomainAssociationsPaginator.js +2 -1
- package/dist-cjs/pagination/GetTransitGatewayPrefixListReferencesPaginator.js +2 -1
- package/dist-cjs/pagination/GetTransitGatewayRouteTableAssociationsPaginator.js +2 -1
- package/dist-cjs/pagination/GetTransitGatewayRouteTablePropagationsPaginator.js +2 -1
- package/dist-cjs/pagination/GetVpnConnectionDeviceTypesPaginator.js +2 -1
- package/dist-cjs/pagination/ListImagesInRecycleBinPaginator.js +2 -1
- package/dist-cjs/pagination/ListSnapshotsInRecycleBinPaginator.js +2 -1
- package/dist-cjs/pagination/SearchLocalGatewayRoutesPaginator.js +2 -1
- package/dist-cjs/pagination/SearchTransitGatewayMulticastGroupsPaginator.js +2 -1
- package/dist-es/pagination/DescribeAddressesAttributePaginator.js +3 -2
- package/dist-es/pagination/DescribeByoipCidrsPaginator.js +3 -2
- package/dist-es/pagination/DescribeCapacityReservationFleetsPaginator.js +3 -2
- package/dist-es/pagination/DescribeCapacityReservationsPaginator.js +3 -2
- package/dist-es/pagination/DescribeCarrierGatewaysPaginator.js +3 -2
- package/dist-es/pagination/DescribeClassicLinkInstancesPaginator.js +3 -2
- package/dist-es/pagination/DescribeClientVpnAuthorizationRulesPaginator.js +3 -2
- package/dist-es/pagination/DescribeClientVpnConnectionsPaginator.js +3 -2
- package/dist-es/pagination/DescribeClientVpnEndpointsPaginator.js +3 -2
- package/dist-es/pagination/DescribeClientVpnRoutesPaginator.js +3 -2
- package/dist-es/pagination/DescribeClientVpnTargetNetworksPaginator.js +3 -2
- package/dist-es/pagination/DescribeCoipPoolsPaginator.js +3 -2
- package/dist-es/pagination/DescribeDhcpOptionsPaginator.js +3 -2
- package/dist-es/pagination/DescribeEgressOnlyInternetGatewaysPaginator.js +3 -2
- package/dist-es/pagination/DescribeExportImageTasksPaginator.js +3 -2
- package/dist-es/pagination/DescribeFastLaunchImagesPaginator.js +3 -2
- package/dist-es/pagination/DescribeFastSnapshotRestoresPaginator.js +3 -2
- package/dist-es/pagination/DescribeFleetsPaginator.js +3 -2
- package/dist-es/pagination/DescribeFlowLogsPaginator.js +3 -2
- package/dist-es/pagination/DescribeFpgaImagesPaginator.js +3 -2
- package/dist-es/pagination/DescribeHostReservationOfferingsPaginator.js +3 -2
- package/dist-es/pagination/DescribeHostReservationsPaginator.js +3 -2
- package/dist-es/pagination/DescribeHostsPaginator.js +3 -2
- package/dist-es/pagination/DescribeIamInstanceProfileAssociationsPaginator.js +3 -2
- package/dist-es/pagination/DescribeImportImageTasksPaginator.js +3 -2
- package/dist-es/pagination/DescribeImportSnapshotTasksPaginator.js +3 -2
- package/dist-es/pagination/DescribeInstanceCreditSpecificationsPaginator.js +3 -2
- package/dist-es/pagination/DescribeInstanceEventWindowsPaginator.js +3 -2
- package/dist-es/pagination/DescribeInstanceStatusPaginator.js +3 -2
- package/dist-es/pagination/DescribeInstanceTypeOfferingsPaginator.js +3 -2
- package/dist-es/pagination/DescribeInstanceTypesPaginator.js +3 -2
- package/dist-es/pagination/DescribeInstancesPaginator.js +3 -2
- package/dist-es/pagination/DescribeInternetGatewaysPaginator.js +3 -2
- package/dist-es/pagination/DescribeIpamPoolsPaginator.js +3 -2
- package/dist-es/pagination/DescribeIpamScopesPaginator.js +3 -2
- package/dist-es/pagination/DescribeIpamsPaginator.js +3 -2
- package/dist-es/pagination/DescribeIpv6PoolsPaginator.js +3 -2
- package/dist-es/pagination/DescribeLaunchTemplateVersionsPaginator.js +3 -2
- package/dist-es/pagination/DescribeLaunchTemplatesPaginator.js +3 -2
- package/dist-es/pagination/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator.js +3 -2
- package/dist-es/pagination/DescribeLocalGatewayRouteTableVpcAssociationsPaginator.js +3 -2
- package/dist-es/pagination/DescribeLocalGatewayRouteTablesPaginator.js +3 -2
- package/dist-es/pagination/DescribeLocalGatewayVirtualInterfaceGroupsPaginator.js +3 -2
- package/dist-es/pagination/DescribeLocalGatewayVirtualInterfacesPaginator.js +3 -2
- package/dist-es/pagination/DescribeLocalGatewaysPaginator.js +3 -2
- package/dist-es/pagination/DescribeManagedPrefixListsPaginator.js +3 -2
- package/dist-es/pagination/DescribeMovingAddressesPaginator.js +3 -2
- package/dist-es/pagination/DescribeNatGatewaysPaginator.js +3 -2
- package/dist-es/pagination/DescribeNetworkAclsPaginator.js +3 -2
- package/dist-es/pagination/DescribeNetworkInsightsAccessScopeAnalysesPaginator.js +3 -2
- package/dist-es/pagination/DescribeNetworkInsightsAccessScopesPaginator.js +3 -2
- package/dist-es/pagination/DescribeNetworkInsightsAnalysesPaginator.js +3 -2
- package/dist-es/pagination/DescribeNetworkInsightsPathsPaginator.js +3 -2
- package/dist-es/pagination/DescribeNetworkInterfacePermissionsPaginator.js +3 -2
- package/dist-es/pagination/DescribeNetworkInterfacesPaginator.js +3 -2
- package/dist-es/pagination/DescribePrefixListsPaginator.js +3 -2
- package/dist-es/pagination/DescribePrincipalIdFormatPaginator.js +3 -2
- package/dist-es/pagination/DescribePublicIpv4PoolsPaginator.js +3 -2
- package/dist-es/pagination/DescribeReplaceRootVolumeTasksPaginator.js +3 -2
- package/dist-es/pagination/DescribeReservedInstancesModificationsPaginator.js +3 -2
- package/dist-es/pagination/DescribeReservedInstancesOfferingsPaginator.js +3 -2
- package/dist-es/pagination/DescribeRouteTablesPaginator.js +3 -2
- package/dist-es/pagination/DescribeScheduledInstanceAvailabilityPaginator.js +3 -2
- package/dist-es/pagination/DescribeScheduledInstancesPaginator.js +3 -2
- package/dist-es/pagination/DescribeSecurityGroupRulesPaginator.js +3 -2
- package/dist-es/pagination/DescribeSecurityGroupsPaginator.js +3 -2
- package/dist-es/pagination/DescribeSnapshotTierStatusPaginator.js +3 -2
- package/dist-es/pagination/DescribeSnapshotsPaginator.js +3 -2
- package/dist-es/pagination/DescribeSpotFleetRequestsPaginator.js +3 -2
- package/dist-es/pagination/DescribeSpotInstanceRequestsPaginator.js +3 -2
- package/dist-es/pagination/DescribeSpotPriceHistoryPaginator.js +3 -2
- package/dist-es/pagination/DescribeStaleSecurityGroupsPaginator.js +3 -2
- package/dist-es/pagination/DescribeStoreImageTasksPaginator.js +3 -2
- package/dist-es/pagination/DescribeSubnetsPaginator.js +3 -2
- package/dist-es/pagination/DescribeTagsPaginator.js +3 -2
- package/dist-es/pagination/DescribeTrafficMirrorFiltersPaginator.js +3 -2
- package/dist-es/pagination/DescribeTrafficMirrorSessionsPaginator.js +3 -2
- package/dist-es/pagination/DescribeTrafficMirrorTargetsPaginator.js +3 -2
- package/dist-es/pagination/DescribeTransitGatewayAttachmentsPaginator.js +3 -2
- package/dist-es/pagination/DescribeTransitGatewayConnectPeersPaginator.js +3 -2
- package/dist-es/pagination/DescribeTransitGatewayConnectsPaginator.js +3 -2
- package/dist-es/pagination/DescribeTransitGatewayMulticastDomainsPaginator.js +3 -2
- package/dist-es/pagination/DescribeTransitGatewayPeeringAttachmentsPaginator.js +3 -2
- package/dist-es/pagination/DescribeTransitGatewayRouteTablesPaginator.js +3 -2
- package/dist-es/pagination/DescribeTransitGatewayVpcAttachmentsPaginator.js +3 -2
- package/dist-es/pagination/DescribeTransitGatewaysPaginator.js +3 -2
- package/dist-es/pagination/DescribeTrunkInterfaceAssociationsPaginator.js +3 -2
- package/dist-es/pagination/DescribeVolumeStatusPaginator.js +3 -2
- package/dist-es/pagination/DescribeVolumesModificationsPaginator.js +3 -2
- package/dist-es/pagination/DescribeVolumesPaginator.js +3 -2
- package/dist-es/pagination/DescribeVpcClassicLinkDnsSupportPaginator.js +3 -2
- package/dist-es/pagination/DescribeVpcEndpointConnectionNotificationsPaginator.js +3 -2
- package/dist-es/pagination/DescribeVpcEndpointConnectionsPaginator.js +3 -2
- package/dist-es/pagination/DescribeVpcEndpointServiceConfigurationsPaginator.js +3 -2
- package/dist-es/pagination/DescribeVpcEndpointServicePermissionsPaginator.js +3 -2
- package/dist-es/pagination/DescribeVpcEndpointsPaginator.js +3 -2
- package/dist-es/pagination/DescribeVpcPeeringConnectionsPaginator.js +3 -2
- package/dist-es/pagination/DescribeVpcsPaginator.js +3 -2
- package/dist-es/pagination/GetAssociatedIpv6PoolCidrsPaginator.js +3 -2
- package/dist-es/pagination/GetGroupsForCapacityReservationPaginator.js +3 -2
- package/dist-es/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.js +3 -2
- package/dist-es/pagination/GetIpamAddressHistoryPaginator.js +3 -2
- package/dist-es/pagination/GetIpamPoolAllocationsPaginator.js +3 -2
- package/dist-es/pagination/GetIpamPoolCidrsPaginator.js +3 -2
- package/dist-es/pagination/GetIpamResourceCidrsPaginator.js +3 -2
- package/dist-es/pagination/GetManagedPrefixListAssociationsPaginator.js +3 -2
- package/dist-es/pagination/GetManagedPrefixListEntriesPaginator.js +3 -2
- package/dist-es/pagination/GetSpotPlacementScoresPaginator.js +3 -2
- package/dist-es/pagination/GetTransitGatewayAttachmentPropagationsPaginator.js +3 -2
- package/dist-es/pagination/GetTransitGatewayMulticastDomainAssociationsPaginator.js +3 -2
- package/dist-es/pagination/GetTransitGatewayPrefixListReferencesPaginator.js +3 -2
- package/dist-es/pagination/GetTransitGatewayRouteTableAssociationsPaginator.js +3 -2
- package/dist-es/pagination/GetTransitGatewayRouteTablePropagationsPaginator.js +3 -2
- package/dist-es/pagination/GetVpnConnectionDeviceTypesPaginator.js +3 -2
- package/dist-es/pagination/ListImagesInRecycleBinPaginator.js +3 -2
- package/dist-es/pagination/ListSnapshotsInRecycleBinPaginator.js +3 -2
- package/dist-es/pagination/SearchLocalGatewayRoutesPaginator.js +3 -2
- package/dist-es/pagination/SearchTransitGatewayMulticastGroupsPaginator.js +3 -2
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.78.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.77.0...v3.78.0) (2022-04-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **types:** add pagination stopOnSameToken option ([#3524](https://github.com/aws/aws-sdk-js-v3/issues/3524)) ([9bf73e8](https://github.com/aws/aws-sdk-js-v3/commit/9bf73e81b8d9be9f12c72cbefbe26c502d1873c6))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.76.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.75.0...v3.76.0) (2022-04-22)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeAddressesAttribute(config, input, ...additionalA
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeByoipCidrs(config, input, ...additionalArguments
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeCapacityReservationFleets(config, input, ...addi
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeCapacityReservations(config, input, ...additiona
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeCarrierGateways(config, input, ...additionalArgu
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeClassicLinkInstances(config, input, ...additiona
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeClientVpnAuthorizationRules(config, input, ...ad
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeClientVpnConnections(config, input, ...additiona
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeClientVpnEndpoints(config, input, ...additionalA
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeClientVpnRoutes(config, input, ...additionalArgu
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeClientVpnTargetNetworks(config, input, ...additi
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeCoipPools(config, input, ...additionalArguments)
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeDhcpOptions(config, input, ...additionalArgument
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeEgressOnlyInternetGateways(config, input, ...add
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeExportImageTasks(config, input, ...additionalArg
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeFastLaunchImages(config, input, ...additionalArg
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeFastSnapshotRestores(config, input, ...additiona
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeFleets(config, input, ...additionalArguments) {
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeFlowLogs(config, input, ...additionalArguments)
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeFpgaImages(config, input, ...additionalArguments
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeHostReservationOfferings(config, input, ...addit
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeHostReservations(config, input, ...additionalArg
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeHosts(config, input, ...additionalArguments) {
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeIamInstanceProfileAssociations(config, input, ..
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeImportImageTasks(config, input, ...additionalArg
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeImportSnapshotTasks(config, input, ...additional
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeInstanceCreditSpecifications(config, input, ...a
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeInstanceEventWindows(config, input, ...additiona
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeInstanceStatus(config, input, ...additionalArgum
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeInstanceTypeOfferings(config, input, ...addition
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeInstanceTypes(config, input, ...additionalArgume
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeInstances(config, input, ...additionalArguments)
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeInternetGateways(config, input, ...additionalArg
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeIpamPools(config, input, ...additionalArguments)
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeIpamScopes(config, input, ...additionalArguments
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeIpams(config, input, ...additionalArguments) {
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeIpv6Pools(config, input, ...additionalArguments)
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeLaunchTemplateVersions(config, input, ...additio
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeLaunchTemplates(config, input, ...additionalArgu
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssoc
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeLocalGatewayRouteTableVpcAssociations(config, in
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeLocalGatewayRouteTables(config, input, ...additi
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeLocalGatewayVirtualInterfaceGroups(config, input
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeLocalGatewayVirtualInterfaces(config, input, ...
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeLocalGateways(config, input, ...additionalArgume
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeManagedPrefixLists(config, input, ...additionalA
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeMovingAddresses(config, input, ...additionalArgu
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeNatGateways(config, input, ...additionalArgument
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeNetworkAcls(config, input, ...additionalArgument
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeNetworkInsightsAccessScopeAnalyses(config, input
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeNetworkInsightsAccessScopes(config, input, ...ad
|
|
|
27
27
|
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
28
28
|
}
|
|
29
29
|
yield page;
|
|
30
|
+
const prevToken = token;
|
|
30
31
|
token = page.NextToken;
|
|
31
|
-
hasNext = !!token;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
33
|
}
|
|
33
34
|
return undefined;
|
|
34
35
|
}
|