@aws-sdk/client-auditmanager 3.281.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/GetChangeLogsPaginator.js +1 -8
- package/dist-cjs/pagination/GetDelegationsPaginator.js +1 -8
- package/dist-cjs/pagination/GetEvidenceByEvidenceFolderPaginator.js +1 -8
- package/dist-cjs/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js +1 -8
- package/dist-cjs/pagination/GetEvidenceFoldersByAssessmentPaginator.js +1 -8
- package/dist-cjs/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +1 -8
- package/dist-cjs/pagination/ListAssessmentFrameworkShareRequestsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAssessmentFrameworksPaginator.js +1 -8
- package/dist-cjs/pagination/ListAssessmentReportsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAssessmentsPaginator.js +1 -8
- package/dist-cjs/pagination/ListControlDomainInsightsByAssessmentPaginator.js +1 -8
- package/dist-cjs/pagination/ListControlDomainInsightsPaginator.js +1 -8
- package/dist-cjs/pagination/ListControlInsightsByControlDomainPaginator.js +1 -8
- package/dist-cjs/pagination/ListControlsPaginator.js +1 -8
- package/dist-cjs/pagination/ListKeywordsForDataSourcePaginator.js +1 -8
- package/dist-cjs/pagination/ListNotificationsPaginator.js +1 -8
- package/dist-es/pagination/GetChangeLogsPaginator.js +1 -8
- package/dist-es/pagination/GetDelegationsPaginator.js +1 -8
- package/dist-es/pagination/GetEvidenceByEvidenceFolderPaginator.js +1 -8
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js +1 -8
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentPaginator.js +1 -8
- package/dist-es/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +1 -8
- package/dist-es/pagination/ListAssessmentFrameworkShareRequestsPaginator.js +1 -8
- package/dist-es/pagination/ListAssessmentFrameworksPaginator.js +1 -8
- package/dist-es/pagination/ListAssessmentReportsPaginator.js +1 -8
- package/dist-es/pagination/ListAssessmentsPaginator.js +1 -8
- package/dist-es/pagination/ListControlDomainInsightsByAssessmentPaginator.js +1 -8
- package/dist-es/pagination/ListControlDomainInsightsPaginator.js +1 -8
- package/dist-es/pagination/ListControlInsightsByControlDomainPaginator.js +1 -8
- package/dist-es/pagination/ListControlsPaginator.js +1 -8
- package/dist-es/pagination/ListKeywordsForDataSourcePaginator.js +1 -8
- package/dist-es/pagination/ListNotificationsPaginator.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 +19 -19
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetChangeLogs = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const GetChangeLogsCommand_1 = require("../commands/GetChangeLogsCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new GetChangeLogsCommand_1.GetChangeLogsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.getChangeLogs(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateGetChangeLogs(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateGetChangeLogs(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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetDelegations = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const GetDelegationsCommand_1 = require("../commands/GetDelegationsCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new GetDelegationsCommand_1.GetDelegationsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.getDelegations(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateGetDelegations(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateGetDelegations(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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetEvidenceByEvidenceFolder = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const GetEvidenceByEvidenceFolderCommand_1 = require("../commands/GetEvidenceByEvidenceFolderCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new GetEvidenceByEvidenceFolderCommand_1.GetEvidenceByEvidenceFolderCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.getEvidenceByEvidenceFolder(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateGetEvidenceByEvidenceFolder(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateGetEvidenceByEvidenceFolder(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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetEvidenceFoldersByAssessmentControl = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const GetEvidenceFoldersByAssessmentControlCommand_1 = require("../commands/GetEvidenceFoldersByAssessmentControlCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new GetEvidenceFoldersByAssessmentControlCommand_1.GetEvidenceFoldersByAssessmentControlCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.getEvidenceFoldersByAssessmentControl(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateGetEvidenceFoldersByAssessmentControl(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateGetEvidenceFoldersByAssessmentControl(config, input, ...
|
|
|
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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetEvidenceFoldersByAssessment = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const GetEvidenceFoldersByAssessmentCommand_1 = require("../commands/GetEvidenceFoldersByAssessmentCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new GetEvidenceFoldersByAssessmentCommand_1.GetEvidenceFoldersByAssessmentCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.getEvidenceFoldersByAssessment(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateGetEvidenceFoldersByAssessment(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateGetEvidenceFoldersByAssessment(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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAssessmentControlInsightsByControlDomain = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const ListAssessmentControlInsightsByControlDomainCommand_1 = require("../commands/ListAssessmentControlInsightsByControlDomainCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAssessmentControlInsightsByControlDomainCommand_1.ListAssessmentControlInsightsByControlDomainCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAssessmentControlInsightsByControlDomain(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAssessmentControlInsightsByControlDomain(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAssessmentControlInsightsByControlDomain(config, inp
|
|
|
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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAssessmentFrameworkShareRequests = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const ListAssessmentFrameworkShareRequestsCommand_1 = require("../commands/ListAssessmentFrameworkShareRequestsCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAssessmentFrameworkShareRequestsCommand_1.ListAssessmentFrameworkShareRequestsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAssessmentFrameworkShareRequests(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAssessmentFrameworkShareRequests(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAssessmentFrameworkShareRequests(config, input, ...a
|
|
|
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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAssessmentFrameworks = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const ListAssessmentFrameworksCommand_1 = require("../commands/ListAssessmentFrameworksCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAssessmentFrameworksCommand_1.ListAssessmentFrameworksCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAssessmentFrameworks(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAssessmentFrameworks(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAssessmentFrameworks(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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAssessmentReports = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const ListAssessmentReportsCommand_1 = require("../commands/ListAssessmentReportsCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAssessmentReportsCommand_1.ListAssessmentReportsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAssessmentReports(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAssessmentReports(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAssessmentReports(config, input, ...additionalArgume
|
|
|
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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAssessments = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const ListAssessmentsCommand_1 = require("../commands/ListAssessmentsCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAssessmentsCommand_1.ListAssessmentsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAssessments(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAssessments(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAssessments(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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListControlDomainInsightsByAssessment = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const ListControlDomainInsightsByAssessmentCommand_1 = require("../commands/ListControlDomainInsightsByAssessmentCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListControlDomainInsightsByAssessmentCommand_1.ListControlDomainInsightsByAssessmentCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listControlDomainInsightsByAssessment(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListControlDomainInsightsByAssessment(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListControlDomainInsightsByAssessment(config, input, ...
|
|
|
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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListControlDomainInsights = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const ListControlDomainInsightsCommand_1 = require("../commands/ListControlDomainInsightsCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListControlDomainInsightsCommand_1.ListControlDomainInsightsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listControlDomainInsights(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListControlDomainInsights(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListControlDomainInsights(config, input, ...additionalAr
|
|
|
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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListControlInsightsByControlDomain = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const ListControlInsightsByControlDomainCommand_1 = require("../commands/ListControlInsightsByControlDomainCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListControlInsightsByControlDomainCommand_1.ListControlInsightsByControlDomainCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listControlInsightsByControlDomain(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListControlInsightsByControlDomain(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListControlInsightsByControlDomain(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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListControls = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const ListControlsCommand_1 = require("../commands/ListControlsCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListControlsCommand_1.ListControlsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listControls(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListControls(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListControls(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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListKeywordsForDataSource = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const ListKeywordsForDataSourceCommand_1 = require("../commands/ListKeywordsForDataSourceCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListKeywordsForDataSourceCommand_1.ListKeywordsForDataSourceCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listKeywordsForDataSource(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListKeywordsForDataSource(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListKeywordsForDataSource(config, input, ...additionalAr
|
|
|
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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListNotifications = void 0;
|
|
4
|
-
const AuditManager_1 = require("../AuditManager");
|
|
5
4
|
const AuditManagerClient_1 = require("../AuditManagerClient");
|
|
6
5
|
const ListNotificationsCommand_1 = require("../commands/ListNotificationsCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListNotificationsCommand_1.ListNotificationsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listNotifications(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListNotifications(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListNotifications(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 AuditManagerClient_1.AuditManagerClient) {
|
|
16
|
+
if (config.client instanceof AuditManagerClient_1.AuditManagerClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { GetChangeLogsCommand, } from "../commands/GetChangeLogsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetChangeLogsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getChangeLogs(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetChangeLogs(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetChangeLogs(config, input, ...additionalArgumen
|
|
|
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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { GetDelegationsCommand, } from "../commands/GetDelegationsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetDelegationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getDelegations(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetDelegations(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetDelegations(config, input, ...additionalArgume
|
|
|
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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { GetEvidenceByEvidenceFolderCommand, } from "../commands/GetEvidenceByEvidenceFolderCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetEvidenceByEvidenceFolderCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getEvidenceByEvidenceFolder(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetEvidenceByEvidenceFolder(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetEvidenceByEvidenceFolder(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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { GetEvidenceFoldersByAssessmentControlCommand, } from "../commands/GetEvidenceFoldersByAssessmentControlCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetEvidenceFoldersByAssessmentControlCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getEvidenceFoldersByAssessmentControl(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetEvidenceFoldersByAssessmentControl(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetEvidenceFoldersByAssessmentControl(config, inp
|
|
|
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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { GetEvidenceFoldersByAssessmentCommand, } from "../commands/GetEvidenceFoldersByAssessmentCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetEvidenceFoldersByAssessmentCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getEvidenceFoldersByAssessment(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetEvidenceFoldersByAssessment(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetEvidenceFoldersByAssessment(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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { ListAssessmentControlInsightsByControlDomainCommand, } from "../commands/ListAssessmentControlInsightsByControlDomainCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAssessmentControlInsightsByControlDomainCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAssessmentControlInsightsByControlDomain(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAssessmentControlInsightsByControlDomain(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAssessmentControlInsightsByControlDomain(conf
|
|
|
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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { ListAssessmentFrameworkShareRequestsCommand, } from "../commands/ListAssessmentFrameworkShareRequestsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAssessmentFrameworkShareRequestsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAssessmentFrameworkShareRequests(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAssessmentFrameworkShareRequests(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAssessmentFrameworkShareRequests(config, inpu
|
|
|
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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { ListAssessmentFrameworksCommand, } from "../commands/ListAssessmentFrameworksCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAssessmentFrameworksCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAssessmentFrameworks(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAssessmentFrameworks(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAssessmentFrameworks(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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { ListAssessmentReportsCommand, } from "../commands/ListAssessmentReportsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAssessmentReportsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAssessmentReports(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAssessmentReports(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAssessmentReports(config, input, ...additiona
|
|
|
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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { ListAssessmentsCommand, } from "../commands/ListAssessmentsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAssessmentsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAssessments(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAssessments(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAssessments(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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { ListControlDomainInsightsByAssessmentCommand, } from "../commands/ListControlDomainInsightsByAssessmentCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListControlDomainInsightsByAssessmentCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listControlDomainInsightsByAssessment(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListControlDomainInsightsByAssessment(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListControlDomainInsightsByAssessment(config, inp
|
|
|
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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { ListControlDomainInsightsCommand, } from "../commands/ListControlDomainInsightsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListControlDomainInsightsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listControlDomainInsights(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListControlDomainInsights(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListControlDomainInsights(config, input, ...addit
|
|
|
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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { ListControlInsightsByControlDomainCommand, } from "../commands/ListControlInsightsByControlDomainCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListControlInsightsByControlDomainCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listControlInsightsByControlDomain(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListControlInsightsByControlDomain(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListControlInsightsByControlDomain(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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { ListControlsCommand, } from "../commands/ListControlsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListControlsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listControls(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListControls(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListControls(config, input, ...additionalArgument
|
|
|
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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { ListKeywordsForDataSourceCommand, } from "../commands/ListKeywordsForDataSourceCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListKeywordsForDataSourceCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listKeywordsForDataSource(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListKeywordsForDataSource(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListKeywordsForDataSource(config, input, ...addit
|
|
|
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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditManager } from "../AuditManager";
|
|
2
1
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
3
2
|
import { ListNotificationsCommand, } from "../commands/ListNotificationsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListNotificationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listNotifications(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListNotifications(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListNotifications(config, input, ...additionalArg
|
|
|
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 AuditManagerClient) {
|
|
13
|
+
if (config.client instanceof AuditManagerClient) {
|
|
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 { AuditManager } from "../AuditManager";
|
|
3
2
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
4
3
|
export interface AuditManagerPaginationConfiguration extends PaginationConfiguration {
|
|
5
|
-
client:
|
|
4
|
+
client: AuditManagerClient;
|
|
6
5
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { AuditManager } from "../AuditManager";
|
|
3
2
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
4
3
|
export interface AuditManagerPaginationConfiguration
|
|
5
4
|
extends PaginationConfiguration {
|
|
6
|
-
client:
|
|
5
|
+
client: AuditManagerClient;
|
|
7
6
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auditmanager",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auditmanager 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,25 +20,25 @@
|
|
|
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.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "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
|
+
"@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
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.287.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.287.0",
|
|
35
35
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.282.0",
|
|
37
37
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.282.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.282.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
43
43
|
"@aws-sdk/types": "3.272.0",
|
|
44
44
|
"@aws-sdk/url-parser": "3.272.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
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
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
|
},
|