@aws-sdk/client-securityhub 3.458.0 → 3.459.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.
Files changed (103) hide show
  1. package/README.md +80 -0
  2. package/dist-cjs/SecurityHub.js +20 -0
  3. package/dist-cjs/commands/BatchGetConfigurationPolicyAssociationsCommand.js +51 -0
  4. package/dist-cjs/commands/CreateConfigurationPolicyCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteConfigurationPolicyCommand.js +51 -0
  6. package/dist-cjs/commands/GetConfigurationPolicyAssociationCommand.js +51 -0
  7. package/dist-cjs/commands/GetConfigurationPolicyCommand.js +51 -0
  8. package/dist-cjs/commands/ListConfigurationPoliciesCommand.js +51 -0
  9. package/dist-cjs/commands/ListConfigurationPolicyAssociationsCommand.js +51 -0
  10. package/dist-cjs/commands/StartConfigurationPolicyAssociationCommand.js +51 -0
  11. package/dist-cjs/commands/StartConfigurationPolicyDisassociationCommand.js +51 -0
  12. package/dist-cjs/commands/UpdateConfigurationPolicyCommand.js +51 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/models/models_0.js +10 -1
  15. package/dist-cjs/models/models_2.js +34 -1
  16. package/dist-cjs/pagination/ListConfigurationPoliciesPaginator.js +29 -0
  17. package/dist-cjs/pagination/ListConfigurationPolicyAssociationsPaginator.js +29 -0
  18. package/dist-cjs/pagination/index.js +2 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +943 -35
  20. package/dist-es/SecurityHub.js +20 -0
  21. package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +47 -0
  22. package/dist-es/commands/CreateConfigurationPolicyCommand.js +47 -0
  23. package/dist-es/commands/DeleteConfigurationPolicyCommand.js +47 -0
  24. package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +47 -0
  25. package/dist-es/commands/GetConfigurationPolicyCommand.js +47 -0
  26. package/dist-es/commands/ListConfigurationPoliciesCommand.js +47 -0
  27. package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +47 -0
  28. package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +47 -0
  29. package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +47 -0
  30. package/dist-es/commands/UpdateConfigurationPolicyCommand.js +47 -0
  31. package/dist-es/commands/index.js +10 -0
  32. package/dist-es/models/models_0.js +9 -0
  33. package/dist-es/models/models_2.js +33 -0
  34. package/dist-es/pagination/ListConfigurationPoliciesPaginator.js +25 -0
  35. package/dist-es/pagination/ListConfigurationPolicyAssociationsPaginator.js +25 -0
  36. package/dist-es/pagination/index.js +2 -0
  37. package/dist-es/protocols/Aws_restJson1.js +920 -33
  38. package/dist-types/SecurityHub.d.ts +70 -0
  39. package/dist-types/SecurityHubClient.d.ts +12 -2
  40. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +3 -0
  41. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +3 -0
  42. package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +3 -0
  43. package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +128 -0
  44. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +22 -2
  45. package/dist-types/commands/BatchImportFindingsCommand.d.ts +4 -0
  46. package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +3 -0
  47. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +3 -0
  48. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -0
  49. package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +189 -0
  50. package/dist-types/commands/CreateInsightCommand.d.ts +3 -0
  51. package/dist-types/commands/CreateMembersCommand.d.ts +3 -0
  52. package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +98 -0
  53. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +7 -2
  54. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
  55. package/dist-types/commands/DisableSecurityHubCommand.d.ts +3 -0
  56. package/dist-types/commands/DisassociateMembersCommand.d.ts +3 -0
  57. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
  58. package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +107 -0
  59. package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +143 -0
  60. package/dist-types/commands/GetFindingsCommand.d.ts +7 -0
  61. package/dist-types/commands/GetInsightsCommand.d.ts +3 -0
  62. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +35 -0
  63. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +104 -0
  64. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +110 -0
  65. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +6 -0
  66. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +108 -0
  67. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +102 -0
  68. package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +191 -0
  69. package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -0
  70. package/dist-types/commands/UpdateInsightCommand.d.ts +3 -0
  71. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +16 -2
  72. package/dist-types/commands/UpdateSecurityControlCommand.d.ts +23 -0
  73. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +3 -0
  74. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +3 -0
  75. package/dist-types/commands/index.d.ts +10 -0
  76. package/dist-types/models/models_0.d.ts +86 -192
  77. package/dist-types/models/models_1.d.ts +192 -49
  78. package/dist-types/models/models_2.d.ts +1180 -37
  79. package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +7 -0
  80. package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +7 -0
  81. package/dist-types/pagination/index.d.ts +2 -0
  82. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  83. package/dist-types/ts3.4/SecurityHub.d.ts +200 -0
  84. package/dist-types/ts3.4/SecurityHubClient.d.ts +60 -0
  85. package/dist-types/ts3.4/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +42 -0
  86. package/dist-types/ts3.4/commands/CreateConfigurationPolicyCommand.d.ts +42 -0
  87. package/dist-types/ts3.4/commands/DeleteConfigurationPolicyCommand.d.ts +42 -0
  88. package/dist-types/ts3.4/commands/GetConfigurationPolicyAssociationCommand.d.ts +42 -0
  89. package/dist-types/ts3.4/commands/GetConfigurationPolicyCommand.d.ts +42 -0
  90. package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +42 -0
  91. package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +42 -0
  92. package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +42 -0
  93. package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +42 -0
  94. package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +42 -0
  95. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  96. package/dist-types/ts3.4/models/models_0.d.ts +21 -26
  97. package/dist-types/ts3.4/models/models_1.d.ts +32 -9
  98. package/dist-types/ts3.4/models/models_2.d.ts +243 -4
  99. package/dist-types/ts3.4/pagination/ListConfigurationPoliciesPaginator.d.ts +11 -0
  100. package/dist-types/ts3.4/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +11 -0
  101. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  102. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  103. package/package.json +1 -1
