@aws-sdk/client-codeguru-security 3.352.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/LICENSE +201 -0
- package/README.md +316 -0
- package/dist-cjs/CodeGuruSecurity.js +37 -0
- package/dist-cjs/CodeGuruSecurityClient.js +41 -0
- package/dist-cjs/commands/BatchGetFindingsCommand.js +46 -0
- package/dist-cjs/commands/CreateScanCommand.js +46 -0
- package/dist-cjs/commands/CreateUploadUrlCommand.js +47 -0
- package/dist-cjs/commands/GetAccountConfigurationCommand.js +46 -0
- package/dist-cjs/commands/GetFindingsCommand.js +46 -0
- package/dist-cjs/commands/GetMetricsSummaryCommand.js +46 -0
- package/dist-cjs/commands/GetScanCommand.js +46 -0
- package/dist-cjs/commands/ListFindingsMetricsCommand.js +46 -0
- package/dist-cjs/commands/ListScansCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateAccountConfigurationCommand.js +46 -0
- package/dist-cjs/commands/index.js +16 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/CodeGuruSecurityServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +156 -0
- package/dist-cjs/pagination/GetFindingsPaginator.js +29 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListFindingsMetricsPaginator.js +29 -0
- package/dist-cjs/pagination/ListScansPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1131 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-es/CodeGuruSecurity.js +33 -0
- package/dist-es/CodeGuruSecurityClient.js +37 -0
- package/dist-es/commands/BatchGetFindingsCommand.js +42 -0
- package/dist-es/commands/CreateScanCommand.js +42 -0
- package/dist-es/commands/CreateUploadUrlCommand.js +43 -0
- package/dist-es/commands/GetAccountConfigurationCommand.js +42 -0
- package/dist-es/commands/GetFindingsCommand.js +42 -0
- package/dist-es/commands/GetMetricsSummaryCommand.js +42 -0
- package/dist-es/commands/GetScanCommand.js +42 -0
- package/dist-es/commands/ListFindingsMetricsCommand.js +42 -0
- package/dist-es/commands/ListScansCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateAccountConfigurationCommand.js +42 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/CodeGuruSecurityServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +146 -0
- package/dist-es/pagination/GetFindingsPaginator.js +25 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListFindingsMetricsPaginator.js +25 -0
- package/dist-es/pagination/ListScansPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1102 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-types/CodeGuruSecurity.d.ts +108 -0
- package/dist-types/CodeGuruSecurityClient.d.ts +182 -0
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +154 -0
- package/dist-types/commands/CreateScanCommand.d.ts +108 -0
- package/dist-types/commands/CreateUploadUrlCommand.d.ts +91 -0
- package/dist-types/commands/GetAccountConfigurationCommand.d.ts +85 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +153 -0
- package/dist-types/commands/GetMetricsSummaryCommand.d.ts +114 -0
- package/dist-types/commands/GetScanCommand.d.ts +93 -0
- package/dist-types/commands/ListFindingsMetricsCommand.d.ts +121 -0
- package/dist-types/commands/ListScansCommand.d.ts +96 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +95 -0
- package/dist-types/commands/TagResourceCommand.d.ts +94 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +94 -0
- package/dist-types/commands/UpdateAccountConfigurationCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/CodeGuruSecurityServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1114 -0
- package/dist-types/pagination/GetFindingsPaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListFindingsMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListScansPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +119 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +18 -0
- package/dist-types/ts3.4/CodeGuruSecurity.d.ts +228 -0
- package/dist-types/ts3.4/CodeGuruSecurityClient.d.ts +193 -0
- package/dist-types/ts3.4/commands/BatchGetFindingsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateScanCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateUploadUrlCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetAccountConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetMetricsSummaryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetScanCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListFindingsMetricsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListScansCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateAccountConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/CodeGuruSecurityServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +340 -0
- package/dist-types/ts3.4/pagination/GetFindingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListFindingsMetricsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListScansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +161 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +20 -0
- package/package.json +101 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateUploadUrlResponseFilterSensitiveLog = exports.ResourceNotFoundException = exports.ScanState = exports.ScanType = exports.ResourceId = exports.ConflictException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.InternalServerException = exports.Status = exports.Severity = exports.ErrorCode = exports.AnalysisType = exports.AccessDeniedException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
const CodeGuruSecurityServiceException_1 = require("./CodeGuruSecurityServiceException");
|
|
6
|
+
class AccessDeniedException extends CodeGuruSecurityServiceException_1.CodeGuruSecurityServiceException {
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
this.name = "AccessDeniedException";
|
|
14
|
+
this.$fault = "client";
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
this.errorCode = opts.errorCode;
|
|
17
|
+
this.resourceId = opts.resourceId;
|
|
18
|
+
this.resourceType = opts.resourceType;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
22
|
+
exports.AnalysisType = {
|
|
23
|
+
ALL: "All",
|
|
24
|
+
SECURITY: "Security",
|
|
25
|
+
};
|
|
26
|
+
exports.ErrorCode = {
|
|
27
|
+
DUPLICATE_IDENTIFIER: "DUPLICATE_IDENTIFIER",
|
|
28
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
29
|
+
INVALID_FINDING_ID: "INVALID_FINDING_ID",
|
|
30
|
+
INVALID_SCAN_NAME: "INVALID_SCAN_NAME",
|
|
31
|
+
ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST",
|
|
32
|
+
};
|
|
33
|
+
exports.Severity = {
|
|
34
|
+
CRITICAL: "Critical",
|
|
35
|
+
HIGH: "High",
|
|
36
|
+
INFO: "Info",
|
|
37
|
+
LOW: "Low",
|
|
38
|
+
MEDIUM: "Medium",
|
|
39
|
+
};
|
|
40
|
+
exports.Status = {
|
|
41
|
+
ALL: "All",
|
|
42
|
+
CLOSED: "Closed",
|
|
43
|
+
OPEN: "Open",
|
|
44
|
+
};
|
|
45
|
+
class InternalServerException extends CodeGuruSecurityServiceException_1.CodeGuruSecurityServiceException {
|
|
46
|
+
constructor(opts) {
|
|
47
|
+
super({
|
|
48
|
+
name: "InternalServerException",
|
|
49
|
+
$fault: "server",
|
|
50
|
+
...opts,
|
|
51
|
+
});
|
|
52
|
+
this.name = "InternalServerException";
|
|
53
|
+
this.$fault = "server";
|
|
54
|
+
this.$retryable = {};
|
|
55
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
56
|
+
this.error = opts.error;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.InternalServerException = InternalServerException;
|
|
60
|
+
class ThrottlingException extends CodeGuruSecurityServiceException_1.CodeGuruSecurityServiceException {
|
|
61
|
+
constructor(opts) {
|
|
62
|
+
super({
|
|
63
|
+
name: "ThrottlingException",
|
|
64
|
+
$fault: "client",
|
|
65
|
+
...opts,
|
|
66
|
+
});
|
|
67
|
+
this.name = "ThrottlingException";
|
|
68
|
+
this.$fault = "client";
|
|
69
|
+
this.$retryable = {
|
|
70
|
+
throttling: true,
|
|
71
|
+
};
|
|
72
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
73
|
+
this.errorCode = opts.errorCode;
|
|
74
|
+
this.serviceCode = opts.serviceCode;
|
|
75
|
+
this.quotaCode = opts.quotaCode;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.ThrottlingException = ThrottlingException;
|
|
79
|
+
exports.ValidationExceptionReason = {
|
|
80
|
+
CANNOT_PARSE: "cannotParse",
|
|
81
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
82
|
+
LAMBDA_CODE_SHA_MISMATCH: "lambdaCodeShaMisMatch",
|
|
83
|
+
OTHER: "other",
|
|
84
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
85
|
+
};
|
|
86
|
+
class ValidationException extends CodeGuruSecurityServiceException_1.CodeGuruSecurityServiceException {
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ValidationException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
this.name = "ValidationException";
|
|
94
|
+
this.$fault = "client";
|
|
95
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
96
|
+
this.errorCode = opts.errorCode;
|
|
97
|
+
this.reason = opts.reason;
|
|
98
|
+
this.fieldList = opts.fieldList;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.ValidationException = ValidationException;
|
|
102
|
+
class ConflictException extends CodeGuruSecurityServiceException_1.CodeGuruSecurityServiceException {
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "ConflictException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
this.name = "ConflictException";
|
|
110
|
+
this.$fault = "client";
|
|
111
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
112
|
+
this.errorCode = opts.errorCode;
|
|
113
|
+
this.resourceId = opts.resourceId;
|
|
114
|
+
this.resourceType = opts.resourceType;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.ConflictException = ConflictException;
|
|
118
|
+
var ResourceId;
|
|
119
|
+
(function (ResourceId) {
|
|
120
|
+
ResourceId.visit = (value, visitor) => {
|
|
121
|
+
if (value.codeArtifactId !== undefined)
|
|
122
|
+
return visitor.codeArtifactId(value.codeArtifactId);
|
|
123
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
124
|
+
};
|
|
125
|
+
})(ResourceId = exports.ResourceId || (exports.ResourceId = {}));
|
|
126
|
+
exports.ScanType = {
|
|
127
|
+
EXPRESS: "Express",
|
|
128
|
+
STANDARD: "Standard",
|
|
129
|
+
};
|
|
130
|
+
exports.ScanState = {
|
|
131
|
+
FAILED: "Failed",
|
|
132
|
+
IN_PROGRESS: "InProgress",
|
|
133
|
+
SUCCESSFUL: "Successful",
|
|
134
|
+
};
|
|
135
|
+
class ResourceNotFoundException extends CodeGuruSecurityServiceException_1.CodeGuruSecurityServiceException {
|
|
136
|
+
constructor(opts) {
|
|
137
|
+
super({
|
|
138
|
+
name: "ResourceNotFoundException",
|
|
139
|
+
$fault: "client",
|
|
140
|
+
...opts,
|
|
141
|
+
});
|
|
142
|
+
this.name = "ResourceNotFoundException";
|
|
143
|
+
this.$fault = "client";
|
|
144
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
145
|
+
this.errorCode = opts.errorCode;
|
|
146
|
+
this.resourceId = opts.resourceId;
|
|
147
|
+
this.resourceType = opts.resourceType;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
151
|
+
const CreateUploadUrlResponseFilterSensitiveLog = (obj) => ({
|
|
152
|
+
...obj,
|
|
153
|
+
...(obj.s3Url && { s3Url: smithy_client_1.SENSITIVE_STRING }),
|
|
154
|
+
...(obj.requestHeaders && { requestHeaders: smithy_client_1.SENSITIVE_STRING }),
|
|
155
|
+
});
|
|
156
|
+
exports.CreateUploadUrlResponseFilterSensitiveLog = CreateUploadUrlResponseFilterSensitiveLog;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateGetFindings = void 0;
|
|
4
|
+
const CodeGuruSecurityClient_1 = require("../CodeGuruSecurityClient");
|
|
5
|
+
const GetFindingsCommand_1 = require("../commands/GetFindingsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new GetFindingsCommand_1.GetFindingsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateGetFindings(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 CodeGuruSecurityClient_1.CodeGuruSecurityClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected CodeGuruSecurity | CodeGuruSecurityClient");
|
|
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.paginateGetFindings = paginateGetFindings;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListFindingsMetrics = void 0;
|
|
4
|
+
const CodeGuruSecurityClient_1 = require("../CodeGuruSecurityClient");
|
|
5
|
+
const ListFindingsMetricsCommand_1 = require("../commands/ListFindingsMetricsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListFindingsMetricsCommand_1.ListFindingsMetricsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListFindingsMetrics(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 CodeGuruSecurityClient_1.CodeGuruSecurityClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected CodeGuruSecurity | CodeGuruSecurityClient");
|
|
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.paginateListFindingsMetrics = paginateListFindingsMetrics;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListScans = void 0;
|
|
4
|
+
const CodeGuruSecurityClient_1 = require("../CodeGuruSecurityClient");
|
|
5
|
+
const ListScansCommand_1 = require("../commands/ListScansCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListScansCommand_1.ListScansCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListScans(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 CodeGuruSecurityClient_1.CodeGuruSecurityClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected CodeGuruSecurity | CodeGuruSecurityClient");
|
|
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.paginateListScans = paginateListScans;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./GetFindingsPaginator"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListFindingsMetricsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListScansPaginator"), exports);
|