@aws-sdk/client-securityhub 3.936.0 → 3.939.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 (53) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +226 -0
  3. package/dist-es/SecurityHub.js +4 -0
  4. package/dist-es/commands/GetFindingsTrendsV2Command.js +16 -0
  5. package/dist-es/commands/GetResourcesTrendsV2Command.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +23 -0
  8. package/dist-es/pagination/GetFindingsTrendsV2Paginator.js +4 -0
  9. package/dist-es/pagination/GetResourcesTrendsV2Paginator.js +4 -0
  10. package/dist-es/pagination/index.js +3 -1
  11. package/dist-es/schemas/schemas_0.js +166 -0
  12. package/dist-types/SecurityHub.d.ts +14 -0
  13. package/dist-types/SecurityHubClient.d.ts +4 -2
  14. package/dist-types/commands/ConnectorRegistrationsV2Command.d.ts +1 -1
  15. package/dist-types/commands/CreateConnectorV2Command.d.ts +1 -1
  16. package/dist-types/commands/CreateTicketV2Command.d.ts +1 -1
  17. package/dist-types/commands/DeleteConnectorV2Command.d.ts +1 -1
  18. package/dist-types/commands/GetConnectorV2Command.d.ts +1 -1
  19. package/dist-types/commands/GetFindingsTrendsV2Command.d.ts +144 -0
  20. package/dist-types/commands/GetResourcesTrendsV2Command.d.ts +137 -0
  21. package/dist-types/commands/ListConnectorsV2Command.d.ts +1 -1
  22. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +2 -1
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  24. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
  25. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
  26. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateConnectorV2Command.d.ts +1 -1
  28. package/dist-types/commands/index.d.ts +2 -0
  29. package/dist-types/models/enums.d.ts +47 -0
  30. package/dist-types/models/models_2.d.ts +184 -191
  31. package/dist-types/models/models_3.d.ts +326 -2
  32. package/dist-types/pagination/GetFindingsTrendsV2Paginator.d.ts +7 -0
  33. package/dist-types/pagination/GetResourcesTrendsV2Paginator.d.ts +7 -0
  34. package/dist-types/pagination/index.d.ts +3 -1
  35. package/dist-types/schemas/schemas_0.d.ts +24 -0
  36. package/dist-types/ts3.4/SecurityHub.d.ts +34 -0
  37. package/dist-types/ts3.4/SecurityHubClient.d.ts +12 -0
  38. package/dist-types/ts3.4/commands/GetFindingsTrendsV2Command.d.ts +49 -0
  39. package/dist-types/ts3.4/commands/GetResourcesTrendsV2Command.d.ts +49 -0
  40. package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  46. package/dist-types/ts3.4/models/enums.d.ts +29 -0
  47. package/dist-types/ts3.4/models/models_2.d.ts +48 -52
  48. package/dist-types/ts3.4/models/models_3.d.ts +92 -1
  49. package/dist-types/ts3.4/pagination/GetFindingsTrendsV2Paginator.d.ts +11 -0
  50. package/dist-types/ts3.4/pagination/GetResourcesTrendsV2Paginator.d.ts +11 -0
  51. package/dist-types/ts3.4/pagination/index.d.ts +3 -1
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
  53. package/package.json +2 -2
@@ -727,6 +727,7 @@ const _ARQLCD = "AwsRoute53QueryLoggingConfigDetails";
727
727
  const _ARTIS = "AuthorizerResultTtlInSeconds";
728
728
  const _ARc = "AcceptanceRequired";
729
729
  const _ARg = "AggregationRegion";
730
+ const _ARl = "AllResources";
730
731
  const _ARs = "AssociatedRoles";
731
732
  const _ARu = "AutoRecovery";
732
733
  const _ARw = "AwsRegion";
@@ -1747,6 +1748,11 @@ const _FSFRA = "FirehoseSuccessFeedbackRoleArn";
1747
1748
  const _FSI = "FileSystemId";
1748
1749
  const _FSi = "FindingsSummary";
1749
1750
  const _FT = "FindingType";
1751
+ const _FTCF = "FindingsTrendsCompositeFilter";
1752
+ const _FTCFL = "FindingsTrendsCompositeFilterList";
1753
+ const _FTF = "FindingsTrendsFilters";
1754
+ const _FTSF = "FindingsTrendsStringFilter";
1755
+ const _FTSFL = "FindingsTrendsStringFilterList";
1750
1756
  const _FV = "FieldValue";
1751
1757
  const _Fa = "Family";
1752
1758
  const _Fat = "Fatal";
@@ -1804,6 +1810,9 @@ const _GFRe = "GetFindingsResponse";
1804
1810
  const _GFSV = "GetFindingStatisticsV2";
1805
1811
  const _GFSVR = "GetFindingStatisticsV2Request";
1806
1812
  const _GFSVRe = "GetFindingStatisticsV2Response";