@@ -27,6 +27,10 @@ import {
27
27
  BatchGetAutomationRulesCommandInput,
28
28
  BatchGetAutomationRulesCommandOutput,
29
29
  } from "../commands/BatchGetAutomationRulesCommand";
30
+ import {
31
+ BatchGetConfigurationPolicyAssociationsCommandInput,
32
+ BatchGetConfigurationPolicyAssociationsCommandOutput,
33
+ } from "../commands/BatchGetConfigurationPolicyAssociationsCommand";
30
34
  import {
31
35
  BatchGetSecurityControlsCommandInput,
32
36
  BatchGetSecurityControlsCommandOutput,
@@ -59,6 +63,10 @@ import {
59
63
  CreateAutomationRuleCommandInput,
60
64
  CreateAutomationRuleCommandOutput,
61
65
  } from "../commands/CreateAutomationRuleCommand";
66
+ import {
67
+ CreateConfigurationPolicyCommandInput,
68
+ CreateConfigurationPolicyCommandOutput,
69
+ } from "../commands/CreateConfigurationPolicyCommand";
62
70
  import {
63
71
  CreateFindingAggregatorCommandInput,
64
72
  CreateFindingAggregatorCommandOutput,
@@ -79,6 +87,10 @@ import {
79
87
  DeleteActionTargetCommandInput,
80
88
  DeleteActionTargetCommandOutput,
81
89
  } from "../commands/DeleteActionTargetCommand";
90
+ import {
91
+ DeleteConfigurationPolicyCommandInput,
92
+ DeleteConfigurationPolicyCommandOutput,
93
+ } from "../commands/DeleteConfigurationPolicyCommand";
82
94
  import {
83
95
  DeleteFindingAggregatorCommandInput,
84
96
  DeleteFindingAggregatorCommandOutput,
@@ -159,6 +171,14 @@ import {
159
171
  GetAdministratorAccountCommandInput,
160
172
  GetAdministratorAccountCommandOutput,
161
173
  } from "../commands/GetAdministratorAccountCommand";
174
+ import {
175
+ GetConfigurationPolicyAssociationCommandInput,
176
+ GetConfigurationPolicyAssociationCommandOutput,
177
+ } from "../commands/GetConfigurationPolicyAssociationCommand";
178
+ import {
179
+ GetConfigurationPolicyCommandInput,
180
+ GetConfigurationPolicyCommandOutput,
181
+ } from "../commands/GetConfigurationPolicyCommand";
162
182
  import {
163
183
  GetEnabledStandardsCommandInput,
164
184
  GetEnabledStandardsCommandOutput,
@@ -207,6 +227,14 @@ import {
207
227
  ListAutomationRulesCommandInput,
208
228
  ListAutomationRulesCommandOutput,
209
229
  } from "../commands/ListAutomationRulesCommand";
230
+ import {
231
+ ListConfigurationPoliciesCommandInput,
232
+ ListConfigurationPoliciesCommandOutput,
233
+ } from "../commands/ListConfigurationPoliciesCommand";
234
+ import {
235
+ ListConfigurationPolicyAssociationsCommandInput,
236
+ ListConfigurationPolicyAssociationsCommandOutput,
237
+ } from "../commands/ListConfigurationPolicyAssociationsCommand";
210
238
  import {
211
239
  ListEnabledProductsForImportCommandInput,
212
240
  ListEnabledProductsForImportCommandOutput,
@@ -239,6 +267,14 @@ import {
239
267
  ListTagsForResourceCommandInput,
240
268
  ListTagsForResourceCommandOutput,
241
269
  } from "../commands/ListTagsForResourceCommand";
270
+ import {
271
+ StartConfigurationPolicyAssociationCommandInput,
272
+ StartConfigurationPolicyAssociationCommandOutput,
273
+ } from "../commands/StartConfigurationPolicyAssociationCommand";
274
+ import {
275
+ StartConfigurationPolicyDisassociationCommandInput,
276
+ StartConfigurationPolicyDisassociationCommandOutput,
277
+ } from "../commands/StartConfigurationPolicyDisassociationCommand";
242
278
  import {
243
279
  TagResourceCommandInput,
244
280
  TagResourceCommandOutput,
@@ -251,6 +287,10 @@ import {
251
287
  UpdateActionTargetCommandInput,
252
288
  UpdateActionTargetCommandOutput,
253
289
  } from "../commands/UpdateActionTargetCommand";
290
+ import {
291
+ UpdateConfigurationPolicyCommandInput,
292
+ UpdateConfigurationPolicyCommandOutput,
293
+ } from "../commands/UpdateConfigurationPolicyCommand";
254
294
  import {
255
295
  UpdateFindingAggregatorCommandInput,
256
296
  UpdateFindingAggregatorCommandOutput,
@@ -303,6 +343,10 @@ export declare const se_BatchGetAutomationRulesCommand: (
303
343
  input: BatchGetAutomationRulesCommandInput,
304
344
  context: __SerdeContext
305
345
  ) => Promise<__HttpRequest>;
346
+ export declare const se_BatchGetConfigurationPolicyAssociationsCommand: (
347
+ input: BatchGetConfigurationPolicyAssociationsCommandInput,
348
+ context: __SerdeContext
349
+ ) => Promise<__HttpRequest>;
306
350
  export declare const se_BatchGetSecurityControlsCommand: (
307
351
  input: BatchGetSecurityControlsCommandInput,
308
352
  context: __SerdeContext
@@ -335,6 +379,10 @@ export declare const se_CreateAutomationRuleCommand: (
335
379
  input: CreateAutomationRuleCommandInput,
336
380
  context: __SerdeContext
337
381
  ) => Promise<__HttpRequest>;
382
+ export declare const se_CreateConfigurationPolicyCommand: (
383
+ input: CreateConfigurationPolicyCommandInput,
384
+ context: __SerdeContext
385
+ ) => Promise<__HttpRequest>;
338
386
  export declare const se_CreateFindingAggregatorCommand: (
339
387
  input: CreateFindingAggregatorCommandInput,
340
388
  context: __SerdeContext
@@ -355,6 +403,10 @@ export declare const se_DeleteActionTargetCommand: (
355
403
  input: DeleteActionTargetCommandInput,
356
404
  context: __SerdeContext
357
405
  ) => Promise<__HttpRequest>;
406
+ export declare const se_DeleteConfigurationPolicyCommand: (
407
+ input: DeleteConfigurationPolicyCommandInput,
408
+ context: __SerdeContext
409
+ ) => Promise<__HttpRequest>;
358
410
  export declare const se_DeleteFindingAggregatorCommand: (
359
411
  input: DeleteFindingAggregatorCommandInput,
360
412
  context: __SerdeContext
@@ -435,6 +487,14 @@ export declare const se_GetAdministratorAccountCommand: (
435
487
  input: GetAdministratorAccountCommandInput,
436
488
  context: __SerdeContext
437
489
  ) => Promise<__HttpRequest>;
490
+ export declare const se_GetConfigurationPolicyCommand: (
491
+ input: GetConfigurationPolicyCommandInput,
492
+ context: __SerdeContext
493
+ ) => Promise<__HttpRequest>;
494
+ export declare const se_GetConfigurationPolicyAssociationCommand: (
495
+ input: GetConfigurationPolicyAssociationCommandInput,
496
+ context: __SerdeContext
497
+ ) => Promise<__HttpRequest>;
438
498
  export declare const se_GetEnabledStandardsCommand: (
439
499
  input: GetEnabledStandardsCommandInput,
440
500
  context: __SerdeContext
@@ -483,6 +543,14 @@ export declare const se_ListAutomationRulesCommand: (
483
543
  input: ListAutomationRulesCommandInput,
484
544
  context: __SerdeContext
485
545
  ) => Promise<__HttpRequest>;
546
+ export declare const se_ListConfigurationPoliciesCommand: (
547
+ input: ListConfigurationPoliciesCommandInput,
548
+ context: __SerdeContext
549
+ ) => Promise<__HttpRequest>;
550
+ export declare const se_ListConfigurationPolicyAssociationsCommand: (
551
+ input: ListConfigurationPolicyAssociationsCommandInput,
552
+ context: __SerdeContext
553
+ ) => Promise<__HttpRequest>;
486
554
  export declare const se_ListEnabledProductsForImportCommand: (
487
555
  input: ListEnabledProductsForImportCommandInput,
488
556
  context: __SerdeContext
@@ -515,6 +583,14 @@ export declare const se_ListTagsForResourceCommand: (
515
583
  input: ListTagsForResourceCommandInput,
516
584
  context: __SerdeContext
517
585
  ) => Promise<__HttpRequest>;
586
+ export declare const se_StartConfigurationPolicyAssociationCommand: (
587
+ input: StartConfigurationPolicyAssociationCommandInput,
588
+ context: __SerdeContext
589
+ ) => Promise<__HttpRequest>;
590
+ export declare const se_StartConfigurationPolicyDisassociationCommand: (
591
+ input: StartConfigurationPolicyDisassociationCommandInput,
592
+ context: __SerdeContext
593
+ ) => Promise<__HttpRequest>;
518
594
  export declare const se_TagResourceCommand: (
519
595
  input: TagResourceCommandInput,
520
596
  context: __SerdeContext
@@ -527,6 +603,10 @@ export declare const se_UpdateActionTargetCommand: (
527
603
  input: UpdateActionTargetCommandInput,
528
604
  context: __SerdeContext
529
605
  ) => Promise<__HttpRequest>;
606
+ export declare const se_UpdateConfigurationPolicyCommand: (
607
+ input: UpdateConfigurationPolicyCommandInput,
608
+ context: __SerdeContext
609
+ ) => Promise<__HttpRequest>;
530
610
  export declare const se_UpdateFindingAggregatorCommand: (
531
611
  input: UpdateFindingAggregatorCommandInput,
532
612
  context: __SerdeContext
@@ -579,6 +659,10 @@ export declare const de_BatchGetAutomationRulesCommand: (
579
659
  output: __HttpResponse,
580
660
  context: __SerdeContext
581
661
  ) => Promise<BatchGetAutomationRulesCommandOutput>;
662
+ export declare const de_BatchGetConfigurationPolicyAssociationsCommand: (
663
+ output: __HttpResponse,
664
+ context: __SerdeContext
665
+ ) => Promise<BatchGetConfigurationPolicyAssociationsCommandOutput>;
582
666
  export declare const de_BatchGetSecurityControlsCommand: (
583
667
  output: __HttpResponse,
584
668
  context: __SerdeContext
@@ -611,6 +695,10 @@ export declare const de_CreateAutomationRuleCommand: (
611
695
  output: __HttpResponse,
612
696
  context: __SerdeContext
613
697
  ) => Promise<CreateAutomationRuleCommandOutput>;
698
+ export declare const de_CreateConfigurationPolicyCommand: (
699
+ output: __HttpResponse,
700
+ context: __SerdeContext
701
+ ) => Promise<CreateConfigurationPolicyCommandOutput>;
614
702
  export declare const de_CreateFindingAggregatorCommand: (
615
703
  output: __HttpResponse,
616
704
  context: __SerdeContext
@@ -631,6 +719,10 @@ export declare const de_DeleteActionTargetCommand: (
631
719
  output: __HttpResponse,
632
720
  context: __SerdeContext
633
721
  ) => Promise<DeleteActionTargetCommandOutput>;
722
+ export declare const de_DeleteConfigurationPolicyCommand: (
723
+ output: __HttpResponse,
724
+ context: __SerdeContext
725
+ ) => Promise<DeleteConfigurationPolicyCommandOutput>;
634
726
  export declare const de_DeleteFindingAggregatorCommand: (
635
727
  output: __HttpResponse,
636
728
  context: __SerdeContext
@@ -711,6 +803,14 @@ export declare const de_GetAdministratorAccountCommand: (
711
803
  output: __HttpResponse,
712
804
  context: __SerdeContext
713
805
  ) => Promise<GetAdministratorAccountCommandOutput>;
806
+ export declare const de_GetConfigurationPolicyCommand: (
807
+ output: __HttpResponse,
808
+ context: __SerdeContext
809
+ ) => Promise<GetConfigurationPolicyCommandOutput>;
810
+ export declare const de_GetConfigurationPolicyAssociationCommand: (
811
+ output: __HttpResponse,
812
+ context: __SerdeContext
813
+ ) => Promise<GetConfigurationPolicyAssociationCommandOutput>;
714
814
  export declare const de_GetEnabledStandardsCommand: (
715
815
  output: __HttpResponse,
716
816
  context: __SerdeContext
@@ -759,6 +859,14 @@ export declare const de_ListAutomationRulesCommand: (
759
859
  output: __HttpResponse,
760
860
  context: __SerdeContext
761
861
  ) => Promise<ListAutomationRulesCommandOutput>;
862
+ export declare const de_ListConfigurationPoliciesCommand: (
863
+ output: __HttpResponse,
864
+ context: __SerdeContext
865
+ ) => Promise<ListConfigurationPoliciesCommandOutput>;
866
+ export declare const de_ListConfigurationPolicyAssociationsCommand: (
867
+ output: __HttpResponse,
868
+ context: __SerdeContext
869
+ ) => Promise<ListConfigurationPolicyAssociationsCommandOutput>;
762
870
  export declare const de_ListEnabledProductsForImportCommand: (
763
871
  output: __HttpResponse,
764
872
  context: __SerdeContext
@@ -791,6 +899,14 @@ export declare const de_ListTagsForResourceCommand: (
791
899
  output: __HttpResponse,
792
900
  context: __SerdeContext
793
901
  ) => Promise<ListTagsForResourceCommandOutput>;
902
+ export declare const de_StartConfigurationPolicyAssociationCommand: (
903
+ output: __HttpResponse,
904
+ context: __SerdeContext
905
+ ) => Promise<StartConfigurationPolicyAssociationCommandOutput>;
906
+ export declare const de_StartConfigurationPolicyDisassociationCommand: (
907
+ output: __HttpResponse,
908
+ context: __SerdeContext
909
+ ) => Promise<StartConfigurationPolicyDisassociationCommandOutput>;
794
910
  export declare const de_TagResourceCommand: (
795
911
  output: __HttpResponse,
796
912
  context: __SerdeContext
@@ -803,6 +919,10 @@ export declare const de_UpdateActionTargetCommand: (
803
919
  output: __HttpResponse,
804
920
  context: __SerdeContext
805
921
  ) => Promise<UpdateActionTargetCommandOutput>;
922
+ export declare const de_UpdateConfigurationPolicyCommand: (
923
+ output: __HttpResponse,
924
+ context: __SerdeContext
925
+ ) => Promise<UpdateConfigurationPolicyCommandOutput>;
806
926
  export declare const de_UpdateFindingAggregatorCommand: (
807
927
  output: __HttpResponse,
808
928
  context: __SerdeContext
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.458.0",
4
+ "version": "3.459.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",