@aws-sdk/client-config-service 3.74.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 +27 -0
- package/dist-cjs/pagination/DescribeAggregateComplianceByConfigRulesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeAggregateComplianceByConformancePacksPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeAggregationAuthorizationsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeComplianceByConfigRulePaginator.js +2 -1
- package/dist-cjs/pagination/DescribeComplianceByResourcePaginator.js +2 -1
- package/dist-cjs/pagination/DescribeConfigRuleEvaluationStatusPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeConfigRulesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeConfigurationAggregatorSourcesStatusPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeConfigurationAggregatorsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeConformancePackCompliancePaginator.js +2 -1
- package/dist-cjs/pagination/DescribeConformancePackStatusPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeConformancePacksPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeOrganizationConfigRuleStatusesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeOrganizationConfigRulesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeOrganizationConformancePackStatusesPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeOrganizationConformancePacksPaginator.js +2 -1
- package/dist-cjs/pagination/DescribePendingAggregationRequestsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeRemediationExceptionsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeRemediationExecutionStatusPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeRetentionConfigurationsPaginator.js +2 -1
- package/dist-cjs/pagination/GetAggregateComplianceDetailsByConfigRulePaginator.js +2 -1
- package/dist-cjs/pagination/GetAggregateConfigRuleComplianceSummaryPaginator.js +2 -1
- package/dist-cjs/pagination/GetAggregateConformancePackComplianceSummaryPaginator.js +2 -1
- package/dist-cjs/pagination/GetAggregateDiscoveredResourceCountsPaginator.js +2 -1
- package/dist-cjs/pagination/GetComplianceDetailsByConfigRulePaginator.js +2 -1
- package/dist-cjs/pagination/GetComplianceDetailsByResourcePaginator.js +2 -1
- package/dist-cjs/pagination/GetConformancePackComplianceDetailsPaginator.js +2 -1
- package/dist-cjs/pagination/GetConformancePackComplianceSummaryPaginator.js +2 -1
- package/dist-cjs/pagination/GetDiscoveredResourceCountsPaginator.js +2 -1
- package/dist-cjs/pagination/GetOrganizationConfigRuleDetailedStatusPaginator.js +2 -1
- package/dist-cjs/pagination/GetOrganizationConformancePackDetailedStatusPaginator.js +2 -1
- package/dist-cjs/pagination/GetResourceConfigHistoryPaginator.js +2 -1
- package/dist-cjs/pagination/ListAggregateDiscoveredResourcesPaginator.js +2 -1
- package/dist-cjs/pagination/ListDiscoveredResourcesPaginator.js +2 -1
- package/dist-cjs/pagination/ListStoredQueriesPaginator.js +2 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -1
- package/dist-cjs/pagination/SelectAggregateResourceConfigPaginator.js +2 -1
- package/dist-cjs/pagination/SelectResourceConfigPaginator.js +2 -1
- package/dist-es/pagination/DescribeAggregateComplianceByConfigRulesPaginator.js +3 -2
- package/dist-es/pagination/DescribeAggregateComplianceByConformancePacksPaginator.js +3 -2
- package/dist-es/pagination/DescribeAggregationAuthorizationsPaginator.js +3 -2
- package/dist-es/pagination/DescribeComplianceByConfigRulePaginator.js +3 -2
- package/dist-es/pagination/DescribeComplianceByResourcePaginator.js +3 -2
- package/dist-es/pagination/DescribeConfigRuleEvaluationStatusPaginator.js +3 -2
- package/dist-es/pagination/DescribeConfigRulesPaginator.js +3 -2
- package/dist-es/pagination/DescribeConfigurationAggregatorSourcesStatusPaginator.js +3 -2
- package/dist-es/pagination/DescribeConfigurationAggregatorsPaginator.js +3 -2
- package/dist-es/pagination/DescribeConformancePackCompliancePaginator.js +3 -2
- package/dist-es/pagination/DescribeConformancePackStatusPaginator.js +3 -2
- package/dist-es/pagination/DescribeConformancePacksPaginator.js +3 -2
- package/dist-es/pagination/DescribeOrganizationConfigRuleStatusesPaginator.js +3 -2
- package/dist-es/pagination/DescribeOrganizationConfigRulesPaginator.js +3 -2
- package/dist-es/pagination/DescribeOrganizationConformancePackStatusesPaginator.js +3 -2
- package/dist-es/pagination/DescribeOrganizationConformancePacksPaginator.js +3 -2
- package/dist-es/pagination/DescribePendingAggregationRequestsPaginator.js +3 -2
- package/dist-es/pagination/DescribeRemediationExceptionsPaginator.js +3 -2
- package/dist-es/pagination/DescribeRemediationExecutionStatusPaginator.js +3 -2
- package/dist-es/pagination/DescribeRetentionConfigurationsPaginator.js +3 -2
- package/dist-es/pagination/GetAggregateComplianceDetailsByConfigRulePaginator.js +3 -2
- package/dist-es/pagination/GetAggregateConfigRuleComplianceSummaryPaginator.js +3 -2
- package/dist-es/pagination/GetAggregateConformancePackComplianceSummaryPaginator.js +3 -2
- package/dist-es/pagination/GetAggregateDiscoveredResourceCountsPaginator.js +3 -2
- package/dist-es/pagination/GetComplianceDetailsByConfigRulePaginator.js +3 -2
- package/dist-es/pagination/GetComplianceDetailsByResourcePaginator.js +3 -2
- package/dist-es/pagination/GetConformancePackComplianceDetailsPaginator.js +3 -2
- package/dist-es/pagination/GetConformancePackComplianceSummaryPaginator.js +3 -2
- package/dist-es/pagination/GetDiscoveredResourceCountsPaginator.js +3 -2
- package/dist-es/pagination/GetOrganizationConfigRuleDetailedStatusPaginator.js +3 -2
- package/dist-es/pagination/GetOrganizationConformancePackDetailedStatusPaginator.js +3 -2
- package/dist-es/pagination/GetResourceConfigHistoryPaginator.js +3 -2
- package/dist-es/pagination/ListAggregateDiscoveredResourcesPaginator.js +3 -2
- package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +3 -2
- package/dist-es/pagination/ListStoredQueriesPaginator.js +3 -2
- package/dist-es/pagination/ListTagsForResourcePaginator.js +3 -2
- package/dist-es/pagination/SelectAggregateResourceConfigPaginator.js +3 -2
- package/dist-es/pagination/SelectResourceConfigPaginator.js +3 -2
- package/package.json +25 -25
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.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
|
+
|
|
17
|
+
# [3.76.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.75.0...v3.76.0) (2022-04-22)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-config-service
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.75.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.74.0...v3.75.0) (2022-04-21)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-config-service
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.74.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.73.0...v3.74.0) (2022-04-20)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-config-service
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeAggregateComplianceByConfigRules(config, input,
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateDescribeAggregateComplianceByConformancePacks(config, in
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateDescribeAggregationAuthorizations(config, input, ...addi
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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
|
}
|
|
@@ -26,8 +26,9 @@ async function* paginateDescribeComplianceByConfigRule(config, input, ...additio
|
|
|
26
26
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
27
27
|
}
|
|
28
28
|
yield page;
|
|
29
|
+
const prevToken = token;
|
|
29
30
|
token = page.NextToken;
|
|
30
|
-
hasNext = !!token;
|
|
31
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
31
32
|
}
|
|
32
33
|
return undefined;
|
|
33
34
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeComplianceByResource(config, input, ...additiona
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateDescribeConfigRuleEvaluationStatus(config, input, ...add
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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
|
}
|
|
@@ -26,8 +26,9 @@ async function* paginateDescribeConfigRules(config, input, ...additionalArgument
|
|
|
26
26
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
27
27
|
}
|
|
28
28
|
yield page;
|
|
29
|
+
const prevToken = token;
|
|
29
30
|
token = page.NextToken;
|
|
30
|
-
hasNext = !!token;
|
|
31
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
31
32
|
}
|
|
32
33
|
return undefined;
|
|
33
34
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateDescribeConfigurationAggregatorSourcesStatus(config, inp
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateDescribeConfigurationAggregators(config, input, ...addit
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateDescribeConformancePackCompliance(config, input, ...addi
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateDescribeConformancePackStatus(config, input, ...addition
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateDescribeConformancePacks(config, input, ...additionalArg
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateDescribeOrganizationConfigRuleStatuses(config, input, ..
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateDescribeOrganizationConfigRules(config, input, ...additi
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateDescribeOrganizationConformancePackStatuses(config, inpu
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateDescribeOrganizationConformancePacks(config, input, ...a
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateDescribePendingAggregationRequests(config, input, ...add
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateDescribeRemediationExceptions(config, input, ...addition
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateDescribeRemediationExecutionStatus(config, input, ...add
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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
|
}
|
|
@@ -26,8 +26,9 @@ async function* paginateDescribeRetentionConfigurations(config, input, ...additi
|
|
|
26
26
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
27
27
|
}
|
|
28
28
|
yield page;
|
|
29
|
+
const prevToken = token;
|
|
29
30
|
token = page.NextToken;
|
|
30
|
-
hasNext = !!token;
|
|
31
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
31
32
|
}
|
|
32
33
|
return undefined;
|
|
33
34
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateGetAggregateComplianceDetailsByConfigRule(config, input,
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateGetAggregateConfigRuleComplianceSummary(config, input, .
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateGetAggregateConformancePackComplianceSummary(config, inp
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateGetAggregateDiscoveredResourceCounts(config, input, ...a
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateGetComplianceDetailsByConfigRule(config, input, ...addit
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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
|
}
|
|
@@ -26,8 +26,9 @@ async function* paginateGetComplianceDetailsByResource(config, input, ...additio
|
|
|
26
26
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
27
27
|
}
|
|
28
28
|
yield page;
|
|
29
|
+
const prevToken = token;
|
|
29
30
|
token = page.NextToken;
|
|
30
|
-
hasNext = !!token;
|
|
31
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
31
32
|
}
|
|
32
33
|
return undefined;
|
|
33
34
|
}
|
|
@@ -27,8 +27,9 @@ async function* paginateGetConformancePackComplianceDetails(config, input, ...ad
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateGetConformancePackComplianceSummary(config, input, ...ad
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateGetDiscoveredResourceCounts(config, input, ...additional
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateGetOrganizationConfigRuleDetailedStatus(config, input, .
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateGetOrganizationConformancePackDetailedStatus(config, inp
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateGetResourceConfigHistory(config, input, ...additionalArg
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateListAggregateDiscoveredResources(config, input, ...addit
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateListDiscoveredResources(config, input, ...additionalArgu
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateListStoredQueries(config, input, ...additionalArguments)
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateListTagsForResource(config, input, ...additionalArgument
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateSelectAggregateResourceConfig(config, input, ...addition
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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* paginateSelectResourceConfig(config, input, ...additionalArgumen
|
|
|
27
27
|
throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
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
|
}
|
|
@@ -36,7 +36,7 @@ export function paginateDescribeAggregateComplianceByConfigRules(config, input)
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateDescribeAggregateComplianceByConfigRules_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 paginateDescribeAggregateComplianceByConfigRules(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.NextToken;
|
|
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 paginateDescribeAggregateComplianceByConformancePacks(config, in
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateDescribeAggregateComplianceByConformancePacks_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 paginateDescribeAggregateComplianceByConformancePacks(config, in
|
|
|
63
63
|
case 7: return [4, _a.sent()];
|
|
64
64
|
case 8:
|
|
65
65
|
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
66
67
|
token = page.NextToken;
|
|
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 paginateDescribeAggregationAuthorizations(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateDescribeAggregationAuthorizations_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 paginateDescribeAggregationAuthorizations(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.NextToken;
|
|
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 paginateDescribeComplianceByConfigRule(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateDescribeComplianceByConfigRule_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:
|
|
@@ -62,8 +62,9 @@ export function paginateDescribeComplianceByConfigRule(config, input) {
|
|
|
62
62
|
case 7: return [4, _a.sent()];
|
|
63
63
|
case 8:
|
|
64
64
|
_a.sent();
|
|
65
|
+
prevToken = token;
|
|
65
66
|
token = page.NextToken;
|
|
66
|
-
hasNext = !!token;
|
|
67
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
67
68
|
return [3, 1];
|
|
68
69
|
case 9: return [4, __await(undefined)];
|
|
69
70
|
case 10: return [2, _a.sent()];
|
|
@@ -36,7 +36,7 @@ export function paginateDescribeComplianceByResource(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateDescribeComplianceByResource_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 paginateDescribeComplianceByResource(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.NextToken;
|
|
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 paginateDescribeConfigRuleEvaluationStatus(config, input) {
|
|
|
36
36
|
additionalArguments[_i - 2] = arguments[_i];
|
|
37
37
|
}
|
|
38
38
|
return __asyncGenerator(this, arguments, function paginateDescribeConfigRuleEvaluationStatus_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 paginateDescribeConfigRuleEvaluationStatus(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.NextToken;
|
|
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()];
|