1813
+ const _GFTV = "GetFindingsTrendsV2";
1814
+ const _GFTVR = "GetFindingsTrendsV2Request";
1815
+ const _GFTVRe = "GetFindingsTrendsV2Response";
1807
1816
  const _GFV = "GetFindingsV2";
1808
1817
  const _GFVR = "GetFindingsV2Request";
1809
1818
  const _GFVRe = "GetFindingsV2Response";
@@ -1835,6 +1844,9 @@ const _GRSV = "GetResourcesStatisticsV2";
1835
1844
  const _GRSVR = "GetResourcesStatisticsV2Request";
1836
1845
  const _GRSVRe = "GetResourcesStatisticsV2Response";
1837
1846
  const _GRT = "GeneratedRulesType";
1847
+ const _GRTV = "GetResourcesTrendsV2";
1848
+ const _GRTVR = "GetResourcesTrendsV2Request";
1849
+ const _GRTVRe = "GetResourcesTrendsV2Response";
1838
1850
  const _GRV = "GetResourcesV2";
1839
1851
  const _GRVR = "GetResourcesV2Request";
1840
1852
  const _GRVRe = "GetResourcesV2Response";
@@ -1845,6 +1857,7 @@ const _GSI = "GlobalSecondaryIndexes";
1845
1857
  const _GTV = "GlobalTableVersion";
1846
1858
  const _Gi = "Gid";
1847
1859
  const _Gr = "Groups";
1860
+ const _Gra = "Granularity";
1848
1861
  const _Gro = "Group";
1849
1862
  const _Gt = "Gte";
1850
1863
  const _Gt_ = "Gt";
@@ -2653,6 +2666,7 @@ const _RCeq = "RequiresCompatibilities";
2653
2666
  const _RCes = "ResponseCode";
2654
2667
  const _RCeso = "ResourceCategory";
2655
2668
  const _RCesou = "ResourceConfig";
2669
+ const _RCesour = "ResourcesCount";
2656
2670
  const _RCo = "RoutingConfig";
2657
2671
  const _RD = "RootDirectory";
2658
2672
  const _RDCTD = "ResourceDetailCaptureTimeDt";
@@ -2806,10 +2820,18 @@ const _RSul = "RulesString";
2806
2820
  const _RT = "ResourceType";
2807
2821
  const _RTAI = "RouteTableAssociationId";
2808
2822
  const _RTC = "RunningTasksCount";
2823
+ const _RTCF = "ResourcesTrendsCompositeFilter";
2824
+ const _RTCFL = "ResourcesTrendsCompositeFilterList";
2825
+ const _RTF = "ResourcesTrendsFilters";
2809
2826
  const _RTI = "RouteTableId";
2810
2827
  const _RTIe = "ReplicationTaskIdentifier";
2811
2828
  const _RTL = "ResourceTagList";
2829
+ const _RTM = "ResourcesTrendsMetrics";
2830
+ const _RTMR = "ResourcesTrendsMetricsResult";
2812
2831
  const _RTS = "ReplicationTaskSettings";
2832
+ const _RTSF = "ResourcesTrendsStringFilter";
2833
+ const _RTSFL = "ResourcesTrendsStringFilterList";
2834
+ const _RTV = "ResourcesTrendsValues";
2813
2835
  const _RTe = "ResourceTags";
2814
2836
  const _RTec = "RecommendationText";
2815
2837
  const _RTes = "ResizeType";
@@ -3072,9 +3094,11 @@ const _SSu = "SubnetStatus";
3072
3094
  const _ST = "StorageType";
3073
3095
  const _STA = "SnsTopicArn";
3074
3096
  const _STAo = "SourceTableArn";
3097
+ const _STC = "SeverityTrendsCount";
3075
3098
  const _STH = "SessionTimeoutHours";
3076
3099
  const _STN = "SnsTopicName";
3077
3100
  const _STe = "ServiceType";
3101
+ const _STev = "SeverityTrends";
3078
3102
  const _STn = "SnapshotType";
3079
3103
  const _STo = "SourceType";
3080
3104
  const _STp = "SplitTunnel";
@@ -3163,6 +3187,8 @@ const _TLSSP = "TLSSecurityPolicy";
3163
3187
  const _TM = "TableMappings";
3164
3188
  const _TMD = "TreatMissingData";
3165
3189
  const _TMI = "ThresholdMetricId";
3190
+ const _TMR = "TrendsMetricsResult";
3191
+ const _TMr = "TrendsMetrics";
3166
3192
  const _TN = "TableName";
3167
3193
  const _TNo = "TopicName";
3168
3194
  const _TO = "TunnelOptions";
@@ -3180,6 +3206,7 @@ const _TSB = "TableSizeBytes";
3180
3206
  const _TSU = "TicketSrcUrl";
3181
3207
  const _TT = "TargetType";
3182
3208
  const _TTa = "TargetTypes";
