@aws-sdk/client-resiliencehub 3.282.0 → 3.287.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/dist-cjs/pagination/ListAlarmRecommendationsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAppAssessmentsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAppComponentCompliancesPaginator.js +1 -8
- package/dist-cjs/pagination/ListAppComponentRecommendationsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAppInputSourcesPaginator.js +1 -8
- package/dist-cjs/pagination/ListAppVersionAppComponentsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAppVersionResourceMappingsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAppVersionResourcesPaginator.js +1 -8
- package/dist-cjs/pagination/ListAppVersionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAppsPaginator.js +1 -8
- package/dist-cjs/pagination/ListRecommendationTemplatesPaginator.js +1 -8
- package/dist-cjs/pagination/ListResiliencyPoliciesPaginator.js +1 -8
- package/dist-cjs/pagination/ListSopRecommendationsPaginator.js +1 -8
- package/dist-cjs/pagination/ListSuggestedResiliencyPoliciesPaginator.js +1 -8
- package/dist-cjs/pagination/ListTestRecommendationsPaginator.js +1 -8
- package/dist-cjs/pagination/ListUnsupportedAppVersionResourcesPaginator.js +1 -8
- package/dist-es/pagination/ListAlarmRecommendationsPaginator.js +1 -8
- package/dist-es/pagination/ListAppAssessmentsPaginator.js +1 -8
- package/dist-es/pagination/ListAppComponentCompliancesPaginator.js +1 -8
- package/dist-es/pagination/ListAppComponentRecommendationsPaginator.js +1 -8
- package/dist-es/pagination/ListAppInputSourcesPaginator.js +1 -8
- package/dist-es/pagination/ListAppVersionAppComponentsPaginator.js +1 -8
- package/dist-es/pagination/ListAppVersionResourceMappingsPaginator.js +1 -8
- package/dist-es/pagination/ListAppVersionResourcesPaginator.js +1 -8
- package/dist-es/pagination/ListAppVersionsPaginator.js +1 -8
- package/dist-es/pagination/ListAppsPaginator.js +1 -8
- package/dist-es/pagination/ListRecommendationTemplatesPaginator.js +1 -8
- package/dist-es/pagination/ListResiliencyPoliciesPaginator.js +1 -8
- package/dist-es/pagination/ListSopRecommendationsPaginator.js +1 -8
- package/dist-es/pagination/ListSuggestedResiliencyPoliciesPaginator.js +1 -8
- package/dist-es/pagination/ListTestRecommendationsPaginator.js +1 -8
- package/dist-es/pagination/ListUnsupportedAppVersionResourcesPaginator.js +1 -8
- package/dist-types/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/package.json +9 -9
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAlarmRecommendations = void 0;
|
|
4
4
|
const ListAlarmRecommendationsCommand_1 = require("../commands/ListAlarmRecommendationsCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAlarmRecommendationsCommand_1.ListAlarmRecommendationsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAlarmRecommendations(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAlarmRecommendations(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAlarmRecommendations(config, input, ...additionalArg
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAppAssessments = void 0;
|
|
4
4
|
const ListAppAssessmentsCommand_1 = require("../commands/ListAppAssessmentsCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAppAssessmentsCommand_1.ListAppAssessmentsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAppAssessments(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAppAssessments(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAppAssessments(config, input, ...additionalArguments
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAppComponentCompliances = void 0;
|
|
4
4
|
const ListAppComponentCompliancesCommand_1 = require("../commands/ListAppComponentCompliancesCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAppComponentCompliancesCommand_1.ListAppComponentCompliancesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAppComponentCompliances(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAppComponentCompliances(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAppComponentCompliances(config, input, ...additional
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAppComponentRecommendations = void 0;
|
|
4
4
|
const ListAppComponentRecommendationsCommand_1 = require("../commands/ListAppComponentRecommendationsCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAppComponentRecommendationsCommand_1.ListAppComponentRecommendationsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAppComponentRecommendations(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAppComponentRecommendations(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAppComponentRecommendations(config, input, ...additi
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAppInputSources = void 0;
|
|
4
4
|
const ListAppInputSourcesCommand_1 = require("../commands/ListAppInputSourcesCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAppInputSourcesCommand_1.ListAppInputSourcesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAppInputSources(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAppInputSources(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAppInputSources(config, input, ...additionalArgument
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAppVersionAppComponents = void 0;
|
|
4
4
|
const ListAppVersionAppComponentsCommand_1 = require("../commands/ListAppVersionAppComponentsCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAppVersionAppComponentsCommand_1.ListAppVersionAppComponentsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAppVersionAppComponents(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAppVersionAppComponents(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAppVersionAppComponents(config, input, ...additional
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAppVersionResourceMappings = void 0;
|
|
4
4
|
const ListAppVersionResourceMappingsCommand_1 = require("../commands/ListAppVersionResourceMappingsCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAppVersionResourceMappingsCommand_1.ListAppVersionResourceMappingsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAppVersionResourceMappings(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAppVersionResourceMappings(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAppVersionResourceMappings(config, input, ...additio
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAppVersionResources = void 0;
|
|
4
4
|
const ListAppVersionResourcesCommand_1 = require("../commands/ListAppVersionResourcesCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAppVersionResourcesCommand_1.ListAppVersionResourcesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAppVersionResources(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAppVersionResources(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAppVersionResources(config, input, ...additionalArgu
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAppVersions = void 0;
|
|
4
4
|
const ListAppVersionsCommand_1 = require("../commands/ListAppVersionsCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAppVersionsCommand_1.ListAppVersionsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAppVersions(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAppVersions(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAppVersions(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListApps = void 0;
|
|
4
4
|
const ListAppsCommand_1 = require("../commands/ListAppsCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAppsCommand_1.ListAppsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listApps(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListApps(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListApps(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRecommendationTemplates = void 0;
|
|
4
4
|
const ListRecommendationTemplatesCommand_1 = require("../commands/ListRecommendationTemplatesCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListRecommendationTemplatesCommand_1.ListRecommendationTemplatesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listRecommendationTemplates(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListRecommendationTemplates(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListRecommendationTemplates(config, input, ...additional
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListResiliencyPolicies = void 0;
|
|
4
4
|
const ListResiliencyPoliciesCommand_1 = require("../commands/ListResiliencyPoliciesCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListResiliencyPoliciesCommand_1.ListResiliencyPoliciesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listResiliencyPolicies(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListResiliencyPolicies(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListResiliencyPolicies(config, input, ...additionalArgum
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSopRecommendations = void 0;
|
|
4
4
|
const ListSopRecommendationsCommand_1 = require("../commands/ListSopRecommendationsCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListSopRecommendationsCommand_1.ListSopRecommendationsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listSopRecommendations(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListSopRecommendations(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListSopRecommendations(config, input, ...additionalArgum
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSuggestedResiliencyPolicies = void 0;
|
|
4
4
|
const ListSuggestedResiliencyPoliciesCommand_1 = require("../commands/ListSuggestedResiliencyPoliciesCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListSuggestedResiliencyPoliciesCommand_1.ListSuggestedResiliencyPoliciesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listSuggestedResiliencyPolicies(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListSuggestedResiliencyPolicies(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListSuggestedResiliencyPolicies(config, input, ...additi
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTestRecommendations = void 0;
|
|
4
4
|
const ListTestRecommendationsCommand_1 = require("../commands/ListTestRecommendationsCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListTestRecommendationsCommand_1.ListTestRecommendationsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listTestRecommendations(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListTestRecommendations(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListTestRecommendations(config, input, ...additionalArgu
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListUnsupportedAppVersionResources = void 0;
|
|
4
4
|
const ListUnsupportedAppVersionResourcesCommand_1 = require("../commands/ListUnsupportedAppVersionResourcesCommand");
|
|
5
|
-
const Resiliencehub_1 = require("../Resiliencehub");
|
|
6
5
|
const ResiliencehubClient_1 = require("../ResiliencehubClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListUnsupportedAppVersionResourcesCommand_1.ListUnsupportedAppVersionResourcesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listUnsupportedAppVersionResources(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListUnsupportedAppVersionResources(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListUnsupportedAppVersionResources(config, input, ...add
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
16
|
+
if (config.client instanceof ResiliencehubClient_1.ResiliencehubClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAlarmRecommendationsCommand, } from "../commands/ListAlarmRecommendationsCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAlarmRecommendationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAlarmRecommendations(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAlarmRecommendations(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAlarmRecommendations(config, input, ...additi
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAppAssessmentsCommand, } from "../commands/ListAppAssessmentsCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAppAssessmentsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAppAssessments(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAppAssessments(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAppAssessments(config, input, ...additionalAr
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAppComponentCompliancesCommand, } from "../commands/ListAppComponentCompliancesCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAppComponentCompliancesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAppComponentCompliances(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAppComponentCompliances(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAppComponentCompliances(config, input, ...add
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAppComponentRecommendationsCommand, } from "../commands/ListAppComponentRecommendationsCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAppComponentRecommendationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAppComponentRecommendations(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAppComponentRecommendations(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAppComponentRecommendations(config, input, ..
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAppInputSourcesCommand, } from "../commands/ListAppInputSourcesCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAppInputSourcesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAppInputSources(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAppInputSources(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAppInputSources(config, input, ...additionalA
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAppVersionAppComponentsCommand, } from "../commands/ListAppVersionAppComponentsCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAppVersionAppComponentsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAppVersionAppComponents(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAppVersionAppComponents(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAppVersionAppComponents(config, input, ...add
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAppVersionResourceMappingsCommand, } from "../commands/ListAppVersionResourceMappingsCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAppVersionResourceMappingsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAppVersionResourceMappings(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAppVersionResourceMappings(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAppVersionResourceMappings(config, input, ...
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAppVersionResourcesCommand, } from "../commands/ListAppVersionResourcesCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAppVersionResourcesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAppVersionResources(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAppVersionResources(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAppVersionResources(config, input, ...additio
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAppVersionsCommand, } from "../commands/ListAppVersionsCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAppVersionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAppVersions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAppVersions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAppVersions(config, input, ...additionalArgum
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAppsCommand } from "../commands/ListAppsCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAppsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listApps(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListApps(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListApps(config, input, ...additionalArguments) {
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListRecommendationTemplatesCommand, } from "../commands/ListRecommendationTemplatesCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListRecommendationTemplatesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listRecommendationTemplates(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListRecommendationTemplates(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListRecommendationTemplates(config, input, ...add
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListResiliencyPoliciesCommand, } from "../commands/ListResiliencyPoliciesCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListResiliencyPoliciesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listResiliencyPolicies(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListResiliencyPolicies(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListResiliencyPolicies(config, input, ...addition
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListSopRecommendationsCommand, } from "../commands/ListSopRecommendationsCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListSopRecommendationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listSopRecommendations(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListSopRecommendations(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListSopRecommendations(config, input, ...addition
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListSuggestedResiliencyPoliciesCommand, } from "../commands/ListSuggestedResiliencyPoliciesCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListSuggestedResiliencyPoliciesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listSuggestedResiliencyPolicies(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListSuggestedResiliencyPolicies(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListSuggestedResiliencyPolicies(config, input, ..
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListTestRecommendationsCommand, } from "../commands/ListTestRecommendationsCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListTestRecommendationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listTestRecommendations(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListTestRecommendations(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListTestRecommendations(config, input, ...additio
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListUnsupportedAppVersionResourcesCommand, } from "../commands/ListUnsupportedAppVersionResourcesCommand";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListUnsupportedAppVersionResourcesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listUnsupportedAppVersionResources(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListUnsupportedAppVersionResources(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListUnsupportedAppVersionResources(config, input,
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ResiliencehubClient) {
|
|
13
|
+
if (config.client instanceof ResiliencehubClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
export interface ResiliencehubPaginationConfiguration extends PaginationConfiguration {
|
|
5
|
-
client:
|
|
4
|
+
client: ResiliencehubClient;
|
|
6
5
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { Resiliencehub } from "../Resiliencehub";
|
|
3
2
|
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
3
|
export interface ResiliencehubPaginationConfiguration
|
|
5
4
|
extends PaginationConfiguration {
|
|
6
|
-
client:
|
|
5
|
+
client: ResiliencehubClient;
|
|
7
6
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resiliencehub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resiliencehub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.287.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,23 +20,23 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.287.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.287.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.287.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
29
29
|
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
30
30
|
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
31
31
|
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.287.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.287.0",
|
|
35
35
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
36
36
|
"@aws-sdk/middleware-signing": "3.282.0",
|
|
37
37
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
38
38
|
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
40
40
|
"@aws-sdk/node-http-handler": "3.282.0",
|
|
41
41
|
"@aws-sdk/protocol-http": "3.282.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.287.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.272.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.287.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1",
|
|
56
56
|
"uuid": "^8.3.2"
|