@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
package/README.md CHANGED
@@ -847,6 +847,27 @@ GetSecurityControlDefinition
847
847
  </details>
848
848
  <details>
849
849
  <summary>
850
+ GetSoftwareResourcesV2
851
+ </summary>
852
+
853
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/GetSoftwareResourcesV2Command/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/GetSoftwareResourcesV2CommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/GetSoftwareResourcesV2CommandOutput/)
854
+ </details>
855
+ <details>
856
+ <summary>
857
+ GetSoftwareStatisticsV2
858
+ </summary>
859
+
860
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/GetSoftwareStatisticsV2Command/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/GetSoftwareStatisticsV2CommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/GetSoftwareStatisticsV2CommandOutput/)
861
+ </details>
862
+ <details>
863
+ <summary>
864
+ GetSoftwareV2
865
+ </summary>
866
+
867
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/GetSoftwareV2Command/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/GetSoftwareV2CommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/GetSoftwareV2CommandOutput/)
868
+ </details>
869
+ <details>
870
+ <summary>
850
871
  InviteMembers
851
872
  </summary>
852
873
 
package/dist-cjs/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
3
  const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
4
  const { Command: $Command } = require("@smithy/core/client");
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1160.0";
72
+ var version = "3.1162.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -2349,6 +2349,15 @@ const _GSCD = "GetSecurityControlDefinition";
2349
2349
  const _GSCDR = "GetSecurityControlDefinitionRequest";
2350
2350
  const _GSCDRe = "GetSecurityControlDefinitionResponse";
2351
2351
  const _GSI = "GlobalSecondaryIndexes";
2352
+ const _GSRV = "GetSoftwareResourcesV2";
2353
+ const _GSRVR = "GetSoftwareResourcesV2Request";
2354
+ const _GSRVRe = "GetSoftwareResourcesV2Response";
2355
+ const _GSSV = "GetSoftwareStatisticsV2";
2356
+ const _GSSVR = "GetSoftwareStatisticsV2Request";
2357
+ const _GSSVRe = "GetSoftwareStatisticsV2Response";
2358
+ const _GSV = "GetSoftwareV2";
2359
+ const _GSVR = "GetSoftwareV2Request";
2360
+ const _GSVRe = "GetSoftwareV2Response";
2352
2361
  const _GTV = "GlobalTableVersion";
2353
2362
  const _Gi = "Gid";
2354
2363
  const _Gr = "Groups";
@@ -3062,6 +3071,7 @@ const _PMi = "PidMode";
3062
3071
  const _PMo = "PortMappings";
3063
3072
  const _PN = "PortName";
3064
3073
  const _PNa = "PartitionNumber";
3074
+ const _PNac = "PackageName";
3065
3075
  const _PNag = "PageNumber";
3066
3076
  const _PNar = "ParameterName";
3067
3077
  const _PNo = "PolicyName";
@@ -3122,7 +3132,8 @@ const _PVN = "ProductV2Name";
3122
3132
  const _PVS = "PropagatingVgwSet";
3123
3133
  const _PVSD = "PropagatingVgwSetDetails";
3124
3134
  const _PVSL = "PropagatingVgwSetList";
3125
- const _PVa = "ParameterValue";
3135
+ const _PVa = "PackageVersion";
3136
+ const _PVar = "ParameterValue";
3126
3137
  const _PVr = "ProductsV2";
3127
3138
  const _PVro = "ProductV2";
3128
3139
  const _Pa = "Packaging";
@@ -3216,7 +3227,8 @@ const _RCeso = "ResourceConfig";
3216
3227
  const _RCesou = "ResourceCategory";
3217
3228
  const _RCesour = "ResourceCriticality";
3218
3229
  const _RCesourc = "ResourcesCount";
3219
- const _RCesource = "ResourceCriteria";
3230
+ const _RCesource = "ResourceCount";
3231
+ const _RCesourcer = "ResourceCriteria";
3220
3232
  const _RCo = "RoutingConfig";
3221
3233
  const _RD = "RootDirectory";
3222
3234
  const _RDCTD = "ResourceDetailCaptureTimeDt";
@@ -3501,6 +3513,8 @@ const _SCCPe = "SecurityControlCustomParameters";
3501
3513
  const _SCD = "SecurityControlDefinition";
3502
3514
  const _SCDe = "SecurityControlDefinitions";
3503
3515
  const _SCDt = "StandardsControlDescription";
