@aws-sdk/client-securityhub 3.1161.0 → 3.1163.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 (40) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +191 -6
  3. package/dist-es/SecurityHub.js +10 -0
  4. package/dist-es/commands/GetSoftwareResourcesV2Command.js +4 -0
  5. package/dist-es/commands/GetSoftwareStatisticsV2Command.js +4 -0
  6. package/dist-es/commands/GetSoftwareV2Command.js +4 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/enums.js +28 -0
  9. package/dist-es/pagination/GetSoftwareResourcesV2Paginator.js +4 -0
  10. package/dist-es/pagination/GetSoftwareV2Paginator.js +4 -0
  11. package/dist-es/pagination/index.js +2 -0
  12. package/dist-es/runtimeConfig.js +2 -1
  13. package/dist-es/schemas/schemas_0.js +119 -4
  14. package/dist-types/SecurityHub.d.ts +36 -0
  15. package/dist-types/SecurityHubClient.d.ts +5 -2
  16. package/dist-types/commands/GetSoftwareResourcesV2Command.d.ts +164 -0
  17. package/dist-types/commands/GetSoftwareStatisticsV2Command.d.ts +158 -0
  18. package/dist-types/commands/GetSoftwareV2Command.d.ts +157 -0
  19. package/dist-types/commands/index.d.ts +3 -0
  20. package/dist-types/models/enums.d.ts +44 -0
  21. package/dist-types/models/models_3.d.ts +318 -1
  22. package/dist-types/pagination/GetSoftwareResourcesV2Paginator.d.ts +7 -0
  23. package/dist-types/pagination/GetSoftwareV2Paginator.d.ts +7 -0
  24. package/dist-types/pagination/index.d.ts +2 -0
  25. package/dist-types/runtimeConfig.d.ts +1 -0
  26. package/dist-types/schemas/schemas_0.d.ts +16 -0
  27. package/dist-types/ts3.4/SecurityHub.d.ts +66 -0
  28. package/dist-types/ts3.4/SecurityHubClient.d.ts +18 -0
  29. package/dist-types/ts3.4/commands/GetSoftwareResourcesV2Command.d.ts +39 -0
  30. package/dist-types/ts3.4/commands/GetSoftwareStatisticsV2Command.d.ts +42 -0
  31. package/dist-types/ts3.4/commands/GetSoftwareV2Command.d.ts +38 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  33. package/dist-types/ts3.4/models/enums.d.ts +30 -0
  34. package/dist-types/ts3.4/models/models_3.d.ts +73 -0
  35. package/dist-types/ts3.4/pagination/GetSoftwareResourcesV2Paginator.d.ts +11 -0
  36. package/dist-types/ts3.4/pagination/GetSoftwareV2Paginator.d.ts +11 -0
  37. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  40. package/package.json +3 -3
@@ -1952,6 +1952,15 @@ const _GSCD = "GetSecurityControlDefinition";
1952
1952
  const _GSCDR = "GetSecurityControlDefinitionRequest";
1953
1953
  const _GSCDRe = "GetSecurityControlDefinitionResponse";
1954
1954
  const _GSI = "GlobalSecondaryIndexes";
1955
+ const _GSRV = "GetSoftwareResourcesV2";
1956
+ const _GSRVR = "GetSoftwareResourcesV2Request";
1957
+ const _GSRVRe = "GetSoftwareResourcesV2Response";
1958
+ const _GSSV = "GetSoftwareStatisticsV2";
1959
+ const _GSSVR = "GetSoftwareStatisticsV2Request";
1960
+ const _GSSVRe = "GetSoftwareStatisticsV2Response";
1961
+ const _GSV = "GetSoftwareV2";
1962
+ const _GSVR = "GetSoftwareV2Request";
1963
+ const _GSVRe = "GetSoftwareV2Response";
1955
1964
  const _GTV = "GlobalTableVersion";
1956
1965
  const _Gi = "Gid";
1957
1966
  const _Gr = "Groups";
@@ -2665,6 +2674,7 @@ const _PMi = "PidMode";
2665
2674
  const _PMo = "PortMappings";
2666
2675
  const _PN = "PortName";
2667
2676
  const _PNa = "PartitionNumber";
2677
+ const _PNac = "PackageName";
2668
2678
  const _PNag = "PageNumber";
2669
2679
  const _PNar = "ParameterName";
2670
2680
  const _PNo = "PolicyName";
@@ -2725,7 +2735,8 @@ const _PVN = "ProductV2Name";
2725
2735
  const _PVS = "PropagatingVgwSet";
2726
2736
  const _PVSD = "PropagatingVgwSetDetails";
2727
2737
  const _PVSL = "PropagatingVgwSetList";
2728
- const _PVa = "ParameterValue";
2738
+ const _PVa = "PackageVersion";
2739
+ const _PVar = "ParameterValue";
2729
2740
  const _PVr = "ProductsV2";
2730
2741
  const _PVro = "ProductV2";
2731
2742
  const _Pa = "Packaging";
@@ -2819,7 +2830,8 @@ const _RCeso = "ResourceConfig";
2819
2830
  const _RCesou = "ResourceCategory";
2820
2831
  const _RCesour = "ResourceCriticality";
2821
2832
  const _RCesourc = "ResourcesCount";
2822
- const _RCesource = "ResourceCriteria";
2833
+ const _RCesource = "ResourceCount";
2834
+ const _RCesourcer = "ResourceCriteria";
2823
2835
  const _RCo = "RoutingConfig";
2824
2836
  const _RD = "RootDirectory";
