@aws-sdk/client-inspector2 3.929.0 → 3.931.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/index.js +0 -110
- package/dist-es/models/models_0.js +0 -100
- package/dist-es/models/models_1.js +0 -10
- package/dist-types/models/models_0.d.ts +24 -6
- package/dist-types/models/models_1.d.ts +4 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -6
- package/dist-types/ts3.4/models/models_1.d.ts +0 -1
- package/package.json +33 -33
package/dist-cjs/index.js
CHANGED
|
@@ -246,66 +246,6 @@ const TitleSortBy = {
|
|
|
246
246
|
CRITICAL: "CRITICAL",
|
|
247
247
|
HIGH: "HIGH",
|
|
248
248
|
};
|
|
249
|
-
exports.AggregationRequest = void 0;
|
|
250
|
-
(function (AggregationRequest) {
|
|
251
|
-
AggregationRequest.visit = (value, visitor) => {
|
|
252
|
-
if (value.accountAggregation !== undefined)
|
|
253
|
-
return visitor.accountAggregation(value.accountAggregation);
|
|
254
|
-
if (value.amiAggregation !== undefined)
|
|
255
|
-
return visitor.amiAggregation(value.amiAggregation);
|
|
256
|
-
if (value.awsEcrContainerAggregation !== undefined)
|
|
257
|
-
return visitor.awsEcrContainerAggregation(value.awsEcrContainerAggregation);
|
|
258
|
-
if (value.ec2InstanceAggregation !== undefined)
|
|
259
|
-
return visitor.ec2InstanceAggregation(value.ec2InstanceAggregation);
|
|
260
|
-
if (value.findingTypeAggregation !== undefined)
|
|
261
|
-
return visitor.findingTypeAggregation(value.findingTypeAggregation);
|
|
262
|
-
if (value.imageLayerAggregation !== undefined)
|
|
263
|
-
return visitor.imageLayerAggregation(value.imageLayerAggregation);
|
|
264
|
-
if (value.packageAggregation !== undefined)
|
|
265
|
-
return visitor.packageAggregation(value.packageAggregation);
|
|
266
|
-
if (value.repositoryAggregation !== undefined)
|
|
267
|
-
return visitor.repositoryAggregation(value.repositoryAggregation);
|
|
268
|
-
if (value.titleAggregation !== undefined)
|
|
269
|
-
return visitor.titleAggregation(value.titleAggregation);
|
|
270
|
-
if (value.lambdaLayerAggregation !== undefined)
|
|
271
|
-
return visitor.lambdaLayerAggregation(value.lambdaLayerAggregation);
|
|
272
|
-
if (value.lambdaFunctionAggregation !== undefined)
|
|
273
|
-
return visitor.lambdaFunctionAggregation(value.lambdaFunctionAggregation);
|
|
274
|
-
if (value.codeRepositoryAggregation !== undefined)
|
|
275
|
-
return visitor.codeRepositoryAggregation(value.codeRepositoryAggregation);
|
|
276
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
277
|
-
};
|
|
278
|
-
})(exports.AggregationRequest || (exports.AggregationRequest = {}));
|
|
279
|
-
exports.AggregationResponse = void 0;
|
|
280
|
-
(function (AggregationResponse) {
|
|
281
|
-
AggregationResponse.visit = (value, visitor) => {
|
|
282
|
-
if (value.accountAggregation !== undefined)
|
|
283
|
-
return visitor.accountAggregation(value.accountAggregation);
|
|
284
|
-
if (value.amiAggregation !== undefined)
|
|
285
|
-
return visitor.amiAggregation(value.amiAggregation);
|
|
286
|
-
if (value.awsEcrContainerAggregation !== undefined)
|
|
287
|
-
return visitor.awsEcrContainerAggregation(value.awsEcrContainerAggregation);
|
|
288
|
-
if (value.ec2InstanceAggregation !== undefined)
|
|
289
|
-
return visitor.ec2InstanceAggregation(value.ec2InstanceAggregation);
|
|
290
|
-
if (value.findingTypeAggregation !== undefined)
|
|
291
|
-
return visitor.findingTypeAggregation(value.findingTypeAggregation);
|
|
292
|
-
if (value.imageLayerAggregation !== undefined)
|
|
293
|
-
return visitor.imageLayerAggregation(value.imageLayerAggregation);
|
|
294
|
-
if (value.packageAggregation !== undefined)
|
|
295
|
-
return visitor.packageAggregation(value.packageAggregation);
|
|
296
|
-
if (value.repositoryAggregation !== undefined)
|
|
297
|
-
return visitor.repositoryAggregation(value.repositoryAggregation);
|
|
298
|
-
if (value.titleAggregation !== undefined)
|
|
299
|
-
return visitor.titleAggregation(value.titleAggregation);
|
|
300
|
-
if (value.lambdaLayerAggregation !== undefined)
|
|
301
|
-
return visitor.lambdaLayerAggregation(value.lambdaLayerAggregation);
|
|
302
|
-
if (value.lambdaFunctionAggregation !== undefined)
|
|
303
|
-
return visitor.lambdaFunctionAggregation(value.lambdaFunctionAggregation);
|
|
304
|
-
if (value.codeRepositoryAggregation !== undefined)
|
|
305
|
-
return visitor.codeRepositoryAggregation(value.codeRepositoryAggregation);
|
|
306
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
307
|
-
};
|
|
308
|
-
})(exports.AggregationResponse || (exports.AggregationResponse = {}));
|
|
309
249
|
const AggregationType = {
|
|
310
250
|
ACCOUNT: "ACCOUNT",
|
|
311
251
|
AMI: "AMI",
|
|
@@ -324,14 +264,6 @@ const Architecture = {
|
|
|
324
264
|
ARM64: "ARM64",
|
|
325
265
|
X86_64: "X86_64",
|
|
326
266
|
};
|
|
327
|
-
exports.CodeSecurityResource = void 0;
|
|
328
|
-
(function (CodeSecurityResource) {
|
|
329
|
-
CodeSecurityResource.visit = (value, visitor) => {
|
|
330
|
-
if (value.projectId !== undefined)
|
|
331
|
-
return visitor.projectId(value.projectId);
|
|
332
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
333
|
-
};
|
|
334
|
-
})(exports.CodeSecurityResource || (exports.CodeSecurityResource = {}));
|
|
335
267
|
let InternalServerException$1 = class InternalServerException extends Inspector2ServiceException$1 {
|
|
336
268
|
name = "InternalServerException";
|
|
337
269
|
$fault = "server";
|
|
@@ -560,20 +492,6 @@ const Day = {
|
|
|
560
492
|
TUE: "TUE",
|
|
561
493
|
WED: "WED",
|
|
562
494
|
};
|
|
563
|
-
exports.Schedule = void 0;
|
|
564
|
-
(function (Schedule) {
|
|
565
|
-
Schedule.visit = (value, visitor) => {
|
|
566
|
-
if (value.oneTime !== undefined)
|
|
567
|
-
return visitor.oneTime(value.oneTime);
|
|
568
|
-
if (value.daily !== undefined)
|
|
569
|
-
return visitor.daily(value.daily);
|
|
570
|
-
if (value.weekly !== undefined)
|
|
571
|
-
return visitor.weekly(value.weekly);
|
|
572
|
-
if (value.monthly !== undefined)
|
|
573
|
-
return visitor.monthly(value.monthly);
|
|
574
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
575
|
-
};
|
|
576
|
-
})(exports.Schedule || (exports.Schedule = {}));
|
|
577
495
|
const CisScanConfigurationsSortBy = {
|
|
578
496
|
SCAN_CONFIGURATION_ARN: "SCAN_CONFIGURATION_ARN",
|
|
579
497
|
SCAN_NAME: "SCAN_NAME",
|
|
@@ -623,16 +541,6 @@ const CisSortOrder = {
|
|
|
623
541
|
ASC: "ASC",
|
|
624
542
|
DESC: "DESC",
|
|
625
543
|
};
|
|
626
|
-
exports.ClusterMetadata = void 0;
|
|
627
|
-
(function (ClusterMetadata) {
|
|
628
|
-
ClusterMetadata.visit = (value, visitor) => {
|
|
629
|
-
if (value.awsEcsMetadataDetails !== undefined)
|
|
630
|
-
return visitor.awsEcsMetadataDetails(value.awsEcsMetadataDetails);
|
|
631
|
-
if (value.awsEksMetadataDetails !== undefined)
|
|
632
|
-
return visitor.awsEksMetadataDetails(value.awsEksMetadataDetails);
|
|
633
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
634
|
-
};
|
|
635
|
-
})(exports.ClusterMetadata || (exports.ClusterMetadata = {}));
|
|
636
544
|
const CodeRepositoryProviderType = {
|
|
637
545
|
GITHUB: "GITHUB",
|
|
638
546
|
GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED",
|
|
@@ -754,14 +662,6 @@ const ScanType = {
|
|
|
754
662
|
NETWORK: "NETWORK",
|
|
755
663
|
PACKAGE: "PACKAGE",
|
|
756
664
|
};
|
|
757
|
-
exports.CreateIntegrationDetail = void 0;
|
|
758
|
-
(function (CreateIntegrationDetail) {
|
|
759
|
-
CreateIntegrationDetail.visit = (value, visitor) => {
|
|
760
|
-
if (value.gitlabSelfManaged !== undefined)
|
|
761
|
-
return visitor.gitlabSelfManaged(value.gitlabSelfManaged);
|
|
762
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
763
|
-
};
|
|
764
|
-
})(exports.CreateIntegrationDetail || (exports.CreateIntegrationDetail = {}));
|
|
765
665
|
const FilterAction = {
|
|
766
666
|
NONE: "NONE",
|
|
767
667
|
SUPPRESS: "SUPPRESS",
|
|
@@ -974,16 +874,6 @@ const StopCisSessionStatus = {
|
|
|
974
874
|
SUCCESS: "SUCCESS",
|
|
975
875
|
UNSUPPORTED_OS: "UNSUPPORTED_OS",
|
|
976
876
|
};
|
|
977
|
-
exports.UpdateIntegrationDetails = void 0;
|
|
978
|
-
(function (UpdateIntegrationDetails) {
|
|
979
|
-
UpdateIntegrationDetails.visit = (value, visitor) => {
|
|
980
|
-
if (value.gitlabSelfManaged !== undefined)
|
|
981
|
-
return visitor.gitlabSelfManaged(value.gitlabSelfManaged);
|
|
982
|
-
if (value.github !== undefined)
|
|
983
|
-
return visitor.github(value.github);
|
|
984
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
985
|
-
};
|
|
986
|
-
})(exports.UpdateIntegrationDetails || (exports.UpdateIntegrationDetails = {}));
|
|
987
877
|
|
|
988
878
|
const _A = "Account";
|
|
989
879
|
const _AA = "AccountAggregation";
|
|
@@ -128,66 +128,6 @@ export const TitleSortBy = {
|
|
|
128
128
|
CRITICAL: "CRITICAL",
|
|
129
129
|
HIGH: "HIGH",
|
|
130
130
|
};
|
|
131
|
-
export var AggregationRequest;
|
|
132
|
-
(function (AggregationRequest) {
|
|
133
|
-
AggregationRequest.visit = (value, visitor) => {
|
|
134
|
-
if (value.accountAggregation !== undefined)
|
|
135
|
-
return visitor.accountAggregation(value.accountAggregation);
|
|
136
|
-
if (value.amiAggregation !== undefined)
|
|
137
|
-
return visitor.amiAggregation(value.amiAggregation);
|
|
138
|
-
if (value.awsEcrContainerAggregation !== undefined)
|
|
139
|
-
return visitor.awsEcrContainerAggregation(value.awsEcrContainerAggregation);
|
|
140
|
-
if (value.ec2InstanceAggregation !== undefined)
|
|
141
|
-
return visitor.ec2InstanceAggregation(value.ec2InstanceAggregation);
|
|
142
|
-
if (value.findingTypeAggregation !== undefined)
|
|
143
|
-
return visitor.findingTypeAggregation(value.findingTypeAggregation);
|
|
144
|
-
if (value.imageLayerAggregation !== undefined)
|
|
145
|
-
return visitor.imageLayerAggregation(value.imageLayerAggregation);
|
|
146
|
-
if (value.packageAggregation !== undefined)
|
|
147
|
-
return visitor.packageAggregation(value.packageAggregation);
|
|
148
|
-
if (value.repositoryAggregation !== undefined)
|
|
149
|
-
return visitor.repositoryAggregation(value.repositoryAggregation);
|
|
150
|
-
if (value.titleAggregation !== undefined)
|
|
151
|
-
return visitor.titleAggregation(value.titleAggregation);
|
|
152
|
-
if (value.lambdaLayerAggregation !== undefined)
|
|
153
|
-
return visitor.lambdaLayerAggregation(value.lambdaLayerAggregation);
|
|
154
|
-
if (value.lambdaFunctionAggregation !== undefined)
|
|
155
|
-
return visitor.lambdaFunctionAggregation(value.lambdaFunctionAggregation);
|
|
156
|
-
if (value.codeRepositoryAggregation !== undefined)
|
|
157
|
-
return visitor.codeRepositoryAggregation(value.codeRepositoryAggregation);
|
|
158
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
159
|
-
};
|
|
160
|
-
})(AggregationRequest || (AggregationRequest = {}));
|
|
161
|
-
export var AggregationResponse;
|
|
162
|
-
(function (AggregationResponse) {
|
|
163
|
-
AggregationResponse.visit = (value, visitor) => {
|
|
164
|
-
if (value.accountAggregation !== undefined)
|
|
165
|
-
return visitor.accountAggregation(value.accountAggregation);
|
|
166
|
-
if (value.amiAggregation !== undefined)
|
|
167
|
-
return visitor.amiAggregation(value.amiAggregation);
|
|
168
|
-
if (value.awsEcrContainerAggregation !== undefined)
|
|
169
|
-
return visitor.awsEcrContainerAggregation(value.awsEcrContainerAggregation);
|
|
170
|
-
if (value.ec2InstanceAggregation !== undefined)
|
|
171
|
-
return visitor.ec2InstanceAggregation(value.ec2InstanceAggregation);
|
|
172
|
-
if (value.findingTypeAggregation !== undefined)
|
|
173
|
-
return visitor.findingTypeAggregation(value.findingTypeAggregation);
|
|
174
|
-
if (value.imageLayerAggregation !== undefined)
|
|
175
|
-
return visitor.imageLayerAggregation(value.imageLayerAggregation);
|
|
176
|
-
if (value.packageAggregation !== undefined)
|
|
177
|
-
return visitor.packageAggregation(value.packageAggregation);
|
|
178
|
-
if (value.repositoryAggregation !== undefined)
|
|
179
|
-
return visitor.repositoryAggregation(value.repositoryAggregation);
|
|
180
|
-
if (value.titleAggregation !== undefined)
|
|
181
|
-
return visitor.titleAggregation(value.titleAggregation);
|
|
182
|
-
if (value.lambdaLayerAggregation !== undefined)
|
|
183
|
-
return visitor.lambdaLayerAggregation(value.lambdaLayerAggregation);
|
|
184
|
-
if (value.lambdaFunctionAggregation !== undefined)
|
|
185
|
-
return visitor.lambdaFunctionAggregation(value.lambdaFunctionAggregation);
|
|
186
|
-
if (value.codeRepositoryAggregation !== undefined)
|
|
187
|
-
return visitor.codeRepositoryAggregation(value.codeRepositoryAggregation);
|
|
188
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
189
|
-
};
|
|
190
|
-
})(AggregationResponse || (AggregationResponse = {}));
|
|
191
131
|
export const AggregationType = {
|
|
192
132
|
ACCOUNT: "ACCOUNT",
|
|
193
133
|
AMI: "AMI",
|
|
@@ -206,14 +146,6 @@ export const Architecture = {
|
|
|
206
146
|
ARM64: "ARM64",
|
|
207
147
|
X86_64: "X86_64",
|
|
208
148
|
};
|
|
209
|
-
export var CodeSecurityResource;
|
|
210
|
-
(function (CodeSecurityResource) {
|
|
211
|
-
CodeSecurityResource.visit = (value, visitor) => {
|
|
212
|
-
if (value.projectId !== undefined)
|
|
213
|
-
return visitor.projectId(value.projectId);
|
|
214
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
215
|
-
};
|
|
216
|
-
})(CodeSecurityResource || (CodeSecurityResource = {}));
|
|
217
149
|
export class InternalServerException extends __BaseException {
|
|
218
150
|
name = "InternalServerException";
|
|
219
151
|
$fault = "server";
|
|
@@ -442,20 +374,6 @@ export const Day = {
|
|
|
442
374
|
TUE: "TUE",
|
|
443
375
|
WED: "WED",
|
|
444
376
|
};
|
|
445
|
-
export var Schedule;
|
|
446
|
-
(function (Schedule) {
|
|
447
|
-
Schedule.visit = (value, visitor) => {
|
|
448
|
-
if (value.oneTime !== undefined)
|
|
449
|
-
return visitor.oneTime(value.oneTime);
|
|
450
|
-
if (value.daily !== undefined)
|
|
451
|
-
return visitor.daily(value.daily);
|
|
452
|
-
if (value.weekly !== undefined)
|
|
453
|
-
return visitor.weekly(value.weekly);
|
|
454
|
-
if (value.monthly !== undefined)
|
|
455
|
-
return visitor.monthly(value.monthly);
|
|
456
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
457
|
-
};
|
|
458
|
-
})(Schedule || (Schedule = {}));
|
|
459
377
|
export const CisScanConfigurationsSortBy = {
|
|
460
378
|
SCAN_CONFIGURATION_ARN: "SCAN_CONFIGURATION_ARN",
|
|
461
379
|
SCAN_NAME: "SCAN_NAME",
|
|
@@ -505,16 +423,6 @@ export const CisSortOrder = {
|
|
|
505
423
|
ASC: "ASC",
|
|
506
424
|
DESC: "DESC",
|
|
507
425
|
};
|
|
508
|
-
export var ClusterMetadata;
|
|
509
|
-
(function (ClusterMetadata) {
|
|
510
|
-
ClusterMetadata.visit = (value, visitor) => {
|
|
511
|
-
if (value.awsEcsMetadataDetails !== undefined)
|
|
512
|
-
return visitor.awsEcsMetadataDetails(value.awsEcsMetadataDetails);
|
|
513
|
-
if (value.awsEksMetadataDetails !== undefined)
|
|
514
|
-
return visitor.awsEksMetadataDetails(value.awsEksMetadataDetails);
|
|
515
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
516
|
-
};
|
|
517
|
-
})(ClusterMetadata || (ClusterMetadata = {}));
|
|
518
426
|
export const CodeRepositoryProviderType = {
|
|
519
427
|
GITHUB: "GITHUB",
|
|
520
428
|
GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED",
|
|
@@ -636,14 +544,6 @@ export const ScanType = {
|
|
|
636
544
|
NETWORK: "NETWORK",
|
|
637
545
|
PACKAGE: "PACKAGE",
|
|
638
546
|
};
|
|
639
|
-
export var CreateIntegrationDetail;
|
|
640
|
-
(function (CreateIntegrationDetail) {
|
|
641
|
-
CreateIntegrationDetail.visit = (value, visitor) => {
|
|
642
|
-
if (value.gitlabSelfManaged !== undefined)
|
|
643
|
-
return visitor.gitlabSelfManaged(value.gitlabSelfManaged);
|
|
644
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
645
|
-
};
|
|
646
|
-
})(CreateIntegrationDetail || (CreateIntegrationDetail = {}));
|
|
647
547
|
export const FilterAction = {
|
|
648
548
|
NONE: "NONE",
|
|
649
549
|
SUPPRESS: "SUPPRESS",
|
|
@@ -130,13 +130,3 @@ export const StopCisSessionStatus = {
|
|
|
130
130
|
SUCCESS: "SUCCESS",
|
|
131
131
|
UNSUPPORTED_OS: "UNSUPPORTED_OS",
|
|
132
132
|
};
|
|
133
|
-
export var UpdateIntegrationDetails;
|
|
134
|
-
(function (UpdateIntegrationDetails) {
|
|
135
|
-
UpdateIntegrationDetails.visit = (value, visitor) => {
|
|
136
|
-
if (value.gitlabSelfManaged !== undefined)
|
|
137
|
-
return visitor.gitlabSelfManaged(value.gitlabSelfManaged);
|
|
138
|
-
if (value.github !== undefined)
|
|
139
|
-
return visitor.github(value.github);
|
|
140
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
141
|
-
};
|
|
142
|
-
})(UpdateIntegrationDetails || (UpdateIntegrationDetails = {}));
|
|
@@ -1196,6 +1196,10 @@ export declare namespace AggregationRequest {
|
|
|
1196
1196
|
codeRepositoryAggregation?: never;
|
|
1197
1197
|
$unknown: [string, any];
|
|
1198
1198
|
}
|
|
1199
|
+
/**
|
|
1200
|
+
* @deprecated unused in schema-serde mode.
|
|
1201
|
+
*
|
|
1202
|
+
*/
|
|
1199
1203
|
interface Visitor<T> {
|
|
1200
1204
|
accountAggregation: (value: AccountAggregation) => T;
|
|
1201
1205
|
amiAggregation: (value: AmiAggregation) => T;
|
|
@@ -1211,7 +1215,6 @@ export declare namespace AggregationRequest {
|
|
|
1211
1215
|
codeRepositoryAggregation: (value: CodeRepositoryAggregation) => T;
|
|
1212
1216
|
_: (name: string, value: any) => T;
|
|
1213
1217
|
}
|
|
1214
|
-
const visit: <T>(value: AggregationRequest, visitor: Visitor<T>) => T;
|
|
1215
1218
|
}
|
|
1216
1219
|
/**
|
|
1217
1220
|
* <p>A response that contains the results of a finding aggregation by AMI.</p>
|
|
@@ -1848,6 +1851,10 @@ export declare namespace AggregationResponse {
|
|
|
1848
1851
|
codeRepositoryAggregation?: never;
|
|
1849
1852
|
$unknown: [string, any];
|
|
1850
1853
|
}
|
|
1854
|
+
/**
|
|
1855
|
+
* @deprecated unused in schema-serde mode.
|
|
1856
|
+
*
|
|
1857
|
+
*/
|
|
1851
1858
|
interface Visitor<T> {
|
|
1852
1859
|
accountAggregation: (value: AccountAggregationResponse) => T;
|
|
1853
1860
|
amiAggregation: (value: AmiAggregationResponse) => T;
|
|
@@ -1863,7 +1870,6 @@ export declare namespace AggregationResponse {
|
|
|
1863
1870
|
codeRepositoryAggregation: (value: CodeRepositoryAggregationResponse) => T;
|
|
1864
1871
|
_: (name: string, value: any) => T;
|
|
1865
1872
|
}
|
|
1866
|
-
const visit: <T>(value: AggregationResponse, visitor: Visitor<T>) => T;
|
|
1867
1873
|
}
|
|
1868
1874
|
/**
|
|
1869
1875
|
* @public
|
|
@@ -1923,11 +1929,14 @@ export declare namespace CodeSecurityResource {
|
|
|
1923
1929
|
projectId?: never;
|
|
1924
1930
|
$unknown: [string, any];
|
|
1925
1931
|
}
|
|
1932
|
+
/**
|
|
1933
|
+
* @deprecated unused in schema-serde mode.
|
|
1934
|
+
*
|
|
1935
|
+
*/
|
|
1926
1936
|
interface Visitor<T> {
|
|
1927
1937
|
projectId: (value: string) => T;
|
|
1928
1938
|
_: (name: string, value: any) => T;
|
|
1929
1939
|
}
|
|
1930
|
-
const visit: <T>(value: CodeSecurityResource, visitor: Visitor<T>) => T;
|
|
1931
1940
|
}
|
|
1932
1941
|
/**
|
|
1933
1942
|
* <p>Contains details about a request to associate a code repository with a scan
|
|
@@ -3745,6 +3754,10 @@ export declare namespace Schedule {
|
|
|
3745
3754
|
monthly?: never;
|
|
3746
3755
|
$unknown: [string, any];
|
|
3747
3756
|
}
|
|
3757
|
+
/**
|
|
3758
|
+
* @deprecated unused in schema-serde mode.
|
|
3759
|
+
*
|
|
3760
|
+
*/
|
|
3748
3761
|
interface Visitor<T> {
|
|
3749
3762
|
oneTime: (value: OneTimeSchedule) => T;
|
|
3750
3763
|
daily: (value: DailySchedule) => T;
|
|
@@ -3752,7 +3765,6 @@ export declare namespace Schedule {
|
|
|
3752
3765
|
monthly: (value: MonthlySchedule) => T;
|
|
3753
3766
|
_: (name: string, value: any) => T;
|
|
3754
3767
|
}
|
|
3755
|
-
const visit: <T>(value: Schedule, visitor: Visitor<T>) => T;
|
|
3756
3768
|
}
|
|
3757
3769
|
/**
|
|
3758
3770
|
* <p>The CIS scan configuration.</p>
|
|
@@ -4305,12 +4317,15 @@ export declare namespace ClusterMetadata {
|
|
|
4305
4317
|
awsEksMetadataDetails?: never;
|
|
4306
4318
|
$unknown: [string, any];
|
|
4307
4319
|
}
|
|
4320
|
+
/**
|
|
4321
|
+
* @deprecated unused in schema-serde mode.
|
|
4322
|
+
*
|
|
4323
|
+
*/
|
|
4308
4324
|
interface Visitor<T> {
|
|
4309
4325
|
awsEcsMetadataDetails: (value: AwsEcsMetadataDetails) => T;
|
|
4310
4326
|
awsEksMetadataDetails: (value: AwsEksMetadataDetails) => T;
|
|
4311
4327
|
_: (name: string, value: any) => T;
|
|
4312
4328
|
}
|
|
4313
|
-
const visit: <T>(value: ClusterMetadata, visitor: Visitor<T>) => T;
|
|
4314
4329
|
}
|
|
4315
4330
|
/**
|
|
4316
4331
|
* <p>Details about the task or pod in the cluster.</p>
|
|
@@ -5651,11 +5666,14 @@ export declare namespace CreateIntegrationDetail {
|
|
|
5651
5666
|
gitlabSelfManaged?: never;
|
|
5652
5667
|
$unknown: [string, any];
|
|
5653
5668
|
}
|
|
5669
|
+
/**
|
|
5670
|
+
* @deprecated unused in schema-serde mode.
|
|
5671
|
+
*
|
|
5672
|
+
*/
|
|
5654
5673
|
interface Visitor<T> {
|
|
5655
5674
|
gitlabSelfManaged: (value: CreateGitLabSelfManagedIntegrationDetail) => T;
|
|
5656
5675
|
_: (name: string, value: any) => T;
|
|
5657
5676
|
}
|
|
5658
|
-
const visit: <T>(value: CreateIntegrationDetail, visitor: Visitor<T>) => T;
|
|
5659
5677
|
}
|
|
5660
5678
|
/**
|
|
5661
5679
|
* @public
|
|
@@ -2793,12 +2793,15 @@ export declare namespace UpdateIntegrationDetails {
|
|
|
2793
2793
|
github?: never;
|
|
2794
2794
|
$unknown: [string, any];
|
|
2795
2795
|
}
|
|
2796
|
+
/**
|
|
2797
|
+
* @deprecated unused in schema-serde mode.
|
|
2798
|
+
*
|
|
2799
|
+
*/
|
|
2796
2800
|
interface Visitor<T> {
|
|
2797
2801
|
gitlabSelfManaged: (value: UpdateGitLabSelfManagedIntegrationDetail) => T;
|
|
2798
2802
|
github: (value: UpdateGitHubIntegrationDetail) => T;
|
|
2799
2803
|
_: (name: string, value: any) => T;
|
|
2800
2804
|
}
|
|
2801
|
-
const visit: <T>(value: UpdateIntegrationDetails, visitor: Visitor<T>) => T;
|
|
2802
2805
|
}
|
|
2803
2806
|
/**
|
|
2804
2807
|
* @public
|
|
@@ -526,7 +526,6 @@ export declare namespace AggregationRequest {
|
|
|
526
526
|
codeRepositoryAggregation: (value: CodeRepositoryAggregation) => T;
|
|
527
527
|
_: (name: string, value: any) => T;
|
|
528
528
|
}
|
|
529
|
-
const visit: <T>(value: AggregationRequest, visitor: Visitor<T>) => T;
|
|
530
529
|
}
|
|
531
530
|
export interface AmiAggregationResponse {
|
|
532
531
|
ami: string | undefined;
|
|
@@ -836,7 +835,6 @@ export declare namespace AggregationResponse {
|
|
|
836
835
|
codeRepositoryAggregation: (value: CodeRepositoryAggregationResponse) => T;
|
|
837
836
|
_: (name: string, value: any) => T;
|
|
838
837
|
}
|
|
839
|
-
const visit: <T>(value: AggregationResponse, visitor: Visitor<T>) => T;
|
|
840
838
|
}
|
|
841
839
|
export declare const AggregationType: {
|
|
842
840
|
readonly ACCOUNT: "ACCOUNT";
|
|
@@ -875,7 +873,6 @@ export declare namespace CodeSecurityResource {
|
|
|
875
873
|
projectId: (value: string) => T;
|
|
876
874
|
_: (name: string, value: any) => T;
|
|
877
875
|
}
|
|
878
|
-
const visit: <T>(value: CodeSecurityResource, visitor: Visitor<T>) => T;
|
|
879
876
|
}
|
|
880
877
|
export interface AssociateConfigurationRequest {
|
|
881
878
|
scanConfigurationArn: string | undefined;
|
|
@@ -1462,7 +1459,6 @@ export declare namespace Schedule {
|
|
|
1462
1459
|
monthly: (value: MonthlySchedule) => T;
|
|
1463
1460
|
_: (name: string, value: any) => T;
|
|
1464
1461
|
}
|
|
1465
|
-
const visit: <T>(value: Schedule, visitor: Visitor<T>) => T;
|
|
1466
1462
|
}
|
|
1467
1463
|
export interface CisScanConfiguration {
|
|
1468
1464
|
scanConfigurationArn: string | undefined;
|
|
@@ -1643,7 +1639,6 @@ export declare namespace ClusterMetadata {
|
|
|
1643
1639
|
awsEksMetadataDetails: (value: AwsEksMetadataDetails) => T;
|
|
1644
1640
|
_: (name: string, value: any) => T;
|
|
1645
1641
|
}
|
|
1646
|
-
const visit: <T>(value: ClusterMetadata, visitor: Visitor<T>) => T;
|
|
1647
1642
|
}
|
|
1648
1643
|
export interface ClusterDetails {
|
|
1649
1644
|
lastInUse: Date | undefined;
|
|
@@ -2030,7 +2025,6 @@ export declare namespace CreateIntegrationDetail {
|
|
|
2030
2025
|
gitlabSelfManaged: (value: CreateGitLabSelfManagedIntegrationDetail) => T;
|
|
2031
2026
|
_: (name: string, value: any) => T;
|
|
2032
2027
|
}
|
|
2033
|
-
const visit: <T>(value: CreateIntegrationDetail, visitor: Visitor<T>) => T;
|
|
2034
2028
|
}
|
|
2035
2029
|
export interface CreateCodeSecurityIntegrationRequest {
|
|
2036
2030
|
name: string | undefined;
|
|
@@ -819,7 +819,6 @@ export declare namespace UpdateIntegrationDetails {
|
|
|
819
819
|
github: (value: UpdateGitHubIntegrationDetail) => T;
|
|
820
820
|
_: (name: string, value: any) => T;
|
|
821
821
|
}
|
|
822
|
-
const visit: <T>(value: UpdateIntegrationDetails, visitor: Visitor<T>) => T;
|
|
823
822
|
}
|
|
824
823
|
export interface UpdateCodeSecurityIntegrationRequest {
|
|
825
824
|
integrationArn: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-inspector2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Inspector2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.931.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-inspector2",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.4.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
37
|
-
"@smithy/hash-node": "^4.2.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
-
"@smithy/middleware-stack": "^4.2.
|
|
44
|
-
"@smithy/node-config-provider": "^4.3.
|
|
45
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
-
"@smithy/protocol-http": "^5.3.
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.931.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.931.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.930.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.931.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
|
+
"@aws-sdk/types": "3.930.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.931.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
+
"@smithy/core": "^3.18.2",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
|
+
"@smithy/hash-node": "^4.2.5",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.9",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.9",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.5",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.5",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
48
|
+
"@smithy/types": "^4.9.0",
|
|
49
|
+
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
-
"@smithy/util-endpoints": "^3.2.
|
|
56
|
-
"@smithy/util-middleware": "^4.2.
|
|
57
|
-
"@smithy/util-retry": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.8",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.11",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
57
|
+
"@smithy/util-retry": "^4.2.5",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|