@aws-sdk/client-iot 3.954.0 → 3.956.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -602,7 +602,8 @@ const _Al = "Allowed";
602
602
  const _Au = "Authorizers";
603
603
  const _B = "Behavior";
604
604
  const _BAT = "BucketsAggregationType";
605
- const _BC = "BehaviorCriteria";
605
+ const _BC = "BatchConfig";
606
+ const _BCe = "BehaviorCriteria";
606
607
  const _BGM = "BillingGroupMetadata";
607
608
  const _BGNAAL = "BillingGroupNameAndArnList";
608
609
  const _BGP = "BillingGroupProperties";
@@ -1203,6 +1204,8 @@ const _LDMATR = "ListDetectMitigationActionsTasksRequest";
1203
1204
  const _LDMATRi = "ListDetectMitigationActionsTasksResponse";
1204
1205
  const _LDR = "ListDimensionsRequest";
1205
1206
  const _LDRi = "ListDimensionsResponse";
1207
+ const _LEC = "LogEventConfiguration";
1208
+ const _LECo = "LogEventConfigurations";
1206
1209
  const _LEE = "LimitExceededException";
1207
1210
  const _LFM = "ListFleetMetrics";
1208
1211
  const _LFMR = "ListFleetMetricsRequest";
@@ -1759,6 +1762,7 @@ const _aut = "authorizers";
1759
1762
  const _av = "average";
1760
1763
  const _b = "behavior";
1761
1764
  const _bAT = "bucketsAggregationType";
1765
+ const _bC = "batchConfig";
1762
1766
  const _bCT = "behaviorCriteriaType";
1763
1767
  const _bG = "billingGroups";
1764
1768
  const _bGA = "billingGroupArn";
@@ -1907,7 +1911,8 @@ const _do = "document";
1907
1911
  const _e = "elasticsearch";
1908
1912
  const _eA = "endpointAddress";
1909
1913
  const _eAr = "errorAction";
1910
- const _eB = "endBehavior";
1914
+ const _eB = "enableBatching";
1915
+ const _eBn = "endBehavior";
1911
1916
  const _eC = "errorCode";
1912
1917
  const _eCFH = "enableCachingForHttp";
1913
1918
  const _eCv = "eventConfigurations";
@@ -1933,6 +1938,7 @@ const _eT = "endTime";
1933
1938
  const _eTS = "executionTimeoutSeconds";
1934
1939
  const _eTn = "encryptionType";
1935
1940
  const _eTnd = "endpointType";
1941
+ const _eTv = "eventType";
1936
1942
  const _eV = "expectedVersion";
1937
1943
  const _en = "enabled";
1938
1944
  const _end = "endpoint";
@@ -2032,6 +2038,7 @@ const _kV = "keyValue";
2032
2038
  const _ka = "kafka";
2033
2039
  const _ke = "key";
2034
2040
  const _l = "lambda";
2041
+ const _lD = "logDestination";
2035
2042
  const _lFA = "lambdaFunctionArn";
2036
2043
  const _lGN = "logGroupName";
2037
2044
  const _lL = "logLevel";
@@ -2052,6 +2059,9 @@ const _lon = "longitude";
2052
2059
  const _m = "merge";
2053
2060
  const _mA = "metricArn";
2054
2061
  const _mB = "maxBuckets";
2062
+ const _mBOM = "maxBatchOpenMs";
2063
+ const _mBS = "maxBatchSize";
2064
+ const _mBSB = "maxBatchSizeBytes";
2055
2065
  const _mC = "mqttContext";
2056
2066
  const _mCV = "missingContextValues";
2057
2067
  const _mCq = "mqtt5Configuration";
@@ -2455,7 +2465,8 @@ const _val = "validity";
2455
2465
  const _vali = "valid";
2456
2466
  const _var = "variance";
2457
2467
  const _ve = "version";
2458
- const _ver = "versions";
2468
+ const _ver = "verbose";
2469
+ const _vers = "versions";
2459
2470
  const _wFDCC = "waitingForDataCollectionChecks";
2460
2471
  const _xaip = "x-amzn-iot-principal";
2461
2472
  const _xaip_ = "x-amzn-iot-policy";
@@ -2556,7 +2567,7 @@ var AssociateSbomWithPackageVersionRequest$ = [
2556
2567
  _ASWPVR,
2557
2568
  0,
2558
2569
  [_pN, _vN, _sb, _cT],
2559
- [[0, 1], [0, 1], () => Sbom$, [0, { [_iT]: 1, [_hQ]: _cT }]],
2570
+ [[0, 1], [0, 1], () => Sbom$, [0, { [_hQ]: _cT, [_iT]: 1 }]],
2560
2571
  ];