3209
+ const _TV = "TrendsValues";
3183
3210
  const _TZ = "TimeZone";
3184
3211
  const _Ta = "Target";
3185
3212
  const _Tag = "Tag";
@@ -3195,6 +3222,7 @@ const _Ti = "Title";
3195
3222
  const _Tie = "Tier";
3196
3223
  const _Tim = "Timeout";
3197
3224
  const _Time = "Timezone";
3225
+ const _Times = "Timestamp";
3198
3226
  const _Tl = "Tls";
3199
3227
  const _Tm = "Tmpfs";
3200
3228
  const _To = "To";
@@ -8903,6 +8931,30 @@ export var FindingProviderFields = [
8903
8931
  [1, 1, () => RelatedFindingList, () => FindingProviderSeverity, 64 | 0],
8904
8932
  ];
8905
8933
  export var FindingProviderSeverity = [3, n0, _FPS, 0, [_Lab, _Orig], [0, 0]];
8934
+ export var FindingsTrendsCompositeFilter = [
8935
+ 3,
8936
+ n0,
8937
+ _FTCF,
8938
+ 0,
8939
+ [_SF, _NCF, _Oper],
8940
+ [() => FindingsTrendsStringFilterList, () => FindingsTrendsCompositeFilterList, 0],
8941
+ ];
8942
+ export var FindingsTrendsFilters = [
8943
+ 3,
8944
+ n0,
8945
+ _FTF,
8946
+ 0,
8947
+ [_CFo, _COo],
8948
+ [() => FindingsTrendsCompositeFilterList, 0],
8949
+ ];
8950
+ export var FindingsTrendsStringFilter = [
8951
+ 3,
8952
+ n0,
8953
+ _FTSF,
8954
+ 0,
8955
+ [_FNie, _Fil],
8956
+ [0, () => StringFilter],
8957
+ ];
8906
8958
  export var FirewallPolicyDetails = [
8907
8959
  3,
8908
8960
  n0,
@@ -9042,6 +9094,22 @@ export var GetFindingStatisticsV2Request = [
9042
9094
  [() => GroupByRules, 0, 1],
9043
9095
  ];
9044
9096
  export var GetFindingStatisticsV2Response = [3, n0, _GFSVRe, 0, [_GBRr], [() => GroupByResults]];
9097
+ export var GetFindingsTrendsV2Request = [
9098
+ 3,
9099
+ n0,
9100
+ _GFTVR,
9101
+ 0,
9102
+ [_Filt, _STtar, _ETnd, _NTe, _MRa],
9103
+ [() => FindingsTrendsFilters, 5, 5, 0, 1],
9104
+ ];
9105
+ export var GetFindingsTrendsV2Response = [
9106
+ 3,
9107
+ n0,
9108
+ _GFTVRe,
9109
+ 0,
9110
+ [_Gra, _TMr, _NTe],
9111
+ [0, () => TrendsMetrics, 0],
9112
+ ];
9045
9113
  export var GetFindingsV2Request = [
9046
9114
  3,
9047
9115
  n0,
@@ -9084,6 +9152,22 @@ export var GetResourcesStatisticsV2Response = [
9084
9152
  [_GBRr],
9085
9153
  [() => GroupByResults],
9086
9154
  ];
9155
+ export var GetResourcesTrendsV2Request = [
9156
+ 3,
9157
+ n0,
9158
+ _GRTVR,
9159
+ 0,
9160
+ [_Filt, _STtar, _ETnd, _NTe, _MRa],
9161
+ [() => ResourcesTrendsFilters, 5, 5, 0, 1],
9162
+ ];
9163
+ export var GetResourcesTrendsV2Response = [
9164
+ 3,
9165
+ n0,
9166
+ _GRTVRe,
9167
+ 0,
9168
+ [_Gra, _TMr, _NTe],
9169
+ [0, () => ResourcesTrendsMetrics, 0],
9170
+ ];
9087
9171
  export var GetResourcesV2Request = [
9088
9172
  3,
9089
9173
  n0,
@@ -10028,6 +10112,7 @@ export var ResourcesCompositeFilter = [
10028
10112
  0,
10029
10113
  ],
10030
10114
  ];
10115
+ export var ResourcesCount = [3, n0, _RCesour, 0, [_ARl], [1]];
10031
10116
  export var ResourcesDateFilter = [3, n0, _RDF, 0, [_FNie, _Fil], [0, () => DateFilter]];
10032
10117
  export var ResourceSeverityBreakdown = [
10033
10118
  3,
@@ -10048,6 +10133,39 @@ export var ResourcesFilters = [
10048
10133
  export var ResourcesMapFilter = [3, n0, _RMF, 0, [_FNie, _Fil], [0, () => MapFilter]];
10049
10134
  export var ResourcesNumberFilter = [3, n0, _RNF, 0, [_FNie, _Fil], [0, () => NumberFilter]];
10050
10135
  export var ResourcesStringFilter = [3, n0, _RSF, 0, [_FNie, _Fil], [0, () => StringFilter]];
10136
+ export var ResourcesTrendsCompositeFilter = [
10137
+ 3,
10138
+ n0,
10139
+ _RTCF,
10140
+ 0,
10141
+ [_SF, _NCF, _Oper],
10142
+ [() => ResourcesTrendsStringFilterList, () => ResourcesTrendsCompositeFilterList, 0],
10143
+ ];
10144
+ export var ResourcesTrendsFilters = [
10145
+ 3,
10146
+ n0,
10147
+ _RTF,
10148
+ 0,
10149
+ [_CFo, _COo],
10150
+ [() => ResourcesTrendsCompositeFilterList, 0],
10151
+ ];
10152
+ export var ResourcesTrendsMetricsResult = [
10153
+ 3,
10154
+ n0,
10155
+ _RTMR,
10156
+ 0,
10157
+ [_Times, _TV],
10158
+ [5, () => ResourcesTrendsValues],
10159
+ ];
10160
+ export var ResourcesTrendsStringFilter = [
10161
+ 3,
10162
+ n0,
10163
+ _RTSF,
10164
+ 0,
10165
+ [_FNie, _Fil],
10166
+ [0, () => StringFilter],
10167
+ ];
10168
+ export var ResourcesTrendsValues = [3, n0, _RTV, 0, [_RCesour], [() => ResourcesCount]];
10051
10169
  export var ResourceTag = [3, n0, _RTeso, 0, [_K, _Val], [0, 0]];
10052
10170
  export var Result = [3, n0, _Resu, 0, [_AIc, _PRr], [0, 0]];
10053
10171
  export var RouteSetDetails = [
@@ -10283,6 +10401,14 @@ export var ServiceNowProviderConfiguration = [
10283
10401
  [0, 0, [() => SensitiveNonEmptyString, 0]],
10284
10402
  ];
10285
10403
  export var Severity = [3, n0, _Se, 0, [_Produ, _Lab, _Norm, _Orig], [1, 0, 1, 0]];
10404
+ export var SeverityTrendsCount = [
10405
+ 3,
10406
+ n0,
10407
+ _STC,
10408
+ 0,
10409
+ [_Unk, _Inf, _Low, _Med, _Hi, _Crit, _Fat, _Ot],
10410
+ [1, 1, 1, 1, 1, 1, 1, 1],
10411
+ ];
10286
10412
  export var SeverityUpdate = [3, n0, _SUe, 0, [_Norm, _Produ, _Lab], [1, 1, 0]];
10287
10413
  export var Signal = [
10288
10414
  3,
@@ -10429,6 +10555,8 @@ export var ThrottlingException = [
10429
10555
  [0, 0],
10430
10556
  ];
10431
10557
  TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
10558
+ export var TrendsMetricsResult = [3, n0, _TMR, 0, [_Times, _TV], [5, () => TrendsValues]];
10559
+ export var TrendsValues = [3, n0, _TV, 0, [_STev], [() => SeverityTrendsCount]];
10432
10560
  export var UnprocessedAutomationRule = [3, n0, _UARn, 0, [_RA, _ECr, _EMr], [0, 1, 0]];
10433
10561
  export var UnprocessedConfigurationPolicyAssociation = [
10434
10562
  3,
@@ -11513,6 +11641,14 @@ export var FilePathList = [1, n0, _FPL, 0, () => FilePaths];
11513
11641
  export var FindingAggregatorList = [1, n0, _FAL, 0, () => FindingAggregator];
11514
11642
  export var FindingHistoryRecordList = [1, n0, _FHRL, 0, () => FindingHistoryRecord];
11515
11643
  export var FindingHistoryUpdatesList = [1, n0, _FHUL, 0, () => FindingHistoryUpdate];
11644
+ export var FindingsTrendsCompositeFilterList = [
11645
+ 1,
11646
+ n0,
11647
+ _FTCFL,
11648
+ 0,
11649
+ () => FindingsTrendsCompositeFilter,
11650
+ ];
11651
+ export var FindingsTrendsStringFilterList = [1, n0, _FTSFL, 0, () => FindingsTrendsStringFilter];
11516
11652
  export var FirewallPolicyStatefulRuleGroupReferencesList = [
11517
11653
  1,
11518
11654
  n0,
@@ -11584,6 +11720,15 @@ export var ResourcesDateFilterList = [1, n0, _RDFL, 0, () => ResourcesDateFilter
11584
11720
  export var ResourcesMapFilterList = [1, n0, _RMFL, 0, () => ResourcesMapFilter];
11585
11721
  export var ResourcesNumberFilterList = [1, n0, _RNFL, 0, () => ResourcesNumberFilter];
11586
11722
  export var ResourcesStringFilterList = [1, n0, _RSFL, 0, () => ResourcesStringFilter];
11723
+ export var ResourcesTrendsCompositeFilterList = [
11724
+ 1,
11725
+ n0,
11726
+ _RTCFL,
11727
+ 0,
11728
+ () => ResourcesTrendsCompositeFilter,
11729
+ ];
11730
+ export var ResourcesTrendsMetrics = [1, n0, _RTM, 0, () => ResourcesTrendsMetricsResult];
11731
+ export var ResourcesTrendsStringFilterList = [1, n0, _RTSFL, 0, () => ResourcesTrendsStringFilter];
11587
11732
  export var ResourceTagList = [1, n0, _RTL, 0, () => ResourceTag];
11588
11733
  export var ResultList = [1, n0, _RLes, 0, () => Result];
11589
11734
  export var RouteSetList = [1, n0, _RSLo, 0, () => RouteSetDetails];
@@ -11709,6 +11854,7 @@ export var StringList = 64 | 0;
11709
11854
  export var TagKeyList = 64 | 0;
11710
11855
  export var ThreatIntelIndicatorList = [1, n0, _TIIL, 0, () => ThreatIntelIndicator];
11711
11856
  export var ThreatList = [1, n0, _TL, 0, () => Threat];
11857
+ export var TrendsMetrics = [1, n0, _TMr, 0, () => TrendsMetricsResult];
11712
11858
  export var TypeList = 64 | 0;
11713
11859
  export var UnprocessedAutomationRulesList = [1, n0, _UARL, 0, () => UnprocessedAutomationRule];
11714
11860
  export var UnprocessedConfigurationPolicyAssociationList = [
@@ -12459,6 +12605,16 @@ export var GetFindingStatisticsV2 = [
12459
12605
  () => GetFindingStatisticsV2Request,
12460
12606
  () => GetFindingStatisticsV2Response,
12461
12607
  ];
12608
+ export var GetFindingsTrendsV2 = [
12609
+ 9,
12610
+ n0,
12611
+ _GFTV,
12612
+ {
12613
+ [_h]: ["POST", "/findingsTrendsv2", 200],
12614
+ },
12615
+ () => GetFindingsTrendsV2Request,
12616
+ () => GetFindingsTrendsV2Response,
12617
+ ];
12462
12618
  export var GetFindingsV2 = [
12463
12619
  9,
12464
12620
  n0,
@@ -12529,6 +12685,16 @@ export var GetResourcesStatisticsV2 = [
12529
12685
  () => GetResourcesStatisticsV2Request,
12530
12686
  () => GetResourcesStatisticsV2Response,
12531
12687
  ];
12688
+ export var GetResourcesTrendsV2 = [
12689
+ 9,
12690
+ n0,
12691
+ _GRTV,
12692
+ {
12693
+ [_h]: ["POST", "/resourcesTrendsv2", 200],
12694
+ },
12695
+ () => GetResourcesTrendsV2Request,
12696
+ () => GetResourcesTrendsV2Response,
12697
+ ];
12532
12698
  export var GetResourcesV2 = [
12533
12699
  9,
12534
12700
  n0,
@@ -64,6 +64,7 @@ import { GetFindingAggregatorCommandInput, GetFindingAggregatorCommandOutput } f
64
64
  import { GetFindingHistoryCommandInput, GetFindingHistoryCommandOutput } from "./commands/GetFindingHistoryCommand";
65
65
  import { GetFindingsCommandInput, GetFindingsCommandOutput } from "./commands/GetFindingsCommand";
66
66
  import { GetFindingStatisticsV2CommandInput, GetFindingStatisticsV2CommandOutput } from "./commands/GetFindingStatisticsV2Command";
67
+ import { GetFindingsTrendsV2CommandInput, GetFindingsTrendsV2CommandOutput } from "./commands/GetFindingsTrendsV2Command";
67
68
  import { GetFindingsV2CommandInput, GetFindingsV2CommandOutput } from "./commands/GetFindingsV2Command";
68
69
  import { GetInsightResultsCommandInput, GetInsightResultsCommandOutput } from "./commands/GetInsightResultsCommand";
69
70
  import { GetInsightsCommandInput, GetInsightsCommandOutput } from "./commands/GetInsightsCommand";
@@ -71,6 +72,7 @@ import { GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput } fro
71
72
  import { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
72
73
  import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
73
74
  import { GetResourcesStatisticsV2CommandInput, GetResourcesStatisticsV2CommandOutput } from "./commands/GetResourcesStatisticsV2Command";
75
+ import { GetResourcesTrendsV2CommandInput, GetResourcesTrendsV2CommandOutput } from "./commands/GetResourcesTrendsV2Command";
74
76
  import { GetResourcesV2CommandInput, GetResourcesV2CommandOutput } from "./commands/GetResourcesV2Command";
75
77
  import { GetSecurityControlDefinitionCommandInput, GetSecurityControlDefinitionCommandOutput } from "./commands/GetSecurityControlDefinitionCommand";
76
78
  import { InviteMembersCommandInput, InviteMembersCommandOutput } from "./commands/InviteMembersCommand";
@@ -513,6 +515,12 @@ export interface SecurityHub {
513
515
  getFindingStatisticsV2(args: GetFindingStatisticsV2CommandInput, options?: __HttpHandlerOptions): Promise<GetFindingStatisticsV2CommandOutput>;
514
516
  getFindingStatisticsV2(args: GetFindingStatisticsV2CommandInput, cb: (err: any, data?: GetFindingStatisticsV2CommandOutput) => void): void;
515
517
  getFindingStatisticsV2(args: GetFindingStatisticsV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFindingStatisticsV2CommandOutput) => void): void;
518
+ /**
519
+ * @see {@link GetFindingsTrendsV2Command}
520
+ */
521
+ getFindingsTrendsV2(args: GetFindingsTrendsV2CommandInput, options?: __HttpHandlerOptions): Promise<GetFindingsTrendsV2CommandOutput>;
522
+ getFindingsTrendsV2(args: GetFindingsTrendsV2CommandInput, cb: (err: any, data?: GetFindingsTrendsV2CommandOutput) => void): void;
523
+ getFindingsTrendsV2(args: GetFindingsTrendsV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFindingsTrendsV2CommandOutput) => void): void;
516
524
  /**
517
525
  * @see {@link GetFindingsV2Command}
518
526
  */
@@ -559,6 +567,12 @@ export interface SecurityHub {
559
567
  getResourcesStatisticsV2(args: GetResourcesStatisticsV2CommandInput, options?: __HttpHandlerOptions): Promise<GetResourcesStatisticsV2CommandOutput>;
560
568
  getResourcesStatisticsV2(args: GetResourcesStatisticsV2CommandInput, cb: (err: any, data?: GetResourcesStatisticsV2CommandOutput) => void): void;
561
569
  getResourcesStatisticsV2(args: GetResourcesStatisticsV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcesStatisticsV2CommandOutput) => void): void;
570
+ /**
571
+ * @see {@link GetResourcesTrendsV2Command}
572
+ */
573
+ getResourcesTrendsV2(args: GetResourcesTrendsV2CommandInput, options?: __HttpHandlerOptions): Promise<GetResourcesTrendsV2CommandOutput>;
574
+ getResourcesTrendsV2(args: GetResourcesTrendsV2CommandInput, cb: (err: any, data?: GetResourcesTrendsV2CommandOutput) => void): void;
575
+ getResourcesTrendsV2(args: GetResourcesTrendsV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcesTrendsV2CommandOutput) => void): void;
562
576
  /**
563
577
  * @see {@link GetResourcesV2Command}
564
578
  */
@@ -72,6 +72,7 @@ import { GetFindingAggregatorCommandInput, GetFindingAggregatorCommandOutput } f
72
72
  import { GetFindingHistoryCommandInput, GetFindingHistoryCommandOutput } from "./commands/GetFindingHistoryCommand";
73
73
  import { GetFindingsCommandInput, GetFindingsCommandOutput } from "./commands/GetFindingsCommand";
74
74
  import { GetFindingStatisticsV2CommandInput, GetFindingStatisticsV2CommandOutput } from "./commands/GetFindingStatisticsV2Command";
75
+ import { GetFindingsTrendsV2CommandInput, GetFindingsTrendsV2CommandOutput } from "./commands/GetFindingsTrendsV2Command";
75
76
  import { GetFindingsV2CommandInput, GetFindingsV2CommandOutput } from "./commands/GetFindingsV2Command";
76
77
  import { GetInsightResultsCommandInput, GetInsightResultsCommandOutput } from "./commands/GetInsightResultsCommand";
77
78
  import { GetInsightsCommandInput, GetInsightsCommandOutput } from "./commands/GetInsightsCommand";
@@ -79,6 +80,7 @@ import { GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput } fro
79
80
  import { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
80
81
  import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
81
82
  import { GetResourcesStatisticsV2CommandInput, GetResourcesStatisticsV2CommandOutput } from "./commands/GetResourcesStatisticsV2Command";
83
+ import { GetResourcesTrendsV2CommandInput, GetResourcesTrendsV2CommandOutput } from "./commands/GetResourcesTrendsV2Command";
82
84
  import { GetResourcesV2CommandInput, GetResourcesV2CommandOutput } from "./commands/GetResourcesV2Command";
83
85
  import { GetSecurityControlDefinitionCommandInput, GetSecurityControlDefinitionCommandOutput } from "./commands/GetSecurityControlDefinitionCommand";
84
86
  import { InviteMembersCommandInput, InviteMembersCommandOutput } from "./commands/InviteMembersCommand";
@@ -118,11 +120,11 @@ export { __Client };
118
120
  /**
119
121
  * @public
120
122
  */
121
- export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateFindingsV2CommandInput | BatchUpdateStandardsControlAssociationsCommandInput | ConnectorRegistrationsV2CommandInput | 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 | GetFindingsV2CommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetResourcesStatisticsV2CommandInput | GetResourcesV2CommandInput | GetSecurityControlDefinitionCommandInput | InviteMembersCommandInput | ListAggregatorsV2CommandInput | ListAutomationRulesCommandInput | ListAutomationRulesV2CommandInput | ListConfigurationPoliciesCommandInput | ListConfigurationPolicyAssociationsCommandInput | ListConnectorsV2CommandInput | ListEnabledProductsForImportCommandInput | ListFindingAggregatorsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateAggregatorV2CommandInput | UpdateAutomationRuleV2CommandInput | UpdateConfigurationPolicyCommandInput | UpdateConnectorV2CommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
123
+ export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateFindingsV2CommandInput | BatchUpdateStandardsControlAssociationsCommandInput | ConnectorRegistrationsV2CommandInput | 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 | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateAggregatorV2CommandInput | UpdateAutomationRuleV2CommandInput | UpdateConfigurationPolicyCommandInput | UpdateConnectorV2CommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
122
124
  /**
123
125
  * @public
124
126
  */
125
- export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateFindingsV2CommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | ConnectorRegistrationsV2CommandOutput | 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 | GetFindingsV2CommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetResourcesStatisticsV2CommandOutput | GetResourcesV2CommandOutput | GetSecurityControlDefinitionCommandOutput | InviteMembersCommandOutput | ListAggregatorsV2CommandOutput | ListAutomationRulesCommandOutput | ListAutomationRulesV2CommandOutput | ListConfigurationPoliciesCommandOutput | ListConfigurationPolicyAssociationsCommandOutput | ListConnectorsV2CommandOutput | ListEnabledProductsForImportCommandOutput | ListFindingAggregatorsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateAggregatorV2CommandOutput | UpdateAutomationRuleV2CommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateConnectorV2CommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
127
+ export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateFindingsV2CommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | ConnectorRegistrationsV2CommandOutput | 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 | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateAggregatorV2CommandOutput | UpdateAutomationRuleV2CommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateConnectorV2CommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
126
128
  /**
127
129
  * @public
128
130
  */
@@ -27,7 +27,7 @@ declare const ConnectorRegistrationsV2Command_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Grants permission to complete the authorization based on input parameters. This API is in preview release and subject to change.</p>
30
+ * <p>Grants permission to complete the authorization based on input parameters. This API is in public preview and subject to change.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const CreateConnectorV2Command_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Grants permission to create a connectorV2 based on input parameters. This API is in preview release and subject to change.</p>
30
+ * <p>Grants permission to create a connectorV2 based on input parameters. This API is in public preview and subject to change.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const CreateTicketV2Command_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Grants permission to create a ticket in the chosen ITSM based on finding information for the provided finding metadata UID. This API is in preview release and subject to change.</p>
30
+ * <p>Grants permission to create a ticket in the chosen ITSM based on finding information for the provided finding metadata UID. This API is in public preview and subject to change.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const DeleteConnectorV2Command_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Grants permission to delete a connectorV2. This API is in preview release and subject to change.</p>
30
+ * <p>Grants permission to delete a connectorV2. This API is in public preview and subject to change.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const GetConnectorV2Command_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Grants permission to retrieve details for a connectorV2 based on connector id. This API is in preview release and subject to change.</p>
30
+ * <p>Grants permission to retrieve details for a connectorV2 based on connector id. This API is in public preview and subject to change.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -0,0 +1,144 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetFindingsTrendsV2Response } from "../models/models_2";
4
+ import { GetFindingsTrendsV2Request } from "../models/models_3";
5
+ import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export type { __MetadataBearer };
10
+ export { $Command };
11
+ /**
12
+ * @public
13
+ *
14
+ * The input for {@link GetFindingsTrendsV2Command}.
15
+ */
16
+ export interface GetFindingsTrendsV2CommandInput extends GetFindingsTrendsV2Request {
17
+ }
18
+ /**
19
+ * @public
20
+ *
21
+ * The output of {@link GetFindingsTrendsV2Command}.
22
+ */
23
+ export interface GetFindingsTrendsV2CommandOutput extends GetFindingsTrendsV2Response, __MetadataBearer {
24
+ }
25
+ declare const GetFindingsTrendsV2Command_base: {
26
+ new (input: GetFindingsTrendsV2CommandInput): import("@smithy/smithy-client").CommandImpl<GetFindingsTrendsV2CommandInput, GetFindingsTrendsV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ new (input: GetFindingsTrendsV2CommandInput): import("@smithy/smithy-client").CommandImpl<GetFindingsTrendsV2CommandInput, GetFindingsTrendsV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ /**
31
+ * <p>Returns findings trend data based on the specified criteria. This operation helps you analyze patterns and changes in findings over time. This API is in public preview and subject to change.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { SecurityHubClient, GetFindingsTrendsV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
36
+ * // const { SecurityHubClient, GetFindingsTrendsV2Command } = 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 = { // GetFindingsTrendsV2Request
41
+ * Filters: { // FindingsTrendsFilters
42
+ * CompositeFilters: [ // FindingsTrendsCompositeFilterList
43
+ * { // FindingsTrendsCompositeFilter
44
+ * StringFilters: [ // FindingsTrendsStringFilterList
45
+ * { // FindingsTrendsStringFilter
46
+ * FieldName: "account_id" || "region" || "finding_types" || "finding_status" || "finding_cve_ids" || "finding_compliance_status" || "finding_control_id" || "finding_class_name" || "finding_provider" || "finding_activity_name",
47
+ * Filter: { // StringFilter
48
+ * Value: "STRING_VALUE",
49
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
50
+ * },
51
+ * },
52
+ * ],
53
+ * NestedCompositeFilters: [
54
+ * {
55
+ * StringFilters: [
56
+ * {
57
+ * FieldName: "account_id" || "region" || "finding_types" || "finding_status" || "finding_cve_ids" || "finding_compliance_status" || "finding_control_id" || "finding_class_name" || "finding_provider" || "finding_activity_name",
58
+ * Filter: {
59
+ * Value: "STRING_VALUE",
60
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
61
+ * },
62
+ * },
63
+ * ],
64
+ * NestedCompositeFilters: "<FindingsTrendsCompositeFilterList>",
65
+ * Operator: "AND" || "OR",
66
+ * },
67
+ * ],
68
+ * Operator: "AND" || "OR",
69
+ * },
70
+ * ],
71
+ * CompositeOperator: "AND" || "OR",
72
+ * },
73
+ * StartTime: new Date("TIMESTAMP"), // required
74
+ * EndTime: new Date("TIMESTAMP"), // required
75
+ * NextToken: "STRING_VALUE",
76
+ * MaxResults: Number("int"),
77
+ * };
78
+ * const command = new GetFindingsTrendsV2Command(input);
79
+ * const response = await client.send(command);
80
+ * // { // GetFindingsTrendsV2Response
81
+ * // Granularity: "Daily" || "Weekly" || "Monthly", // required
82
+ * // TrendsMetrics: [ // TrendsMetrics // required
83
+ * // { // TrendsMetricsResult
84
+ * // Timestamp: new Date("TIMESTAMP"), // required
85
+ * // TrendsValues: { // TrendsValues
86
+ * // SeverityTrends: { // SeverityTrendsCount
87
+ * // Unknown: Number("long"), // required
88
+ * // Informational: Number("long"), // required
89
+ * // Low: Number("long"), // required
90
+ * // Medium: Number("long"), // required
91
+ * // High: Number("long"), // required
92
+ * // Critical: Number("long"), // required
93
+ * // Fatal: Number("long"), // required
94
+ * // Other: Number("long"), // required
95
+ * // },
96
+ * // },
97
+ * // },
98
+ * // ],
99
+ * // NextToken: "STRING_VALUE",
100
+ * // };
101
+ *
102
+ * ```
103
+ *
104
+ * @param GetFindingsTrendsV2CommandInput - {@link GetFindingsTrendsV2CommandInput}
105
+ * @returns {@link GetFindingsTrendsV2CommandOutput}
106
+ * @see {@link GetFindingsTrendsV2CommandInput} for command's `input` shape.
107
+ * @see {@link GetFindingsTrendsV2CommandOutput} for command's `response` shape.
108
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
109
+ *
110
+ * @throws {@link AccessDeniedException} (client fault)
111
+ * <p>You don't have permission to perform the action specified in the request.</p>
112
+ *
113
+ * @throws {@link InternalServerException} (server fault)
114
+ * <p>
115
+ * The request has failed due to an internal failure of the service.
116
+ * </p>
117
+ *
118
+ * @throws {@link ThrottlingException} (client fault)
119
+ * <p>
120
+ * The limit on the number of requests per second was exceeded.
121
+ * </p>
122
+ *
123
+ * @throws {@link ValidationException} (client fault)
124
+ * <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
125
+ *
126
+ * @throws {@link SecurityHubServiceException}
127
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
128
+ *
129
+ *
130
+ * @public
131
+ */
132
+ export declare class GetFindingsTrendsV2Command extends GetFindingsTrendsV2Command_base {
133
+ /** @internal type navigation helper, not in runtime. */
134
+ protected static __types: {
135
+ api: {
136
+ input: GetFindingsTrendsV2Request;
137
+ output: GetFindingsTrendsV2Response;
138
+ };
139
+ sdk: {
140
+ input: GetFindingsTrendsV2CommandInput;
141
+ output: GetFindingsTrendsV2CommandOutput;
142
+ };
143
+ };
144
+ }