3516
+ const _SCF = "SoftwareCompositeFilter";
3517
+ const _SCFL = "SoftwareCompositeFilterList";
3504
3518
  const _SCGN = "SnapshotCopyGrantName";
3505
3519
  const _SCI = "SslCertificateId";
3506
3520
  const _SCIe = "SecurityControlIds";
@@ -3568,8 +3582,11 @@ const _SFDA = "StatelessFragmentDefaultActions";
3568
3582
  const _SFFRA = "SqsFailureFeedbackRoleArn";
3569
3583
  const _SFL = "StringFilterList";
3570
3584
  const _SFe = "SelectedFields";
3585
+ const _SFo = "SoftwareFilters";
3571
3586
  const _SFt = "StringFilter";
3572
3587
  const _SG = "SecurityGroups";
3588
+ const _SGBR = "SoftwareGroupByRule";
3589
+ const _SGBRo = "SoftwareGroupByRules";
3573
3590
  const _SGI = "SecurityGroupIds";
3574
3591
  const _SGIS = "SecurityGroupIdSet";
3575
3592
  const _SGS = "SecurityGroupSet";
@@ -3615,6 +3632,7 @@ const _SLH = "SourceLayerHash";
3615
3632
  const _SLi = "SignalsList";
3616
3633
  const _SLo = "S3Logs";
3617
3634
  const _SLof = "SoftLimit";
3635
+ const _SLoft = "SoftwareList";
3618
3636
  const _SLt = "StartLine";
3619
3637
  const _SLtr = "StringList";
3620
3638
  const _SM = "StatusMessage";
@@ -3662,9 +3680,13 @@ const _SRGR = "StatefulRuleGroupReferences";
3662
3680
  const _SRGRt = "StatelessRuleGroupReferences";
3663
3681
  const _SRL = "StatusReasonsList";
3664
3682
  const _SRO = "StaticRoutesOnly";
3683
+ const _SRR = "SoftwareResourceResult";
3684
+ const _SRRL = "SoftwareResourceResultList";
3665
3685
  const _SRe = "ServiceRegistries";
3666
3686
  const _SRev = "SeverityRating";
3667
3687
  const _SRo = "SourceRegion";
3688
+ const _SRof = "SoftwareResources";
3689
+ const _SRoft = "SoftwareResult";
3668
3690
  const _SRt = "StateReason";
3669
3691
  const _SRta = "StatusReasons";
3670
3692
  const _SRtat = "StatefulRules";
@@ -3677,6 +3699,8 @@ const _SSE = "ServerSideEncryption";
3677
3699
  const _SSEA = "SSEAlgorithm";
3678
3700
  const _SSEC = "ServerSideEncryptionConfiguration";
3679
3701
  const _SSEKMSKI = "SSEKMSKeyId";
3702
+ const _SSF = "SoftwareStringFilter";
3703
+ const _SSFL = "SoftwareStringFilterList";
3680
3704
  const _SSFRA = "SqsSuccessFeedbackRoleArn";
3681
3705
  const _SSG = "SourceSecurityGroup";
3682
3706
  const _SSI = "SnapshotScheduleIdentifier";
@@ -3694,6 +3718,7 @@ const _SSS = "SnapshotScheduleState";
3694
3718
  const _SSSPA = "SelfServiceSamlProviderArn";
3695
3719
  const _SSc = "SchedulingStrategy";
3696
3720
  const _SSe = "ServiceState";
3721
+ const _SSo = "SoftwareScopes";
3697
3722
  const _SSt = "StreamSpecification";
3698
3723
  const _SSta = "StandardsSubscriptions";
3699
3724
  const _SStan = "StandardsSubscription";
@@ -3745,6 +3770,7 @@ const _Si = "Size";
3745
3770
  const _Sig = "Signals";
3746
3771
  const _Sign = "Signal";
3747
3772
  const _So = "Source";
3773
+ const _Sof = "Software";
3748
3774
  const _Sou = "Sources";
3749
3775
  const _Sp = "Specification";
3750
3776
  const _St = "Status";
@@ -7958,6 +7984,36 @@ var GetSecurityControlDefinitionResponse$ = [3, n0, _GSCDRe,
7958
7984
  [_SCD],
7959
7985
  [() => SecurityControlDefinition$], 1
7960
7986
  ];