2825
2837
  const _RDCTD = "ResourceDetailCaptureTimeDt";
@@ -3104,6 +3116,8 @@ const _SCCPe = "SecurityControlCustomParameters";
3104
3116
  const _SCD = "SecurityControlDefinition";
3105
3117
  const _SCDe = "SecurityControlDefinitions";
3106
3118
  const _SCDt = "StandardsControlDescription";
3119
+ const _SCF = "SoftwareCompositeFilter";
3120
+ const _SCFL = "SoftwareCompositeFilterList";
3107
3121
  const _SCGN = "SnapshotCopyGrantName";
3108
3122
  const _SCI = "SslCertificateId";
3109
3123
  const _SCIe = "SecurityControlIds";
@@ -3171,8 +3185,11 @@ const _SFDA = "StatelessFragmentDefaultActions";
3171
3185
  const _SFFRA = "SqsFailureFeedbackRoleArn";
3172
3186
  const _SFL = "StringFilterList";
3173
3187
  const _SFe = "SelectedFields";
3188
+ const _SFo = "SoftwareFilters";
3174
3189
  const _SFt = "StringFilter";
3175
3190
  const _SG = "SecurityGroups";
3191
+ const _SGBR = "SoftwareGroupByRule";
3192
+ const _SGBRo = "SoftwareGroupByRules";
3176
3193
  const _SGI = "SecurityGroupIds";
3177
3194
  const _SGIS = "SecurityGroupIdSet";
3178
3195
  const _SGS = "SecurityGroupSet";
@@ -3218,6 +3235,7 @@ const _SLH = "SourceLayerHash";
3218
3235
  const _SLi = "SignalsList";
3219
3236
  const _SLo = "S3Logs";
3220
3237
  const _SLof = "SoftLimit";
3238
+ const _SLoft = "SoftwareList";
3221
3239
  const _SLt = "StartLine";
3222
3240
  const _SLtr = "StringList";
3223
3241
  const _SM = "StatusMessage";
@@ -3265,9 +3283,13 @@ const _SRGR = "StatefulRuleGroupReferences";
3265
3283
  const _SRGRt = "StatelessRuleGroupReferences";
3266
3284
  const _SRL = "StatusReasonsList";
3267
3285
  const _SRO = "StaticRoutesOnly";
3286
+ const _SRR = "SoftwareResourceResult";
3287
+ const _SRRL = "SoftwareResourceResultList";
3268
3288
  const _SRe = "ServiceRegistries";
3269
3289
  const _SRev = "SeverityRating";
3270
3290
  const _SRo = "SourceRegion";
3291
+ const _SRof = "SoftwareResources";
3292
+ const _SRoft = "SoftwareResult";
3271
3293
  const _SRt = "StateReason";
3272
3294
  const _SRta = "StatusReasons";
3273
3295
  const _SRtat = "StatefulRules";
@@ -3280,6 +3302,8 @@ const _SSE = "ServerSideEncryption";
3280
3302
  const _SSEA = "SSEAlgorithm";
3281
3303
  const _SSEC = "ServerSideEncryptionConfiguration";
3282
3304
  const _SSEKMSKI = "SSEKMSKeyId";
3305
+ const _SSF = "SoftwareStringFilter";
3306
+ const _SSFL = "SoftwareStringFilterList";
3283
3307
  const _SSFRA = "SqsSuccessFeedbackRoleArn";
3284
3308
  const _SSG = "SourceSecurityGroup";
3285
3309
  const _SSI = "SnapshotScheduleIdentifier";
@@ -3297,6 +3321,7 @@ const _SSS = "SnapshotScheduleState";
3297
3321
  const _SSSPA = "SelfServiceSamlProviderArn";
3298
3322
  const _SSc = "SchedulingStrategy";
3299
3323
  const _SSe = "ServiceState";
3324
+ const _SSo = "SoftwareScopes";
3300
3325
  const _SSt = "StreamSpecification";
3301
3326
  const _SSta = "StandardsSubscriptions";
3302
3327
  const _SStan = "StandardsSubscription";
@@ -3348,6 +3373,7 @@ const _Si = "Size";
3348
3373
  const _Sig = "Signals";
3349
3374
  const _Sign = "Signal";
3350
3375
  const _So = "Source";
3376
+ const _Sof = "Software";
3351
3377
  const _Sou = "Sources";
3352
3378
  const _Sp = "Specification";
3353
3379
  const _St = "Status";
@@ -7564,6 +7590,36 @@ export var GetSecurityControlDefinitionResponse$ = [3, n0, _GSCDRe,
7564
7590
  [_SCD],
7565
7591
  [() => SecurityControlDefinition$], 1
7566
7592
  ];
