@aws-sdk/client-accessanalyzer 3.477.0 → 3.478.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/GetFindingV2Paginator.js +2 -24
- package/dist-cjs/pagination/ListAccessPreviewFindingsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAccessPreviewsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAnalyzedResourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListAnalyzersPaginator.js +2 -24
- package/dist-cjs/pagination/ListArchiveRulesPaginator.js +2 -24
- package/dist-cjs/pagination/ListFindingsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFindingsV2Paginator.js +2 -24
- package/dist-cjs/pagination/ListPolicyGenerationsPaginator.js +2 -24
- package/dist-cjs/pagination/ValidatePolicyPaginator.js +2 -24
- package/dist-es/pagination/GetFindingV2Paginator.js +2 -23
- package/dist-es/pagination/ListAccessPreviewFindingsPaginator.js +2 -23
- package/dist-es/pagination/ListAccessPreviewsPaginator.js +2 -23
- package/dist-es/pagination/ListAnalyzedResourcesPaginator.js +2 -23
- package/dist-es/pagination/ListAnalyzersPaginator.js +2 -23
- package/dist-es/pagination/ListArchiveRulesPaginator.js +2 -23
- package/dist-es/pagination/ListFindingsPaginator.js +2 -23
- package/dist-es/pagination/ListFindingsV2Paginator.js +2 -23
- package/dist-es/pagination/ListPolicyGenerationsPaginator.js +2 -23
- package/dist-es/pagination/ValidatePolicyPaginator.js +2 -23
- package/dist-types/pagination/GetFindingV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListAccessPreviewFindingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAccessPreviewsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAnalyzedResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAnalyzersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListArchiveRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFindingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFindingsV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListPolicyGenerationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ValidatePolicyPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/GetFindingV2Paginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAccessPreviewFindingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAccessPreviewsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAnalyzedResourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAnalyzersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListArchiveRulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFindingsV2Paginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPolicyGenerationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ValidatePolicyPaginator.d.ts +3 -3
- package/package.json +5 -5
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetFindingV2 = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
5
6
|
const GetFindingV2Command_1 = require("../commands/GetFindingV2Command");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetFindingV2Command_1.GetFindingV2Command(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetFindingV2(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AccessAnalyzerClient_1.AccessAnalyzerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetFindingV2 = paginateGetFindingV2;
|
|
7
|
+
exports.paginateGetFindingV2 = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, GetFindingV2Command_1.GetFindingV2Command, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAccessPreviewFindings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
5
6
|
const ListAccessPreviewFindingsCommand_1 = require("../commands/ListAccessPreviewFindingsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAccessPreviewFindingsCommand_1.ListAccessPreviewFindingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAccessPreviewFindings(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AccessAnalyzerClient_1.AccessAnalyzerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListAccessPreviewFindings = paginateListAccessPreviewFindings;
|
|
7
|
+
exports.paginateListAccessPreviewFindings = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListAccessPreviewFindingsCommand_1.ListAccessPreviewFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAccessPreviews = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
5
6
|
const ListAccessPreviewsCommand_1 = require("../commands/ListAccessPreviewsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAccessPreviewsCommand_1.ListAccessPreviewsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAccessPreviews(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AccessAnalyzerClient_1.AccessAnalyzerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListAccessPreviews = paginateListAccessPreviews;
|
|
7
|
+
exports.paginateListAccessPreviews = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListAccessPreviewsCommand_1.ListAccessPreviewsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAnalyzedResources = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
5
6
|
const ListAnalyzedResourcesCommand_1 = require("../commands/ListAnalyzedResourcesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAnalyzedResourcesCommand_1.ListAnalyzedResourcesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAnalyzedResources(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AccessAnalyzerClient_1.AccessAnalyzerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListAnalyzedResources = paginateListAnalyzedResources;
|
|
7
|
+
exports.paginateListAnalyzedResources = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListAnalyzedResourcesCommand_1.ListAnalyzedResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAnalyzers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
5
6
|
const ListAnalyzersCommand_1 = require("../commands/ListAnalyzersCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAnalyzersCommand_1.ListAnalyzersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAnalyzers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AccessAnalyzerClient_1.AccessAnalyzerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListAnalyzers = paginateListAnalyzers;
|
|
7
|
+
exports.paginateListAnalyzers = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListAnalyzersCommand_1.ListAnalyzersCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListArchiveRules = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
5
6
|
const ListArchiveRulesCommand_1 = require("../commands/ListArchiveRulesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListArchiveRulesCommand_1.ListArchiveRulesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListArchiveRules(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AccessAnalyzerClient_1.AccessAnalyzerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListArchiveRules = paginateListArchiveRules;
|
|
7
|
+
exports.paginateListArchiveRules = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListArchiveRulesCommand_1.ListArchiveRulesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListFindings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
5
6
|
const ListFindingsCommand_1 = require("../commands/ListFindingsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListFindingsCommand_1.ListFindingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListFindings(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AccessAnalyzerClient_1.AccessAnalyzerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListFindings = paginateListFindings;
|
|
7
|
+
exports.paginateListFindings = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListFindingsCommand_1.ListFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListFindingsV2 = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
5
6
|
const ListFindingsV2Command_1 = require("../commands/ListFindingsV2Command");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListFindingsV2Command_1.ListFindingsV2Command(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListFindingsV2(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AccessAnalyzerClient_1.AccessAnalyzerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListFindingsV2 = paginateListFindingsV2;
|
|
7
|
+
exports.paginateListFindingsV2 = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListFindingsV2Command_1.ListFindingsV2Command, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPolicyGenerations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
5
6
|
const ListPolicyGenerationsCommand_1 = require("../commands/ListPolicyGenerationsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPolicyGenerationsCommand_1.ListPolicyGenerationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPolicyGenerations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AccessAnalyzerClient_1.AccessAnalyzerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListPolicyGenerations = paginateListPolicyGenerations;
|
|
7
|
+
exports.paginateListPolicyGenerations = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListPolicyGenerationsCommand_1.ListPolicyGenerationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateValidatePolicy = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
5
6
|
const ValidatePolicyCommand_1 = require("../commands/ValidatePolicyCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ValidatePolicyCommand_1.ValidatePolicyCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateValidatePolicy(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AccessAnalyzerClient_1.AccessAnalyzerClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateValidatePolicy = paginateValidatePolicy;
|
|
7
|
+
exports.paginateValidatePolicy = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ValidatePolicyCommand_1.ValidatePolicyCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AccessAnalyzerClient } from "../AccessAnalyzerClient";
|
|
2
3
|
import { GetFindingV2Command, } from "../commands/GetFindingV2Command";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetFindingV2Command(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetFindingV2(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof AccessAnalyzerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetFindingV2 = createPaginator(AccessAnalyzerClient, GetFindingV2Command, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AccessAnalyzerClient } from "../AccessAnalyzerClient";
|
|
2
3
|
import { ListAccessPreviewFindingsCommand, } from "../commands/ListAccessPreviewFindingsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAccessPreviewFindingsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAccessPreviewFindings(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof AccessAnalyzerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAccessPreviewFindings = createPaginator(AccessAnalyzerClient, ListAccessPreviewFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AccessAnalyzerClient } from "../AccessAnalyzerClient";
|
|
2
3
|
import { ListAccessPreviewsCommand, } from "../commands/ListAccessPreviewsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAccessPreviewsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAccessPreviews(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof AccessAnalyzerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAccessPreviews = createPaginator(AccessAnalyzerClient, ListAccessPreviewsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AccessAnalyzerClient } from "../AccessAnalyzerClient";
|
|
2
3
|
import { ListAnalyzedResourcesCommand, } from "../commands/ListAnalyzedResourcesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAnalyzedResourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAnalyzedResources(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof AccessAnalyzerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAnalyzedResources = createPaginator(AccessAnalyzerClient, ListAnalyzedResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AccessAnalyzerClient } from "../AccessAnalyzerClient";
|
|
2
3
|
import { ListAnalyzersCommand, } from "../commands/ListAnalyzersCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAnalyzersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAnalyzers(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof AccessAnalyzerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAnalyzers = createPaginator(AccessAnalyzerClient, ListAnalyzersCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AccessAnalyzerClient } from "../AccessAnalyzerClient";
|
|
2
3
|
import { ListArchiveRulesCommand, } from "../commands/ListArchiveRulesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListArchiveRulesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListArchiveRules(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof AccessAnalyzerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListArchiveRules = createPaginator(AccessAnalyzerClient, ListArchiveRulesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AccessAnalyzerClient } from "../AccessAnalyzerClient";
|
|
2
3
|
import { ListFindingsCommand, } from "../commands/ListFindingsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListFindingsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListFindings(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof AccessAnalyzerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListFindings = createPaginator(AccessAnalyzerClient, ListFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AccessAnalyzerClient } from "../AccessAnalyzerClient";
|
|
2
3
|
import { ListFindingsV2Command, } from "../commands/ListFindingsV2Command";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListFindingsV2Command(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListFindingsV2(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof AccessAnalyzerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListFindingsV2 = createPaginator(AccessAnalyzerClient, ListFindingsV2Command, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AccessAnalyzerClient } from "../AccessAnalyzerClient";
|
|
2
3
|
import { ListPolicyGenerationsCommand, } from "../commands/ListPolicyGenerationsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPolicyGenerationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPolicyGenerations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof AccessAnalyzerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPolicyGenerations = createPaginator(AccessAnalyzerClient, ListPolicyGenerationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AccessAnalyzerClient } from "../AccessAnalyzerClient";
|
|
2
3
|
import { ValidatePolicyCommand, } from "../commands/ValidatePolicyCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ValidatePolicyCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateValidatePolicy(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof AccessAnalyzerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AccessAnalyzer | AccessAnalyzerClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateValidatePolicy = createPaginator(AccessAnalyzerClient, ValidatePolicyCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -4,4 +4,4 @@ import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetFindingV2: (config: AccessAnalyzerPaginationConfiguration, input: GetFindingV2CommandInput, ...rest: any[]) => Paginator<GetFindingV2CommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAccessPreviewFindings: (config: AccessAnalyzerPaginationConfiguration, input: ListAccessPreviewFindingsCommandInput, ...rest: any[]) => Paginator<ListAccessPreviewFindingsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAccessPreviews: (config: AccessAnalyzerPaginationConfiguration, input: ListAccessPreviewsCommandInput, ...rest: any[]) => Paginator<ListAccessPreviewsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAnalyzedResources: (config: AccessAnalyzerPaginationConfiguration, input: ListAnalyzedResourcesCommandInput, ...rest: any[]) => Paginator<ListAnalyzedResourcesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAnalyzers: (config: AccessAnalyzerPaginationConfiguration, input: ListAnalyzersCommandInput, ...rest: any[]) => Paginator<ListAnalyzersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListArchiveRules: (config: AccessAnalyzerPaginationConfiguration, input: ListArchiveRulesCommandInput, ...rest: any[]) => Paginator<ListArchiveRulesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFindings: (config: AccessAnalyzerPaginationConfiguration, input: ListFindingsCommandInput, ...rest: any[]) => Paginator<ListFindingsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFindingsV2: (config: AccessAnalyzerPaginationConfiguration, input: ListFindingsV2CommandInput, ...rest: any[]) => Paginator<ListFindingsV2CommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPolicyGenerations: (config: AccessAnalyzerPaginationConfiguration, input: ListPolicyGenerationsCommandInput, ...rest: any[]) => Paginator<ListPolicyGenerationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateValidatePolicy: (config: AccessAnalyzerPaginationConfiguration, input: ValidatePolicyCommandInput, ...rest: any[]) => Paginator<ValidatePolicyCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetFindingV2CommandOutput,
|
|
5
5
|
} from "../commands/GetFindingV2Command";
|
|
6
6
|
import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetFindingV2: (
|
|
8
8
|
config: AccessAnalyzerPaginationConfiguration,
|
|
9
9
|
input: GetFindingV2CommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetFindingV2CommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListAccessPreviewFindingsCommandOutput,
|
|
5
5
|
} from "../commands/ListAccessPreviewFindingsCommand";
|
|
6
6
|
import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAccessPreviewFindings: (
|
|
8
8
|
config: AccessAnalyzerPaginationConfiguration,
|
|
9
9
|
input: ListAccessPreviewFindingsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAccessPreviewFindingsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListAccessPreviewsCommandOutput,
|
|
5
5
|
} from "../commands/ListAccessPreviewsCommand";
|
|
6
6
|
import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAccessPreviews: (
|
|
8
8
|
config: AccessAnalyzerPaginationConfiguration,
|
|
9
9
|
input: ListAccessPreviewsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAccessPreviewsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListAnalyzedResourcesCommandOutput,
|
|
5
5
|
} from "../commands/ListAnalyzedResourcesCommand";
|
|
6
6
|
import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAnalyzedResources: (
|
|
8
8
|
config: AccessAnalyzerPaginationConfiguration,
|
|
9
9
|
input: ListAnalyzedResourcesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAnalyzedResourcesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListAnalyzersCommandOutput,
|
|
5
5
|
} from "../commands/ListAnalyzersCommand";
|
|
6
6
|
import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAnalyzers: (
|
|
8
8
|
config: AccessAnalyzerPaginationConfiguration,
|
|
9
9
|
input: ListAnalyzersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAnalyzersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListArchiveRulesCommandOutput,
|
|
5
5
|
} from "../commands/ListArchiveRulesCommand";
|
|
6
6
|
import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListArchiveRules: (
|
|
8
8
|
config: AccessAnalyzerPaginationConfiguration,
|
|
9
9
|
input: ListArchiveRulesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListArchiveRulesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListFindingsCommandOutput,
|
|
5
5
|
} from "../commands/ListFindingsCommand";
|
|
6
6
|
import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFindings: (
|
|
8
8
|
config: AccessAnalyzerPaginationConfiguration,
|
|
9
9
|
input: ListFindingsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListFindingsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListFindingsV2CommandOutput,
|
|
5
5
|
} from "../commands/ListFindingsV2Command";
|
|
6
6
|
import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFindingsV2: (
|
|
8
8
|
config: AccessAnalyzerPaginationConfiguration,
|
|
9
9
|
input: ListFindingsV2CommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListFindingsV2CommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListPolicyGenerationsCommandOutput,
|
|
5
5
|
} from "../commands/ListPolicyGenerationsCommand";
|
|
6
6
|
import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPolicyGenerations: (
|
|
8
8
|
config: AccessAnalyzerPaginationConfiguration,
|
|
9
9
|
input: ListPolicyGenerationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListPolicyGenerationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ValidatePolicyCommandOutput,
|
|
5
5
|
} from "../commands/ValidatePolicyCommand";
|
|
6
6
|
import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateValidatePolicy: (
|
|
8
8
|
config: AccessAnalyzerPaginationConfiguration,
|
|
9
9
|
input: ValidatePolicyCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ValidatePolicyCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-accessanalyzer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Accessanalyzer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.478.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,17 +20,17 @@
|
|
|
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.
|
|
23
|
+
"@aws-sdk/client-sts": "3.478.0",
|
|
24
24
|
"@aws-sdk/core": "3.477.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.478.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.470.0",
|
|
32
32
|
"@aws-sdk/types": "3.468.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.478.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|