7987
+ var GetSoftwareResourcesV2Request$ = [3, n0, _GSRVR,
7988
+ 0,
7989
+ [_PNac, _PTa, _PVa, _Filt, _Sco, _SCor, _NTe, _MRa],
7990
+ [0, 0, 0, () => SoftwareFilters$, () => SoftwareScopes$, () => SortCriteria, 0, 1], 2
7991
+ ];
7992
+ var GetSoftwareResourcesV2Response$ = [3, n0, _GSRVRe,
7993
+ 0,
7994
+ [_SRof, _NTe],
7995
+ [() => SoftwareResourceResultList, 0], 1
7996
+ ];
7997
+ var GetSoftwareStatisticsV2Request$ = [3, n0, _GSSVR,
7998
+ 0,
7999
+ [_GBR, _Sco, _SOo, _MSR],
8000
+ [() => SoftwareGroupByRules, () => SoftwareScopes$, 0, 1], 1
8001
+ ];
8002
+ var GetSoftwareStatisticsV2Response$ = [3, n0, _GSSVRe,
8003
+ 0,
8004
+ [_GBRr],
8005
+ [() => GroupByResults], 1
8006
+ ];
8007
+ var GetSoftwareV2Request$ = [3, n0, _GSVR,
8008
+ 0,
8009
+ [_Filt, _Sco, _SCor, _NTe, _MRa],
8010
+ [() => SoftwareFilters$, () => SoftwareScopes$, () => SortCriteria, 0, 1]
8011
+ ];
8012
+ var GetSoftwareV2Response$ = [3, n0, _GSVRe,
8013
+ 0,
8014
+ [_Sof, _NTe],
8015
+ [() => SoftwareList, 0], 1
8016
+ ];
7961
8017
  var GroupByResult$ = [3, n0, _GBRro,
7962
8018
  0,
7963
8019
  [_GBF, _GBV],
@@ -8883,11 +8939,46 @@ var Signal$ = [3, n0, _Sign,
8883
8939
  [_T, _I, _Ti, _PA, _RIesou, _SIi, _N, _CA, _UA, _FSA, _LSAa, _Se, _Cou, _AIct, _EIndp],
8884
8940
  [0, 0, 0, 0, 64 | 0, () => IndicatorsList, 0, 1, 1, 1, 1, 1, 1, 64 | 0, 64 | 0]
8885
8941
  ];
8942
+ var SoftwareCompositeFilter$ = [3, n0, _SCF,
8943
+ 0,
8944
+ [_SF, _NCF, _Oper],
8945
+ [() => SoftwareStringFilterList, () => SoftwareCompositeFilterList, 0]
8946
+ ];
8947
+ var SoftwareFilters$ = [3, n0, _SFo,
8948
+ 0,
8949
+ [_CFo, _COo],
8950
+ [() => SoftwareCompositeFilterList, 0]
8951
+ ];
8952
+ var SoftwareGroupByRule$ = [3, n0, _SGBR,
8953
+ 0,
8954
+ [_GBF, _Filt],
8955
+ [0, () => SoftwareFilters$], 1
8956
+ ];
8886
8957
  var SoftwarePackage$ = [3, n0, _SPof,
8887
8958
  0,
8888
8959
  [_N, _V, _Ep, _Rel, _Arc, _PMa, _FPil, _FIV, _Rem, _SLH, _SLA],
8889
8960
  [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
8890
8961
  ];
8962
+ var SoftwareResourceResult$ = [3, n0, _SRR,
8963
+ 0,
8964
+ [_AIc, _RT, _Reg, _RI, _RPe, _ROOI, _ROAI, _RCP, _RR],
8965
+ [0, 0, 0, 0, 0, 0, 0, 0, 0], 4
8966
+ ];
8967
+ var SoftwareResult$ = [3, n0, _SRoft,
8968
+ 0,
8969
+ [_PNac, _PTa, _RCesource, _PVa],
8970
+ [0, 0, 1, 0], 3
8971
+ ];
8972
+ var SoftwareScopes$ = [3, n0, _SSo,
8973
+ 0,
8974
+ [_AOw],
8975
+ [() => AwsOrganizationScopeList]
8976
+ ];
8977
+ var SoftwareStringFilter$ = [3, n0, _SSF,
8978
+ 0,
8979
+ [_FNie, _Fil],
8980
+ [0, () => StringFilter$]
8981
+ ];
8891
8982
  var SortCriterion$ = [3, n0, _SCort,
8892
8983
  0,
8893
8984
  [_Fi, _SOo],
@@ -10073,9 +10164,24 @@ var SensitiveDataResultList = [1, n0, _SDRL,
10073
10164
  var SignalsList = [1, n0, _SLi,
10074
10165
  0, () => Signal$
10075
10166
  ];
10167
+ var SoftwareCompositeFilterList = [1, n0, _SCFL,
10168
+ 0, () => SoftwareCompositeFilter$
10169
+ ];
10170
+ var SoftwareGroupByRules = [1, n0, _SGBRo,
10171
+ 0, () => SoftwareGroupByRule$
10172
+ ];
10173
+ var SoftwareList = [1, n0, _SLoft,
10174
+ 0, () => SoftwareResult$
10175
+ ];
10076
10176
  var SoftwarePackageList = [1, n0, _SPL,
10077
10177
  0, () => SoftwarePackage$
10078
10178
  ];
10179
+ var SoftwareResourceResultList = [1, n0, _SRRL,
10180
+ 0, () => SoftwareResourceResult$
10181
+ ];
10182
+ var SoftwareStringFilterList = [1, n0, _SSFL,
10183
+ 0, () => SoftwareStringFilter$
10184
+ ];
10079
10185
  var SortCriteria = [1, n0, _SCor,
10080
10186
  0, () => SortCriterion$
10081
10187
  ];
@@ -10173,7 +10279,7 @@ var ConfigurationOptions$ = [4, n0, _COon,
10173
10279
  ];
10174
10280
  var Criteria$ = [4, n0, _Cr,
10175
10281
  0,
10176
- [_OFC, _RCesource],
10282
+ [_OFC, _RCesourcer],
10177
10283
  [() => OcsfFindingFilters$, () => ResourcesFilters$]
10178
10284
  ];
10179
10285
  var CspmProviderConfiguration$ = [4, n0, _CPC,
@@ -10206,7 +10312,7 @@ var ExportOutputSummary$ = [4, n0, _EOS,
10206
10312
  [_Fin],
10207
10313
  [() => FindingsOutputSummary$]
10208
10314
  ];
10209
- var ParameterValue$ = [4, n0, _PVa,
10315
+ var ParameterValue$ = [4, n0, _PVar,
10210
10316
  0,
10211
10317
  [_Inte, _ILnt, _Dou, _Str, _SLtr, _Bo, _Enu, _ELnu],
10212
10318
  [1, 64 | 1, 1, 0, 64 | 0, 2, 0, 64 | 0]
@@ -10496,6 +10602,15 @@ var GetResourcesV2$ = [9, n0, _GRVe,
10496
10602
  var GetSecurityControlDefinition$ = [9, n0, _GSCD,
10497
10603
  { [_h]: ["GET", "/securityControl/definition", 200] }, () => GetSecurityControlDefinitionRequest$, () => GetSecurityControlDefinitionResponse$
10498
10604
  ];
10605
+ var GetSoftwareResourcesV2$ = [9, n0, _GSRV,
10606
+ { [_h]: ["POST", "/softwarev2/resources", 200] }, () => GetSoftwareResourcesV2Request$, () => GetSoftwareResourcesV2Response$
10607
+ ];
10608
+ var GetSoftwareStatisticsV2$ = [9, n0, _GSSV,
10609
+ { [_h]: ["POST", "/softwarev2/statistics", 200] }, () => GetSoftwareStatisticsV2Request$, () => GetSoftwareStatisticsV2Response$
10610
+ ];
10611
+ var GetSoftwareV2$ = [9, n0, _GSV,
10612
+ { [_h]: ["POST", "/softwarev2", 200] }, () => GetSoftwareV2Request$, () => GetSoftwareV2Response$
10613
+ ];
10499
10614
  var InviteMembers$ = [9, n0, _IMn,
10500
10615
  { [_h]: ["POST", "/members/invite", 200] }, () => InviteMembersRequest$, () => InviteMembersResponse$
10501
10616
  ];
@@ -10661,6 +10776,7 @@ const getRuntimeConfig = (config) => {
10661
10776
  authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
10662
10777
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
10663
10778
  credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
10779
+ defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
10664
10780
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
10665
10781
  maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
10666
10782
  region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
@@ -11016,6 +11132,15 @@ class GetResourcesV2Command extends command(_ep0, _mw0, "GetResourcesV2", GetRes
11016
11132
  class GetSecurityControlDefinitionCommand extends command(_ep0, _mw0, "GetSecurityControlDefinition", GetSecurityControlDefinition$) {
11017
11133
  }
11018
11134
 
11135
+ class GetSoftwareResourcesV2Command extends command(_ep0, _mw0, "GetSoftwareResourcesV2", GetSoftwareResourcesV2$) {
11136
+ }
11137
+
11138
+ class GetSoftwareStatisticsV2Command extends command(_ep0, _mw0, "GetSoftwareStatisticsV2", GetSoftwareStatisticsV2$) {
11139
+ }
11140
+
11141
+ class GetSoftwareV2Command extends command(_ep0, _mw0, "GetSoftwareV2", GetSoftwareV2$) {
11142
+ }
11143
+
11019
11144
  class InviteMembersCommand extends command(_ep0, _mw0, "InviteMembers", InviteMembers$) {
11020
11145
  }
11021
11146
 
@@ -11160,6 +11285,10 @@ const paginateGetResourcesTrendsV2 = createPaginator(SecurityHubClient, GetResou
11160
11285
 
11161
11286
  const paginateGetResourcesV2 = createPaginator(SecurityHubClient, GetResourcesV2Command, "NextToken", "NextToken", "MaxResults");
11162
11287
 
11288
+ const paginateGetSoftwareResourcesV2 = createPaginator(SecurityHubClient, GetSoftwareResourcesV2Command, "NextToken", "NextToken", "MaxResults");
11289
+
11290
+ const paginateGetSoftwareV2 = createPaginator(SecurityHubClient, GetSoftwareV2Command, "NextToken", "NextToken", "MaxResults");
11291
+
11163
11292
  const paginateListAggregatorsV2 = createPaginator(SecurityHubClient, ListAggregatorsV2Command, "NextToken", "NextToken", "MaxResults");
11164
11293
 
11165
11294
  const paginateListConfigurationPolicies = createPaginator(SecurityHubClient, ListConfigurationPoliciesCommand, "NextToken", "NextToken", "MaxResults");
@@ -11272,6 +11401,9 @@ const commands = {
11272
11401
  GetResourcesTrendsV2Command,
11273
11402
  GetResourcesV2Command,
11274
11403
  GetSecurityControlDefinitionCommand,
11404
+ GetSoftwareResourcesV2Command,
11405
+ GetSoftwareStatisticsV2Command,
11406
+ GetSoftwareV2Command,
11275
11407
  InviteMembersCommand,
11276
11408
  ListAggregatorsV2Command,
11277
11409
  ListAutomationRulesCommand,
@@ -11327,6 +11459,8 @@ const paginators = {
11327
11459
  paginateGetRemediationsV2,
11328
11460
  paginateGetResourcesTrendsV2,
11329
11461
  paginateGetResourcesV2,
11462
+ paginateGetSoftwareResourcesV2,
11463
+ paginateGetSoftwareV2,
11330
11464
  paginateListAggregatorsV2,
11331
11465
  paginateListConfigurationPolicies,
11332
11466
  paginateListConfigurationPolicyAssociations,
@@ -12179,6 +12313,34 @@ const RegionAvailabilityStatus = {
12179
12313
  AVAILABLE: "AVAILABLE",
12180
12314
  UNAVAILABLE: "UNAVAILABLE",
12181
12315
  };
12316
+ const SoftwareStringField = {
12317
+ ACCOUNT_ID: "AccountId",
12318
+ PACKAGE_NAME: "PackageName",
12319
+ PACKAGE_TYPE: "PackageType",
12320
+ PACKAGE_VERSION: "PackageVersion",
12321
+ REGION: "Region",
12322
+ RESOURCE_CLOUD_PARTITION: "ResourceCloudPartition",
12323
+ RESOURCE_ID: "ResourceId",
12324
+ RESOURCE_OWNER_ACCOUNT_ID: "ResourceOwnerAccountId",
12325
+ RESOURCE_OWNER_ORG_ID: "ResourceOwnerOrgId",
12326
+ RESOURCE_PROVIDER: "ResourceProvider",
12327
+ RESOURCE_REGION: "ResourceRegion",
12328
+ RESOURCE_TYPE: "ResourceType",
12329
+ };
12330
+ const SoftwareGroupByField = {
12331
+ ACCOUNT_ID: "AccountId",
12332
+ PACKAGE_NAME: "PackageName",
12333
+ PACKAGE_TYPE: "PackageType",
12334
+ PACKAGE_VERSION: "PackageVersion",
12335
+ REGION: "Region",
12336
+ RESOURCE_CLOUD_PARTITION: "ResourceCloudPartition",
12337
+ RESOURCE_ID: "ResourceId",
12338
+ RESOURCE_OWNER_ACCOUNT_ID: "ResourceOwnerAccountId",
12339
+ RESOURCE_OWNER_ORG_ID: "ResourceOwnerOrgId",
12340
+ RESOURCE_PROVIDER: "ResourceProvider",
12341
+ RESOURCE_REGION: "ResourceRegion",
12342
+ RESOURCE_TYPE: "ResourceType",
12343
+ };
12182
12344
 
12183
12345
  exports.AIDetails$ = AIDetails$;
12184
12346
  exports.AcceptAdministratorInvitation$ = AcceptAdministratorInvitation$;
@@ -13165,6 +13327,18 @@ exports.GetSecurityControlDefinition$ = GetSecurityControlDefinition$;
13165
13327
  exports.GetSecurityControlDefinitionCommand = GetSecurityControlDefinitionCommand;
13166
13328
  exports.GetSecurityControlDefinitionRequest$ = GetSecurityControlDefinitionRequest$;
13167
13329
  exports.GetSecurityControlDefinitionResponse$ = GetSecurityControlDefinitionResponse$;
13330
+ exports.GetSoftwareResourcesV2$ = GetSoftwareResourcesV2$;
13331
+ exports.GetSoftwareResourcesV2Command = GetSoftwareResourcesV2Command;
13332
+ exports.GetSoftwareResourcesV2Request$ = GetSoftwareResourcesV2Request$;
13333
+ exports.GetSoftwareResourcesV2Response$ = GetSoftwareResourcesV2Response$;
13334
+ exports.GetSoftwareStatisticsV2$ = GetSoftwareStatisticsV2$;
13335
+ exports.GetSoftwareStatisticsV2Command = GetSoftwareStatisticsV2Command;
13336
+ exports.GetSoftwareStatisticsV2Request$ = GetSoftwareStatisticsV2Request$;
13337
+ exports.GetSoftwareStatisticsV2Response$ = GetSoftwareStatisticsV2Response$;
13338
+ exports.GetSoftwareV2$ = GetSoftwareV2$;
13339
+ exports.GetSoftwareV2Command = GetSoftwareV2Command;
13340
+ exports.GetSoftwareV2Request$ = GetSoftwareV2Request$;
13341
+ exports.GetSoftwareV2Response$ = GetSoftwareV2Response$;
13168
13342
  exports.GranularityField = GranularityField;
13169
13343
  exports.GroupByField = GroupByField;
13170
13344
  exports.GroupByResult$ = GroupByResult$;
@@ -13465,7 +13639,16 @@ exports.SeverityRating = SeverityRating;
13465
13639
  exports.SeverityTrendsCount$ = SeverityTrendsCount$;
13466
13640
  exports.SeverityUpdate$ = SeverityUpdate$;
13467
13641
  exports.Signal$ = Signal$;
13642
+ exports.SoftwareCompositeFilter$ = SoftwareCompositeFilter$;
13643
+ exports.SoftwareFilters$ = SoftwareFilters$;
13644
+ exports.SoftwareGroupByField = SoftwareGroupByField;
13645
+ exports.SoftwareGroupByRule$ = SoftwareGroupByRule$;
13468
13646
  exports.SoftwarePackage$ = SoftwarePackage$;
13647
+ exports.SoftwareResourceResult$ = SoftwareResourceResult$;
13648
+ exports.SoftwareResult$ = SoftwareResult$;
13649
+ exports.SoftwareScopes$ = SoftwareScopes$;
13650
+ exports.SoftwareStringField = SoftwareStringField;
13651
+ exports.SoftwareStringFilter$ = SoftwareStringFilter$;
13469
13652
  exports.SortCriterion$ = SortCriterion$;
13470
13653
  exports.SortOrder = SortOrder;
13471
13654
  exports.Standard$ = Standard$;
@@ -13619,6 +13802,8 @@ exports.paginateGetRecommendedPolicyV2 = paginateGetRecommendedPolicyV2;
13619
13802
  exports.paginateGetRemediationsV2 = paginateGetRemediationsV2;
13620
13803
  exports.paginateGetResourcesTrendsV2 = paginateGetResourcesTrendsV2;
13621
13804
  exports.paginateGetResourcesV2 = paginateGetResourcesV2;
13805
+ exports.paginateGetSoftwareResourcesV2 = paginateGetSoftwareResourcesV2;
13806
+ exports.paginateGetSoftwareV2 = paginateGetSoftwareV2;
13622
13807
  exports.paginateListAggregatorsV2 = paginateListAggregatorsV2;
13623
13808
  exports.paginateListConfigurationPolicies = paginateListConfigurationPolicies;
13624
13809
  exports.paginateListConfigurationPolicyAssociations = paginateListConfigurationPolicyAssociations;
@@ -84,6 +84,9 @@ import { GetResourcesStatisticsV2Command, } from "./commands/GetResourcesStatist
84
84
  import { GetResourcesTrendsV2Command, } from "./commands/GetResourcesTrendsV2Command";
85
85
  import { GetResourcesV2Command, } from "./commands/GetResourcesV2Command";
86
86
  import { GetSecurityControlDefinitionCommand, } from "./commands/GetSecurityControlDefinitionCommand";
87
+ import { GetSoftwareResourcesV2Command, } from "./commands/GetSoftwareResourcesV2Command";
88
+ import { GetSoftwareStatisticsV2Command, } from "./commands/GetSoftwareStatisticsV2Command";
89
+ import { GetSoftwareV2Command, } from "./commands/GetSoftwareV2Command";
87
90
  import { InviteMembersCommand, } from "./commands/InviteMembersCommand";
88
91
  import { ListAggregatorsV2Command, } from "./commands/ListAggregatorsV2Command";
89
92
  import { ListAutomationRulesCommand, } from "./commands/ListAutomationRulesCommand";
@@ -137,6 +140,8 @@ import { paginateGetRecommendedPolicyV2 } from "./pagination/GetRecommendedPolic
137
140
  import { paginateGetRemediationsV2 } from "./pagination/GetRemediationsV2Paginator";
138
141
  import { paginateGetResourcesTrendsV2 } from "./pagination/GetResourcesTrendsV2Paginator";
139
142
  import { paginateGetResourcesV2 } from "./pagination/GetResourcesV2Paginator";
143
+ import { paginateGetSoftwareResourcesV2 } from "./pagination/GetSoftwareResourcesV2Paginator";
144
+ import { paginateGetSoftwareV2 } from "./pagination/GetSoftwareV2Paginator";
140
145
  import { paginateListAggregatorsV2 } from "./pagination/ListAggregatorsV2Paginator";
141
146
  import { paginateListConfigurationPolicies } from "./pagination/ListConfigurationPoliciesPaginator";
142
147
  import { paginateListConfigurationPolicyAssociations } from "./pagination/ListConfigurationPolicyAssociationsPaginator";
@@ -237,6 +242,9 @@ const commands = {
237
242
  GetResourcesTrendsV2Command,
238
243
  GetResourcesV2Command,
239
244
  GetSecurityControlDefinitionCommand,
245
+ GetSoftwareResourcesV2Command,
246
+ GetSoftwareStatisticsV2Command,
247
+ GetSoftwareV2Command,
240
248
  InviteMembersCommand,
241
249
  ListAggregatorsV2Command,
242
250
  ListAutomationRulesCommand,
@@ -292,6 +300,8 @@ const paginators = {
292
300
  paginateGetRemediationsV2,
293
301
  paginateGetResourcesTrendsV2,
294
302
  paginateGetResourcesV2,
303
+ paginateGetSoftwareResourcesV2,
304
+ paginateGetSoftwareV2,
295
305
  paginateListAggregatorsV2,
296
306
  paginateListConfigurationPolicies,
297
307
  paginateListConfigurationPolicyAssociations,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetSoftwareResourcesV2$ } from "../schemas/schemas_0";
3
+ export class GetSoftwareResourcesV2Command extends command(_ep0, _mw0, "GetSoftwareResourcesV2", GetSoftwareResourcesV2$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetSoftwareStatisticsV2$ } from "../schemas/schemas_0";
3
+ export class GetSoftwareStatisticsV2Command extends command(_ep0, _mw0, "GetSoftwareStatisticsV2", GetSoftwareStatisticsV2$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetSoftwareV2$ } from "../schemas/schemas_0";
3
+ export class GetSoftwareV2Command extends command(_ep0, _mw0, "GetSoftwareV2", GetSoftwareV2$) {
4
+ }
@@ -83,6 +83,9 @@ export * from "./GetResourcesStatisticsV2Command";
83
83
  export * from "./GetResourcesTrendsV2Command";
84
84
  export * from "./GetResourcesV2Command";
85
85
  export * from "./GetSecurityControlDefinitionCommand";
86
+ export * from "./GetSoftwareResourcesV2Command";
87
+ export * from "./GetSoftwareStatisticsV2Command";
88
+ export * from "./GetSoftwareV2Command";
86
89
  export * from "./InviteMembersCommand";
87
90
  export * from "./ListAggregatorsV2Command";
88
91
  export * from "./ListAutomationRulesCommand";
@@ -832,3 +832,31 @@ export const RegionAvailabilityStatus = {
832
832
  AVAILABLE: "AVAILABLE",
833
833
  UNAVAILABLE: "UNAVAILABLE",
834
834
  };
835
+ export const SoftwareStringField = {
836
+ ACCOUNT_ID: "AccountId",
837
+ PACKAGE_NAME: "PackageName",
838
+ PACKAGE_TYPE: "PackageType",
839
+ PACKAGE_VERSION: "PackageVersion",
840
+ REGION: "Region",
841
+ RESOURCE_CLOUD_PARTITION: "ResourceCloudPartition",
842
+ RESOURCE_ID: "ResourceId",
843
+ RESOURCE_OWNER_ACCOUNT_ID: "ResourceOwnerAccountId",
844
+ RESOURCE_OWNER_ORG_ID: "ResourceOwnerOrgId",
845
+ RESOURCE_PROVIDER: "ResourceProvider",
846
+ RESOURCE_REGION: "ResourceRegion",
847
+ RESOURCE_TYPE: "ResourceType",
848
+ };
849
+ export const SoftwareGroupByField = {
850
+ ACCOUNT_ID: "AccountId",
851
+ PACKAGE_NAME: "PackageName",
852
+ PACKAGE_TYPE: "PackageType",
853
+ PACKAGE_VERSION: "PackageVersion",
854
+ REGION: "Region",
855
+ RESOURCE_CLOUD_PARTITION: "ResourceCloudPartition",
856
+ RESOURCE_ID: "ResourceId",
857
+ RESOURCE_OWNER_ACCOUNT_ID: "ResourceOwnerAccountId",
858
+ RESOURCE_OWNER_ORG_ID: "ResourceOwnerOrgId",
859
+ RESOURCE_PROVIDER: "ResourceProvider",
860
+ RESOURCE_REGION: "ResourceRegion",
861
+ RESOURCE_TYPE: "ResourceType",
862
+ };
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { GetSoftwareResourcesV2Command, } from "../commands/GetSoftwareResourcesV2Command";
3
+ import { SecurityHubClient } from "../SecurityHubClient";
4
+ export const paginateGetSoftwareResourcesV2 = createPaginator(SecurityHubClient, GetSoftwareResourcesV2Command, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { GetSoftwareV2Command, } from "../commands/GetSoftwareV2Command";
3
+ import { SecurityHubClient } from "../SecurityHubClient";
4
+ export const paginateGetSoftwareV2 = createPaginator(SecurityHubClient, GetSoftwareV2Command, "NextToken", "NextToken", "MaxResults");
@@ -14,6 +14,8 @@ export * from "./GetRecommendedPolicyV2Paginator";
14
14
  export * from "./GetRemediationsV2Paginator";
15
15
  export * from "./GetResourcesTrendsV2Paginator";
16
16
  export * from "./GetResourcesV2Paginator";
17
+ export * from "./GetSoftwareResourcesV2Paginator";
18
+ export * from "./GetSoftwareV2Paginator";
17
19
  export * from "./ListAggregatorsV2Paginator";
18
20
  export * from "./ListConfigurationPoliciesPaginator";
19
21
  export * from "./ListConfigurationPolicyAssociationsPaginator";
@@ -1,5 +1,5 @@
1
1
  import packageInfo from "../package.json";
2
- import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
2
+ import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
3
3
  import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
4
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
@@ -26,6 +26,7 @@ export const getRuntimeConfig = (config) => {
26
26
  authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
27
27
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
28
28
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
+ defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
29
30
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
30
31
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
31
32
  region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),