7593
+ export var GetSoftwareResourcesV2Request$ = [3, n0, _GSRVR,
7594
+ 0,
7595
+ [_PNac, _PTa, _PVa, _Filt, _Sco, _SCor, _NTe, _MRa],
7596
+ [0, 0, 0, () => SoftwareFilters$, () => SoftwareScopes$, () => SortCriteria, 0, 1], 2
7597
+ ];
7598
+ export var GetSoftwareResourcesV2Response$ = [3, n0, _GSRVRe,
7599
+ 0,
7600
+ [_SRof, _NTe],
7601
+ [() => SoftwareResourceResultList, 0], 1
7602
+ ];
7603
+ export var GetSoftwareStatisticsV2Request$ = [3, n0, _GSSVR,
7604
+ 0,
7605
+ [_GBR, _Sco, _SOo, _MSR],
7606
+ [() => SoftwareGroupByRules, () => SoftwareScopes$, 0, 1], 1
7607
+ ];
7608
+ export var GetSoftwareStatisticsV2Response$ = [3, n0, _GSSVRe,
7609
+ 0,
7610
+ [_GBRr],
7611
+ [() => GroupByResults], 1
7612
+ ];
7613
+ export var GetSoftwareV2Request$ = [3, n0, _GSVR,
7614
+ 0,
7615
+ [_Filt, _Sco, _SCor, _NTe, _MRa],
7616
+ [() => SoftwareFilters$, () => SoftwareScopes$, () => SortCriteria, 0, 1]
7617
+ ];
7618
+ export var GetSoftwareV2Response$ = [3, n0, _GSVRe,
7619
+ 0,
7620
+ [_Sof, _NTe],
7621
+ [() => SoftwareList, 0], 1
7622
+ ];
7567
7623
  export var GroupByResult$ = [3, n0, _GBRro,
7568
7624
  0,
7569
7625
  [_GBF, _GBV],
@@ -8489,11 +8545,46 @@ export var Signal$ = [3, n0, _Sign,
8489
8545
  [_T, _I, _Ti, _PA, _RIesou, _SIi, _N, _CA, _UA, _FSA, _LSAa, _Se, _Cou, _AIct, _EIndp],
8490
8546
  [0, 0, 0, 0, 64 | 0, () => IndicatorsList, 0, 1, 1, 1, 1, 1, 1, 64 | 0, 64 | 0]
8491
8547
  ];
8548
+ export var SoftwareCompositeFilter$ = [3, n0, _SCF,
8549
+ 0,
8550
+ [_SF, _NCF, _Oper],
8551
+ [() => SoftwareStringFilterList, () => SoftwareCompositeFilterList, 0]
8552
+ ];
8553
+ export var SoftwareFilters$ = [3, n0, _SFo,
8554
+ 0,
8555
+ [_CFo, _COo],
8556
+ [() => SoftwareCompositeFilterList, 0]
8557
+ ];
8558
+ export var SoftwareGroupByRule$ = [3, n0, _SGBR,
8559
+ 0,
8560
+ [_GBF, _Filt],
8561
+ [0, () => SoftwareFilters$], 1
8562
+ ];
8492
8563
  export var SoftwarePackage$ = [3, n0, _SPof,
8493
8564
  0,
8494
8565
  [_N, _V, _Ep, _Rel, _Arc, _PMa, _FPil, _FIV, _Rem, _SLH, _SLA],
8495
8566
  [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
8496
8567
  ];
8568
+ export var SoftwareResourceResult$ = [3, n0, _SRR,
8569
+ 0,
8570
+ [_AIc, _RT, _Reg, _RI, _RPe, _ROOI, _ROAI, _RCP, _RR],
8571
+ [0, 0, 0, 0, 0, 0, 0, 0, 0], 4
8572
+ ];
8573
+ export var SoftwareResult$ = [3, n0, _SRoft,
8574
+ 0,
8575
+ [_PNac, _PTa, _RCesource, _PVa],
8576
+ [0, 0, 1, 0], 3
8577
+ ];
8578
+ export var SoftwareScopes$ = [3, n0, _SSo,
8579
+ 0,
8580
+ [_AOw],
8581
+ [() => AwsOrganizationScopeList]
8582
+ ];
8583
+ export var SoftwareStringFilter$ = [3, n0, _SSF,
8584
+ 0,
8585
+ [_FNie, _Fil],
8586
+ [0, () => StringFilter$]
8587
+ ];
8497
8588
  export var SortCriterion$ = [3, n0, _SCort,
8498
8589
  0,
8499
8590
  [_Fi, _SOo],
@@ -9708,9 +9799,24 @@ var SensitiveDataResultList = [1, n0, _SDRL,
9708
9799
  var SignalsList = [1, n0, _SLi,
9709
9800
  0, () => Signal$
9710
9801
  ];
9802
+ var SoftwareCompositeFilterList = [1, n0, _SCFL,
9803
+ 0, () => SoftwareCompositeFilter$
9804
+ ];
9805
+ var SoftwareGroupByRules = [1, n0, _SGBRo,
9806
+ 0, () => SoftwareGroupByRule$
9807
+ ];
9808
+ var SoftwareList = [1, n0, _SLoft,
9809
+ 0, () => SoftwareResult$
9810
+ ];
9711
9811
  var SoftwarePackageList = [1, n0, _SPL,
9712
9812
  0, () => SoftwarePackage$
9713
9813
  ];
9814
+ var SoftwareResourceResultList = [1, n0, _SRRL,
9815
+ 0, () => SoftwareResourceResult$
9816
+ ];
9817
+ var SoftwareStringFilterList = [1, n0, _SSFL,
9818
+ 0, () => SoftwareStringFilter$
9819
+ ];
9714
9820
  var SortCriteria = [1, n0, _SCor,
9715
9821
  0, () => SortCriterion$
9716
9822
  ];
@@ -9817,7 +9923,7 @@ export var ConfigurationOptions$ = [4, n0, _COon,
9817
9923
  ];
9818
9924
  export var Criteria$ = [4, n0, _Cr,
9819
9925
  0,
9820
- [_OFC, _RCesource],
9926
+ [_OFC, _RCesourcer],
9821
9927
  [() => OcsfFindingFilters$, () => ResourcesFilters$]
9822
9928
  ];
9823
9929
  export var CspmProviderConfiguration$ = [4, n0, _CPC,
@@ -9850,7 +9956,7 @@ export var ExportOutputSummary$ = [4, n0, _EOS,
9850
9956
  [_Fin],
9851
9957
  [() => FindingsOutputSummary$]
9852
9958
  ];
9853
- export var ParameterValue$ = [4, n0, _PVa,
9959
+ export var ParameterValue$ = [4, n0, _PVar,
9854
9960
  0,
9855
9961
  [_Inte, _ILnt, _Dou, _Str, _SLtr, _Bo, _Enu, _ELnu],
9856
9962
  [1, 64 | 1, 1, 0, 64 | 0, 2, 0, 64 | 0]
@@ -10140,6 +10246,15 @@ export var GetResourcesV2$ = [9, n0, _GRVe,
10140
10246
  export var GetSecurityControlDefinition$ = [9, n0, _GSCD,
10141
10247
  { [_h]: ["GET", "/securityControl/definition", 200] }, () => GetSecurityControlDefinitionRequest$, () => GetSecurityControlDefinitionResponse$
10142
10248
  ];
10249
+ export var GetSoftwareResourcesV2$ = [9, n0, _GSRV,
10250
+ { [_h]: ["POST", "/softwarev2/resources", 200] }, () => GetSoftwareResourcesV2Request$, () => GetSoftwareResourcesV2Response$
10251
+ ];
10252
+ export var GetSoftwareStatisticsV2$ = [9, n0, _GSSV,
10253
+ { [_h]: ["POST", "/softwarev2/statistics", 200] }, () => GetSoftwareStatisticsV2Request$, () => GetSoftwareStatisticsV2Response$
10254
+ ];
10255
+ export var GetSoftwareV2$ = [9, n0, _GSV,
10256
+ { [_h]: ["POST", "/softwarev2", 200] }, () => GetSoftwareV2Request$, () => GetSoftwareV2Response$
10257
+ ];
10143
10258
  export var InviteMembers$ = [9, n0, _IMn,
10144
10259
  { [_h]: ["POST", "/members/invite", 200] }, () => InviteMembersRequest$, () => InviteMembersResponse$
10145
10260
  ];
@@ -84,6 +84,9 @@ import { type GetResourcesStatisticsV2CommandInput, type GetResourcesStatisticsV
84
84
  import { type GetResourcesTrendsV2CommandInput, type GetResourcesTrendsV2CommandOutput } from "./commands/GetResourcesTrendsV2Command";
85
85
  import { type GetResourcesV2CommandInput, type GetResourcesV2CommandOutput } from "./commands/GetResourcesV2Command";
86
86
  import { type GetSecurityControlDefinitionCommandInput, type GetSecurityControlDefinitionCommandOutput } from "./commands/GetSecurityControlDefinitionCommand";
87
+ import { type GetSoftwareResourcesV2CommandInput, type GetSoftwareResourcesV2CommandOutput } from "./commands/GetSoftwareResourcesV2Command";
88
+ import { type GetSoftwareStatisticsV2CommandInput, type GetSoftwareStatisticsV2CommandOutput } from "./commands/GetSoftwareStatisticsV2Command";
89
+ import { type GetSoftwareV2CommandInput, type GetSoftwareV2CommandOutput } from "./commands/GetSoftwareV2Command";
87
90
  import { type InviteMembersCommandInput, type InviteMembersCommandOutput } from "./commands/InviteMembersCommand";
88
91
  import { type ListAggregatorsV2CommandInput, type ListAggregatorsV2CommandOutput } from "./commands/ListAggregatorsV2Command";
89
92
  import { type ListAutomationRulesCommandInput, type ListAutomationRulesCommandOutput } from "./commands/ListAutomationRulesCommand";
@@ -663,6 +666,25 @@ export interface SecurityHub {
663
666
  getSecurityControlDefinition(args: GetSecurityControlDefinitionCommandInput, options?: SecurityHubRequestOptions): Promise<GetSecurityControlDefinitionCommandOutput>;
664
667
  getSecurityControlDefinition(args: GetSecurityControlDefinitionCommandInput, cb: (err: any, data?: GetSecurityControlDefinitionCommandOutput) => void): void;
665
668
  getSecurityControlDefinition(args: GetSecurityControlDefinitionCommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: GetSecurityControlDefinitionCommandOutput) => void): void;
669
+ /**
670
+ * @see {@link GetSoftwareResourcesV2Command}
671
+ */
672
+ getSoftwareResourcesV2(args: GetSoftwareResourcesV2CommandInput, options?: SecurityHubRequestOptions): Promise<GetSoftwareResourcesV2CommandOutput>;
673
+ getSoftwareResourcesV2(args: GetSoftwareResourcesV2CommandInput, cb: (err: any, data?: GetSoftwareResourcesV2CommandOutput) => void): void;
674
+ getSoftwareResourcesV2(args: GetSoftwareResourcesV2CommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: GetSoftwareResourcesV2CommandOutput) => void): void;
675
+ /**
676
+ * @see {@link GetSoftwareStatisticsV2Command}
677
+ */
678
+ getSoftwareStatisticsV2(args: GetSoftwareStatisticsV2CommandInput, options?: SecurityHubRequestOptions): Promise<GetSoftwareStatisticsV2CommandOutput>;
679
+ getSoftwareStatisticsV2(args: GetSoftwareStatisticsV2CommandInput, cb: (err: any, data?: GetSoftwareStatisticsV2CommandOutput) => void): void;
680
+ getSoftwareStatisticsV2(args: GetSoftwareStatisticsV2CommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: GetSoftwareStatisticsV2CommandOutput) => void): void;
681
+ /**
682
+ * @see {@link GetSoftwareV2Command}
683
+ */
684
+ getSoftwareV2(): Promise<GetSoftwareV2CommandOutput>;
685
+ getSoftwareV2(args: GetSoftwareV2CommandInput, options?: SecurityHubRequestOptions): Promise<GetSoftwareV2CommandOutput>;
686
+ getSoftwareV2(args: GetSoftwareV2CommandInput, cb: (err: any, data?: GetSoftwareV2CommandOutput) => void): void;
687
+ getSoftwareV2(args: GetSoftwareV2CommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: GetSoftwareV2CommandOutput) => void): void;
666
688
  /**
667
689
  * @see {@link InviteMembersCommand}
668
690
  */
@@ -1012,6 +1034,20 @@ export interface SecurityHub {
1012
1034
  * @returns AsyncIterable of {@link GetResourcesV2CommandOutput}.
1013
1035
  */
1014
1036
  paginateGetResourcesV2(args?: GetResourcesV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetResourcesV2CommandOutput>;
1037
+ /**
1038
+ * @see {@link GetSoftwareResourcesV2Command}
1039
+ * @param args - command input.
1040
+ * @param paginationConfig - optional pagination config.
1041
+ * @returns AsyncIterable of {@link GetSoftwareResourcesV2CommandOutput}.
1042
+ */
1043
+ paginateGetSoftwareResourcesV2(args: GetSoftwareResourcesV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetSoftwareResourcesV2CommandOutput>;
1044
+ /**
1045
+ * @see {@link GetSoftwareV2Command}
1046
+ * @param args - command input.
1047
+ * @param paginationConfig - optional pagination config.
1048
+ * @returns AsyncIterable of {@link GetSoftwareV2CommandOutput}.
1049
+ */
1050
+ paginateGetSoftwareV2(args?: GetSoftwareV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetSoftwareV2CommandOutput>;
1015
1051
  /**
1016
1052
  * @see {@link ListAggregatorsV2Command}
1017
1053
  * @param args - command input.
@@ -91,6 +91,9 @@ import type { GetResourcesStatisticsV2CommandInput, GetResourcesStatisticsV2Comm
91
91
  import type { GetResourcesTrendsV2CommandInput, GetResourcesTrendsV2CommandOutput } from "./commands/GetResourcesTrendsV2Command";
92
92
  import type { GetResourcesV2CommandInput, GetResourcesV2CommandOutput } from "./commands/GetResourcesV2Command";
93
93
  import type { GetSecurityControlDefinitionCommandInput, GetSecurityControlDefinitionCommandOutput } from "./commands/GetSecurityControlDefinitionCommand";
94
+ import type { GetSoftwareResourcesV2CommandInput, GetSoftwareResourcesV2CommandOutput } from "./commands/GetSoftwareResourcesV2Command";
95
+ import type { GetSoftwareStatisticsV2CommandInput, GetSoftwareStatisticsV2CommandOutput } from "./commands/GetSoftwareStatisticsV2Command";
96
+ import type { GetSoftwareV2CommandInput, GetSoftwareV2CommandOutput } from "./commands/GetSoftwareV2Command";
94
97
  import type { InviteMembersCommandInput, InviteMembersCommandOutput } from "./commands/InviteMembersCommand";
95
98
  import type { ListAggregatorsV2CommandInput, ListAggregatorsV2CommandOutput } from "./commands/ListAggregatorsV2Command";
96
99
  import type { ListAutomationRulesCommandInput, ListAutomationRulesCommandOutput } from "./commands/ListAutomationRulesCommand";
@@ -135,11 +138,11 @@ export { __Client };
135
138
  /**
136
139
  * @public
137
140
  */
138
- export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateFindingsV2CommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CancelExportJobV2CommandInput | CreateActionTargetCommandInput | CreateAggregatorV2CommandInput | CreateAutomationRuleCommandInput | CreateAutomationRuleV2CommandInput | CreateConfigurationPolicyCommandInput | CreateConnectorCommandInput | CreateConnectorV2CommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | CreateTicketV2CommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteAggregatorV2CommandInput | DeleteAutomationRuleV2CommandInput | DeleteConfigurationPolicyCommandInput | DeleteConnectorCommandInput | DeleteConnectorV2CommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeProductsV2CommandInput | DescribeSecurityHubV2CommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisableSecurityHubFeatureV2CommandInput | DisableSecurityHubV2CommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | EnableSecurityHubFeatureV2CommandInput | EnableSecurityHubV2CommandInput | GenerateRecommendedPolicyV2CommandInput | GetAdministratorAccountCommandInput | GetAggregatorV2CommandInput | GetAutomationRuleV2CommandInput | GetConfigurationPolicyAssociationCommandInput | GetConfigurationPolicyCommandInput | GetConnectorCommandInput | GetConnectorV2CommandInput | GetEnabledStandardsCommandInput | GetExportJobV2CommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingStatisticsV2CommandInput | GetFindingsCommandInput | GetFindingsTrendsV2CommandInput | GetFindingsV2CommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetRecommendedPolicyV2CommandInput | GetRemediationsV2CommandInput | GetResourcesStatisticsV2CommandInput | GetResourcesTrendsV2CommandInput | GetResourcesV2CommandInput | GetSecurityControlDefinitionCommandInput | InviteMembersCommandInput | ListAggregatorsV2CommandInput | ListAutomationRulesCommandInput | ListAutomationRulesV2CommandInput | ListConfigurationPoliciesCommandInput | ListConfigurationPolicyAssociationsCommandInput | ListConnectorsCommandInput | ListConnectorsV2CommandInput | ListEnabledProductsForImportCommandInput | ListExportJobsV2CommandInput | ListExposuresByRemediationV2CommandInput | ListFindingAggregatorsCommandInput | ListFreeTrialStatusesV2CommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorV2CommandInput | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | StartExportJobV2CommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateAggregatorV2CommandInput | UpdateAutomationRuleV2CommandInput | UpdateConfigurationPolicyCommandInput | UpdateConnectorCommandInput | UpdateConnectorV2CommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
141
+ export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateFindingsV2CommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CancelExportJobV2CommandInput | CreateActionTargetCommandInput | CreateAggregatorV2CommandInput | CreateAutomationRuleCommandInput | CreateAutomationRuleV2CommandInput | CreateConfigurationPolicyCommandInput | CreateConnectorCommandInput | CreateConnectorV2CommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | CreateTicketV2CommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteAggregatorV2CommandInput | DeleteAutomationRuleV2CommandInput | DeleteConfigurationPolicyCommandInput | DeleteConnectorCommandInput | DeleteConnectorV2CommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeProductsV2CommandInput | DescribeSecurityHubV2CommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisableSecurityHubFeatureV2CommandInput | DisableSecurityHubV2CommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | EnableSecurityHubFeatureV2CommandInput | EnableSecurityHubV2CommandInput | GenerateRecommendedPolicyV2CommandInput | GetAdministratorAccountCommandInput | GetAggregatorV2CommandInput | GetAutomationRuleV2CommandInput | GetConfigurationPolicyAssociationCommandInput | GetConfigurationPolicyCommandInput | GetConnectorCommandInput | GetConnectorV2CommandInput | GetEnabledStandardsCommandInput | GetExportJobV2CommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingStatisticsV2CommandInput | GetFindingsCommandInput | GetFindingsTrendsV2CommandInput | GetFindingsV2CommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetRecommendedPolicyV2CommandInput | GetRemediationsV2CommandInput | GetResourcesStatisticsV2CommandInput | GetResourcesTrendsV2CommandInput | GetResourcesV2CommandInput | GetSecurityControlDefinitionCommandInput | GetSoftwareResourcesV2CommandInput | GetSoftwareStatisticsV2CommandInput | GetSoftwareV2CommandInput | InviteMembersCommandInput | ListAggregatorsV2CommandInput | ListAutomationRulesCommandInput | ListAutomationRulesV2CommandInput | ListConfigurationPoliciesCommandInput | ListConfigurationPolicyAssociationsCommandInput | ListConnectorsCommandInput | ListConnectorsV2CommandInput | ListEnabledProductsForImportCommandInput | ListExportJobsV2CommandInput | ListExposuresByRemediationV2CommandInput | ListFindingAggregatorsCommandInput | ListFreeTrialStatusesV2CommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorV2CommandInput | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | StartExportJobV2CommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateAggregatorV2CommandInput | UpdateAutomationRuleV2CommandInput | UpdateConfigurationPolicyCommandInput | UpdateConnectorCommandInput | UpdateConnectorV2CommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
139
142
  /**
140
143
  * @public
141
144
  */
142
- export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateFindingsV2CommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CancelExportJobV2CommandOutput | CreateActionTargetCommandOutput | CreateAggregatorV2CommandOutput | CreateAutomationRuleCommandOutput | CreateAutomationRuleV2CommandOutput | CreateConfigurationPolicyCommandOutput | CreateConnectorCommandOutput | CreateConnectorV2CommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | CreateTicketV2CommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteAggregatorV2CommandOutput | DeleteAutomationRuleV2CommandOutput | DeleteConfigurationPolicyCommandOutput | DeleteConnectorCommandOutput | DeleteConnectorV2CommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeProductsV2CommandOutput | DescribeSecurityHubV2CommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisableSecurityHubFeatureV2CommandOutput | DisableSecurityHubV2CommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | EnableSecurityHubFeatureV2CommandOutput | EnableSecurityHubV2CommandOutput | GenerateRecommendedPolicyV2CommandOutput | GetAdministratorAccountCommandOutput | GetAggregatorV2CommandOutput | GetAutomationRuleV2CommandOutput | GetConfigurationPolicyAssociationCommandOutput | GetConfigurationPolicyCommandOutput | GetConnectorCommandOutput | GetConnectorV2CommandOutput | GetEnabledStandardsCommandOutput | GetExportJobV2CommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingStatisticsV2CommandOutput | GetFindingsCommandOutput | GetFindingsTrendsV2CommandOutput | GetFindingsV2CommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetRecommendedPolicyV2CommandOutput | GetRemediationsV2CommandOutput | GetResourcesStatisticsV2CommandOutput | GetResourcesTrendsV2CommandOutput | GetResourcesV2CommandOutput | GetSecurityControlDefinitionCommandOutput | InviteMembersCommandOutput | ListAggregatorsV2CommandOutput | ListAutomationRulesCommandOutput | ListAutomationRulesV2CommandOutput | ListConfigurationPoliciesCommandOutput | ListConfigurationPolicyAssociationsCommandOutput | ListConnectorsCommandOutput | ListConnectorsV2CommandOutput | ListEnabledProductsForImportCommandOutput | ListExportJobsV2CommandOutput | ListExposuresByRemediationV2CommandOutput | ListFindingAggregatorsCommandOutput | ListFreeTrialStatusesV2CommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorV2CommandOutput | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | StartExportJobV2CommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateAggregatorV2CommandOutput | UpdateAutomationRuleV2CommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateConnectorCommandOutput | UpdateConnectorV2CommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
145
+ export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateFindingsV2CommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CancelExportJobV2CommandOutput | CreateActionTargetCommandOutput | CreateAggregatorV2CommandOutput | CreateAutomationRuleCommandOutput | CreateAutomationRuleV2CommandOutput | CreateConfigurationPolicyCommandOutput | CreateConnectorCommandOutput | CreateConnectorV2CommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | CreateTicketV2CommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteAggregatorV2CommandOutput | DeleteAutomationRuleV2CommandOutput | DeleteConfigurationPolicyCommandOutput | DeleteConnectorCommandOutput | DeleteConnectorV2CommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeProductsV2CommandOutput | DescribeSecurityHubV2CommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisableSecurityHubFeatureV2CommandOutput | DisableSecurityHubV2CommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | EnableSecurityHubFeatureV2CommandOutput | EnableSecurityHubV2CommandOutput | GenerateRecommendedPolicyV2CommandOutput | GetAdministratorAccountCommandOutput | GetAggregatorV2CommandOutput | GetAutomationRuleV2CommandOutput | GetConfigurationPolicyAssociationCommandOutput | GetConfigurationPolicyCommandOutput | GetConnectorCommandOutput | GetConnectorV2CommandOutput | GetEnabledStandardsCommandOutput | GetExportJobV2CommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingStatisticsV2CommandOutput | GetFindingsCommandOutput | GetFindingsTrendsV2CommandOutput | GetFindingsV2CommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetRecommendedPolicyV2CommandOutput | GetRemediationsV2CommandOutput | GetResourcesStatisticsV2CommandOutput | GetResourcesTrendsV2CommandOutput | GetResourcesV2CommandOutput | GetSecurityControlDefinitionCommandOutput | GetSoftwareResourcesV2CommandOutput | GetSoftwareStatisticsV2CommandOutput | GetSoftwareV2CommandOutput | InviteMembersCommandOutput | ListAggregatorsV2CommandOutput | ListAutomationRulesCommandOutput | ListAutomationRulesV2CommandOutput | ListConfigurationPoliciesCommandOutput | ListConfigurationPolicyAssociationsCommandOutput | ListConnectorsCommandOutput | ListConnectorsV2CommandOutput | ListEnabledProductsForImportCommandOutput | ListExportJobsV2CommandOutput | ListExposuresByRemediationV2CommandOutput | ListFindingAggregatorsCommandOutput | ListFreeTrialStatusesV2CommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorV2CommandOutput | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | StartExportJobV2CommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateAggregatorV2CommandOutput | UpdateAutomationRuleV2CommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateConnectorCommandOutput | UpdateConnectorV2CommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
143
146
  /**
144
147
  * @public
145
148
  */
@@ -0,0 +1,164 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetSoftwareResourcesV2Request, GetSoftwareResourcesV2Response } from "../models/models_3";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetSoftwareResourcesV2Command}.
11
+ */
12
+ export interface GetSoftwareResourcesV2CommandInput extends GetSoftwareResourcesV2Request {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetSoftwareResourcesV2Command}.
18
+ */
19
+ export interface GetSoftwareResourcesV2CommandOutput extends GetSoftwareResourcesV2Response, __MetadataBearer {
20
+ }
21
+ declare const GetSoftwareResourcesV2Command_base: {
22
+ new (input: GetSoftwareResourcesV2CommandInput): import("@smithy/core/client").CommandImpl<GetSoftwareResourcesV2CommandInput, GetSoftwareResourcesV2CommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetSoftwareResourcesV2CommandInput): import("@smithy/core/client").CommandImpl<GetSoftwareResourcesV2CommandInput, GetSoftwareResourcesV2CommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns a list of resources that contain a specific software package. You identify the package with <code>PackageName</code> and <code>PackageType</code>. To narrow the results to one version of the package, include <code>PackageVersion</code>.</p>
28
+ * <p>You can use the <code>Scopes</code> parameter to define the data boundary for the query. Currently, <code>Scopes</code> supports <code>AwsOrganizations</code>, which lets you retrieve resources from your entire organization or from specific organizational units. Only the delegated administrator account can use <code>Scopes</code>.</p>
29
+ * <p>You can use the <code>Filters</code> parameter to further refine results based on resource attributes, such as <code>ResourceType</code> or <code>Region</code>.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { SecurityHubClient, GetSoftwareResourcesV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
34
+ * // const { SecurityHubClient, GetSoftwareResourcesV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
35
+ * // import type { SecurityHubClientConfig } from "@aws-sdk/client-securityhub";
36
+ * const config = {}; // type is SecurityHubClientConfig
37
+ * const client = new SecurityHubClient(config);
38
+ * const input = { // GetSoftwareResourcesV2Request
39
+ * PackageName: "STRING_VALUE", // required
40
+ * PackageType: "STRING_VALUE", // required
41
+ * PackageVersion: "STRING_VALUE",
42
+ * Filters: { // SoftwareFilters
43
+ * CompositeFilters: [ // SoftwareCompositeFilterList
44
+ * { // SoftwareCompositeFilter
45
+ * StringFilters: [ // SoftwareStringFilterList
46
+ * { // SoftwareStringFilter
47
+ * FieldName: "AccountId" || "PackageName" || "PackageVersion" || "PackageType" || "Region" || "ResourceRegion" || "ResourceType" || "ResourceId" || "ResourceProvider" || "ResourceOwnerAccountId" || "ResourceOwnerOrgId" || "ResourceCloudPartition",
48
+ * Filter: { // StringFilter
49
+ * Value: "STRING_VALUE",
50
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
51
+ * },
52
+ * },
53
+ * ],
54
+ * NestedCompositeFilters: [
55
+ * {
56
+ * StringFilters: [
57
+ * {
58
+ * FieldName: "AccountId" || "PackageName" || "PackageVersion" || "PackageType" || "Region" || "ResourceRegion" || "ResourceType" || "ResourceId" || "ResourceProvider" || "ResourceOwnerAccountId" || "ResourceOwnerOrgId" || "ResourceCloudPartition",
59
+ * Filter: {
60
+ * Value: "STRING_VALUE",
61
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
62
+ * },
63
+ * },
64
+ * ],
65
+ * NestedCompositeFilters: "<SoftwareCompositeFilterList>",
66
+ * Operator: "AND" || "OR",
67
+ * },
68
+ * ],
69
+ * Operator: "AND" || "OR",
70
+ * },
71
+ * ],
72
+ * CompositeOperator: "AND" || "OR",
73
+ * },
74
+ * Scopes: { // SoftwareScopes
75
+ * AwsOrganizations: [ // AwsOrganizationScopeList
76
+ * { // AwsOrganizationScope
77
+ * OrganizationId: "STRING_VALUE",
78
+ * OrganizationalUnitId: "STRING_VALUE",
79
+ * },
80
+ * ],
81
+ * },
82
+ * SortCriteria: [ // SortCriteria
83
+ * { // SortCriterion
84
+ * Field: "STRING_VALUE",
85
+ * SortOrder: "asc" || "desc",
86
+ * },
87
+ * ],
88
+ * NextToken: "STRING_VALUE",
89
+ * MaxResults: Number("int"),
90
+ * };
91
+ * const command = new GetSoftwareResourcesV2Command(input);
92
+ * const response = await client.send(command);
93
+ * // { // GetSoftwareResourcesV2Response
94
+ * // SoftwareResources: [ // SoftwareResourceResultList // required
95
+ * // { // SoftwareResourceResult
96
+ * // AccountId: "STRING_VALUE", // required
97
+ * // ResourceType: "STRING_VALUE", // required
98
+ * // Region: "STRING_VALUE", // required
99
+ * // ResourceId: "STRING_VALUE", // required
100
+ * // ResourceProvider: "STRING_VALUE",
101
+ * // ResourceOwnerOrgId: "STRING_VALUE",
102
+ * // ResourceOwnerAccountId: "STRING_VALUE",
103
+ * // ResourceCloudPartition: "STRING_VALUE",
104
+ * // ResourceRegion: "STRING_VALUE",
105
+ * // },
106
+ * // ],
107
+ * // NextToken: "STRING_VALUE",
108
+ * // };
109
+ *
110
+ * ```
111
+ *
112
+ * @param GetSoftwareResourcesV2CommandInput - {@link GetSoftwareResourcesV2CommandInput}
113
+ * @returns {@link GetSoftwareResourcesV2CommandOutput}
114
+ * @see {@link GetSoftwareResourcesV2CommandInput} for command's `input` shape.
115
+ * @see {@link GetSoftwareResourcesV2CommandOutput} for command's `response` shape.
116
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
117
+ *
118
+ * @throws {@link AccessDeniedException} (client fault)
119
+ * <p>You don't have permission to perform the action specified in the request.</p>
120
+ *
121
+ * @throws {@link ConflictException} (client fault)
122
+ * <p>The request causes conflict with the current state of the service resource.</p>
123
+ *
124
+ * @throws {@link InternalServerException} (server fault)
125
+ * <p>
126
+ * The request has failed due to an internal failure of the service.
127
+ * </p>
128
+ *
129
+ * @throws {@link OrganizationalUnitNotFoundException} (client fault)
130
+ * <p>The request failed because one or more organizational units specified in the request don't exist within the caller's organization.</p>
131
+ *
132
+ * @throws {@link OrganizationNotFoundException} (client fault)
133
+ * <p>The request failed because one or more organizations specified in the request don't exist or don't belong to the caller's organization.</p>
134
+ *
135
+ * @throws {@link ResourceNotFoundException} (client fault)
136
+ * <p>The request was rejected because we can't find the specified resource.</p>
137
+ *
138
+ * @throws {@link ThrottlingException} (client fault)
139
+ * <p>
140
+ * The limit on the number of requests per second was exceeded.
141
+ * </p>
142
+ *
143
+ * @throws {@link ValidationException} (client fault)
144
+ * <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
145
+ *
146
+ * @throws {@link SecurityHubServiceException}
147
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
148
+ *
149
+ *
150
+ * @public
151
+ */
152
+ export declare class GetSoftwareResourcesV2Command extends GetSoftwareResourcesV2Command_base {
153
+ /** @internal type navigation helper, not in runtime. */
154
+ protected static __types: {
155
+ api: {
156
+ input: GetSoftwareResourcesV2Request;
157
+ output: GetSoftwareResourcesV2Response;
158
+ };
159
+ sdk: {
160
+ input: GetSoftwareResourcesV2CommandInput;
161
+ output: GetSoftwareResourcesV2CommandOutput;
162
+ };
163
+ };
164
+ }