@aws-sdk/client-securityhub 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 -100
- package/dist-es/models/models_2.js +0 -84
- package/dist-es/models/models_3.js +0 -16
- package/dist-types/models/models_2.d.ts +24 -6
- package/dist-types/models/models_3.d.ts +8 -2
- package/dist-types/ts3.4/models/models_2.d.ts +0 -6
- package/dist-types/ts3.4/models/models_3.d.ts +0 -5
- package/package.json +33 -33
package/dist-cjs/index.js
CHANGED
|
@@ -402,45 +402,11 @@ const StatusReasonCode = {
|
|
|
402
402
|
MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED: "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED",
|
|
403
403
|
NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER",
|
|
404
404
|
};
|
|
405
|
-
exports.Target = void 0;
|
|
406
|
-
(function (Target) {
|
|
407
|
-
Target.visit = (value, visitor) => {
|
|
408
|
-
if (value.AccountId !== undefined)
|
|
409
|
-
return visitor.AccountId(value.AccountId);
|
|
410
|
-
if (value.OrganizationalUnitId !== undefined)
|
|
411
|
-
return visitor.OrganizationalUnitId(value.OrganizationalUnitId);
|
|
412
|
-
if (value.RootId !== undefined)
|
|
413
|
-
return visitor.RootId(value.RootId);
|
|
414
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
415
|
-
};
|
|
416
|
-
})(exports.Target || (exports.Target = {}));
|
|
417
405
|
const TargetType = {
|
|
418
406
|
ACCOUNT: "ACCOUNT",
|
|
419
407
|
ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT",
|
|
420
408
|
ROOT: "ROOT",
|
|
421
409
|
};
|
|
422
|
-
exports.ParameterValue = void 0;
|
|
423
|
-
(function (ParameterValue) {
|
|
424
|
-
ParameterValue.visit = (value, visitor) => {
|
|
425
|
-
if (value.Integer !== undefined)
|
|
426
|
-
return visitor.Integer(value.Integer);
|
|
427
|
-
if (value.IntegerList !== undefined)
|
|
428
|
-
return visitor.IntegerList(value.IntegerList);
|
|
429
|
-
if (value.Double !== undefined)
|
|
430
|
-
return visitor.Double(value.Double);
|
|
431
|
-
if (value.String !== undefined)
|
|
432
|
-
return visitor.String(value.String);
|
|
433
|
-
if (value.StringList !== undefined)
|
|
434
|
-
return visitor.StringList(value.StringList);
|
|
435
|
-
if (value.Boolean !== undefined)
|
|
436
|
-
return visitor.Boolean(value.Boolean);
|
|
437
|
-
if (value.Enum !== undefined)
|
|
438
|
-
return visitor.Enum(value.Enum);
|
|
439
|
-
if (value.EnumList !== undefined)
|
|
440
|
-
return visitor.EnumList(value.EnumList);
|
|
441
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
442
|
-
};
|
|
443
|
-
})(exports.ParameterValue || (exports.ParameterValue = {}));
|
|
444
410
|
const ParameterValueType = {
|
|
445
411
|
CUSTOM: "CUSTOM",
|
|
446
412
|
DEFAULT: "DEFAULT",
|
|
@@ -645,28 +611,6 @@ const OcsfStringField = {
|
|
|
645
611
|
VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage",
|
|
646
612
|
VULNERABILITIES_RELATED_VULNERABILITIES: "vulnerabilities.related_vulnerabilities",
|
|
647
613
|
};
|
|
648
|
-
exports.ConfigurationOptions = void 0;
|
|
649
|
-
(function (ConfigurationOptions) {
|
|
650
|
-
ConfigurationOptions.visit = (value, visitor) => {
|
|
651
|
-
if (value.Integer !== undefined)
|
|
652
|
-
return visitor.Integer(value.Integer);
|
|
653
|
-
if (value.IntegerList !== undefined)
|
|
654
|
-
return visitor.IntegerList(value.IntegerList);
|
|
655
|
-
if (value.Double !== undefined)
|
|
656
|
-
return visitor.Double(value.Double);
|
|
657
|
-
if (value.String !== undefined)
|
|
658
|
-
return visitor.String(value.String);
|
|
659
|
-
if (value.StringList !== undefined)
|
|
660
|
-
return visitor.StringList(value.StringList);
|
|
661
|
-
if (value.Boolean !== undefined)
|
|
662
|
-
return visitor.Boolean(value.Boolean);
|
|
663
|
-
if (value.Enum !== undefined)
|
|
664
|
-
return visitor.Enum(value.Enum);
|
|
665
|
-
if (value.EnumList !== undefined)
|
|
666
|
-
return visitor.EnumList(value.EnumList);
|
|
667
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
668
|
-
};
|
|
669
|
-
})(exports.ConfigurationOptions || (exports.ConfigurationOptions = {}));
|
|
670
614
|
const ConnectorAuthStatus = {
|
|
671
615
|
ACTIVE: "ACTIVE",
|
|
672
616
|
FAILED: "FAILED",
|
|
@@ -701,24 +645,6 @@ let ResourceConflictException$1 = class ResourceConflictException extends Securi
|
|
|
701
645
|
this.Code = opts.Code;
|
|
702
646
|
}
|
|
703
647
|
};
|
|
704
|
-
exports.Policy = void 0;
|
|
705
|
-
(function (Policy) {
|
|
706
|
-
Policy.visit = (value, visitor) => {
|
|
707
|
-
if (value.SecurityHub !== undefined)
|
|
708
|
-
return visitor.SecurityHub(value.SecurityHub);
|
|
709
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
710
|
-
};
|
|
711
|
-
})(exports.Policy || (exports.Policy = {}));
|
|
712
|
-
exports.ProviderConfiguration = void 0;
|
|
713
|
-
(function (ProviderConfiguration) {
|
|
714
|
-
ProviderConfiguration.visit = (value, visitor) => {
|
|
715
|
-
if (value.JiraCloud !== undefined)
|
|
716
|
-
return visitor.JiraCloud(value.JiraCloud);
|
|
717
|
-
if (value.ServiceNow !== undefined)
|
|
718
|
-
return visitor.ServiceNow(value.ServiceNow);
|
|
719
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
720
|
-
};
|
|
721
|
-
})(exports.ProviderConfiguration || (exports.ProviderConfiguration = {}));
|
|
722
648
|
const SecurityControlProperty = {
|
|
723
649
|
Parameters: "Parameters",
|
|
724
650
|
};
|
|
@@ -749,16 +675,6 @@ const FindingHistoryUpdateSourceType = {
|
|
|
749
675
|
BATCH_IMPORT_FINDINGS: "BATCH_IMPORT_FINDINGS",
|
|
750
676
|
BATCH_UPDATE_FINDINGS: "BATCH_UPDATE_FINDINGS",
|
|
751
677
|
};
|
|
752
|
-
exports.ProviderDetail = void 0;
|
|
753
|
-
(function (ProviderDetail) {
|
|
754
|
-
ProviderDetail.visit = (value, visitor) => {
|
|
755
|
-
if (value.JiraCloud !== undefined)
|
|
756
|
-
return visitor.JiraCloud(value.JiraCloud);
|
|
757
|
-
if (value.ServiceNow !== undefined)
|
|
758
|
-
return visitor.ServiceNow(value.ServiceNow);
|
|
759
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
760
|
-
};
|
|
761
|
-
})(exports.ProviderDetail || (exports.ProviderDetail = {}));
|
|
762
678
|
const SortOrder = {
|
|
763
679
|
ASCENDING: "asc",
|
|
764
680
|
DESCENDING: "desc",
|
|
@@ -838,14 +754,6 @@ const RegionAvailabilityStatus = {
|
|
|
838
754
|
AVAILABLE: "AVAILABLE",
|
|
839
755
|
UNAVAILABLE: "UNAVAILABLE",
|
|
840
756
|
};
|
|
841
|
-
exports.ProviderUpdateConfiguration = void 0;
|
|
842
|
-
(function (ProviderUpdateConfiguration) {
|
|
843
|
-
ProviderUpdateConfiguration.visit = (value, visitor) => {
|
|
844
|
-
if (value.JiraCloud !== undefined)
|
|
845
|
-
return visitor.JiraCloud(value.JiraCloud);
|
|
846
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
847
|
-
};
|
|
848
|
-
})(exports.ProviderUpdateConfiguration || (exports.ProviderUpdateConfiguration = {}));
|
|
849
757
|
let ResourceInUseException$1 = class ResourceInUseException extends SecurityHubServiceException$1 {
|
|
850
758
|
name = "ResourceInUseException";
|
|
851
759
|
$fault = "client";
|
|
@@ -862,14 +770,6 @@ let ResourceInUseException$1 = class ResourceInUseException extends SecurityHubS
|
|
|
862
770
|
this.Code = opts.Code;
|
|
863
771
|
}
|
|
864
772
|
};
|
|
865
|
-
exports.Criteria = void 0;
|
|
866
|
-
(function (Criteria) {
|
|
867
|
-
Criteria.visit = (value, visitor) => {
|
|
868
|
-
if (value.OcsfFindingCriteria !== undefined)
|
|
869
|
-
return visitor.OcsfFindingCriteria(value.OcsfFindingCriteria);
|
|
870
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
871
|
-
};
|
|
872
|
-
})(exports.Criteria || (exports.Criteria = {}));
|
|
873
773
|
|
|
874
774
|
const _A = "Action";
|
|
875
775
|
const _AA = "AdminAccount";
|
|
@@ -57,45 +57,11 @@ export const StatusReasonCode = {
|
|
|
57
57
|
MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED: "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED",
|
|
58
58
|
NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER",
|
|
59
59
|
};
|
|
60
|
-
export var Target;
|
|
61
|
-
(function (Target) {
|
|
62
|
-
Target.visit = (value, visitor) => {
|
|
63
|
-
if (value.AccountId !== undefined)
|
|
64
|
-
return visitor.AccountId(value.AccountId);
|
|
65
|
-
if (value.OrganizationalUnitId !== undefined)
|
|
66
|
-
return visitor.OrganizationalUnitId(value.OrganizationalUnitId);
|
|
67
|
-
if (value.RootId !== undefined)
|
|
68
|
-
return visitor.RootId(value.RootId);
|
|
69
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
70
|
-
};
|
|
71
|
-
})(Target || (Target = {}));
|
|
72
60
|
export const TargetType = {
|
|
73
61
|
ACCOUNT: "ACCOUNT",
|
|
74
62
|
ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT",
|
|
75
63
|
ROOT: "ROOT",
|
|
76
64
|
};
|
|
77
|
-
export var ParameterValue;
|
|
78
|
-
(function (ParameterValue) {
|
|
79
|
-
ParameterValue.visit = (value, visitor) => {
|
|
80
|
-
if (value.Integer !== undefined)
|
|
81
|
-
return visitor.Integer(value.Integer);
|
|
82
|
-
if (value.IntegerList !== undefined)
|
|
83
|
-
return visitor.IntegerList(value.IntegerList);
|
|
84
|
-
if (value.Double !== undefined)
|
|
85
|
-
return visitor.Double(value.Double);
|
|
86
|
-
if (value.String !== undefined)
|
|
87
|
-
return visitor.String(value.String);
|
|
88
|
-
if (value.StringList !== undefined)
|
|
89
|
-
return visitor.StringList(value.StringList);
|
|
90
|
-
if (value.Boolean !== undefined)
|
|
91
|
-
return visitor.Boolean(value.Boolean);
|
|
92
|
-
if (value.Enum !== undefined)
|
|
93
|
-
return visitor.Enum(value.Enum);
|
|
94
|
-
if (value.EnumList !== undefined)
|
|
95
|
-
return visitor.EnumList(value.EnumList);
|
|
96
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
97
|
-
};
|
|
98
|
-
})(ParameterValue || (ParameterValue = {}));
|
|
99
65
|
export const ParameterValueType = {
|
|
100
66
|
CUSTOM: "CUSTOM",
|
|
101
67
|
DEFAULT: "DEFAULT",
|
|
@@ -300,28 +266,6 @@ export const OcsfStringField = {
|
|
|
300
266
|
VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage",
|
|
301
267
|
VULNERABILITIES_RELATED_VULNERABILITIES: "vulnerabilities.related_vulnerabilities",
|
|
302
268
|
};
|
|
303
|
-
export var ConfigurationOptions;
|
|
304
|
-
(function (ConfigurationOptions) {
|
|
305
|
-
ConfigurationOptions.visit = (value, visitor) => {
|
|
306
|
-
if (value.Integer !== undefined)
|
|
307
|
-
return visitor.Integer(value.Integer);
|
|
308
|
-
if (value.IntegerList !== undefined)
|
|
309
|
-
return visitor.IntegerList(value.IntegerList);
|
|
310
|
-
if (value.Double !== undefined)
|
|
311
|
-
return visitor.Double(value.Double);
|
|
312
|
-
if (value.String !== undefined)
|
|
313
|
-
return visitor.String(value.String);
|
|
314
|
-
if (value.StringList !== undefined)
|
|
315
|
-
return visitor.StringList(value.StringList);
|
|
316
|
-
if (value.Boolean !== undefined)
|
|
317
|
-
return visitor.Boolean(value.Boolean);
|
|
318
|
-
if (value.Enum !== undefined)
|
|
319
|
-
return visitor.Enum(value.Enum);
|
|
320
|
-
if (value.EnumList !== undefined)
|
|
321
|
-
return visitor.EnumList(value.EnumList);
|
|
322
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
323
|
-
};
|
|
324
|
-
})(ConfigurationOptions || (ConfigurationOptions = {}));
|
|
325
269
|
export const ConnectorAuthStatus = {
|
|
326
270
|
ACTIVE: "ACTIVE",
|
|
327
271
|
FAILED: "FAILED",
|
|
@@ -356,24 +300,6 @@ export class ResourceConflictException extends __BaseException {
|
|
|
356
300
|
this.Code = opts.Code;
|
|
357
301
|
}
|
|
358
302
|
}
|
|
359
|
-
export var Policy;
|
|
360
|
-
(function (Policy) {
|
|
361
|
-
Policy.visit = (value, visitor) => {
|
|
362
|
-
if (value.SecurityHub !== undefined)
|
|
363
|
-
return visitor.SecurityHub(value.SecurityHub);
|
|
364
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
365
|
-
};
|
|
366
|
-
})(Policy || (Policy = {}));
|
|
367
|
-
export var ProviderConfiguration;
|
|
368
|
-
(function (ProviderConfiguration) {
|
|
369
|
-
ProviderConfiguration.visit = (value, visitor) => {
|
|
370
|
-
if (value.JiraCloud !== undefined)
|
|
371
|
-
return visitor.JiraCloud(value.JiraCloud);
|
|
372
|
-
if (value.ServiceNow !== undefined)
|
|
373
|
-
return visitor.ServiceNow(value.ServiceNow);
|
|
374
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
375
|
-
};
|
|
376
|
-
})(ProviderConfiguration || (ProviderConfiguration = {}));
|
|
377
303
|
export const SecurityControlProperty = {
|
|
378
304
|
Parameters: "Parameters",
|
|
379
305
|
};
|
|
@@ -404,16 +330,6 @@ export const FindingHistoryUpdateSourceType = {
|
|
|
404
330
|
BATCH_IMPORT_FINDINGS: "BATCH_IMPORT_FINDINGS",
|
|
405
331
|
BATCH_UPDATE_FINDINGS: "BATCH_UPDATE_FINDINGS",
|
|
406
332
|
};
|
|
407
|
-
export var ProviderDetail;
|
|
408
|
-
(function (ProviderDetail) {
|
|
409
|
-
ProviderDetail.visit = (value, visitor) => {
|
|
410
|
-
if (value.JiraCloud !== undefined)
|
|
411
|
-
return visitor.JiraCloud(value.JiraCloud);
|
|
412
|
-
if (value.ServiceNow !== undefined)
|
|
413
|
-
return visitor.ServiceNow(value.ServiceNow);
|
|
414
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
415
|
-
};
|
|
416
|
-
})(ProviderDetail || (ProviderDetail = {}));
|
|
417
333
|
export const SortOrder = {
|
|
418
334
|
ASCENDING: "asc",
|
|
419
335
|
DESCENDING: "desc",
|
|
@@ -50,14 +50,6 @@ export const RegionAvailabilityStatus = {
|
|
|
50
50
|
AVAILABLE: "AVAILABLE",
|
|
51
51
|
UNAVAILABLE: "UNAVAILABLE",
|
|
52
52
|
};
|
|
53
|
-
export var ProviderUpdateConfiguration;
|
|
54
|
-
(function (ProviderUpdateConfiguration) {
|
|
55
|
-
ProviderUpdateConfiguration.visit = (value, visitor) => {
|
|
56
|
-
if (value.JiraCloud !== undefined)
|
|
57
|
-
return visitor.JiraCloud(value.JiraCloud);
|
|
58
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
59
|
-
};
|
|
60
|
-
})(ProviderUpdateConfiguration || (ProviderUpdateConfiguration = {}));
|
|
61
53
|
export class ResourceInUseException extends __BaseException {
|
|
62
54
|
name = "ResourceInUseException";
|
|
63
55
|
$fault = "client";
|
|
@@ -74,11 +66,3 @@ export class ResourceInUseException extends __BaseException {
|
|
|
74
66
|
this.Code = opts.Code;
|
|
75
67
|
}
|
|
76
68
|
}
|
|
77
|
-
export var Criteria;
|
|
78
|
-
(function (Criteria) {
|
|
79
|
-
Criteria.visit = (value, visitor) => {
|
|
80
|
-
if (value.OcsfFindingCriteria !== undefined)
|
|
81
|
-
return visitor.OcsfFindingCriteria(value.OcsfFindingCriteria);
|
|
82
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
83
|
-
};
|
|
84
|
-
})(Criteria || (Criteria = {}));
|
|
@@ -4369,13 +4369,16 @@ export declare namespace Target {
|
|
|
4369
4369
|
RootId?: never;
|
|
4370
4370
|
$unknown: [string, any];
|
|
4371
4371
|
}
|
|
4372
|
+
/**
|
|
4373
|
+
* @deprecated unused in schema-serde mode.
|
|
4374
|
+
*
|
|
4375
|
+
*/
|
|
4372
4376
|
interface Visitor<T> {
|
|
4373
4377
|
AccountId: (value: string) => T;
|
|
4374
4378
|
OrganizationalUnitId: (value: string) => T;
|
|
4375
4379
|
RootId: (value: string) => T;
|
|
4376
4380
|
_: (name: string, value: any) => T;
|
|
4377
4381
|
}
|
|
4378
|
-
const visit: <T>(value: Target, visitor: Visitor<T>) => T;
|
|
4379
4382
|
}
|
|
4380
4383
|
/**
|
|
4381
4384
|
* <p>
|
|
@@ -4703,6 +4706,10 @@ export declare namespace ParameterValue {
|
|
|
4703
4706
|
EnumList?: never;
|
|
4704
4707
|
$unknown: [string, any];
|
|
4705
4708
|
}
|
|
4709
|
+
/**
|
|
4710
|
+
* @deprecated unused in schema-serde mode.
|
|
4711
|
+
*
|
|
4712
|
+
*/
|
|
4706
4713
|
interface Visitor<T> {
|
|
4707
4714
|
Integer: (value: number) => T;
|
|
4708
4715
|
IntegerList: (value: number[]) => T;
|
|
@@ -4714,7 +4721,6 @@ export declare namespace ParameterValue {
|
|
|
4714
4721
|
EnumList: (value: string[]) => T;
|
|
4715
4722
|
_: (name: string, value: any) => T;
|
|
4716
4723
|
}
|
|
4717
|
-
const visit: <T>(value: ParameterValue, visitor: Visitor<T>) => T;
|
|
4718
4724
|
}
|
|
4719
4725
|
/**
|
|
4720
4726
|
* @public
|
|
@@ -6391,6 +6397,10 @@ export declare namespace ConfigurationOptions {
|
|
|
6391
6397
|
EnumList?: never;
|
|
6392
6398
|
$unknown: [string, any];
|
|
6393
6399
|
}
|
|
6400
|
+
/**
|
|
6401
|
+
* @deprecated unused in schema-serde mode.
|
|
6402
|
+
*
|
|
6403
|
+
*/
|
|
6394
6404
|
interface Visitor<T> {
|
|
6395
6405
|
Integer: (value: IntegerConfigurationOptions) => T;
|
|
6396
6406
|
IntegerList: (value: IntegerListConfigurationOptions) => T;
|
|
@@ -6402,7 +6412,6 @@ export declare namespace ConfigurationOptions {
|
|
|
6402
6412
|
EnumList: (value: EnumListConfigurationOptions) => T;
|
|
6403
6413
|
_: (name: string, value: any) => T;
|
|
6404
6414
|
}
|
|
6405
|
-
const visit: <T>(value: ConfigurationOptions, visitor: Visitor<T>) => T;
|
|
6406
6415
|
}
|
|
6407
6416
|
/**
|
|
6408
6417
|
* <p>
|
|
@@ -6901,11 +6910,14 @@ export declare namespace Policy {
|
|
|
6901
6910
|
SecurityHub?: never;
|
|
6902
6911
|
$unknown: [string, any];
|
|
6903
6912
|
}
|
|
6913
|
+
/**
|
|
6914
|
+
* @deprecated unused in schema-serde mode.
|
|
6915
|
+
*
|
|
6916
|
+
*/
|
|
6904
6917
|
interface Visitor<T> {
|
|
6905
6918
|
SecurityHub: (value: SecurityHubPolicy) => T;
|
|
6906
6919
|
_: (name: string, value: any) => T;
|
|
6907
6920
|
}
|
|
6908
|
-
const visit: <T>(value: Policy, visitor: Visitor<T>) => T;
|
|
6909
6921
|
}
|
|
6910
6922
|
/**
|
|
6911
6923
|
* @public
|
|
@@ -7072,12 +7084,15 @@ export declare namespace ProviderConfiguration {
|
|
|
7072
7084
|
ServiceNow?: never;
|
|
7073
7085
|
$unknown: [string, any];
|
|
7074
7086
|
}
|
|
7087
|
+
/**
|
|
7088
|
+
* @deprecated unused in schema-serde mode.
|
|
7089
|
+
*
|
|
7090
|
+
*/
|
|
7075
7091
|
interface Visitor<T> {
|
|
7076
7092
|
JiraCloud: (value: JiraCloudProviderConfiguration) => T;
|
|
7077
7093
|
ServiceNow: (value: ServiceNowProviderConfiguration) => T;
|
|
7078
7094
|
_: (name: string, value: any) => T;
|
|
7079
7095
|
}
|
|
7080
|
-
const visit: <T>(value: ProviderConfiguration, visitor: Visitor<T>) => T;
|
|
7081
7096
|
}
|
|
7082
7097
|
/**
|
|
7083
7098
|
* @public
|
|
@@ -8824,12 +8839,15 @@ export declare namespace ProviderDetail {
|
|
|
8824
8839
|
ServiceNow?: never;
|
|
8825
8840
|
$unknown: [string, any];
|
|
8826
8841
|
}
|
|
8842
|
+
/**
|
|
8843
|
+
* @deprecated unused in schema-serde mode.
|
|
8844
|
+
*
|
|
8845
|
+
*/
|
|
8827
8846
|
interface Visitor<T> {
|
|
8828
8847
|
JiraCloud: (value: JiraCloudDetail) => T;
|
|
8829
8848
|
ServiceNow: (value: ServiceNowDetail) => T;
|
|
8830
8849
|
_: (name: string, value: any) => T;
|
|
8831
8850
|
}
|
|
8832
|
-
const visit: <T>(value: ProviderDetail, visitor: Visitor<T>) => T;
|
|
8833
8851
|
}
|
|
8834
8852
|
/**
|
|
8835
8853
|
* @public
|
|
@@ -1486,11 +1486,14 @@ export declare namespace ProviderUpdateConfiguration {
|
|
|
1486
1486
|
JiraCloud?: never;
|
|
1487
1487
|
$unknown: [string, any];
|
|
1488
1488
|
}
|
|
1489
|
+
/**
|
|
1490
|
+
* @deprecated unused in schema-serde mode.
|
|
1491
|
+
*
|
|
1492
|
+
*/
|
|
1489
1493
|
interface Visitor<T> {
|
|
1490
1494
|
JiraCloud: (value: JiraCloudUpdateConfiguration) => T;
|
|
1491
1495
|
_: (name: string, value: any) => T;
|
|
1492
1496
|
}
|
|
1493
|
-
const visit: <T>(value: ProviderUpdateConfiguration, visitor: Visitor<T>) => T;
|
|
1494
1497
|
}
|
|
1495
1498
|
/**
|
|
1496
1499
|
* <p>
|
|
@@ -2268,11 +2271,14 @@ export declare namespace Criteria {
|
|
|
2268
2271
|
OcsfFindingCriteria?: never;
|
|
2269
2272
|
$unknown: [string, any];
|
|
2270
2273
|
}
|
|
2274
|
+
/**
|
|
2275
|
+
* @deprecated unused in schema-serde mode.
|
|
2276
|
+
*
|
|
2277
|
+
*/
|
|
2271
2278
|
interface Visitor<T> {
|
|
2272
2279
|
OcsfFindingCriteria: (value: OcsfFindingFilters) => T;
|
|
2273
2280
|
_: (name: string, value: any) => T;
|
|
2274
2281
|
}
|
|
2275
|
-
const visit: <T>(value: Criteria, visitor: Visitor<T>) => T;
|
|
2276
2282
|
}
|
|
2277
2283
|
/**
|
|
2278
2284
|
* @public
|
|
@@ -959,7 +959,6 @@ export declare namespace Target {
|
|
|
959
959
|
RootId: (value: string) => T;
|
|
960
960
|
_: (name: string, value: any) => T;
|
|
961
961
|
}
|
|
962
|
-
const visit: <T>(value: Target, visitor: Visitor<T>) => T;
|
|
963
962
|
}
|
|
964
963
|
export interface ConfigurationPolicyAssociation {
|
|
965
964
|
Target?: Target | undefined;
|
|
@@ -1123,7 +1122,6 @@ export declare namespace ParameterValue {
|
|
|
1123
1122
|
EnumList: (value: string[]) => T;
|
|
1124
1123
|
_: (name: string, value: any) => T;
|
|
1125
1124
|
}
|
|
1126
|
-
const visit: <T>(value: ParameterValue, visitor: Visitor<T>) => T;
|
|
1127
1125
|
}
|
|
1128
1126
|
export declare const ParameterValueType: {
|
|
1129
1127
|
readonly CUSTOM: "CUSTOM";
|
|
@@ -1661,7 +1659,6 @@ export declare namespace ConfigurationOptions {
|
|
|
1661
1659
|
EnumList: (value: EnumListConfigurationOptions) => T;
|
|
1662
1660
|
_: (name: string, value: any) => T;
|
|
1663
1661
|
}
|
|
1664
|
-
const visit: <T>(value: ConfigurationOptions, visitor: Visitor<T>) => T;
|
|
1665
1662
|
}
|
|
1666
1663
|
export interface ConfigurationPolicySummary {
|
|
1667
1664
|
Arn?: string | undefined;
|
|
@@ -1793,7 +1790,6 @@ export declare namespace Policy {
|
|
|
1793
1790
|
SecurityHub: (value: SecurityHubPolicy) => T;
|
|
1794
1791
|
_: (name: string, value: any) => T;
|
|
1795
1792
|
}
|
|
1796
|
-
const visit: <T>(value: Policy, visitor: Visitor<T>) => T;
|
|
1797
1793
|
}
|
|
1798
1794
|
export interface CreateConfigurationPolicyRequest {
|
|
1799
1795
|
Name: string | undefined;
|
|
@@ -1843,7 +1839,6 @@ export declare namespace ProviderConfiguration {
|
|
|
1843
1839
|
ServiceNow: (value: ServiceNowProviderConfiguration) => T;
|
|
1844
1840
|
_: (name: string, value: any) => T;
|
|
1845
1841
|
}
|
|
1846
|
-
const visit: <T>(value: ProviderConfiguration, visitor: Visitor<T>) => T;
|
|
1847
1842
|
}
|
|
1848
1843
|
export interface CreateConnectorV2Request {
|
|
1849
1844
|
Name: string | undefined;
|
|
@@ -2259,7 +2254,6 @@ export declare namespace ProviderDetail {
|
|
|
2259
2254
|
ServiceNow: (value: ServiceNowDetail) => T;
|
|
2260
2255
|
_: (name: string, value: any) => T;
|
|
2261
2256
|
}
|
|
2262
|
-
const visit: <T>(value: ProviderDetail, visitor: Visitor<T>) => T;
|
|
2263
2257
|
}
|
|
2264
2258
|
export interface GetConnectorV2Response {
|
|
2265
2259
|
ConnectorArn?: string | undefined;
|
|
@@ -421,10 +421,6 @@ export declare namespace ProviderUpdateConfiguration {
|
|
|
421
421
|
JiraCloud: (value: JiraCloudUpdateConfiguration) => T;
|
|
422
422
|
_: (name: string, value: any) => T;
|
|
423
423
|
}
|
|
424
|
-
const visit: <T>(
|
|
425
|
-
value: ProviderUpdateConfiguration,
|
|
426
|
-
visitor: Visitor<T>
|
|
427
|
-
) => T;
|
|
428
424
|
}
|
|
429
425
|
export declare class ResourceInUseException extends __BaseException {
|
|
430
426
|
readonly name: "ResourceInUseException";
|
|
@@ -593,7 +589,6 @@ export declare namespace Criteria {
|
|
|
593
589
|
OcsfFindingCriteria: (value: OcsfFindingFilters) => T;
|
|
594
590
|
_: (name: string, value: any) => T;
|
|
595
591
|
}
|
|
596
|
-
const visit: <T>(value: Criteria, visitor: Visitor<T>) => T;
|
|
597
592
|
}
|
|
598
593
|
export interface GetFindingsV2Request {
|
|
599
594
|
Filters?: OcsfFindingFilters | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityhub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Securityhub 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-securityhub",
|
|
@@ -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
|
},
|