@aws-sdk/client-auditmanager 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/GetChangeLogsPaginator.js +2 -24
- package/dist-cjs/pagination/GetDelegationsPaginator.js +2 -24
- package/dist-cjs/pagination/GetEvidenceByEvidenceFolderPaginator.js +2 -24
- package/dist-cjs/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js +2 -24
- package/dist-cjs/pagination/GetEvidenceFoldersByAssessmentPaginator.js +2 -24
- package/dist-cjs/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +2 -24
- package/dist-cjs/pagination/ListAssessmentFrameworkShareRequestsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAssessmentFrameworksPaginator.js +2 -24
- package/dist-cjs/pagination/ListAssessmentReportsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAssessmentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListControlDomainInsightsByAssessmentPaginator.js +2 -24
- package/dist-cjs/pagination/ListControlDomainInsightsPaginator.js +2 -24
- package/dist-cjs/pagination/ListControlInsightsByControlDomainPaginator.js +2 -24
- package/dist-cjs/pagination/ListControlsPaginator.js +2 -24
- package/dist-cjs/pagination/ListKeywordsForDataSourcePaginator.js +2 -24
- package/dist-cjs/pagination/ListNotificationsPaginator.js +2 -24
- package/dist-es/pagination/GetChangeLogsPaginator.js +2 -23
- package/dist-es/pagination/GetDelegationsPaginator.js +2 -23
- package/dist-es/pagination/GetEvidenceByEvidenceFolderPaginator.js +2 -23
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js +2 -23
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentPaginator.js +2 -23
- package/dist-es/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +2 -23
- package/dist-es/pagination/ListAssessmentFrameworkShareRequestsPaginator.js +2 -23
- package/dist-es/pagination/ListAssessmentFrameworksPaginator.js +2 -23
- package/dist-es/pagination/ListAssessmentReportsPaginator.js +2 -23
- package/dist-es/pagination/ListAssessmentsPaginator.js +2 -23
- package/dist-es/pagination/ListControlDomainInsightsByAssessmentPaginator.js +2 -23
- package/dist-es/pagination/ListControlDomainInsightsPaginator.js +2 -23
- package/dist-es/pagination/ListControlInsightsByControlDomainPaginator.js +2 -23
- package/dist-es/pagination/ListControlsPaginator.js +2 -23
- package/dist-es/pagination/ListKeywordsForDataSourcePaginator.js +2 -23
- package/dist-es/pagination/ListNotificationsPaginator.js +2 -23
- package/dist-types/pagination/GetChangeLogsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetDelegationsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetEvidenceByEvidenceFolderPaginator.d.ts +1 -1
- package/dist-types/pagination/GetEvidenceFoldersByAssessmentControlPaginator.d.ts +1 -1
- package/dist-types/pagination/GetEvidenceFoldersByAssessmentPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAssessmentControlInsightsByControlDomainPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAssessmentFrameworkShareRequestsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAssessmentFrameworksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAssessmentReportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAssessmentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListControlDomainInsightsByAssessmentPaginator.d.ts +1 -1
- package/dist-types/pagination/ListControlDomainInsightsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListControlInsightsByControlDomainPaginator.d.ts +1 -1
- package/dist-types/pagination/ListControlsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListKeywordsForDataSourcePaginator.d.ts +1 -1
- package/dist-types/pagination/ListNotificationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/GetChangeLogsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetDelegationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetEvidenceByEvidenceFolderPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetEvidenceFoldersByAssessmentControlPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetEvidenceFoldersByAssessmentPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAssessmentControlInsightsByControlDomainPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAssessmentFrameworkShareRequestsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAssessmentFrameworksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAssessmentReportsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAssessmentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListControlDomainInsightsByAssessmentPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListControlDomainInsightsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListControlInsightsByControlDomainPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListControlsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListKeywordsForDataSourcePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListNotificationsPaginator.d.ts +3 -3
- package/package.json +5 -5
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
2
3
|
import { GetEvidenceFoldersByAssessmentCommand, } from "../commands/GetEvidenceFoldersByAssessmentCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetEvidenceFoldersByAssessmentCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetEvidenceFoldersByAssessment(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 AuditManagerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
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 paginateGetEvidenceFoldersByAssessment = createPaginator(AuditManagerClient, GetEvidenceFoldersByAssessmentCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
2
3
|
import { ListAssessmentControlInsightsByControlDomainCommand, } from "../commands/ListAssessmentControlInsightsByControlDomainCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAssessmentControlInsightsByControlDomainCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAssessmentControlInsightsByControlDomain(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 AuditManagerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
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 paginateListAssessmentControlInsightsByControlDomain = createPaginator(AuditManagerClient, ListAssessmentControlInsightsByControlDomainCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
2
3
|
import { ListAssessmentFrameworkShareRequestsCommand, } from "../commands/ListAssessmentFrameworkShareRequestsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAssessmentFrameworkShareRequestsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAssessmentFrameworkShareRequests(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 AuditManagerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
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 paginateListAssessmentFrameworkShareRequests = createPaginator(AuditManagerClient, ListAssessmentFrameworkShareRequestsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
2
3
|
import { ListAssessmentFrameworksCommand, } from "../commands/ListAssessmentFrameworksCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAssessmentFrameworksCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAssessmentFrameworks(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 AuditManagerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
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 paginateListAssessmentFrameworks = createPaginator(AuditManagerClient, ListAssessmentFrameworksCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
2
3
|
import { ListAssessmentReportsCommand, } from "../commands/ListAssessmentReportsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAssessmentReportsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAssessmentReports(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 AuditManagerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
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 paginateListAssessmentReports = createPaginator(AuditManagerClient, ListAssessmentReportsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
2
3
|
import { ListAssessmentsCommand, } from "../commands/ListAssessmentsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAssessmentsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAssessments(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 AuditManagerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
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 paginateListAssessments = createPaginator(AuditManagerClient, ListAssessmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
2
3
|
import { ListControlDomainInsightsByAssessmentCommand, } from "../commands/ListControlDomainInsightsByAssessmentCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListControlDomainInsightsByAssessmentCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListControlDomainInsightsByAssessment(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 AuditManagerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
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 paginateListControlDomainInsightsByAssessment = createPaginator(AuditManagerClient, ListControlDomainInsightsByAssessmentCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
2
3
|
import { ListControlDomainInsightsCommand, } from "../commands/ListControlDomainInsightsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListControlDomainInsightsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListControlDomainInsights(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 AuditManagerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
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 paginateListControlDomainInsights = createPaginator(AuditManagerClient, ListControlDomainInsightsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
2
3
|
import { ListControlInsightsByControlDomainCommand, } from "../commands/ListControlInsightsByControlDomainCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListControlInsightsByControlDomainCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListControlInsightsByControlDomain(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 AuditManagerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
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 paginateListControlInsightsByControlDomain = createPaginator(AuditManagerClient, ListControlInsightsByControlDomainCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
2
3
|
import { ListControlsCommand, } from "../commands/ListControlsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListControlsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListControls(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 AuditManagerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
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 paginateListControls = createPaginator(AuditManagerClient, ListControlsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
2
3
|
import { ListKeywordsForDataSourceCommand, } from "../commands/ListKeywordsForDataSourceCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListKeywordsForDataSourceCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListKeywordsForDataSource(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 AuditManagerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
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 paginateListKeywordsForDataSource = createPaginator(AuditManagerClient, ListKeywordsForDataSourceCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AuditManagerClient } from "../AuditManagerClient";
|
|
2
3
|
import { ListNotificationsCommand, } from "../commands/ListNotificationsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListNotificationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListNotifications(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 AuditManagerClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
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 paginateListNotifications = createPaginator(AuditManagerClient, ListNotificationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetChangeLogs: (config: AuditManagerPaginationConfiguration, input: GetChangeLogsCommandInput, ...rest: any[]) => Paginator<GetChangeLogsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetDelegations: (config: AuditManagerPaginationConfiguration, input: GetDelegationsCommandInput, ...rest: any[]) => Paginator<GetDelegationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetEvidenceByEvidenceFolder: (config: AuditManagerPaginationConfiguration, input: GetEvidenceByEvidenceFolderCommandInput, ...rest: any[]) => Paginator<GetEvidenceByEvidenceFolderCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetEvidenceFoldersByAssessmentControl: (config: AuditManagerPaginationConfiguration, input: GetEvidenceFoldersByAssessmentControlCommandInput, ...rest: any[]) => Paginator<GetEvidenceFoldersByAssessmentControlCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetEvidenceFoldersByAssessment: (config: AuditManagerPaginationConfiguration, input: GetEvidenceFoldersByAssessmentCommandInput, ...rest: any[]) => Paginator<GetEvidenceFoldersByAssessmentCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAssessmentControlInsightsByControlDomain: (config: AuditManagerPaginationConfiguration, input: ListAssessmentControlInsightsByControlDomainCommandInput, ...rest: any[]) => Paginator<ListAssessmentControlInsightsByControlDomainCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAssessmentFrameworkShareRequests: (config: AuditManagerPaginationConfiguration, input: ListAssessmentFrameworkShareRequestsCommandInput, ...rest: any[]) => Paginator<ListAssessmentFrameworkShareRequestsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAssessmentFrameworks: (config: AuditManagerPaginationConfiguration, input: ListAssessmentFrameworksCommandInput, ...rest: any[]) => Paginator<ListAssessmentFrameworksCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAssessmentReports: (config: AuditManagerPaginationConfiguration, input: ListAssessmentReportsCommandInput, ...rest: any[]) => Paginator<ListAssessmentReportsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAssessments: (config: AuditManagerPaginationConfiguration, input: ListAssessmentsCommandInput, ...rest: any[]) => Paginator<ListAssessmentsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListControlDomainInsightsByAssessment: (config: AuditManagerPaginationConfiguration, input: ListControlDomainInsightsByAssessmentCommandInput, ...rest: any[]) => Paginator<ListControlDomainInsightsByAssessmentCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListControlDomainInsights: (config: AuditManagerPaginationConfiguration, input: ListControlDomainInsightsCommandInput, ...rest: any[]) => Paginator<ListControlDomainInsightsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListControlInsightsByControlDomain: (config: AuditManagerPaginationConfiguration, input: ListControlInsightsByControlDomainCommandInput, ...rest: any[]) => Paginator<ListControlInsightsByControlDomainCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListControls: (config: AuditManagerPaginationConfiguration, input: ListControlsCommandInput, ...rest: any[]) => Paginator<ListControlsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListKeywordsForDataSource: (config: AuditManagerPaginationConfiguration, input: ListKeywordsForDataSourceCommandInput, ...rest: any[]) => Paginator<ListKeywordsForDataSourceCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListNotifications: (config: AuditManagerPaginationConfiguration, input: ListNotificationsCommandInput, ...rest: any[]) => Paginator<ListNotificationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetChangeLogsCommandOutput,
|
|
5
5
|
} from "../commands/GetChangeLogsCommand";
|
|
6
6
|
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetChangeLogs: (
|
|
8
8
|
config: AuditManagerPaginationConfiguration,
|
|
9
9
|
input: GetChangeLogsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetChangeLogsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetDelegationsCommandOutput,
|
|
5
5
|
} from "../commands/GetDelegationsCommand";
|
|
6
6
|
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetDelegations: (
|
|
8
8
|
config: AuditManagerPaginationConfiguration,
|
|
9
9
|
input: GetDelegationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetDelegationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetEvidenceByEvidenceFolderCommandOutput,
|
|
5
5
|
} from "../commands/GetEvidenceByEvidenceFolderCommand";
|
|
6
6
|
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetEvidenceByEvidenceFolder: (
|
|
8
8
|
config: AuditManagerPaginationConfiguration,
|
|
9
9
|
input: GetEvidenceByEvidenceFolderCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetEvidenceByEvidenceFolderCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetEvidenceFoldersByAssessmentControlCommandOutput,
|
|
5
5
|
} from "../commands/GetEvidenceFoldersByAssessmentControlCommand";
|
|
6
6
|
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetEvidenceFoldersByAssessmentControl: (
|
|
8
8
|
config: AuditManagerPaginationConfiguration,
|
|
9
9
|
input: GetEvidenceFoldersByAssessmentControlCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetEvidenceFoldersByAssessmentControlCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetEvidenceFoldersByAssessmentCommandOutput,
|
|
5
5
|
} from "../commands/GetEvidenceFoldersByAssessmentCommand";
|
|
6
6
|
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetEvidenceFoldersByAssessment: (
|
|
8
8
|
config: AuditManagerPaginationConfiguration,
|
|
9
9
|
input: GetEvidenceFoldersByAssessmentCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetEvidenceFoldersByAssessmentCommandOutput>;
|
package/dist-types/ts3.4/pagination/ListAssessmentControlInsightsByControlDomainPaginator.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListAssessmentControlInsightsByControlDomainCommandOutput,
|
|
5
5
|
} from "../commands/ListAssessmentControlInsightsByControlDomainCommand";
|
|
6
6
|
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAssessmentControlInsightsByControlDomain: (
|
|
8
8
|
config: AuditManagerPaginationConfiguration,
|
|
9
9
|
input: ListAssessmentControlInsightsByControlDomainCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAssessmentControlInsightsByControlDomainCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListAssessmentFrameworkShareRequestsCommandOutput,
|
|
5
5
|
} from "../commands/ListAssessmentFrameworkShareRequestsCommand";
|
|
6
6
|
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAssessmentFrameworkShareRequests: (
|
|
8
8
|
config: AuditManagerPaginationConfiguration,
|
|
9
9
|
input: ListAssessmentFrameworkShareRequestsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAssessmentFrameworkShareRequestsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListAssessmentFrameworksCommandOutput,
|
|
5
5
|
} from "../commands/ListAssessmentFrameworksCommand";
|
|
6
6
|
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAssessmentFrameworks: (
|
|
8
8
|
config: AuditManagerPaginationConfiguration,
|
|
9
9
|
input: ListAssessmentFrameworksCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAssessmentFrameworksCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListAssessmentReportsCommandOutput,
|
|
5
5
|
} from "../commands/ListAssessmentReportsCommand";
|
|
6
6
|
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAssessmentReports: (
|
|
8
8
|
config: AuditManagerPaginationConfiguration,
|
|
9
9
|
input: ListAssessmentReportsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAssessmentReportsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListAssessmentsCommandOutput,
|
|
5
5
|
} from "../commands/ListAssessmentsCommand";
|
|
6
6
|
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAssessments: (
|
|
8
8
|
config: AuditManagerPaginationConfiguration,
|
|
9
9
|
input: ListAssessmentsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAssessmentsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListControlDomainInsightsByAssessmentCommandOutput,
|
|
5
5
|
} from "../commands/ListControlDomainInsightsByAssessmentCommand";
|
|
6
6
|
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListControlDomainInsightsByAssessment: (
|
|
8
8
|
config: AuditManagerPaginationConfiguration,
|
|
9
9
|
input: ListControlDomainInsightsByAssessmentCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListControlDomainInsightsByAssessmentCommandOutput>;
|