@aws-sdk/client-rds 3.75.0 → 3.79.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.
Files changed (68) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/pagination/DescribeCertificatesPaginator.js +2 -1
  3. package/dist-cjs/pagination/DescribeDBClusterBacktracksPaginator.js +2 -1
  4. package/dist-cjs/pagination/DescribeDBClusterEndpointsPaginator.js +2 -1
  5. package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js +2 -1
  6. package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js +2 -1
  7. package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js +2 -1
  8. package/dist-cjs/pagination/DescribeDBClustersPaginator.js +2 -1
  9. package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js +2 -1
  10. package/dist-cjs/pagination/DescribeDBInstanceAutomatedBackupsPaginator.js +2 -1
  11. package/dist-cjs/pagination/DescribeDBInstancesPaginator.js +2 -1
  12. package/dist-cjs/pagination/DescribeDBLogFilesPaginator.js +2 -1
  13. package/dist-cjs/pagination/DescribeDBParameterGroupsPaginator.js +2 -1
  14. package/dist-cjs/pagination/DescribeDBParametersPaginator.js +2 -1
  15. package/dist-cjs/pagination/DescribeDBProxiesPaginator.js +2 -1
  16. package/dist-cjs/pagination/DescribeDBProxyEndpointsPaginator.js +2 -1
  17. package/dist-cjs/pagination/DescribeDBProxyTargetGroupsPaginator.js +2 -1
  18. package/dist-cjs/pagination/DescribeDBProxyTargetsPaginator.js +2 -1
  19. package/dist-cjs/pagination/DescribeDBSecurityGroupsPaginator.js +2 -1
  20. package/dist-cjs/pagination/DescribeDBSnapshotsPaginator.js +2 -1
  21. package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js +2 -1
  22. package/dist-cjs/pagination/DescribeEngineDefaultParametersPaginator.js +2 -1
  23. package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js +2 -1
  24. package/dist-cjs/pagination/DescribeEventsPaginator.js +2 -1
  25. package/dist-cjs/pagination/DescribeExportTasksPaginator.js +2 -1
  26. package/dist-cjs/pagination/DescribeGlobalClustersPaginator.js +2 -1
  27. package/dist-cjs/pagination/DescribeOptionGroupOptionsPaginator.js +2 -1
  28. package/dist-cjs/pagination/DescribeOptionGroupsPaginator.js +2 -1
  29. package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +2 -1
  30. package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js +2 -1
  31. package/dist-cjs/pagination/DescribeReservedDBInstancesOfferingsPaginator.js +2 -1
  32. package/dist-cjs/pagination/DescribeReservedDBInstancesPaginator.js +2 -1
  33. package/dist-cjs/pagination/DescribeSourceRegionsPaginator.js +2 -1
  34. package/dist-cjs/pagination/DownloadDBLogFilePortionPaginator.js +2 -1
  35. package/dist-es/pagination/DescribeCertificatesPaginator.js +3 -2
  36. package/dist-es/pagination/DescribeDBClusterBacktracksPaginator.js +3 -2
  37. package/dist-es/pagination/DescribeDBClusterEndpointsPaginator.js +3 -2
  38. package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +3 -2
  39. package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +3 -2
  40. package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +3 -2
  41. package/dist-es/pagination/DescribeDBClustersPaginator.js +3 -2
  42. package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +3 -2
  43. package/dist-es/pagination/DescribeDBInstanceAutomatedBackupsPaginator.js +3 -2
  44. package/dist-es/pagination/DescribeDBInstancesPaginator.js +3 -2
  45. package/dist-es/pagination/DescribeDBLogFilesPaginator.js +3 -2
  46. package/dist-es/pagination/DescribeDBParameterGroupsPaginator.js +3 -2
  47. package/dist-es/pagination/DescribeDBParametersPaginator.js +3 -2
  48. package/dist-es/pagination/DescribeDBProxiesPaginator.js +3 -2
  49. package/dist-es/pagination/DescribeDBProxyEndpointsPaginator.js +3 -2
  50. package/dist-es/pagination/DescribeDBProxyTargetGroupsPaginator.js +3 -2
  51. package/dist-es/pagination/DescribeDBProxyTargetsPaginator.js +3 -2
  52. package/dist-es/pagination/DescribeDBSecurityGroupsPaginator.js +3 -2
  53. package/dist-es/pagination/DescribeDBSnapshotsPaginator.js +3 -2
  54. package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +3 -2
  55. package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +3 -2
  56. package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +3 -2
  57. package/dist-es/pagination/DescribeEventsPaginator.js +3 -2
  58. package/dist-es/pagination/DescribeExportTasksPaginator.js +3 -2
  59. package/dist-es/pagination/DescribeGlobalClustersPaginator.js +3 -2
  60. package/dist-es/pagination/DescribeOptionGroupOptionsPaginator.js +3 -2
  61. package/dist-es/pagination/DescribeOptionGroupsPaginator.js +3 -2
  62. package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +3 -2
  63. package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +3 -2
  64. package/dist-es/pagination/DescribeReservedDBInstancesOfferingsPaginator.js +3 -2
  65. package/dist-es/pagination/DescribeReservedDBInstancesPaginator.js +3 -2
  66. package/dist-es/pagination/DescribeSourceRegionsPaginator.js +3 -2
  67. package/dist-es/pagination/DownloadDBLogFilePortionPaginator.js +3 -2
  68. package/package.json +27 -27
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
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.79.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.78.0...v3.79.0) (2022-04-27)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-rds
9
+
10
+
11
+
12
+
13
+
14
+ # [3.78.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.77.0...v3.78.0) (2022-04-26)
15
+
16
+
17
+ ### Features
18
+
19
+ * **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))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.76.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.75.0...v3.76.0) (2022-04-22)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-rds
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.75.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.74.0...v3.75.0) (2022-04-21)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-rds
@@ -27,8 +27,9 @@ async function* paginateDescribeCertificates(config, input, ...additionalArgumen
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBClusterBacktracks(config, input, ...additional
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBClusterEndpoints(config, input, ...additionalA
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBClusterParameterGroups(config, input, ...addit
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBClusterParameters(config, input, ...additional
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBClusterSnapshots(config, input, ...additionalA
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBClusters(config, input, ...additionalArguments
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBEngineVersions(config, input, ...additionalArg
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBInstanceAutomatedBackups(config, input, ...add
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBInstances(config, input, ...additionalArgument
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBLogFiles(config, input, ...additionalArguments
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBParameterGroups(config, input, ...additionalAr
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBParameters(config, input, ...additionalArgumen
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBProxies(config, input, ...additionalArguments)
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBProxyEndpoints(config, input, ...additionalArg
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBProxyTargetGroups(config, input, ...additional
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBProxyTargets(config, input, ...additionalArgum
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBSecurityGroups(config, input, ...additionalArg
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBSnapshots(config, input, ...additionalArgument
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeDBSubnetGroups(config, input, ...additionalArgum
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeEngineDefaultParameters(config, input, ...additi
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.EngineDefaults.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeEventSubscriptions(config, input, ...additionalA
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeEvents(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeExportTasks(config, input, ...additionalArgument
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeGlobalClusters(config, input, ...additionalArgum
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeOptionGroupOptions(config, input, ...additionalA
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeOptionGroups(config, input, ...additionalArgumen
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeOrderableDBInstanceOptions(config, input, ...add
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribePendingMaintenanceActions(config, input, ...addi
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeReservedDBInstancesOfferings(config, input, ...a
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeReservedDBInstances(config, input, ...additional
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeSourceRegions(config, input, ...additionalArgume
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDownloadDBLogFilePortion(config, input, ...additionalArg
27
27
  throw new Error("Invalid client, expected RDS | RDSClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -36,7 +36,7 @@ export function paginateDescribeCertificates(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateDescribeCertificates_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateDescribeCertificates(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateDescribeDBClusterBacktracks(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateDescribeDBClusterBacktracks_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateDescribeDBClusterBacktracks(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateDescribeDBClusterEndpoints(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateDescribeDBClusterEndpoints_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateDescribeDBClusterEndpoints(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateDescribeDBClusterParameterGroups(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateDescribeDBClusterParameterGroups_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateDescribeDBClusterParameterGroups(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateDescribeDBClusterParameters(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateDescribeDBClusterParameters_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateDescribeDBClusterParameters(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateDescribeDBClusterSnapshots(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateDescribeDBClusterSnapshots_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateDescribeDBClusterSnapshots(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateDescribeDBClusters(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateDescribeDBClusters_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateDescribeDBClusters(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateDescribeDBEngineVersions(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateDescribeDBEngineVersions_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateDescribeDBEngineVersions(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateDescribeDBInstanceAutomatedBackups(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateDescribeDBInstanceAutomatedBackups_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateDescribeDBInstanceAutomatedBackups(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateDescribeDBInstances(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateDescribeDBInstances_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateDescribeDBInstances(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];