@aws-sdk/client-securityhub 3.1042.0 → 3.1044.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/README.md +14 -0
- package/dist-cjs/index.js +47 -0
- package/dist-cjs/schemas/schemas_0.js +72 -11
- package/dist-es/SecurityHub.js +6 -0
- package/dist-es/commands/GenerateRecommendedPolicyV2Command.js +16 -0
- package/dist-es/commands/GetRecommendedPolicyV2Command.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +12 -0
- package/dist-es/pagination/GetRecommendedPolicyV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +63 -2
- package/dist-types/SecurityHub.d.ts +21 -0
- package/dist-types/SecurityHubClient.d.ts +4 -2
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +5 -0
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +5 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +5 -0
- package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +2 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +5 -0
- package/dist-types/commands/GenerateRecommendedPolicyV2Command.d.ts +96 -0
- package/dist-types/commands/GetAutomationRuleV2Command.d.ts +2 -0
- package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +2 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +5 -0
- package/dist-types/commands/GetFindingsV2Command.d.ts +2 -0
- package/dist-types/commands/GetInsightsCommand.d.ts +5 -0
- package/dist-types/commands/GetRecommendedPolicyV2Command.d.ts +118 -0
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +2 -0
- package/dist-types/commands/GetResourcesV2Command.d.ts +2 -0
- package/dist-types/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +1 -2
- package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +2 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +5 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +5 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +36 -0
- package/dist-types/models/models_0.d.ts +9 -4
- package/dist-types/models/models_2.d.ts +157 -168
- package/dist-types/models/models_3.d.ts +169 -3
- package/dist-types/pagination/GetRecommendedPolicyV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +9 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +41 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GenerateRecommendedPolicyV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRecommendedPolicyV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +18 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_2.d.ts +47 -34
- package/dist-types/ts3.4/models/models_3.d.ts +37 -1
- package/dist-types/ts3.4/pagination/GetRecommendedPolicyV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
- package/package.json +1 -1
|
@@ -1618,7 +1618,9 @@ const _EOn = "EncryptionOption";
|
|
|
1618
1618
|
const _EOnc = "EnclaveOptions";
|
|
1619
1619
|
const _EP = "EvaluationPeriods";
|
|
1620
1620
|
const _EPA = "EndpointPublicAccess";
|
|
1621
|
+
const _EPI = "ExistingPolicyId";
|
|
1621
1622
|
const _EPn = "EntryPoint";
|
|
1623
|
+
const _EPx = "ExistingPolicy";
|
|
1622
1624
|
const _ER = "ExcludedRules";
|
|
1623
1625
|
const _ERA = "ExecutionRoleArn";
|
|
1624
1626
|
const _ERNDAAAAR = "EnableResourceNameDnsAAAARecord";
|
|
@@ -1840,6 +1842,12 @@ const _GMR = "GetMembersRequest";
|
|
|
1840
1842
|
const _GMRe = "GetMembersResponse";
|
|
1841
1843
|
const _GN = "GroupName";
|
|
1842
1844
|
const _GPL = "GroupPolicyList";
|
|
1845
|
+
const _GRPV = "GenerateRecommendedPolicyV2";
|
|
1846
|
+
const _GRPVR = "GenerateRecommendedPolicyV2Request";
|
|
1847
|
+
const _GRPVRe = "GenerateRecommendedPolicyV2Response";
|
|
1848
|
+
const _GRPVRet = "GetRecommendedPolicyV2Request";
|
|
1849
|
+
const _GRPVRete = "GetRecommendedPolicyV2Response";
|
|
1850
|
+
const _GRPVe = "GetRecommendedPolicyV2";
|
|
1843
1851
|
const _GRSV = "GetResourcesStatisticsV2";
|
|
1844
1852
|
const _GRSVR = "GetResourcesStatisticsV2Request";
|
|
1845
1853
|
const _GRSVRe = "GetResourcesStatisticsV2Response";
|
|
@@ -2583,6 +2591,7 @@ const _PTrop = "PropagateTags";
|
|
|
2583
2591
|
const _PTrov = "ProviderType";
|
|
2584
2592
|
const _PTs = "PseudoTerminal";
|
|
2585
2593
|
const _PU = "PosixUser";
|
|
2594
|
+
const _PUA = "PolicyUpdatedAt";
|
|
2586
2595
|
const _PUC = "ProviderUpdateConfiguration";
|
|
2587
2596
|
const _PV = "PlatformVersion";
|
|
2588
2597
|
const _PVL = "PolicyVersionList";
|
|
@@ -2646,6 +2655,7 @@ const _RART = "RedirectAllRequestsTo";
|
|
|
2646
2655
|
const _RASBOI = "ResourceAwsS3BucketOwnerId";
|
|
2647
2656
|
const _RASBON = "ResourceAwsS3BucketOwnerName";
|
|
2648
2657
|
const _RAe = "ResourceArn";
|
|
2658
|
+
const _RAec = "RecommendedAction";
|
|
2649
2659
|
const _RAeg = "RegistryArn";
|
|
2650
2660
|
const _RAo = "RoleArn";
|
|
2651
2661
|
const _RAoo = "RootAccess";
|
|
@@ -2686,6 +2696,7 @@ const _RDe = "ResourceDetails";
|
|
|
2686
2696
|
const _RDu = "RuleDefinition";
|
|
2687
2697
|
const _RE = "RenewalEligibility";
|
|
2688
2698
|
const _REe = "ReaderEndpoint";
|
|
2699
|
+
const _REec = "RecommendationError";
|
|
2689
2700
|
const _REex = "Re2Expression";
|
|
2690
2701
|
const _REo = "RotationEnabled";
|
|
2691
2702
|
const _RF = "RelatedFindings";
|
|
@@ -2786,6 +2797,7 @@ const _RPH = "RetentionPeriodHours";
|
|
|
2786
2797
|
const _RPL = "RolePolicyList";
|
|
2787
2798
|
const _RPT = "RepositoryPolicyText";
|
|
2788
2799
|
const _RPe = "ResourcePath";
|
|
2800
|
+
const _RPec = "RecommendedPolicy";
|
|
2789
2801
|
const _RPet = "RetentionPeriod";
|
|
2790
2802
|
const _RR = "ResourceRegion";
|
|
2791
2803
|
const _RRDBCI = "ReadReplicaDBClusterIdentifiers";
|
|
@@ -2815,6 +2827,8 @@ const _RSM = "RoleSearchMatching";
|
|
|
2815
2827
|
const _RSR = "RenewalStatusReason";
|
|
2816
2828
|
const _RSS = "RoleSearchSubtree";
|
|
2817
2829
|
const _RSe = "RecordState";
|
|
2830
|
+
const _RSec = "RecommendationSteps";
|
|
2831
|
+
const _RSeco = "RecommendationStep";
|
|
2818
2832
|
const _RSen = "RenewalSummary";
|
|
2819
2833
|
const _RSene = "RenewalStatus";
|
|
2820
2834
|
const _RSep = "ReplicaStatus";
|
|
@@ -2842,6 +2856,7 @@ const _RTSFL = "ResourcesTrendsStringFilterList";
|
|
|
2842
2856
|
const _RTV = "ResourcesTrendsValues";
|
|
2843
2857
|
const _RTe = "ResourceTags";
|
|
2844
2858
|
const _RTec = "RecommendationText";
|
|
2859
|
+
const _RTeco = "RecommendationType";
|
|
2845
2860
|
const _RTes = "ResizeType";
|
|
2846
2861
|
const _RTeso = "ResourceTag";
|
|
2847
2862
|
const _RU = "RemediationUrl";
|
|
@@ -3295,9 +3310,11 @@ const _UN = "UserName";
|
|
|
3295
3310
|
const _UOC = "UpdateOrganizationConfiguration";
|
|
3296
3311
|
const _UOCR = "UpdateOrganizationConfigurationRequest";
|
|
3297
3312
|
const _UOCRp = "UpdateOrganizationConfigurationResponse";
|
|
3313
|
+
const _UP = "UnusedPermissions";
|
|
3298
3314
|
const _UPC = "UserPoolConfig";
|
|
3299
3315
|
const _UPI = "UserPoolId";
|
|
3300
3316
|
const _UPL = "UserPolicyList";
|
|
3317
|
+
const _UPRS = "UnusedPermissionsRecommendationStep";
|
|
3301
3318
|
const _UR = "UpdatedReason";
|
|
3302
3319
|
const _URN = "UserRoleName";
|
|
3303
3320
|
const _URR = "UntagResourceRequest";
|
|
@@ -6524,8 +6541,8 @@ export var DateFilter$ = [3, n0, _DFa,
|
|
|
6524
6541
|
];
|
|
6525
6542
|
export var DateRange$ = [3, n0, _DRa,
|
|
6526
6543
|
0,
|
|
6527
|
-
[_Val, _Un],
|
|
6528
|
-
[1, 0]
|
|
6544
|
+
[_Val, _Un, _Compa],
|
|
6545
|
+
[1, 0, 0]
|
|
6529
6546
|
];
|
|
6530
6547
|
export var DeclineInvitationsRequest$ = [3, n0, _DIR,
|
|
6531
6548
|
0,
|
|
@@ -6922,6 +6939,16 @@ export var FirewallPolicyStatelessRuleGroupReferencesDetails$ = [3, n0, _FPSRGRD
|
|
|
6922
6939
|
[_Prio, _RAe],
|
|
6923
6940
|
[1, 0]
|
|
6924
6941
|
];
|
|
6942
|
+
export var GenerateRecommendedPolicyV2Request$ = [3, n0, _GRPVR,
|
|
6943
|
+
0,
|
|
6944
|
+
[_MUe],
|
|
6945
|
+
[[0, 1]], 1
|
|
6946
|
+
];
|
|
6947
|
+
export var GenerateRecommendedPolicyV2Response$ = [3, n0, _GRPVRe,
|
|
6948
|
+
0,
|
|
6949
|
+
[],
|
|
6950
|
+
[]
|
|
6951
|
+
];
|
|
6925
6952
|
export var GeneratorDetails$ = [3, n0, _GD,
|
|
6926
6953
|
0,
|
|
6927
6954
|
[_N, _D, _La],
|
|
@@ -7112,6 +7139,16 @@ export var GetMembersResponse$ = [3, n0, _GMRe,
|
|
|
7112
7139
|
[_Memb, _UAnp],
|
|
7113
7140
|
[() => MemberList, () => ResultList]
|
|
7114
7141
|
];
|
|
7142
|
+
export var GetRecommendedPolicyV2Request$ = [3, n0, _GRPVRet,
|
|
7143
|
+
0,
|
|
7144
|
+
[_MUe, _NTe, _MRa],
|
|
7145
|
+
[[0, 1], [0, { [_hQ]: _NTe }], [1, { [_hQ]: _MRa }]], 1
|
|
7146
|
+
];
|
|
7147
|
+
export var GetRecommendedPolicyV2Response$ = [3, n0, _GRPVRete,
|
|
7148
|
+
0,
|
|
7149
|
+
[_NTe, _RTeco, _RSec, _Er, _St, _RAe],
|
|
7150
|
+
[0, 0, () => RecommendationSteps, () => RecommendationError$, 0, 0]
|
|
7151
|
+
];
|
|
7115
7152
|
export var GetResourcesStatisticsV2Request$ = [3, n0, _GRSVR,
|
|
7116
7153
|
0,
|
|
7117
7154
|
[_GBR, _Sco, _SOo, _MSR],
|
|
@@ -7607,6 +7644,11 @@ export var Recommendation$ = [3, n0, _Reco,
|
|
|
7607
7644
|
[_Tex, _Ur],
|
|
7608
7645
|
[0, 0]
|
|
7609
7646
|
];
|
|
7647
|
+
export var RecommendationError$ = [3, n0, _REec,
|
|
7648
|
+
0,
|
|
7649
|
+
[_C, _M],
|
|
7650
|
+
[0, 0]
|
|
7651
|
+
];
|
|
7610
7652
|
export var _Record$ = [3, n0, _Recor,
|
|
7611
7653
|
0,
|
|
7612
7654
|
[_JP, _RIec],
|
|
@@ -8097,6 +8139,11 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
8097
8139
|
[],
|
|
8098
8140
|
[]
|
|
8099
8141
|
];
|
|
8142
|
+
export var UnusedPermissionsRecommendationStep$ = [3, n0, _UPRS,
|
|
8143
|
+
0,
|
|
8144
|
+
[_RAec, _EPx, _EPI, _PUA, _RPec],
|
|
8145
|
+
[0, 0, 0, 5, 0]
|
|
8146
|
+
];
|
|
8100
8147
|
export var UpdateActionTargetRequest$ = [3, n0, _UATR,
|
|
8101
8148
|
0,
|
|
8102
8149
|
[_ATA, _N, _D],
|
|
@@ -8959,6 +9006,9 @@ var PropagatingVgwSetList = [1, n0, _PVSL,
|
|
|
8959
9006
|
var Ranges = [1, n0, _Ran,
|
|
8960
9007
|
0, () => Range$
|
|
8961
9008
|
];
|
|
9009
|
+
var RecommendationSteps = [1, n0, _RSec,
|
|
9010
|
+
0, () => RecommendationStep$
|
|
9011
|
+
];
|
|
8962
9012
|
var Records = [1, n0, _Rec,
|
|
8963
9013
|
0, () => _Record$
|
|
8964
9014
|
];
|
|
@@ -9195,6 +9245,11 @@ export var ProviderUpdateConfiguration$ = [4, n0, _PUC,
|
|
|
9195
9245
|
[_JC, _SNer],
|
|
9196
9246
|
[() => JiraCloudUpdateConfiguration$, () => ServiceNowUpdateConfiguration$]
|
|
9197
9247
|
];
|
|
9248
|
+
export var RecommendationStep$ = [4, n0, _RSeco,
|
|
9249
|
+
0,
|
|
9250
|
+
[_UP],
|
|
9251
|
+
[() => UnusedPermissionsRecommendationStep$]
|
|
9252
|
+
];
|
|
9198
9253
|
export var Target$ = [4, n0, _Ta,
|
|
9199
9254
|
0,
|
|
9200
9255
|
[_AIc, _OUI, _RIoo],
|
|
@@ -9359,6 +9414,9 @@ export var EnableSecurityHub$ = [9, n0, _ESH,
|
|
|
9359
9414
|
export var EnableSecurityHubV2$ = [9, n0, _ESHV,
|
|
9360
9415
|
{ [_h]: ["POST", "/hubv2", 200] }, () => EnableSecurityHubV2Request$, () => EnableSecurityHubV2Response$
|
|
9361
9416
|
];
|
|
9417
|
+
export var GenerateRecommendedPolicyV2$ = [9, n0, _GRPV,
|
|
9418
|
+
{ [_h]: ["POST", "/recommendedPolicyV2/{MetadataUid}", 200] }, () => GenerateRecommendedPolicyV2Request$, () => GenerateRecommendedPolicyV2Response$
|
|
9419
|
+
];
|
|
9362
9420
|
export var GetAdministratorAccount$ = [9, n0, _GAA,
|
|
9363
9421
|
{ [_h]: ["GET", "/administrator", 200] }, () => GetAdministratorAccountRequest$, () => GetAdministratorAccountResponse$
|
|
9364
9422
|
];
|
|
@@ -9413,6 +9471,9 @@ export var GetMasterAccount$ = [9, n0, _GMA,
|
|
|
9413
9471
|
export var GetMembers$ = [9, n0, _GM,
|
|
9414
9472
|
{ [_h]: ["POST", "/members/get", 200] }, () => GetMembersRequest$, () => GetMembersResponse$
|
|
9415
9473
|
];
|
|
9474
|
+
export var GetRecommendedPolicyV2$ = [9, n0, _GRPVe,
|
|
9475
|
+
{ [_h]: ["GET", "/recommendedPolicyV2/{MetadataUid}", 200] }, () => GetRecommendedPolicyV2Request$, () => GetRecommendedPolicyV2Response$
|
|
9476
|
+
];
|
|
9416
9477
|
export var GetResourcesStatisticsV2$ = [9, n0, _GRSV,
|
|
9417
9478
|
{ [_h]: ["POST", "/resourcesv2/statistics", 200] }, () => GetResourcesStatisticsV2Request$, () => GetResourcesStatisticsV2Response$
|
|
9418
9479
|
];
|
|
@@ -52,6 +52,7 @@ import { type EnableImportFindingsForProductCommandInput, type EnableImportFindi
|
|
|
52
52
|
import { type EnableOrganizationAdminAccountCommandInput, type EnableOrganizationAdminAccountCommandOutput } from "./commands/EnableOrganizationAdminAccountCommand";
|
|
53
53
|
import { type EnableSecurityHubCommandInput, type EnableSecurityHubCommandOutput } from "./commands/EnableSecurityHubCommand";
|
|
54
54
|
import { type EnableSecurityHubV2CommandInput, type EnableSecurityHubV2CommandOutput } from "./commands/EnableSecurityHubV2Command";
|
|
55
|
+
import { type GenerateRecommendedPolicyV2CommandInput, type GenerateRecommendedPolicyV2CommandOutput } from "./commands/GenerateRecommendedPolicyV2Command";
|
|
55
56
|
import { type GetAdministratorAccountCommandInput, type GetAdministratorAccountCommandOutput } from "./commands/GetAdministratorAccountCommand";
|
|
56
57
|
import { type GetAggregatorV2CommandInput, type GetAggregatorV2CommandOutput } from "./commands/GetAggregatorV2Command";
|
|
57
58
|
import { type GetAutomationRuleV2CommandInput, type GetAutomationRuleV2CommandOutput } from "./commands/GetAutomationRuleV2Command";
|
|
@@ -70,6 +71,7 @@ import { type GetInsightsCommandInput, type GetInsightsCommandOutput } from "./c
|
|
|
70
71
|
import { type GetInvitationsCountCommandInput, type GetInvitationsCountCommandOutput } from "./commands/GetInvitationsCountCommand";
|
|
71
72
|
import { type GetMasterAccountCommandInput, type GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
|
|
72
73
|
import { type GetMembersCommandInput, type GetMembersCommandOutput } from "./commands/GetMembersCommand";
|
|
74
|
+
import { type GetRecommendedPolicyV2CommandInput, type GetRecommendedPolicyV2CommandOutput } from "./commands/GetRecommendedPolicyV2Command";
|
|
73
75
|
import { type GetResourcesStatisticsV2CommandInput, type GetResourcesStatisticsV2CommandOutput } from "./commands/GetResourcesStatisticsV2Command";
|
|
74
76
|
import { type GetResourcesTrendsV2CommandInput, type GetResourcesTrendsV2CommandOutput } from "./commands/GetResourcesTrendsV2Command";
|
|
75
77
|
import { type GetResourcesV2CommandInput, type GetResourcesV2CommandOutput } from "./commands/GetResourcesV2Command";
|
|
@@ -440,6 +442,12 @@ export interface SecurityHub {
|
|
|
440
442
|
enableSecurityHubV2(args: EnableSecurityHubV2CommandInput, options?: __HttpHandlerOptions): Promise<EnableSecurityHubV2CommandOutput>;
|
|
441
443
|
enableSecurityHubV2(args: EnableSecurityHubV2CommandInput, cb: (err: any, data?: EnableSecurityHubV2CommandOutput) => void): void;
|
|
442
444
|
enableSecurityHubV2(args: EnableSecurityHubV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableSecurityHubV2CommandOutput) => void): void;
|
|
445
|
+
/**
|
|
446
|
+
* @see {@link GenerateRecommendedPolicyV2Command}
|
|
447
|
+
*/
|
|
448
|
+
generateRecommendedPolicyV2(args: GenerateRecommendedPolicyV2CommandInput, options?: __HttpHandlerOptions): Promise<GenerateRecommendedPolicyV2CommandOutput>;
|
|
449
|
+
generateRecommendedPolicyV2(args: GenerateRecommendedPolicyV2CommandInput, cb: (err: any, data?: GenerateRecommendedPolicyV2CommandOutput) => void): void;
|
|
450
|
+
generateRecommendedPolicyV2(args: GenerateRecommendedPolicyV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateRecommendedPolicyV2CommandOutput) => void): void;
|
|
443
451
|
/**
|
|
444
452
|
* @see {@link GetAdministratorAccountCommand}
|
|
445
453
|
*/
|
|
@@ -555,6 +563,12 @@ export interface SecurityHub {
|
|
|
555
563
|
getMembers(args: GetMembersCommandInput, options?: __HttpHandlerOptions): Promise<GetMembersCommandOutput>;
|
|
556
564
|
getMembers(args: GetMembersCommandInput, cb: (err: any, data?: GetMembersCommandOutput) => void): void;
|
|
557
565
|
getMembers(args: GetMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMembersCommandOutput) => void): void;
|
|
566
|
+
/**
|
|
567
|
+
* @see {@link GetRecommendedPolicyV2Command}
|
|
568
|
+
*/
|
|
569
|
+
getRecommendedPolicyV2(args: GetRecommendedPolicyV2CommandInput, options?: __HttpHandlerOptions): Promise<GetRecommendedPolicyV2CommandOutput>;
|
|
570
|
+
getRecommendedPolicyV2(args: GetRecommendedPolicyV2CommandInput, cb: (err: any, data?: GetRecommendedPolicyV2CommandOutput) => void): void;
|
|
571
|
+
getRecommendedPolicyV2(args: GetRecommendedPolicyV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecommendedPolicyV2CommandOutput) => void): void;
|
|
558
572
|
/**
|
|
559
573
|
* @see {@link GetResourcesStatisticsV2Command}
|
|
560
574
|
*/
|
|
@@ -862,6 +876,13 @@ export interface SecurityHub {
|
|
|
862
876
|
* @returns AsyncIterable of {@link GetInsightsCommandOutput}.
|
|
863
877
|
*/
|
|
864
878
|
paginateGetInsights(args?: GetInsightsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetInsightsCommandOutput>;
|
|
879
|
+
/**
|
|
880
|
+
* @see {@link GetRecommendedPolicyV2Command}
|
|
881
|
+
* @param args - command input.
|
|
882
|
+
* @param paginationConfig - optional pagination config.
|
|
883
|
+
* @returns AsyncIterable of {@link GetRecommendedPolicyV2CommandOutput}.
|
|
884
|
+
*/
|
|
885
|
+
paginateGetRecommendedPolicyV2(args: GetRecommendedPolicyV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetRecommendedPolicyV2CommandOutput>;
|
|
865
886
|
/**
|
|
866
887
|
* @see {@link GetResourcesTrendsV2Command}
|
|
867
888
|
* @param args - command input.
|
|
@@ -60,6 +60,7 @@ import type { EnableImportFindingsForProductCommandInput, EnableImportFindingsFo
|
|
|
60
60
|
import type { EnableOrganizationAdminAccountCommandInput, EnableOrganizationAdminAccountCommandOutput } from "./commands/EnableOrganizationAdminAccountCommand";
|
|
61
61
|
import type { EnableSecurityHubCommandInput, EnableSecurityHubCommandOutput } from "./commands/EnableSecurityHubCommand";
|
|
62
62
|
import type { EnableSecurityHubV2CommandInput, EnableSecurityHubV2CommandOutput } from "./commands/EnableSecurityHubV2Command";
|
|
63
|
+
import type { GenerateRecommendedPolicyV2CommandInput, GenerateRecommendedPolicyV2CommandOutput } from "./commands/GenerateRecommendedPolicyV2Command";
|
|
63
64
|
import type { GetAdministratorAccountCommandInput, GetAdministratorAccountCommandOutput } from "./commands/GetAdministratorAccountCommand";
|
|
64
65
|
import type { GetAggregatorV2CommandInput, GetAggregatorV2CommandOutput } from "./commands/GetAggregatorV2Command";
|
|
65
66
|
import type { GetAutomationRuleV2CommandInput, GetAutomationRuleV2CommandOutput } from "./commands/GetAutomationRuleV2Command";
|
|
@@ -78,6 +79,7 @@ import type { GetInsightsCommandInput, GetInsightsCommandOutput } from "./comman
|
|
|
78
79
|
import type { GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput } from "./commands/GetInvitationsCountCommand";
|
|
79
80
|
import type { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
|
|
80
81
|
import type { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
|
|
82
|
+
import type { GetRecommendedPolicyV2CommandInput, GetRecommendedPolicyV2CommandOutput } from "./commands/GetRecommendedPolicyV2Command";
|
|
81
83
|
import type { GetResourcesStatisticsV2CommandInput, GetResourcesStatisticsV2CommandOutput } from "./commands/GetResourcesStatisticsV2Command";
|
|
82
84
|
import type { GetResourcesTrendsV2CommandInput, GetResourcesTrendsV2CommandOutput } from "./commands/GetResourcesTrendsV2Command";
|
|
83
85
|
import type { GetResourcesV2CommandInput, GetResourcesV2CommandOutput } from "./commands/GetResourcesV2Command";
|
|
@@ -120,11 +122,11 @@ export { __Client };
|
|
|
120
122
|
/**
|
|
121
123
|
* @public
|
|
122
124
|
*/
|
|
123
|
-
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateFindingsV2CommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateAggregatorV2CommandInput | CreateAutomationRuleCommandInput | CreateAutomationRuleV2CommandInput | CreateConfigurationPolicyCommandInput | CreateConnectorV2CommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | CreateTicketV2CommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteAggregatorV2CommandInput | DeleteAutomationRuleV2CommandInput | DeleteConfigurationPolicyCommandInput | DeleteConnectorV2CommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeProductsV2CommandInput | DescribeSecurityHubV2CommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisableSecurityHubV2CommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | EnableSecurityHubV2CommandInput | GetAdministratorAccountCommandInput | GetAggregatorV2CommandInput | GetAutomationRuleV2CommandInput | GetConfigurationPolicyAssociationCommandInput | GetConfigurationPolicyCommandInput | GetConnectorV2CommandInput | GetEnabledStandardsCommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingStatisticsV2CommandInput | GetFindingsCommandInput | GetFindingsTrendsV2CommandInput | GetFindingsV2CommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetResourcesStatisticsV2CommandInput | GetResourcesTrendsV2CommandInput | GetResourcesV2CommandInput | GetSecurityControlDefinitionCommandInput | InviteMembersCommandInput | ListAggregatorsV2CommandInput | ListAutomationRulesCommandInput | ListAutomationRulesV2CommandInput | ListConfigurationPoliciesCommandInput | ListConfigurationPolicyAssociationsCommandInput | ListConnectorsV2CommandInput | ListEnabledProductsForImportCommandInput | ListFindingAggregatorsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorV2CommandInput | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateAggregatorV2CommandInput | UpdateAutomationRuleV2CommandInput | UpdateConfigurationPolicyCommandInput | UpdateConnectorV2CommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
|
|
125
|
+
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateFindingsV2CommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateAggregatorV2CommandInput | CreateAutomationRuleCommandInput | CreateAutomationRuleV2CommandInput | CreateConfigurationPolicyCommandInput | CreateConnectorV2CommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | CreateTicketV2CommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteAggregatorV2CommandInput | DeleteAutomationRuleV2CommandInput | DeleteConfigurationPolicyCommandInput | DeleteConnectorV2CommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeProductsV2CommandInput | DescribeSecurityHubV2CommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisableSecurityHubV2CommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | EnableSecurityHubV2CommandInput | GenerateRecommendedPolicyV2CommandInput | GetAdministratorAccountCommandInput | GetAggregatorV2CommandInput | GetAutomationRuleV2CommandInput | GetConfigurationPolicyAssociationCommandInput | GetConfigurationPolicyCommandInput | GetConnectorV2CommandInput | GetEnabledStandardsCommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingStatisticsV2CommandInput | GetFindingsCommandInput | GetFindingsTrendsV2CommandInput | GetFindingsV2CommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetRecommendedPolicyV2CommandInput | GetResourcesStatisticsV2CommandInput | GetResourcesTrendsV2CommandInput | GetResourcesV2CommandInput | GetSecurityControlDefinitionCommandInput | InviteMembersCommandInput | ListAggregatorsV2CommandInput | ListAutomationRulesCommandInput | ListAutomationRulesV2CommandInput | ListConfigurationPoliciesCommandInput | ListConfigurationPolicyAssociationsCommandInput | ListConnectorsV2CommandInput | ListEnabledProductsForImportCommandInput | ListFindingAggregatorsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorV2CommandInput | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateAggregatorV2CommandInput | UpdateAutomationRuleV2CommandInput | UpdateConfigurationPolicyCommandInput | UpdateConnectorV2CommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
|
|
124
126
|
/**
|
|
125
127
|
* @public
|
|
126
128
|
*/
|
|
127
|
-
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateFindingsV2CommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateAggregatorV2CommandOutput | CreateAutomationRuleCommandOutput | CreateAutomationRuleV2CommandOutput | CreateConfigurationPolicyCommandOutput | CreateConnectorV2CommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | CreateTicketV2CommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteAggregatorV2CommandOutput | DeleteAutomationRuleV2CommandOutput | DeleteConfigurationPolicyCommandOutput | DeleteConnectorV2CommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeProductsV2CommandOutput | DescribeSecurityHubV2CommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisableSecurityHubV2CommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | EnableSecurityHubV2CommandOutput | GetAdministratorAccountCommandOutput | GetAggregatorV2CommandOutput | GetAutomationRuleV2CommandOutput | GetConfigurationPolicyAssociationCommandOutput | GetConfigurationPolicyCommandOutput | GetConnectorV2CommandOutput | GetEnabledStandardsCommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingStatisticsV2CommandOutput | GetFindingsCommandOutput | GetFindingsTrendsV2CommandOutput | GetFindingsV2CommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetResourcesStatisticsV2CommandOutput | GetResourcesTrendsV2CommandOutput | GetResourcesV2CommandOutput | GetSecurityControlDefinitionCommandOutput | InviteMembersCommandOutput | ListAggregatorsV2CommandOutput | ListAutomationRulesCommandOutput | ListAutomationRulesV2CommandOutput | ListConfigurationPoliciesCommandOutput | ListConfigurationPolicyAssociationsCommandOutput | ListConnectorsV2CommandOutput | ListEnabledProductsForImportCommandOutput | ListFindingAggregatorsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorV2CommandOutput | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateAggregatorV2CommandOutput | UpdateAutomationRuleV2CommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateConnectorV2CommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
|
|
129
|
+
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateFindingsV2CommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateAggregatorV2CommandOutput | CreateAutomationRuleCommandOutput | CreateAutomationRuleV2CommandOutput | CreateConfigurationPolicyCommandOutput | CreateConnectorV2CommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | CreateTicketV2CommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteAggregatorV2CommandOutput | DeleteAutomationRuleV2CommandOutput | DeleteConfigurationPolicyCommandOutput | DeleteConnectorV2CommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeProductsV2CommandOutput | DescribeSecurityHubV2CommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisableSecurityHubV2CommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | EnableSecurityHubV2CommandOutput | GenerateRecommendedPolicyV2CommandOutput | GetAdministratorAccountCommandOutput | GetAggregatorV2CommandOutput | GetAutomationRuleV2CommandOutput | GetConfigurationPolicyAssociationCommandOutput | GetConfigurationPolicyCommandOutput | GetConnectorV2CommandOutput | GetEnabledStandardsCommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingStatisticsV2CommandOutput | GetFindingsCommandOutput | GetFindingsTrendsV2CommandOutput | GetFindingsV2CommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetRecommendedPolicyV2CommandOutput | GetResourcesStatisticsV2CommandOutput | GetResourcesTrendsV2CommandOutput | GetResourcesV2CommandOutput | GetSecurityControlDefinitionCommandOutput | InviteMembersCommandOutput | ListAggregatorsV2CommandOutput | ListAutomationRulesCommandOutput | ListAutomationRulesV2CommandOutput | ListConfigurationPoliciesCommandOutput | ListConfigurationPolicyAssociationsCommandOutput | ListConnectorsV2CommandOutput | ListEnabledProductsForImportCommandOutput | ListFindingAggregatorsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorV2CommandOutput | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateAggregatorV2CommandOutput | UpdateAutomationRuleV2CommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateConnectorV2CommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
|
|
128
130
|
/**
|
|
129
131
|
* @public
|
|
130
132
|
*/
|
|
@@ -93,6 +93,7 @@ declare const BatchGetAutomationRulesCommand_base: {
|
|
|
93
93
|
* // DateRange: { // DateRange
|
|
94
94
|
* // Value: Number("int"),
|
|
95
95
|
* // Unit: "DAYS",
|
|
96
|
+
* // Comparison: "WITHIN" || "OLDER_THAN",
|
|
96
97
|
* // },
|
|
97
98
|
* // },
|
|
98
99
|
* // ],
|
|
@@ -103,6 +104,7 @@ declare const BatchGetAutomationRulesCommand_base: {
|
|
|
103
104
|
* // DateRange: {
|
|
104
105
|
* // Value: Number("int"),
|
|
105
106
|
* // Unit: "DAYS",
|
|
107
|
+
* // Comparison: "WITHIN" || "OLDER_THAN",
|
|
106
108
|
* // },
|
|
107
109
|
* // },
|
|
108
110
|
* // ],
|
|
@@ -113,6 +115,7 @@ declare const BatchGetAutomationRulesCommand_base: {
|
|
|
113
115
|
* // DateRange: {
|
|
114
116
|
* // Value: Number("int"),
|
|
115
117
|
* // Unit: "DAYS",
|
|
118
|
+
* // Comparison: "WITHIN" || "OLDER_THAN",
|
|
116
119
|
* // },
|
|
117
120
|
* // },
|
|
118
121
|
* // ],
|
|
@@ -123,6 +126,7 @@ declare const BatchGetAutomationRulesCommand_base: {
|
|
|
123
126
|
* // DateRange: {
|
|
124
127
|
* // Value: Number("int"),
|
|
125
128
|
* // Unit: "DAYS",
|
|
129
|
+
* // Comparison: "WITHIN" || "OLDER_THAN",
|
|
126
130
|
* // },
|
|
127
131
|
* // },
|
|
128
132
|
* // ],
|
|
@@ -184,6 +188,7 @@ declare const BatchGetAutomationRulesCommand_base: {
|
|
|
184
188
|
* // DateRange: {
|
|
185
189
|
* // Value: Number("int"),
|
|
186
190
|
* // Unit: "DAYS",
|
|
191
|
+
* // Comparison: "WITHIN" || "OLDER_THAN",
|
|
187
192
|
* // },
|
|
188
193
|
* // },
|
|
189
194
|
* // ],
|
|
@@ -86,6 +86,7 @@ declare const BatchUpdateAutomationRulesCommand_base: {
|
|
|
86
86
|
* DateRange: { // DateRange
|
|
87
87
|
* Value: Number("int"),
|
|
88
88
|
* Unit: "DAYS",
|
|
89
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
89
90
|
* },
|
|
90
91
|
* },
|
|
91
92
|
* ],
|
|
@@ -96,6 +97,7 @@ declare const BatchUpdateAutomationRulesCommand_base: {
|
|
|
96
97
|
* DateRange: {
|
|
97
98
|
* Value: Number("int"),
|
|
98
99
|
* Unit: "DAYS",
|
|
100
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
99
101
|
* },
|
|
100
102
|
* },
|
|
101
103
|
* ],
|
|
@@ -106,6 +108,7 @@ declare const BatchUpdateAutomationRulesCommand_base: {
|
|
|
106
108
|
* DateRange: {
|
|
107
109
|
* Value: Number("int"),
|
|
108
110
|
* Unit: "DAYS",
|
|
111
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
109
112
|
* },
|
|
110
113
|
* },
|
|
111
114
|
* ],
|
|
@@ -116,6 +119,7 @@ declare const BatchUpdateAutomationRulesCommand_base: {
|
|
|
116
119
|
* DateRange: {
|
|
117
120
|
* Value: Number("int"),
|
|
118
121
|
* Unit: "DAYS",
|
|
122
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
119
123
|
* },
|
|
120
124
|
* },
|
|
121
125
|
* ],
|
|
@@ -177,6 +181,7 @@ declare const BatchUpdateAutomationRulesCommand_base: {
|
|
|
177
181
|
* DateRange: {
|
|
178
182
|
* Value: Number("int"),
|
|
179
183
|
* Unit: "DAYS",
|
|
184
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
180
185
|
* },
|
|
181
186
|
* },
|
|
182
187
|
* ],
|
|
@@ -85,6 +85,7 @@ declare const CreateAutomationRuleCommand_base: {
|
|
|
85
85
|
* DateRange: { // DateRange
|
|
86
86
|
* Value: Number("int"),
|
|
87
87
|
* Unit: "DAYS",
|
|
88
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
88
89
|
* },
|
|
89
90
|
* },
|
|
90
91
|
* ],
|
|
@@ -95,6 +96,7 @@ declare const CreateAutomationRuleCommand_base: {
|
|
|
95
96
|
* DateRange: {
|
|
96
97
|
* Value: Number("int"),
|
|
97
98
|
* Unit: "DAYS",
|
|
99
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
98
100
|
* },
|
|
99
101
|
* },
|
|
100
102
|
* ],
|
|
@@ -105,6 +107,7 @@ declare const CreateAutomationRuleCommand_base: {
|
|
|
105
107
|
* DateRange: {
|
|
106
108
|
* Value: Number("int"),
|
|
107
109
|
* Unit: "DAYS",
|
|
110
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
108
111
|
* },
|
|
109
112
|
* },
|
|
110
113
|
* ],
|
|
@@ -115,6 +118,7 @@ declare const CreateAutomationRuleCommand_base: {
|
|
|
115
118
|
* DateRange: {
|
|
116
119
|
* Value: Number("int"),
|
|
117
120
|
* Unit: "DAYS",
|
|
121
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
118
122
|
* },
|
|
119
123
|
* },
|
|
120
124
|
* ],
|
|
@@ -176,6 +180,7 @@ declare const CreateAutomationRuleCommand_base: {
|
|
|
176
180
|
* DateRange: {
|
|
177
181
|
* Value: Number("int"),
|
|
178
182
|
* Unit: "DAYS",
|
|
183
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
179
184
|
* },
|
|
180
185
|
* },
|
|
181
186
|
* ],
|
|
@@ -64,6 +64,7 @@ declare const CreateAutomationRuleV2Command_base: {
|
|
|
64
64
|
* DateRange: { // DateRange
|
|
65
65
|
* Value: Number("int"),
|
|
66
66
|
* Unit: "DAYS",
|
|
67
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
67
68
|
* },
|
|
68
69
|
* },
|
|
69
70
|
* },
|
|
@@ -126,6 +127,7 @@ declare const CreateAutomationRuleV2Command_base: {
|
|
|
126
127
|
* DateRange: {
|
|
127
128
|
* Value: Number("int"),
|
|
128
129
|
* Unit: "DAYS",
|
|
130
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
129
131
|
* },
|
|
130
132
|
* },
|
|
131
133
|
* },
|
|
@@ -80,6 +80,7 @@ declare const CreateInsightCommand_base: {
|
|
|
80
80
|
* DateRange: { // DateRange
|
|
81
81
|
* Value: Number("int"),
|
|
82
82
|
* Unit: "DAYS",
|
|
83
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
83
84
|
* },
|
|
84
85
|
* },
|
|
85
86
|
* ],
|
|
@@ -90,6 +91,7 @@ declare const CreateInsightCommand_base: {
|
|
|
90
91
|
* DateRange: {
|
|
91
92
|
* Value: Number("int"),
|
|
92
93
|
* Unit: "DAYS",
|
|
94
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
93
95
|
* },
|
|
94
96
|
* },
|
|
95
97
|
* ],
|
|
@@ -100,6 +102,7 @@ declare const CreateInsightCommand_base: {
|
|
|
100
102
|
* DateRange: {
|
|
101
103
|
* Value: Number("int"),
|
|
102
104
|
* Unit: "DAYS",
|
|
105
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
103
106
|
* },
|
|
104
107
|
* },
|
|
105
108
|
* ],
|
|
@@ -110,6 +113,7 @@ declare const CreateInsightCommand_base: {
|
|
|
110
113
|
* DateRange: {
|
|
111
114
|
* Value: Number("int"),
|
|
112
115
|
* Unit: "DAYS",
|
|
116
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
113
117
|
* },
|
|
114
118
|
* },
|
|
115
119
|
* ],
|
|
@@ -220,6 +224,7 @@ declare const CreateInsightCommand_base: {
|
|
|
220
224
|
* DateRange: {
|
|
221
225
|
* Value: Number("int"),
|
|
222
226
|
* Unit: "DAYS",
|
|
227
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
223
228
|
* },
|
|
224
229
|
* },
|
|
225
230
|
* ],
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GenerateRecommendedPolicyV2Request, GenerateRecommendedPolicyV2Response } from "../models/models_2";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GenerateRecommendedPolicyV2Command}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GenerateRecommendedPolicyV2CommandInput extends GenerateRecommendedPolicyV2Request {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GenerateRecommendedPolicyV2Command}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GenerateRecommendedPolicyV2CommandOutput extends GenerateRecommendedPolicyV2Response, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GenerateRecommendedPolicyV2Command_base: {
|
|
25
|
+
new (input: GenerateRecommendedPolicyV2CommandInput): import("@smithy/smithy-client").CommandImpl<GenerateRecommendedPolicyV2CommandInput, GenerateRecommendedPolicyV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GenerateRecommendedPolicyV2CommandInput): import("@smithy/smithy-client").CommandImpl<GenerateRecommendedPolicyV2CommandInput, GenerateRecommendedPolicyV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Begins the recommended policy generation to remediate a Security Hub finding.
|
|
31
|
+
* <code>GenerateRecommendedPolicyV2</code> only supports findings for unused permissions.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { SecurityHubClient, GenerateRecommendedPolicyV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
36
|
+
* // const { SecurityHubClient, GenerateRecommendedPolicyV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
37
|
+
* // import type { SecurityHubClientConfig } from "@aws-sdk/client-securityhub";
|
|
38
|
+
* const config = {}; // type is SecurityHubClientConfig
|
|
39
|
+
* const client = new SecurityHubClient(config);
|
|
40
|
+
* const input = { // GenerateRecommendedPolicyV2Request
|
|
41
|
+
* MetadataUid: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GenerateRecommendedPolicyV2Command(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param GenerateRecommendedPolicyV2CommandInput - {@link GenerateRecommendedPolicyV2CommandInput}
|
|
50
|
+
* @returns {@link GenerateRecommendedPolicyV2CommandOutput}
|
|
51
|
+
* @see {@link GenerateRecommendedPolicyV2CommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link GenerateRecommendedPolicyV2CommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>
|
|
60
|
+
* The request has failed due to an internal failure of the service.
|
|
61
|
+
* </p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
64
|
+
* <p>The request was rejected because you supplied an invalid or out-of-range value for an
|
|
65
|
+
* input parameter.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>
|
|
72
|
+
* The limit on the number of requests per second was exceeded.
|
|
73
|
+
* </p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link SecurityHubServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class GenerateRecommendedPolicyV2Command extends GenerateRecommendedPolicyV2Command_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: GenerateRecommendedPolicyV2Request;
|
|
89
|
+
output: {};
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: GenerateRecommendedPolicyV2CommandInput;
|
|
93
|
+
output: GenerateRecommendedPolicyV2CommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -71,6 +71,7 @@ declare const GetAutomationRuleV2Command_base: {
|
|
|
71
71
|
* // DateRange: { // DateRange
|
|
72
72
|
* // Value: Number("int"),
|
|
73
73
|
* // Unit: "DAYS",
|
|
74
|
+
* // Comparison: "WITHIN" || "OLDER_THAN",
|
|
74
75
|
* // },
|
|
75
76
|
* // },
|
|
76
77
|
* // },
|
|
@@ -133,6 +134,7 @@ declare const GetAutomationRuleV2Command_base: {
|
|
|
133
134
|
* // DateRange: {
|
|
134
135
|
* // Value: Number("int"),
|
|
135
136
|
* // Unit: "DAYS",
|
|
137
|
+
* // Comparison: "WITHIN" || "OLDER_THAN",
|
|
136
138
|
* // },
|
|
137
139
|
* // },
|
|
138
140
|
* // },
|
|
@@ -65,6 +65,7 @@ declare const GetFindingStatisticsV2Command_base: {
|
|
|
65
65
|
* DateRange: { // DateRange
|
|
66
66
|
* Value: Number("int"),
|
|
67
67
|
* Unit: "DAYS",
|
|
68
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
68
69
|
* },
|
|
69
70
|
* },
|
|
70
71
|
* },
|
|
@@ -127,6 +128,7 @@ declare const GetFindingStatisticsV2Command_base: {
|
|
|
127
128
|
* DateRange: {
|
|
128
129
|
* Value: Number("int"),
|
|
129
130
|
* Unit: "DAYS",
|
|
131
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
130
132
|
* },
|
|
131
133
|
* },
|
|
132
134
|
* },
|
|
@@ -77,6 +77,7 @@ declare const GetFindingsCommand_base: {
|
|
|
77
77
|
* DateRange: { // DateRange
|
|
78
78
|
* Value: Number("int"),
|
|
79
79
|
* Unit: "DAYS",
|
|
80
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
80
81
|
* },
|
|
81
82
|
* },
|
|
82
83
|
* ],
|
|
@@ -87,6 +88,7 @@ declare const GetFindingsCommand_base: {
|
|
|
87
88
|
* DateRange: {
|
|
88
89
|
* Value: Number("int"),
|
|
89
90
|
* Unit: "DAYS",
|
|
91
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
90
92
|
* },
|
|
91
93
|
* },
|
|
92
94
|
* ],
|
|
@@ -97,6 +99,7 @@ declare const GetFindingsCommand_base: {
|
|
|
97
99
|
* DateRange: {
|
|
98
100
|
* Value: Number("int"),
|
|
99
101
|
* Unit: "DAYS",
|
|
102
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
100
103
|
* },
|
|
101
104
|
* },
|
|
102
105
|
* ],
|
|
@@ -107,6 +110,7 @@ declare const GetFindingsCommand_base: {
|
|
|
107
110
|
* DateRange: {
|
|
108
111
|
* Value: Number("int"),
|
|
109
112
|
* Unit: "DAYS",
|
|
113
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
110
114
|
* },
|
|
111
115
|
* },
|
|
112
116
|
* ],
|
|
@@ -217,6 +221,7 @@ declare const GetFindingsCommand_base: {
|
|
|
217
221
|
* DateRange: {
|
|
218
222
|
* Value: Number("int"),
|
|
219
223
|
* Unit: "DAYS",
|
|
224
|
+
* Comparison: "WITHIN" || "OLDER_THAN",
|
|
220
225
|
* },
|
|
221
226
|
* },
|
|
222
227
|
* ],
|