2561
2572
  var AssociateSbomWithPackageVersionResponse$ = [
2562
2573
  3,
@@ -2698,6 +2709,7 @@ var AwsJobPresignedUrlConfig$ = [3, n0, _AJPUC, 0, [_eIS], [1]];
2698
2709
  var AwsJobRateIncreaseCriteria$ = [3, n0, _AJRIC, 0, [_nONT, _nOST], [1, 1]];
2699
2710
  var AwsJobTimeoutConfig$ = [3, n0, _AJTC, 0, [_iPTIM], [1]];
2700
2711
  var AwsJsonSubstitutionCommandPreprocessorConfig$ = [3, n0, _AJSCPC, 0, [_oF], [0]];
2712
+ var BatchConfig$ = [3, n0, _BC, 0, [_mBOM, _mBS, _mBSB], [1, 1, 1]];
2701
2713
  var Behavior$ = [
2702
2714
  3,
2703
2715
  n0,
@@ -2709,7 +2721,7 @@ var Behavior$ = [
2709
2721
  var BehaviorCriteria$ = [
2710
2722
  3,
2711
2723
  n0,
2712
- _BC,
2724
+ _BCe,
2713
2725
  0,
2714
2726
  [_cO, _va, _dS, _cDTA, _cDTC, _sTt, _mDC],
2715
2727
  [0, () => MetricValue$, 1, 1, 1, () => StatisticalThreshold$, () => MachineLearningDetectionConfig$],
@@ -3096,7 +3108,7 @@ var CreatePackageRequest$ = [
3096
3108
  _CPR,
3097
3109
  0,
3098
3110
  [_pN, _d, _tag, _cT],
3099
- [[0, 1], [() => ResourceDescription, 0], 128 | 0, [0, { [_iT]: 1, [_hQ]: _cT }]],
3111
+ [[0, 1], [() => ResourceDescription, 0], 128 | 0, [0, { [_hQ]: _cT, [_iT]: 1 }]],
3100
3112
  ];
3101
3113
  var CreatePackageResponse$ = [
3102
3114
  3,
@@ -3120,7 +3132,7 @@ var CreatePackageVersionRequest$ = [
3120
3132
  () => PackageVersionArtifact$,
3121
3133
  [() => PackageVersionRecipe, 0],
3122
3134
  128 | 0,
3123
- [0, { [_iT]: 1, [_hQ]: _cT }],
3135
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
3124
3136
  ],
3125
3137
  ];
3126
3138
  var CreatePackageVersionResponse$ = [
@@ -3447,7 +3459,7 @@ var DeletePackageRequest$ = [
3447
3459
  [_pN, _cT],
3448
3460
  [
3449
3461
  [0, 1],
3450
- [0, { [_iT]: 1, [_hQ]: _cT }],
3462
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
3451
3463
  ],
3452
3464
  ];
3453
3465
  var DeletePackageResponse$ = [3, n0, _DPRe, 0, [], []];
@@ -3460,7 +3472,7 @@ var DeletePackageVersionRequest$ = [
3460
3472
  [
3461
3473
  [0, 1],
3462
3474
  [0, 1],
3463
- [0, { [_iT]: 1, [_hQ]: _cT }],
3475
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
3464
3476
  ],
3465
3477
  ];
3466
3478
  var DeletePackageVersionResponse$ = [3, n0, _DPVRe, 0, [], []];
@@ -4013,7 +4025,7 @@ var DisassociateSbomFromPackageVersionRequest$ = [
4013
4025
  [
4014
4026
  [0, 1],
4015
4027
  [0, 1],
4016
- [0, { [_iT]: 1, [_hQ]: _cT }],
4028
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
4017
4029
  ],
4018
4030
  ];
4019
4031
  var DisassociateSbomFromPackageVersionResponse$ = [3, n0, _DSFPVRi, 0, [], []];
@@ -4274,16 +4286,23 @@ var GetTopicRuleDestinationResponse$ = [
4274
4286
  ];
4275
4287
  var GetTopicRuleRequest$ = [3, n0, _GTRR, 0, [_rN], [[0, 1]]];
4276
4288
  var GetTopicRuleResponse$ = [3, n0, _GTRRe, 0, [_rAu, _ru], [0, () => TopicRule$]];
4277
- var GetV2LoggingOptionsRequest$ = [3, n0, _GVLOR, 0, [], []];
4278
- var GetV2LoggingOptionsResponse$ = [3, n0, _GVLORe, 0, [_rA, _dLL, _dAL], [0, 0, 2]];
4289
+ var GetV2LoggingOptionsRequest$ = [3, n0, _GVLOR, 0, [_ver], [[2, { [_hQ]: _ver }]]];
4290
+ var GetV2LoggingOptionsResponse$ = [
4291
+ 3,
4292
+ n0,
4293
+ _GVLORe,
4294
+ 0,
4295
+ [_rA, _dLL, _dAL, _eCv],
4296
+ [0, 0, 2, () => LogEventConfigurations],
4297
+ ];
4279
4298
  var GroupNameAndArn$ = [3, n0, _GNAA, 0, [_gN, _gA], [0, 0]];
4280
4299
  var HttpAction$ = [
4281
4300
  3,
4282
4301
  n0,
4283
4302
  _HA,
4284
4303
  0,
4285
- [_ur, _cU, _he, _au],
4286
- [0, 0, () => HeaderList, () => HttpAuthorization$],
4304
+ [_ur, _cU, _he, _au, _eB, _bC],
4305
+ [0, 0, () => HeaderList, () => HttpAuthorization$, 2, () => BatchConfig$],
4287
4306
  ];
4288
4307
  var HttpActionHeader$ = [3, n0, _HAH, 0, [_ke, _va], [0, 0]];
4289
4308
  var HttpAuthorization$ = [3, n0, _HAt, 0, [_sig], [() => SigV4Authorization$]];
@@ -5198,7 +5217,7 @@ var ListProvisioningTemplateVersionsResponse$ = [
5198
5217
  n0,
5199
5218
  _LPTVRist,
5200
5219
  0,
5201
- [_ver, _nT],
5220
+ [_vers, _nT],
5202
5221
  [() => ProvisioningTemplateVersionListing, 0],
5203
5222
  ];
5204
5223
  var ListRelatedResourcesForAuditFindingRequest$ = [
@@ -5629,6 +5648,7 @@ var LocationAction$ = [
5629
5648
  [0, 0, 0, () => LocationTimestamp$, 0, 0],
5630
5649
  ];
5631
5650
  var LocationTimestamp$ = [3, n0, _LT, 0, [_va, _u], [0, 0]];
5651
+ var LogEventConfiguration$ = [3, n0, _LEC, 0, [_eTv, _lL, _lD], [0, 0, 0]];
5632
5652
  var LoggingOptionsPayload$ = [3, n0, _LOP, 0, [_rA, _lL], [0, 0]];
5633
5653
  var LogTarget$ = [3, n0, _LTo, 0, [_tTa, _tNa], [0, 0]];
5634
5654
  var LogTargetConfiguration$ = [3, n0, _LTC, 0, [_lT, _lL], [() => LogTarget$, 0]];
@@ -5926,7 +5946,7 @@ var SchedulingConfig$ = [
5926
5946
  n0,
5927
5947
  _SC,
5928
5948
  0,
5929
- [_sT, _eT, _eB, _mW],
5949
+ [_sT, _eT, _eBn, _mW],
5930
5950
  [0, 0, 0, () => MaintenanceWindows],
5931
5951
  ];
5932
5952
  var SearchIndexRequest$ = [3, n0, _SIR, 0, [_iN, _qS, _nT, _mR, _qV], [0, 0, 0, 1, 0]];
@@ -5976,7 +5996,14 @@ var SetLoggingOptionsRequest$ = [
5976
5996
  [[() => LoggingOptionsPayload$, 16]],
5977
5997
  ];
5978
5998
  var SetV2LoggingLevelRequest$ = [3, n0, _SVLLR, 0, [_lT, _lL], [() => LogTarget$, 0]];
5979
- var SetV2LoggingOptionsRequest$ = [3, n0, _SVLOR, 0, [_rA, _dLL, _dAL], [0, 0, 2]];
5999
+ var SetV2LoggingOptionsRequest$ = [
6000
+ 3,
6001
+ n0,
6002
+ _SVLOR,
6003
+ 0,
6004
+ [_rA, _dLL, _dAL, _eCv],
6005
+ [0, 0, 2, () => LogEventConfigurations],
6006
+ ];
5980
6007
  var SigningProfileParameter$ = [3, n0, _SPP, 0, [_cAe, _pl, _cPOD], [0, 0, 0]];
5981
6008
  var SigV4Authorization$ = [3, n0, _SVA, 0, [_sRi, _sNe, _rA], [0, 0, 0]];
5982
6009
  var SnsAction$ = [3, n0, _SAn, 0, [_tAa, _rA, _mF], [0, 0, 0]];
@@ -6422,7 +6449,7 @@ var UpdatePackageConfigurationRequest$ = [
6422
6449
  _UPCR,
6423
6450
  0,
6424
6451
  [_vUBJC, _cT],
6425
- [() => VersionUpdateByJobsConfig$, [0, { [_iT]: 1, [_hQ]: _cT }]],
6452
+ [() => VersionUpdateByJobsConfig$, [0, { [_hQ]: _cT, [_iT]: 1 }]],
6426
6453
  ];
6427
6454
  var UpdatePackageConfigurationResponse$ = [3, n0, _UPCRp, 0, [], []];
6428
6455
  var UpdatePackageRequest$ = [
@@ -6431,7 +6458,7 @@ var UpdatePackageRequest$ = [
6431
6458
  _UPR,
6432
6459
  0,
6433
6460
  [_pN, _d, _dVN, _uDV, _cT],
6434
- [[0, 1], [() => ResourceDescription, 0], 0, 2, [0, { [_iT]: 1, [_hQ]: _cT }]],
6461
+ [[0, 1], [() => ResourceDescription, 0], 0, 2, [0, { [_hQ]: _cT, [_iT]: 1 }]],
6435
6462
  ];
6436
6463
  var UpdatePackageResponse$ = [3, n0, _UPRp, 0, [], []];
6437
6464
  var UpdatePackageVersionRequest$ = [
@@ -6448,7 +6475,7 @@ var UpdatePackageVersionRequest$ = [
6448
6475
  () => PackageVersionArtifact$,
6449
6476
  0,
6450
6477
  [() => PackageVersionRecipe, 0],
6451
- [0, { [_iT]: 1, [_hQ]: _cT }],
6478
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
6452
6479
  ],
6453
6480
  ];
6454
6481
  var UpdatePackageVersionResponse$ = [3, n0, _UPVRp, 0, [], []];
@@ -6679,6 +6706,7 @@ var JobExecutionSummaryForThingList = [1, n0, _JESFTL, 0, () => JobExecutionSumm
6679
6706
  var JobSummaryList = [1, n0, _JSL, 0, () => JobSummary$];
6680
6707
  var JobTemplateSummaryList = [1, n0, _JTSL, 0, () => JobTemplateSummary$];
6681
6708
  var KafkaHeaders = [1, n0, _KH, 0, () => KafkaActionHeader$];
6709
+ var LogEventConfigurations = [1, n0, _LECo, 0, () => LogEventConfiguration$];
6682
6710
  var LogTargetConfigurations = [1, n0, _LTCo, 0, () => LogTargetConfiguration$];
6683
6711
  var MaintenanceWindows = [1, n0, _MWa, 0, () => MaintenanceWindow$];
6684
6712
  var ManagedJobTemplatesSummaryList = [1, n0, _MJTSL, 0, () => ManagedJobTemplateSummary$];
@@ -6731,7 +6759,7 @@ var CommandExecutionParameterMap = [2, n0, _CEPM, 0, 0, () => CommandParameterVa
6731
6759
  var CommandExecutionResultMap = [2, n0, _CERM, 0, 0, () => CommandExecutionResult$];
6732
6760
  var EventConfigurations = [2, n0, _EC, 0, 0, () => Configuration$];
6733
6761
  var ResourceAttributes = [2, n0, _RAe, 8, 0, 0];
6734
- var AssetPropertyVariant$ = [3, n0, _APVs, 0, [_sVtri, _iV, _dVo, _bV], [0, 0, 0, 0]];
6762
+ var AssetPropertyVariant$ = [4, n0, _APVs, 0, [_sVtri, _iV, _dVo, _bV], [0, 0, 0, 0]];
6735
6763
  var AcceptCertificateTransfer$ = [
6736
6764
  9,
6737
6765
  n0,
@@ -13190,6 +13218,7 @@ exports.AwsJobPresignedUrlConfig$ = AwsJobPresignedUrlConfig$;
13190
13218
  exports.AwsJobRateIncreaseCriteria$ = AwsJobRateIncreaseCriteria$;
13191
13219
  exports.AwsJobTimeoutConfig$ = AwsJobTimeoutConfig$;
13192
13220
  exports.AwsJsonSubstitutionCommandPreprocessorConfig$ = AwsJsonSubstitutionCommandPreprocessorConfig$;
13221
+ exports.BatchConfig$ = BatchConfig$;
13193
13222
  exports.Behavior$ = Behavior$;
13194
13223
  exports.BehaviorCriteria$ = BehaviorCriteria$;
13195
13224
  exports.BehaviorCriteriaType = BehaviorCriteriaType;
@@ -14157,6 +14186,7 @@ exports.ListViolationEventsRequest$ = ListViolationEventsRequest$;
14157
14186
  exports.ListViolationEventsResponse$ = ListViolationEventsResponse$;
14158
14187
  exports.LocationAction$ = LocationAction$;
14159
14188
  exports.LocationTimestamp$ = LocationTimestamp$;
14189
+ exports.LogEventConfiguration$ = LogEventConfiguration$;
14160
14190
  exports.LogLevel = LogLevel;
14161
14191
  exports.LogTarget$ = LogTarget$;
14162
14192
  exports.LogTargetConfiguration$ = LogTargetConfiguration$;
package/dist-es/index.js CHANGED
@@ -5,4 +5,7 @@ export * from "./schemas/schemas_0";
5
5
  export * from "./pagination";
6
6
  export * from "./models/enums";
7
7
  export * from "./models/errors";
8
+ export * from "./models/models_0";
9
+ export * from "./models/models_1";
10
+ export * from "./models/models_2";
8
11
  export { IoTServiceException } from "./models/IoTServiceException";
@@ -79,7 +79,8 @@ const _Al = "Allowed";
79
79
  const _Au = "Authorizers";
80
80
  const _B = "Behavior";
81
81
  const _BAT = "BucketsAggregationType";
82
- const _BC = "BehaviorCriteria";
82
+ const _BC = "BatchConfig";
83
+ const _BCe = "BehaviorCriteria";
83
84
  const _BGM = "BillingGroupMetadata";
84
85
  const _BGNAAL = "BillingGroupNameAndArnList";
85
86
  const _BGP = "BillingGroupProperties";
@@ -680,6 +681,8 @@ const _LDMATR = "ListDetectMitigationActionsTasksRequest";
680
681
  const _LDMATRi = "ListDetectMitigationActionsTasksResponse";
681
682
  const _LDR = "ListDimensionsRequest";
682
683
  const _LDRi = "ListDimensionsResponse";
684
+ const _LEC = "LogEventConfiguration";
685
+ const _LECo = "LogEventConfigurations";
683
686
  const _LEE = "LimitExceededException";
684
687
  const _LFM = "ListFleetMetrics";
685
688
  const _LFMR = "ListFleetMetricsRequest";
@@ -1236,6 +1239,7 @@ const _aut = "authorizers";
1236
1239
  const _av = "average";
1237
1240
  const _b = "behavior";
1238
1241
  const _bAT = "bucketsAggregationType";
1242
+ const _bC = "batchConfig";
1239
1243
  const _bCT = "behaviorCriteriaType";
1240
1244
  const _bG = "billingGroups";
1241
1245
  const _bGA = "billingGroupArn";
@@ -1384,7 +1388,8 @@ const _do = "document";
1384
1388
  const _e = "elasticsearch";
1385
1389
  const _eA = "endpointAddress";
1386
1390
  const _eAr = "errorAction";
1387
- const _eB = "endBehavior";
1391
+ const _eB = "enableBatching";
1392
+ const _eBn = "endBehavior";
1388
1393
  const _eC = "errorCode";
1389
1394
  const _eCFH = "enableCachingForHttp";
1390
1395
  const _eCv = "eventConfigurations";
@@ -1410,6 +1415,7 @@ const _eT = "endTime";
1410
1415
  const _eTS = "executionTimeoutSeconds";
1411
1416
  const _eTn = "encryptionType";
1412
1417
  const _eTnd = "endpointType";
1418
+ const _eTv = "eventType";
1413
1419
  const _eV = "expectedVersion";
1414
1420
  const _en = "enabled";
1415
1421
  const _end = "endpoint";
@@ -1509,6 +1515,7 @@ const _kV = "keyValue";
1509
1515
  const _ka = "kafka";
1510
1516
  const _ke = "key";
1511
1517
  const _l = "lambda";
1518
+ const _lD = "logDestination";
1512
1519
  const _lFA = "lambdaFunctionArn";
1513
1520
  const _lGN = "logGroupName";
1514
1521
  const _lL = "logLevel";
@@ -1529,6 +1536,9 @@ const _lon = "longitude";
1529
1536
  const _m = "merge";
1530
1537
  const _mA = "metricArn";
1531
1538
  const _mB = "maxBuckets";
1539
+ const _mBOM = "maxBatchOpenMs";
1540
+ const _mBS = "maxBatchSize";
1541
+ const _mBSB = "maxBatchSizeBytes";
1532
1542
  const _mC = "mqttContext";
1533
1543
  const _mCV = "missingContextValues";
1534
1544
  const _mCq = "mqtt5Configuration";
@@ -1932,7 +1942,8 @@ const _val = "validity";
1932
1942
  const _vali = "valid";
1933
1943
  const _var = "variance";
1934
1944
  const _ve = "version";
1935
- const _ver = "versions";
1945
+ const _ver = "verbose";
1946
+ const _vers = "versions";
1936
1947
  const _wFDCC = "waitingForDataCollectionChecks";
1937
1948
  const _xaip = "x-amzn-iot-principal";
1938
1949
  const _xaip_ = "x-amzn-iot-policy";
@@ -2036,7 +2047,7 @@ export var AssociateSbomWithPackageVersionRequest$ = [
2036
2047
  _ASWPVR,
2037
2048
  0,
2038
2049
  [_pN, _vN, _sb, _cT],
2039
- [[0, 1], [0, 1], () => Sbom$, [0, { [_iT]: 1, [_hQ]: _cT }]],
2050
+ [[0, 1], [0, 1], () => Sbom$, [0, { [_hQ]: _cT, [_iT]: 1 }]],
2040
2051
  ];
2041
2052
  export var AssociateSbomWithPackageVersionResponse$ = [
2042
2053
  3,
@@ -2178,6 +2189,7 @@ export var AwsJobPresignedUrlConfig$ = [3, n0, _AJPUC, 0, [_eIS], [1]];
2178
2189
  export var AwsJobRateIncreaseCriteria$ = [3, n0, _AJRIC, 0, [_nONT, _nOST], [1, 1]];
2179
2190
  export var AwsJobTimeoutConfig$ = [3, n0, _AJTC, 0, [_iPTIM], [1]];
2180
2191
  export var AwsJsonSubstitutionCommandPreprocessorConfig$ = [3, n0, _AJSCPC, 0, [_oF], [0]];
2192
+ export var BatchConfig$ = [3, n0, _BC, 0, [_mBOM, _mBS, _mBSB], [1, 1, 1]];
2181
2193
  export var Behavior$ = [
2182
2194
  3,
2183
2195
  n0,
@@ -2189,7 +2201,7 @@ export var Behavior$ = [
2189
2201
  export var BehaviorCriteria$ = [
2190
2202
  3,
2191
2203
  n0,
2192
- _BC,
2204
+ _BCe,
2193
2205
  0,
2194
2206
  [_cO, _va, _dS, _cDTA, _cDTC, _sTt, _mDC],
2195
2207
  [0, () => MetricValue$, 1, 1, 1, () => StatisticalThreshold$, () => MachineLearningDetectionConfig$],
@@ -2576,7 +2588,7 @@ export var CreatePackageRequest$ = [
2576
2588
  _CPR,
2577
2589
  0,
2578
2590
  [_pN, _d, _tag, _cT],
2579
- [[0, 1], [() => ResourceDescription, 0], 128 | 0, [0, { [_iT]: 1, [_hQ]: _cT }]],
2591
+ [[0, 1], [() => ResourceDescription, 0], 128 | 0, [0, { [_hQ]: _cT, [_iT]: 1 }]],
2580
2592
  ];
2581
2593
  export var CreatePackageResponse$ = [
2582
2594
  3,
@@ -2600,7 +2612,7 @@ export var CreatePackageVersionRequest$ = [
2600
2612
  () => PackageVersionArtifact$,
2601
2613
  [() => PackageVersionRecipe, 0],
2602
2614
  128 | 0,
2603
- [0, { [_iT]: 1, [_hQ]: _cT }],
2615
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
2604
2616
  ],
2605
2617
  ];
2606
2618
  export var CreatePackageVersionResponse$ = [
@@ -2927,7 +2939,7 @@ export var DeletePackageRequest$ = [
2927
2939
  [_pN, _cT],
2928
2940
  [
2929
2941
  [0, 1],
2930
- [0, { [_iT]: 1, [_hQ]: _cT }],
2942
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
2931
2943
  ],
2932
2944
  ];
2933
2945
  export var DeletePackageResponse$ = [3, n0, _DPRe, 0, [], []];
@@ -2940,7 +2952,7 @@ export var DeletePackageVersionRequest$ = [
2940
2952
  [
2941
2953
  [0, 1],
2942
2954
  [0, 1],
2943
- [0, { [_iT]: 1, [_hQ]: _cT }],
2955
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
2944
2956
  ],
2945
2957
  ];
2946
2958
  export var DeletePackageVersionResponse$ = [3, n0, _DPVRe, 0, [], []];
@@ -3493,7 +3505,7 @@ export var DisassociateSbomFromPackageVersionRequest$ = [
3493
3505
  [
3494
3506
  [0, 1],
3495
3507
  [0, 1],
3496
- [0, { [_iT]: 1, [_hQ]: _cT }],
3508
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
3497
3509
  ],
3498
3510
  ];
3499
3511
  export var DisassociateSbomFromPackageVersionResponse$ = [3, n0, _DSFPVRi, 0, [], []];
@@ -3754,16 +3766,23 @@ export var GetTopicRuleDestinationResponse$ = [
3754
3766
  ];
3755
3767
  export var GetTopicRuleRequest$ = [3, n0, _GTRR, 0, [_rN], [[0, 1]]];
3756
3768
  export var GetTopicRuleResponse$ = [3, n0, _GTRRe, 0, [_rAu, _ru], [0, () => TopicRule$]];
3757
- export var GetV2LoggingOptionsRequest$ = [3, n0, _GVLOR, 0, [], []];
3758
- export var GetV2LoggingOptionsResponse$ = [3, n0, _GVLORe, 0, [_rA, _dLL, _dAL], [0, 0, 2]];
3769
+ export var GetV2LoggingOptionsRequest$ = [3, n0, _GVLOR, 0, [_ver], [[2, { [_hQ]: _ver }]]];
3770
+ export var GetV2LoggingOptionsResponse$ = [
3771
+ 3,
3772
+ n0,
3773
+ _GVLORe,
3774
+ 0,
3775
+ [_rA, _dLL, _dAL, _eCv],
3776
+ [0, 0, 2, () => LogEventConfigurations],
3777
+ ];
3759
3778
  export var GroupNameAndArn$ = [3, n0, _GNAA, 0, [_gN, _gA], [0, 0]];
3760
3779
  export var HttpAction$ = [
3761
3780
  3,
3762
3781
  n0,
3763
3782
  _HA,
3764
3783
  0,
3765
- [_ur, _cU, _he, _au],
3766
- [0, 0, () => HeaderList, () => HttpAuthorization$],
3784
+ [_ur, _cU, _he, _au, _eB, _bC],
3785
+ [0, 0, () => HeaderList, () => HttpAuthorization$, 2, () => BatchConfig$],
3767
3786
  ];
3768
3787
  export var HttpActionHeader$ = [3, n0, _HAH, 0, [_ke, _va], [0, 0]];
3769
3788
  export var HttpAuthorization$ = [3, n0, _HAt, 0, [_sig], [() => SigV4Authorization$]];
@@ -4678,7 +4697,7 @@ export var ListProvisioningTemplateVersionsResponse$ = [
4678
4697
  n0,
4679
4698
  _LPTVRist,
4680
4699
  0,
4681
- [_ver, _nT],
4700
+ [_vers, _nT],
4682
4701
  [() => ProvisioningTemplateVersionListing, 0],
4683
4702
  ];
4684
4703
  export var ListRelatedResourcesForAuditFindingRequest$ = [
@@ -5109,6 +5128,7 @@ export var LocationAction$ = [
5109
5128
  [0, 0, 0, () => LocationTimestamp$, 0, 0],
5110
5129
  ];
5111
5130
  export var LocationTimestamp$ = [3, n0, _LT, 0, [_va, _u], [0, 0]];
5131
+ export var LogEventConfiguration$ = [3, n0, _LEC, 0, [_eTv, _lL, _lD], [0, 0, 0]];
5112
5132
  export var LoggingOptionsPayload$ = [3, n0, _LOP, 0, [_rA, _lL], [0, 0]];
5113
5133
  export var LogTarget$ = [3, n0, _LTo, 0, [_tTa, _tNa], [0, 0]];
5114
5134
  export var LogTargetConfiguration$ = [3, n0, _LTC, 0, [_lT, _lL], [() => LogTarget$, 0]];
@@ -5406,7 +5426,7 @@ export var SchedulingConfig$ = [
5406
5426
  n0,
5407
5427
  _SC,
5408
5428
  0,
5409
- [_sT, _eT, _eB, _mW],
5429
+ [_sT, _eT, _eBn, _mW],
5410
5430
  [0, 0, 0, () => MaintenanceWindows],
5411
5431
  ];
5412
5432
  export var SearchIndexRequest$ = [3, n0, _SIR, 0, [_iN, _qS, _nT, _mR, _qV], [0, 0, 0, 1, 0]];
@@ -5456,7 +5476,14 @@ export var SetLoggingOptionsRequest$ = [
5456
5476
  [[() => LoggingOptionsPayload$, 16]],
5457
5477
  ];
5458
5478
  export var SetV2LoggingLevelRequest$ = [3, n0, _SVLLR, 0, [_lT, _lL], [() => LogTarget$, 0]];
5459
- export var SetV2LoggingOptionsRequest$ = [3, n0, _SVLOR, 0, [_rA, _dLL, _dAL], [0, 0, 2]];
5479
+ export var SetV2LoggingOptionsRequest$ = [
5480
+ 3,
5481
+ n0,
5482
+ _SVLOR,
5483
+ 0,
5484
+ [_rA, _dLL, _dAL, _eCv],
5485
+ [0, 0, 2, () => LogEventConfigurations],
5486
+ ];
5460
5487
  export var SigningProfileParameter$ = [3, n0, _SPP, 0, [_cAe, _pl, _cPOD], [0, 0, 0]];
5461
5488
  export var SigV4Authorization$ = [3, n0, _SVA, 0, [_sRi, _sNe, _rA], [0, 0, 0]];
5462
5489
  export var SnsAction$ = [3, n0, _SAn, 0, [_tAa, _rA, _mF], [0, 0, 0]];
@@ -5902,7 +5929,7 @@ export var UpdatePackageConfigurationRequest$ = [
5902
5929
  _UPCR,
5903
5930
  0,
5904
5931
  [_vUBJC, _cT],
5905
- [() => VersionUpdateByJobsConfig$, [0, { [_iT]: 1, [_hQ]: _cT }]],
5932
+ [() => VersionUpdateByJobsConfig$, [0, { [_hQ]: _cT, [_iT]: 1 }]],
5906
5933
  ];
5907
5934
  export var UpdatePackageConfigurationResponse$ = [3, n0, _UPCRp, 0, [], []];
5908
5935
  export var UpdatePackageRequest$ = [
@@ -5911,7 +5938,7 @@ export var UpdatePackageRequest$ = [
5911
5938
  _UPR,
5912
5939
  0,
5913
5940
  [_pN, _d, _dVN, _uDV, _cT],
5914
- [[0, 1], [() => ResourceDescription, 0], 0, 2, [0, { [_iT]: 1, [_hQ]: _cT }]],
5941
+ [[0, 1], [() => ResourceDescription, 0], 0, 2, [0, { [_hQ]: _cT, [_iT]: 1 }]],
5915
5942
  ];
5916
5943
  export var UpdatePackageResponse$ = [3, n0, _UPRp, 0, [], []];
5917
5944
  export var UpdatePackageVersionRequest$ = [
@@ -5928,7 +5955,7 @@ export var UpdatePackageVersionRequest$ = [
5928
5955
  () => PackageVersionArtifact$,
5929
5956
  0,
5930
5957
  [() => PackageVersionRecipe, 0],
5931
- [0, { [_iT]: 1, [_hQ]: _cT }],
5958
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
5932
5959
  ],
5933
5960
  ];
5934
5961
  export var UpdatePackageVersionResponse$ = [3, n0, _UPVRp, 0, [], []];
@@ -6172,6 +6199,7 @@ var JobSummaryList = [1, n0, _JSL, 0, () => JobSummary$];
6172
6199
  var JobTargets = 64 | 0;
6173
6200
  var JobTemplateSummaryList = [1, n0, _JTSL, 0, () => JobTemplateSummary$];
6174
6201
  var KafkaHeaders = [1, n0, _KH, 0, () => KafkaActionHeader$];
6202
+ var LogEventConfigurations = [1, n0, _LECo, 0, () => LogEventConfiguration$];
6175
6203
  var LogTargetConfigurations = [1, n0, _LTCo, 0, () => LogTargetConfiguration$];
6176
6204
  var MaintenanceWindows = [1, n0, _MWa, 0, () => MaintenanceWindow$];
6177
6205
  var ManagedJobTemplatesSummaryList = [1, n0, _MJTSL, 0, () => ManagedJobTemplateSummary$];
@@ -6270,7 +6298,7 @@ var ResourceArns = 128 | 0;
6270
6298
  var ResourceAttributes = [2, n0, _RAe, 8, 0, 0];
6271
6299
  var StringMap = 128 | 0;
6272
6300
  var TagMap = 128 | 0;
6273
- export var AssetPropertyVariant$ = [3, n0, _APVs, 0, [_sVtri, _iV, _dVo, _bV], [0, 0, 0, 0]];
6301
+ export var AssetPropertyVariant$ = [4, n0, _APVs, 0, [_sVtri, _iV, _dVo, _bV], [0, 0, 0, 0]];
6274
6302
  export var AcceptCertificateTransfer$ = [
6275
6303
  9,
6276
6304
  n0,
@@ -215,6 +215,12 @@ declare const CreateTopicRuleCommand_base: {
215
215
  * roleArn: "STRING_VALUE", // required
216
216
  * },
217
217
  * },
218
+ * enableBatching: true || false,
219
+ * batchConfig: { // BatchConfig
220
+ * maxBatchOpenMs: Number("int"),
221
+ * maxBatchSize: Number("int"),
222
+ * maxBatchSizeBytes: Number("int"),
223
+ * },
218
224
  * },
219
225
  * kafka: { // KafkaAction
220
226
  * destinationArn: "STRING_VALUE", // required
@@ -424,6 +430,12 @@ declare const CreateTopicRuleCommand_base: {
424
430
  * roleArn: "STRING_VALUE", // required
425
431
  * },
426
432
  * },
433
+ * enableBatching: true || false,
434
+ * batchConfig: {
435
+ * maxBatchOpenMs: Number("int"),
436
+ * maxBatchSize: Number("int"),
437
+ * maxBatchSizeBytes: Number("int"),
438
+ * },
427
439
  * },
428
440
  * kafka: {
429
441
  * destinationArn: "STRING_VALUE", // required
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
- import type { DescribeAccountAuditConfigurationRequest } from "../models/models_0";
5
- import type { DescribeAccountAuditConfigurationResponse } from "../models/models_1";
4
+ import type { DescribeAccountAuditConfigurationRequest, DescribeAccountAuditConfigurationResponse } from "../models/models_1";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -221,6 +221,12 @@ declare const GetTopicRuleCommand_base: {
221
221
  * // roleArn: "STRING_VALUE", // required
222
222
  * // },
223
223
  * // },
224
+ * // enableBatching: true || false,
225
+ * // batchConfig: { // BatchConfig
226
+ * // maxBatchOpenMs: Number("int"),
227
+ * // maxBatchSize: Number("int"),
228
+ * // maxBatchSizeBytes: Number("int"),
229
+ * // },
224
230
  * // },
225
231
  * // kafka: { // KafkaAction
226
232
  * // destinationArn: "STRING_VALUE", // required
@@ -430,6 +436,12 @@ declare const GetTopicRuleCommand_base: {
430
436
  * // roleArn: "STRING_VALUE", // required
431
437
  * // },
432
438
  * // },
439
+ * // enableBatching: true || false,
440
+ * // batchConfig: {
441
+ * // maxBatchOpenMs: Number("int"),
442
+ * // maxBatchSize: Number("int"),
443
+ * // maxBatchSizeBytes: Number("int"),
444
+ * // },
433
445
  * // },
434
446
  * // kafka: {
435
447
  * // destinationArn: "STRING_VALUE", // required
@@ -37,13 +37,22 @@ declare const GetV2LoggingOptionsCommand_base: {
37
37
  * // import type { IoTClientConfig } from "@aws-sdk/client-iot";
38
38
  * const config = {}; // type is IoTClientConfig
39
39
  * const client = new IoTClient(config);
40
- * const input = {};
40
+ * const input = { // GetV2LoggingOptionsRequest
41
+ * verbose: true || false,
42
+ * };
41
43
  * const command = new GetV2LoggingOptionsCommand(input);
42
44
  * const response = await client.send(command);
43
45
  * // { // GetV2LoggingOptionsResponse
44
46
  * // roleArn: "STRING_VALUE",
45
47
  * // defaultLogLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED",
46
48
  * // disableAllLogs: true || false,
49
+ * // eventConfigurations: [ // LogEventConfigurations
50
+ * // { // LogEventConfiguration
51
+ * // eventType: "STRING_VALUE", // required
52
+ * // logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED",
53
+ * // logDestination: "STRING_VALUE",
54
+ * // },
55
+ * // ],
47
56
  * // };
48
57
  *
49
58
  * ```
@@ -73,7 +82,7 @@ export declare class GetV2LoggingOptionsCommand extends GetV2LoggingOptionsComma
73
82
  /** @internal type navigation helper, not in runtime. */
74
83
  protected static __types: {
75
84
  api: {
76
- input: {};
85
+ input: GetV2LoggingOptionsRequest;
77
86
  output: GetV2LoggingOptionsResponse;
78
87
  };
79
88
  sdk: {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
- import type { ListTargetsForSecurityProfileRequest, ListTargetsForSecurityProfileResponse } from "../models/models_1";
4
+ import type { ListTargetsForSecurityProfileRequest, ListTargetsForSecurityProfileResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -216,6 +216,12 @@ declare const ReplaceTopicRuleCommand_base: {
216
216
  * roleArn: "STRING_VALUE", // required
217
217
  * },
218
218
  * },
219
+ * enableBatching: true || false,
220
+ * batchConfig: { // BatchConfig
221
+ * maxBatchOpenMs: Number("int"),
222
+ * maxBatchSize: Number("int"),
223
+ * maxBatchSizeBytes: Number("int"),
224
+ * },
219
225
  * },
220
226
  * kafka: { // KafkaAction
221
227
  * destinationArn: "STRING_VALUE", // required
@@ -425,6 +431,12 @@ declare const ReplaceTopicRuleCommand_base: {
425
431
  * roleArn: "STRING_VALUE", // required
426
432
  * },
427
433
  * },
434
+ * enableBatching: true || false,
435
+ * batchConfig: {
436
+ * maxBatchOpenMs: Number("int"),
437
+ * maxBatchSize: Number("int"),
438
+ * maxBatchSizeBytes: Number("int"),
439
+ * },
428
440
  * },
429
441
  * kafka: {
430
442
  * destinationArn: "STRING_VALUE", // required
@@ -41,6 +41,13 @@ declare const SetV2LoggingOptionsCommand_base: {
41
41
  * roleArn: "STRING_VALUE",
42
42
  * defaultLogLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED",
43
43
  * disableAllLogs: true || false,
44
+ * eventConfigurations: [ // LogEventConfigurations
45
+ * { // LogEventConfiguration
46
+ * eventType: "STRING_VALUE", // required
47
+ * logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED",
48
+ * logDestination: "STRING_VALUE",
49
+ * },
50
+ * ],
44
51
  * };
45
52
  * const command = new SetV2LoggingOptionsCommand(input);
46
53
  * const response = await client.send(command);
@@ -28,7 +28,7 @@ export * from "./schemas/schemas_0";
28
28
  export * from "./pagination";
29
29
  export * from "./models/enums";
30
30
  export * from "./models/errors";
31
- export type * from "./models/models_0";
32
- export type * from "./models/models_1";
33
- export type * from "./models/models_2";
31
+ export * from "./models/models_0";
32
+ export * from "./models/models_1";
33
+ export * from "./models/models_2";
34
34
  export { IoTServiceException } from "./models/IoTServiceException";
@@ -359,6 +359,30 @@ export interface HttpAuthorization {
359
359
  */
360
360
  sigv4?: SigV4Authorization | undefined;
361
361
  }
362
+ /**
363
+ * <p>Configuration settings for batching.</p>
364
+ * @public
365
+ */
366
+ export interface BatchConfig {
367
+ /**
368
+ * <p>The maximum amount of time (in milliseconds) that an outgoing call waits for other calls
369
+ * with which it batches messages of the same type. The higher the setting, the longer the
370
+ * latency of the batched HTTP Action will be.</p>
371
+ * @public
372
+ */
373
+ maxBatchOpenMs?: number | undefined;
374
+ /**
375
+ * <p>The maximum number of messages that are batched together in a single action
376
+ * execution.</p>
377
+ * @public
378
+ */
379
+ maxBatchSize?: number | undefined;
380
+ /**
381
+ * <p>Maximum size of a message batch, in bytes.</p>
382
+ * @public
383
+ */
384
+ maxBatchSizeBytes?: number | undefined;
385
+ }
362
386
  /**
363
387
  * <p>The HTTP action header.</p>
364
388
  * @public
@@ -407,6 +431,17 @@ export interface HttpAction {
407
431
  * @public
408
432
  */
409
433
  auth?: HttpAuthorization | undefined;
434
+ /**
435
+ * <p>Whether to process the HTTP action messages into a single request. Value can be true or false.</p>
436
+ * @public
437
+ */
438
+ enableBatching?: boolean | undefined;
439
+ /**
440
+ * <p>The configuration settings for batching. For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/http_batching.html">
441
+ * Batching HTTP action messages</a>.</p>
442
+ * @public
443
+ */
444
+ batchConfig?: BatchConfig | undefined;
410
445
  }
411
446
  /**
412
447
  * <p>Sends message data to an IoT Analytics channel.</p>
@@ -6863,8 +6898,3 @@ export interface DeprecateThingTypeRequest {
6863
6898
  */
6864
6899
  export interface DeprecateThingTypeResponse {
6865
6900
  }
6866
- /**
6867
- * @public
6868
- */
6869
- export interface DescribeAccountAuditConfigurationRequest {
6870
- }
@@ -1,5 +1,10 @@
1
1
  import { AlertTargetType, ApplicationProtocol, AuditFrequency, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskStatus, AuditNotificationType, AuditTaskStatus, AuditTaskType, AuthenticationType, AuthorizerStatus, AutoRegistrationStatus, BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateProviderOperation, CertificateStatus, CommandExecutionStatus, CommandNamespace, ConfigurationStatus, CustomMetricType, DayOfWeek, DetectMitigationActionExecutionStatus, DetectMitigationActionsTaskStatus, DeviceDefenderIndexingMode, DimensionType, DimensionValueOperator, DisconnectReasonValue, DomainConfigurationStatus, DomainType, DynamicGroupStatus, EncryptionType, EventType, FieldType, FleetMetricUnit, IndexStatus, JobExecutionStatus, JobStatus, LogLevel, MitigationActionType, ModelStatus, NamedShadowIndexingMode, OTAUpdateStatus, PackageVersionStatus, Protocol, SbomValidationErrorCode, SbomValidationResult, SbomValidationStatus, ServerCertificateStatus, ServiceType, SortOrder, Status, TargetFieldOrder, TargetSelection, TemplateType, ThingConnectivityIndexingMode, ThingGroupIndexingMode, ThingIndexingMode, ThingPrincipalType, VerificationState } from "./enums";
2
2
  import { type AbortConfig, type AggregationType, type AuditMitigationActionsTaskTarget, type AuthorizerConfig, type AuthorizerDescription, type AwsJobExecutionsRolloutConfig, type AwsJobPresignedUrlConfig, type BillingGroupProperties, type ClientCertificateConfig, type CommandPayload, type CommandPreprocessor, type JobExecutionsRetryConfig, type JobExecutionsRolloutConfig, type MetricsExportConfig, type MetricValue, type MitigationActionParams, type PackageVersionArtifact, type PresignedUrlConfig, type ProvisioningHook, type ResourceIdentifier, type Sbom, type SchedulingConfig, type ServerCertificateConfig, type ThingGroupProperties, type ThingTypeProperties, type TimeoutConfig, type TlsConfig, type TopicRuleDestination, Action, ActiveViolation, AlertTarget, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditMitigationActionExecutionMetadata, AuditMitigationActionsTaskMetadata, AuditNotificationTarget, AuditSuppression, AuditTaskMetadata, AuthorizerSummary, Behavior, CommandParameter, CommandParameterValue, MaintenanceWindow, MetricToRetain, OTAUpdateFile, Policy, RelatedResource, StreamFile, Tag, TaskStatisticsForAuditCheck } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface DescribeAccountAuditConfigurationRequest {
7
+ }
3
8
  /**
4
9
  * @public
5
10
  */
@@ -4368,6 +4373,42 @@ export interface GetTopicRuleDestinationResponse {
4368
4373
  * @public
4369
4374
  */
4370
4375
  export interface GetV2LoggingOptionsRequest {
4376
+ /**
4377
+ * <p>
4378
+ * The flag is used to get all the event types and their respective configuration that event-based logging supports.
4379
+ * </p>
4380
+ * @public
4381
+ */
4382
+ verbose?: boolean | undefined;
4383
+ }
4384
+ /**
4385
+ * <p>
4386
+ * Configuration for event-based logging that specifies which event types to log and their logging settings. Used for account-level logging overrides.
4387
+ * </p>
4388
+ * @public
4389
+ */
4390
+ export interface LogEventConfiguration {
4391
+ /**
4392
+ * <p>
4393
+ * The type of event to log. These include event types like Connect, Publish, and Disconnect.
4394
+ * </p>
4395
+ * @public
4396
+ */
4397
+ eventType: string | undefined;
4398
+ /**
4399
+ * <p>
4400
+ * The logging level for the specified event type. Determines the verbosity of log messages generated for this event type.
4401
+ * </p>
4402
+ * @public
4403
+ */
4404
+ logLevel?: LogLevel | undefined;
4405
+ /**
4406
+ * <p>
4407
+ * CloudWatch Log Group for event-based logging. Specifies where log events should be sent. The log destination for event-based logging overrides default Log Group for the specified event type and applies to all resources associated with that event.
4408
+ * </p>
4409
+ * @public
4410
+ */
4411
+ logDestination?: string | undefined;
4371
4412
  }
4372
4413
  /**
4373
4414
  * @public
@@ -4388,6 +4429,13 @@ export interface GetV2LoggingOptionsResponse {
4388
4429
  * @public
4389
4430
  */
4390
4431
  disableAllLogs?: boolean | undefined;
4432
+ /**
4433
+ * <p>
4434
+ * The list of event configurations that override account-level logging.
4435
+ * </p>
4436
+ * @public
4437
+ */
4438
+ eventConfigurations?: LogEventConfiguration[] | undefined;
4391
4439
  }
4392
4440
  /**
4393
4441
  * @public
@@ -7464,39 +7512,3 @@ export interface ListTargetsForPolicyResponse {
7464
7512
  */
7465
7513
  nextMarker?: string | undefined;
7466
7514
  }
7467
- /**
7468
- * @public
7469
- */
7470
- export interface ListTargetsForSecurityProfileRequest {
7471
- /**
7472
- * <p>The security profile.</p>
7473
- * @public
7474
- */
7475
- securityProfileName: string | undefined;
7476
- /**
7477
- * <p>The token for the next set of results.</p>
7478
- * @public
7479
- */
7480
- nextToken?: string | undefined;
7481
- /**
7482
- * <p>The maximum number of results to return at one time.</p>
7483
- * @public
7484
- */
7485
- maxResults?: number | undefined;
7486
- }
7487
- /**
7488
- * @public
7489
- */
7490
- export interface ListTargetsForSecurityProfileResponse {
7491
- /**
7492
- * <p>The thing groups to which the security profile is attached.</p>
7493
- * @public
7494
- */
7495
- securityProfileTargets?: SecurityProfileTarget[] | undefined;
7496
- /**
7497
- * <p>A token that can be used to retrieve the next set of results, or <code>null</code> if there are no
7498
- * additional results.</p>
7499
- * @public
7500
- */
7501
- nextToken?: string | undefined;
7502
- }
@@ -1,6 +1,42 @@
1
1
  import { AlertTargetType, ApplicationProtocol, AuditFrequency, AuditNotificationType, AuthenticationType, AuthorizerStatus, AutoRegistrationStatus, BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateProviderOperation, CertificateStatus, CustomMetricType, DayOfWeek, DimensionType, DomainConfigurationStatus, EncryptionType, EventType, FleetMetricUnit, LogLevel, LogTargetType, PackageVersionAction, ReportType, Status, ThingPrincipalType, TopicRuleDestinationStatus, VerificationState, ViolationEventType } from "./enums";
2
2
  import { type AbortConfig, type AggregationType, type AttributePayload, type AuditMitigationActionsTaskTarget, type AuthorizerConfig, type BillingGroupProperties, type ClientCertificateConfig, type JobExecutionsRetryConfig, type JobExecutionsRolloutConfig, type MetricsExportConfig, type MetricValue, type MitigationActionParams, type PackageVersionArtifact, type PresignedUrlConfig, type ProvisioningHook, type ResourceIdentifier, type ServerCertificateConfig, type ThingGroupProperties, type ThingTypeProperties, type TimeoutConfig, type TlsConfig, type TopicRulePayload, type ViolationEventAdditionalInfo, AlertTarget, AuditCheckConfiguration, AuditNotificationTarget, AuthInfo, AuthResult, Behavior, MetricToRetain, StreamFile, Tag } from "./models_0";
3
- import { type DetectMitigationActionsTaskTarget, type RegistrationConfig, type ThingGroupIndexingConfiguration, type ThingIndexingConfiguration, type ThingTypeMetadata, type VersionUpdateByJobsConfig, type ViolationEventOccurrenceRange, Configuration, GroupNameAndArn } from "./models_1";
3
+ import { type DetectMitigationActionsTaskTarget, type RegistrationConfig, type ThingGroupIndexingConfiguration, type ThingIndexingConfiguration, type ThingTypeMetadata, type VersionUpdateByJobsConfig, type ViolationEventOccurrenceRange, Configuration, GroupNameAndArn, LogEventConfiguration, SecurityProfileTarget } from "./models_1";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface ListTargetsForSecurityProfileRequest {
8
+ /**
9
+ * <p>The security profile.</p>
10
+ * @public
11
+ */
12
+ securityProfileName: string | undefined;
13
+ /**
14
+ * <p>The token for the next set of results.</p>
15
+ * @public
16
+ */
17
+ nextToken?: string | undefined;
18
+ /**
19
+ * <p>The maximum number of results to return at one time.</p>
20
+ * @public
21
+ */
22
+ maxResults?: number | undefined;
23
+ }
24
+ /**
25
+ * @public
26
+ */
27
+ export interface ListTargetsForSecurityProfileResponse {
28
+ /**
29
+ * <p>The thing groups to which the security profile is attached.</p>
30
+ * @public
31
+ */
32
+ securityProfileTargets?: SecurityProfileTarget[] | undefined;
33
+ /**
34
+ * <p>A token that can be used to retrieve the next set of results, or <code>null</code> if there are no
35
+ * additional results.</p>
36
+ * @public
37
+ */
38
+ nextToken?: string | undefined;
39
+ }
4
40
  /**
5
41
  * @public
6
42
  */
@@ -1519,6 +1555,13 @@ export interface SetV2LoggingOptionsRequest {
1519
1555
  * @public
1520
1556
  */
1521
1557
  disableAllLogs?: boolean | undefined;
1558
+ /**
1559
+ * <p>
1560
+ * The list of event configurations that override account-level logging.
1561
+ * </p>
1562
+ * @public
1563
+ */
1564
+ eventConfigurations?: LogEventConfiguration[] | undefined;
1522
1565
  }
1523
1566
  /**
1524
1567
  * @public
@@ -1,4 +1,4 @@
1
- import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
2
2
  export declare var AbortConfig$: StaticStructureSchema;
3
3
  export declare var AbortCriteria$: StaticStructureSchema;
4
4
  export declare var AcceptCertificateTransferRequest$: StaticStructureSchema;
@@ -47,6 +47,7 @@ export declare var AwsJobPresignedUrlConfig$: StaticStructureSchema;
47
47
  export declare var AwsJobRateIncreaseCriteria$: StaticStructureSchema;
48
48
  export declare var AwsJobTimeoutConfig$: StaticStructureSchema;
49
49
  export declare var AwsJsonSubstitutionCommandPreprocessorConfig$: StaticStructureSchema;
50
+ export declare var BatchConfig$: StaticStructureSchema;
50
51
  export declare var Behavior$: StaticStructureSchema;
51
52
  export declare var BehaviorCriteria$: StaticStructureSchema;
52
53
  export declare var BehaviorModelTrainingSummary$: StaticStructureSchema;
@@ -545,6 +546,7 @@ export declare var ListViolationEventsRequest$: StaticStructureSchema;
545
546
  export declare var ListViolationEventsResponse$: StaticStructureSchema;
546
547
  export declare var LocationAction$: StaticStructureSchema;
547
548
  export declare var LocationTimestamp$: StaticStructureSchema;
549
+ export declare var LogEventConfiguration$: StaticStructureSchema;
548
550
  export declare var LoggingOptionsPayload$: StaticStructureSchema;
549
551
  export declare var LogTarget$: StaticStructureSchema;
550
552
  export declare var LogTargetConfiguration$: StaticStructureSchema;
@@ -782,7 +784,7 @@ export declare var VpcDestinationConfiguration$: StaticStructureSchema;
782
784
  export declare var VpcDestinationProperties$: StaticStructureSchema;
783
785
  export declare var VpcDestinationSummary$: StaticStructureSchema;
784
786
  export declare var IoTServiceException$: StaticErrorSchema;
785
- export declare var AssetPropertyVariant$: StaticStructureSchema;
787
+ export declare var AssetPropertyVariant$: StaticUnionSchema;
786
788
  export declare var AcceptCertificateTransfer$: StaticOperationSchema;
787
789
  export declare var AddThingToBillingGroup$: StaticOperationSchema;
788
790
  export declare var AddThingToThingGroup$: StaticOperationSchema;
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IoTClient";
8
- import { DescribeAccountAuditConfigurationRequest } from "../models/models_0";
9
- import { DescribeAccountAuditConfigurationResponse } from "../models/models_1";
8
+ import {
9
+ DescribeAccountAuditConfigurationRequest,
10
+ DescribeAccountAuditConfigurationResponse,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DescribeAccountAuditConfigurationCommandInput
@@ -40,7 +40,7 @@ declare const GetV2LoggingOptionsCommand_base: {
40
40
  export declare class GetV2LoggingOptionsCommand extends GetV2LoggingOptionsCommand_base {
41
41
  protected static __types: {
42
42
  api: {
43
- input: {};
43
+ input: GetV2LoggingOptionsRequest;
44
44
  output: GetV2LoggingOptionsResponse;
45
45
  };
46
46
  sdk: {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ListTargetsForSecurityProfileRequest,
10
10
  ListTargetsForSecurityProfileResponse,
11
- } from "../models/models_1";
11
+ } from "../models/models_2";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ListTargetsForSecurityProfileCommandInput
@@ -124,6 +124,11 @@ export interface SigV4Authorization {
124
124
  export interface HttpAuthorization {
125
125
  sigv4?: SigV4Authorization | undefined;
126
126
  }
127
+ export interface BatchConfig {
128
+ maxBatchOpenMs?: number | undefined;
129
+ maxBatchSize?: number | undefined;
130
+ maxBatchSizeBytes?: number | undefined;
131
+ }
127
132
  export interface HttpActionHeader {
128
133
  key: string | undefined;
129
134
  value: string | undefined;
@@ -133,6 +138,8 @@ export interface HttpAction {
133
138
  confirmationUrl?: string | undefined;
134
139
  headers?: HttpActionHeader[] | undefined;
135
140
  auth?: HttpAuthorization | undefined;
141
+ enableBatching?: boolean | undefined;
142
+ batchConfig?: BatchConfig | undefined;
136
143
  }
137
144
  export interface IotAnalyticsAction {
138
145
  channelArn?: string | undefined;
@@ -1508,4 +1515,3 @@ export interface DeprecateThingTypeRequest {
1508
1515
  undoDeprecate?: boolean | undefined;
1509
1516
  }
1510
1517
  export interface DeprecateThingTypeResponse {}
1511
- export interface DescribeAccountAuditConfigurationRequest {}
@@ -112,6 +112,7 @@ import {
112
112
  Tag,
113
113
  TaskStatisticsForAuditCheck,
114
114
  } from "./models_0";
115
+ export interface DescribeAccountAuditConfigurationRequest {}
115
116
  export interface DescribeAccountAuditConfigurationResponse {
116
117
  roleArn?: string | undefined;
117
118
  auditNotificationTargetConfigurations?:
@@ -1021,11 +1022,19 @@ export interface GetTopicRuleDestinationRequest {
1021
1022
  export interface GetTopicRuleDestinationResponse {
1022
1023
  topicRuleDestination?: TopicRuleDestination | undefined;
1023
1024
  }
1024
- export interface GetV2LoggingOptionsRequest {}
1025
+ export interface GetV2LoggingOptionsRequest {
1026
+ verbose?: boolean | undefined;
1027
+ }
1028
+ export interface LogEventConfiguration {
1029
+ eventType: string | undefined;
1030
+ logLevel?: LogLevel | undefined;
1031
+ logDestination?: string | undefined;
1032
+ }
1025
1033
  export interface GetV2LoggingOptionsResponse {
1026
1034
  roleArn?: string | undefined;
1027
1035
  defaultLogLevel?: LogLevel | undefined;
1028
1036
  disableAllLogs?: boolean | undefined;
1037
+ eventConfigurations?: LogEventConfiguration[] | undefined;
1029
1038
  }
1030
1039
  export interface ListActiveViolationsRequest {
1031
1040
  thingName?: string | undefined;
@@ -1709,12 +1718,3 @@ export interface ListTargetsForPolicyResponse {
1709
1718
  targets?: string[] | undefined;
1710
1719
  nextMarker?: string | undefined;
1711
1720
  }
1712
- export interface ListTargetsForSecurityProfileRequest {
1713
- securityProfileName: string | undefined;
1714
- nextToken?: string | undefined;
1715
- maxResults?: number | undefined;
1716
- }
1717
- export interface ListTargetsForSecurityProfileResponse {
1718
- securityProfileTargets?: SecurityProfileTarget[] | undefined;
1719
- nextToken?: string | undefined;
1720
- }
@@ -72,7 +72,18 @@ import {
72
72
  ViolationEventOccurrenceRange,
73
73
  Configuration,
74
74
  GroupNameAndArn,
75
+ LogEventConfiguration,
76
+ SecurityProfileTarget,
75
77
  } from "./models_1";
78
+ export interface ListTargetsForSecurityProfileRequest {
79
+ securityProfileName: string | undefined;
80
+ nextToken?: string | undefined;
81
+ maxResults?: number | undefined;
82
+ }
83
+ export interface ListTargetsForSecurityProfileResponse {
84
+ securityProfileTargets?: SecurityProfileTarget[] | undefined;
85
+ nextToken?: string | undefined;
86
+ }
76
87
  export interface ListThingGroupsRequest {
77
88
  nextToken?: string | undefined;
78
89
  maxResults?: number | undefined;
@@ -403,6 +414,7 @@ export interface SetV2LoggingOptionsRequest {
403
414
  roleArn?: string | undefined;
404
415
  defaultLogLevel?: LogLevel | undefined;
405
416
  disableAllLogs?: boolean | undefined;
417
+ eventConfigurations?: LogEventConfiguration[] | undefined;
406
418
  }
407
419
  export interface StartAuditMitigationActionsTaskRequest {
408
420
  taskId: string | undefined;
@@ -2,6 +2,7 @@ import {
2
2
  StaticErrorSchema,
3
3
  StaticOperationSchema,
4
4
  StaticStructureSchema,
5
+ StaticUnionSchema,
5
6
  } from "@smithy/types";
6
7
  export declare var AbortConfig$: StaticStructureSchema;
7
8
  export declare var AbortCriteria$: StaticStructureSchema;
@@ -51,6 +52,7 @@ export declare var AwsJobPresignedUrlConfig$: StaticStructureSchema;
51
52
  export declare var AwsJobRateIncreaseCriteria$: StaticStructureSchema;
52
53
  export declare var AwsJobTimeoutConfig$: StaticStructureSchema;
53
54
  export declare var AwsJsonSubstitutionCommandPreprocessorConfig$: StaticStructureSchema;
55
+ export declare var BatchConfig$: StaticStructureSchema;
54
56
  export declare var Behavior$: StaticStructureSchema;
55
57
  export declare var BehaviorCriteria$: StaticStructureSchema;
56
58
  export declare var BehaviorModelTrainingSummary$: StaticStructureSchema;
@@ -549,6 +551,7 @@ export declare var ListViolationEventsRequest$: StaticStructureSchema;
549
551
  export declare var ListViolationEventsResponse$: StaticStructureSchema;
550
552
  export declare var LocationAction$: StaticStructureSchema;
551
553
  export declare var LocationTimestamp$: StaticStructureSchema;
554
+ export declare var LogEventConfiguration$: StaticStructureSchema;
552
555
  export declare var LoggingOptionsPayload$: StaticStructureSchema;
553
556
  export declare var LogTarget$: StaticStructureSchema;
554
557
  export declare var LogTargetConfiguration$: StaticStructureSchema;
@@ -786,7 +789,7 @@ export declare var VpcDestinationConfiguration$: StaticStructureSchema;
786
789
  export declare var VpcDestinationProperties$: StaticStructureSchema;
787
790
  export declare var VpcDestinationSummary$: StaticStructureSchema;
788
791
  export declare var IoTServiceException$: StaticErrorSchema;
789
- export declare var AssetPropertyVariant$: StaticStructureSchema;
792
+ export declare var AssetPropertyVariant$: StaticUnionSchema;
790
793
  export declare var AcceptCertificateTransfer$: StaticOperationSchema;
791
794
  export declare var AddThingToBillingGroup$: StaticOperationSchema;
792
795
  export declare var AddThingToThingGroup$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot",
3
3
  "description": "AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native",
4
- "version": "3.954.0",
4
+ "version": "3.956.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iot",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.954.0",
25
- "@aws-sdk/credential-provider-node": "3.954.0",
26
- "@aws-sdk/middleware-host-header": "3.953.0",
27
- "@aws-sdk/middleware-logger": "3.953.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.953.0",
29
- "@aws-sdk/middleware-user-agent": "3.954.0",
30
- "@aws-sdk/region-config-resolver": "3.953.0",
31
- "@aws-sdk/types": "3.953.0",
32
- "@aws-sdk/util-endpoints": "3.953.0",
33
- "@aws-sdk/util-user-agent-browser": "3.953.0",
34
- "@aws-sdk/util-user-agent-node": "3.954.0",
35
- "@smithy/config-resolver": "^4.4.4",
36
- "@smithy/core": "^3.19.0",
37
- "@smithy/fetch-http-handler": "^5.3.7",
38
- "@smithy/hash-node": "^4.2.6",
39
- "@smithy/invalid-dependency": "^4.2.6",
40
- "@smithy/middleware-content-length": "^4.2.6",
41
- "@smithy/middleware-endpoint": "^4.4.0",
42
- "@smithy/middleware-retry": "^4.4.16",
43
- "@smithy/middleware-serde": "^4.2.7",
44
- "@smithy/middleware-stack": "^4.2.6",
45
- "@smithy/node-config-provider": "^4.3.6",
46
- "@smithy/node-http-handler": "^4.4.6",
47
- "@smithy/protocol-http": "^5.3.6",
48
- "@smithy/smithy-client": "^4.10.1",
49
- "@smithy/types": "^4.10.0",
50
- "@smithy/url-parser": "^4.2.6",
24
+ "@aws-sdk/core": "3.956.0",
25
+ "@aws-sdk/credential-provider-node": "3.956.0",
26
+ "@aws-sdk/middleware-host-header": "3.956.0",
27
+ "@aws-sdk/middleware-logger": "3.956.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.956.0",
29
+ "@aws-sdk/middleware-user-agent": "3.956.0",
30
+ "@aws-sdk/region-config-resolver": "3.956.0",
31
+ "@aws-sdk/types": "3.956.0",
32
+ "@aws-sdk/util-endpoints": "3.956.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.956.0",
34
+ "@aws-sdk/util-user-agent-node": "3.956.0",
35
+ "@smithy/config-resolver": "^4.4.5",
36
+ "@smithy/core": "^3.20.0",
37
+ "@smithy/fetch-http-handler": "^5.3.8",
38
+ "@smithy/hash-node": "^4.2.7",
39
+ "@smithy/invalid-dependency": "^4.2.7",
40
+ "@smithy/middleware-content-length": "^4.2.7",
41
+ "@smithy/middleware-endpoint": "^4.4.1",
42
+ "@smithy/middleware-retry": "^4.4.17",
43
+ "@smithy/middleware-serde": "^4.2.8",
44
+ "@smithy/middleware-stack": "^4.2.7",
45
+ "@smithy/node-config-provider": "^4.3.7",
46
+ "@smithy/node-http-handler": "^4.4.7",
47
+ "@smithy/protocol-http": "^5.3.7",
48
+ "@smithy/smithy-client": "^4.10.2",
49
+ "@smithy/types": "^4.11.0",
50
+ "@smithy/url-parser": "^4.2.7",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.15",
55
- "@smithy/util-defaults-mode-node": "^4.2.18",
56
- "@smithy/util-endpoints": "^3.2.6",
57
- "@smithy/util-middleware": "^4.2.6",
58
- "@smithy/util-retry": "^4.2.6",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.16",
55
+ "@smithy/util-defaults-mode-node": "^4.2.19",
56
+ "@smithy/util-endpoints": "^3.2.7",
57
+ "@smithy/util-middleware": "^4.2.7",
58
+ "@smithy/util-retry": "^4.2.7",
59
59
  "@smithy/util-utf8": "^4.2.0",
60
60
  "tslib": "^2.6.2"
61
61
  },