@aws-sdk/client-iot 3.955.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
@@ -1204,6 +1204,8 @@ const _LDMATR = "ListDetectMitigationActionsTasksRequest";
1204
1204
  const _LDMATRi = "ListDetectMitigationActionsTasksResponse";
1205
1205
  const _LDR = "ListDimensionsRequest";
1206
1206
  const _LDRi = "ListDimensionsResponse";
1207
+ const _LEC = "LogEventConfiguration";
1208
+ const _LECo = "LogEventConfigurations";
1207
1209
  const _LEE = "LimitExceededException";
1208
1210
  const _LFM = "ListFleetMetrics";
1209
1211
  const _LFMR = "ListFleetMetricsRequest";
@@ -1936,6 +1938,7 @@ const _eT = "endTime";
1936
1938
  const _eTS = "executionTimeoutSeconds";
1937
1939
  const _eTn = "encryptionType";
1938
1940
  const _eTnd = "endpointType";
1941
+ const _eTv = "eventType";
1939
1942
  const _eV = "expectedVersion";
1940
1943
  const _en = "enabled";
1941
1944
  const _end = "endpoint";
@@ -2035,6 +2038,7 @@ const _kV = "keyValue";
2035
2038
  const _ka = "kafka";
2036
2039
  const _ke = "key";
2037
2040
  const _l = "lambda";
2041
+ const _lD = "logDestination";
2038
2042
  const _lFA = "lambdaFunctionArn";
2039
2043
  const _lGN = "logGroupName";
2040
2044
  const _lL = "logLevel";
@@ -2461,7 +2465,8 @@ const _val = "validity";
2461
2465
  const _vali = "valid";
2462
2466
  const _var = "variance";
2463
2467
  const _ve = "version";
2464
- const _ver = "versions";
2468
+ const _ver = "verbose";
2469
+ const _vers = "versions";
2465
2470
  const _wFDCC = "waitingForDataCollectionChecks";
2466
2471
  const _xaip = "x-amzn-iot-principal";
2467
2472
  const _xaip_ = "x-amzn-iot-policy";
@@ -2562,7 +2567,7 @@ var AssociateSbomWithPackageVersionRequest$ = [
2562
2567
  _ASWPVR,
2563
2568
  0,
2564
2569
  [_pN, _vN, _sb, _cT],
2565
- [[0, 1], [0, 1], () => Sbom$, [0, { [_iT]: 1, [_hQ]: _cT }]],
2570
+ [[0, 1], [0, 1], () => Sbom$, [0, { [_hQ]: _cT, [_iT]: 1 }]],
2566
2571
  ];
2567
2572
  var AssociateSbomWithPackageVersionResponse$ = [
2568
2573
  3,
@@ -3103,7 +3108,7 @@ var CreatePackageRequest$ = [
3103
3108
  _CPR,
3104
3109
  0,
3105
3110
  [_pN, _d, _tag, _cT],
3106
- [[0, 1], [() => ResourceDescription, 0], 128 | 0, [0, { [_iT]: 1, [_hQ]: _cT }]],
3111
+ [[0, 1], [() => ResourceDescription, 0], 128 | 0, [0, { [_hQ]: _cT, [_iT]: 1 }]],
3107
3112
  ];
3108
3113
  var CreatePackageResponse$ = [
3109
3114
  3,
@@ -3127,7 +3132,7 @@ var CreatePackageVersionRequest$ = [
3127
3132
  () => PackageVersionArtifact$,
3128
3133
  [() => PackageVersionRecipe, 0],
3129
3134
  128 | 0,
3130
- [0, { [_iT]: 1, [_hQ]: _cT }],
3135
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
3131
3136
  ],
3132
3137
  ];
3133
3138
  var CreatePackageVersionResponse$ = [
@@ -3454,7 +3459,7 @@ var DeletePackageRequest$ = [
3454
3459
  [_pN, _cT],
3455
3460
  [
3456
3461
  [0, 1],
3457
- [0, { [_iT]: 1, [_hQ]: _cT }],
3462
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
3458
3463
  ],
3459
3464
  ];
3460
3465
  var DeletePackageResponse$ = [3, n0, _DPRe, 0, [], []];
@@ -3467,7 +3472,7 @@ var DeletePackageVersionRequest$ = [
3467
3472
  [
3468
3473
  [0, 1],
3469
3474
  [0, 1],
3470
- [0, { [_iT]: 1, [_hQ]: _cT }],
3475
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
3471
3476
  ],
3472
3477
  ];
3473
3478
  var DeletePackageVersionResponse$ = [3, n0, _DPVRe, 0, [], []];
@@ -4020,7 +4025,7 @@ var DisassociateSbomFromPackageVersionRequest$ = [
4020
4025
  [
4021
4026
  [0, 1],
4022
4027
  [0, 1],
4023
- [0, { [_iT]: 1, [_hQ]: _cT }],
4028
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
4024
4029
  ],
4025
4030
  ];
4026
4031
  var DisassociateSbomFromPackageVersionResponse$ = [3, n0, _DSFPVRi, 0, [], []];
@@ -4281,8 +4286,15 @@ var GetTopicRuleDestinationResponse$ = [
4281
4286
  ];
4282
4287
  var GetTopicRuleRequest$ = [3, n0, _GTRR, 0, [_rN], [[0, 1]]];
4283
4288
  var GetTopicRuleResponse$ = [3, n0, _GTRRe, 0, [_rAu, _ru], [0, () => TopicRule$]];
4284
- var GetV2LoggingOptionsRequest$ = [3, n0, _GVLOR, 0, [], []];
4285
- 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
+ ];
4286
4298
  var GroupNameAndArn$ = [3, n0, _GNAA, 0, [_gN, _gA], [0, 0]];
4287
4299
  var HttpAction$ = [
4288
4300
  3,
@@ -5205,7 +5217,7 @@ var ListProvisioningTemplateVersionsResponse$ = [
5205
5217
  n0,
5206
5218
  _LPTVRist,
5207
5219
  0,
5208
- [_ver, _nT],
5220
+ [_vers, _nT],
5209
5221
  [() => ProvisioningTemplateVersionListing, 0],
5210
5222
  ];
5211
5223
  var ListRelatedResourcesForAuditFindingRequest$ = [
@@ -5636,6 +5648,7 @@ var LocationAction$ = [
5636
5648
  [0, 0, 0, () => LocationTimestamp$, 0, 0],
5637
5649
  ];
5638
5650
  var LocationTimestamp$ = [3, n0, _LT, 0, [_va, _u], [0, 0]];
5651
+ var LogEventConfiguration$ = [3, n0, _LEC, 0, [_eTv, _lL, _lD], [0, 0, 0]];
5639
5652
  var LoggingOptionsPayload$ = [3, n0, _LOP, 0, [_rA, _lL], [0, 0]];
5640
5653
  var LogTarget$ = [3, n0, _LTo, 0, [_tTa, _tNa], [0, 0]];
5641
5654
  var LogTargetConfiguration$ = [3, n0, _LTC, 0, [_lT, _lL], [() => LogTarget$, 0]];
@@ -5983,7 +5996,14 @@ var SetLoggingOptionsRequest$ = [
5983
5996
  [[() => LoggingOptionsPayload$, 16]],
5984
5997
  ];
5985
5998
  var SetV2LoggingLevelRequest$ = [3, n0, _SVLLR, 0, [_lT, _lL], [() => LogTarget$, 0]];
5986
- 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
+ ];
5987
6007
  var SigningProfileParameter$ = [3, n0, _SPP, 0, [_cAe, _pl, _cPOD], [0, 0, 0]];
5988
6008
  var SigV4Authorization$ = [3, n0, _SVA, 0, [_sRi, _sNe, _rA], [0, 0, 0]];
5989
6009
  var SnsAction$ = [3, n0, _SAn, 0, [_tAa, _rA, _mF], [0, 0, 0]];
@@ -6429,7 +6449,7 @@ var UpdatePackageConfigurationRequest$ = [
6429
6449
  _UPCR,
6430
6450
  0,
6431
6451
  [_vUBJC, _cT],
6432
- [() => VersionUpdateByJobsConfig$, [0, { [_iT]: 1, [_hQ]: _cT }]],
6452
+ [() => VersionUpdateByJobsConfig$, [0, { [_hQ]: _cT, [_iT]: 1 }]],
6433
6453
  ];
6434
6454
  var UpdatePackageConfigurationResponse$ = [3, n0, _UPCRp, 0, [], []];
6435
6455
  var UpdatePackageRequest$ = [
@@ -6438,7 +6458,7 @@ var UpdatePackageRequest$ = [
6438
6458
  _UPR,
6439
6459
  0,
6440
6460
  [_pN, _d, _dVN, _uDV, _cT],
6441
- [[0, 1], [() => ResourceDescription, 0], 0, 2, [0, { [_iT]: 1, [_hQ]: _cT }]],
6461
+ [[0, 1], [() => ResourceDescription, 0], 0, 2, [0, { [_hQ]: _cT, [_iT]: 1 }]],
6442
6462
  ];
6443
6463
  var UpdatePackageResponse$ = [3, n0, _UPRp, 0, [], []];
6444
6464
  var UpdatePackageVersionRequest$ = [
@@ -6455,7 +6475,7 @@ var UpdatePackageVersionRequest$ = [
6455
6475
  () => PackageVersionArtifact$,
6456
6476
  0,
6457
6477
  [() => PackageVersionRecipe, 0],
6458
- [0, { [_iT]: 1, [_hQ]: _cT }],
6478
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
6459
6479
  ],
6460
6480
  ];
6461
6481
  var UpdatePackageVersionResponse$ = [3, n0, _UPVRp, 0, [], []];
@@ -6686,6 +6706,7 @@ var JobExecutionSummaryForThingList = [1, n0, _JESFTL, 0, () => JobExecutionSumm
6686
6706
  var JobSummaryList = [1, n0, _JSL, 0, () => JobSummary$];
6687
6707
  var JobTemplateSummaryList = [1, n0, _JTSL, 0, () => JobTemplateSummary$];
6688
6708
  var KafkaHeaders = [1, n0, _KH, 0, () => KafkaActionHeader$];
6709
+ var LogEventConfigurations = [1, n0, _LECo, 0, () => LogEventConfiguration$];
6689
6710
  var LogTargetConfigurations = [1, n0, _LTCo, 0, () => LogTargetConfiguration$];
6690
6711
  var MaintenanceWindows = [1, n0, _MWa, 0, () => MaintenanceWindow$];
6691
6712
  var ManagedJobTemplatesSummaryList = [1, n0, _MJTSL, 0, () => ManagedJobTemplateSummary$];
@@ -6738,7 +6759,7 @@ var CommandExecutionParameterMap = [2, n0, _CEPM, 0, 0, () => CommandParameterVa
6738
6759
  var CommandExecutionResultMap = [2, n0, _CERM, 0, 0, () => CommandExecutionResult$];
6739
6760
  var EventConfigurations = [2, n0, _EC, 0, 0, () => Configuration$];
6740
6761
  var ResourceAttributes = [2, n0, _RAe, 8, 0, 0];
6741
- 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]];
6742
6763
  var AcceptCertificateTransfer$ = [
6743
6764
  9,
6744
6765
  n0,
@@ -14165,6 +14186,7 @@ exports.ListViolationEventsRequest$ = ListViolationEventsRequest$;
14165
14186
  exports.ListViolationEventsResponse$ = ListViolationEventsResponse$;
14166
14187
  exports.LocationAction$ = LocationAction$;
14167
14188
  exports.LocationTimestamp$ = LocationTimestamp$;
14189
+ exports.LogEventConfiguration$ = LogEventConfiguration$;
14168
14190
  exports.LogLevel = LogLevel;
14169
14191
  exports.LogTarget$ = LogTarget$;
14170
14192
  exports.LogTargetConfiguration$ = LogTargetConfiguration$;
@@ -681,6 +681,8 @@ const _LDMATR = "ListDetectMitigationActionsTasksRequest";
681
681
  const _LDMATRi = "ListDetectMitigationActionsTasksResponse";
682
682
  const _LDR = "ListDimensionsRequest";
683
683
  const _LDRi = "ListDimensionsResponse";
684
+ const _LEC = "LogEventConfiguration";
685
+ const _LECo = "LogEventConfigurations";
684
686
  const _LEE = "LimitExceededException";
685
687
  const _LFM = "ListFleetMetrics";
686
688
  const _LFMR = "ListFleetMetricsRequest";
@@ -1413,6 +1415,7 @@ const _eT = "endTime";
1413
1415
  const _eTS = "executionTimeoutSeconds";
1414
1416
  const _eTn = "encryptionType";
1415
1417
  const _eTnd = "endpointType";
1418
+ const _eTv = "eventType";
1416
1419
  const _eV = "expectedVersion";
1417
1420
  const _en = "enabled";
1418
1421
  const _end = "endpoint";
@@ -1512,6 +1515,7 @@ const _kV = "keyValue";
1512
1515
  const _ka = "kafka";
1513
1516
  const _ke = "key";
1514
1517
  const _l = "lambda";
1518
+ const _lD = "logDestination";
1515
1519
  const _lFA = "lambdaFunctionArn";
1516
1520
  const _lGN = "logGroupName";
1517
1521
  const _lL = "logLevel";
@@ -1938,7 +1942,8 @@ const _val = "validity";
1938
1942
  const _vali = "valid";
1939
1943
  const _var = "variance";
1940
1944
  const _ve = "version";
1941
- const _ver = "versions";
1945
+ const _ver = "verbose";
1946
+ const _vers = "versions";
1942
1947
  const _wFDCC = "waitingForDataCollectionChecks";
1943
1948
  const _xaip = "x-amzn-iot-principal";
1944
1949
  const _xaip_ = "x-amzn-iot-policy";
@@ -2042,7 +2047,7 @@ export var AssociateSbomWithPackageVersionRequest$ = [
2042
2047
  _ASWPVR,
2043
2048
  0,
2044
2049
  [_pN, _vN, _sb, _cT],
2045
- [[0, 1], [0, 1], () => Sbom$, [0, { [_iT]: 1, [_hQ]: _cT }]],
2050
+ [[0, 1], [0, 1], () => Sbom$, [0, { [_hQ]: _cT, [_iT]: 1 }]],
2046
2051
  ];
2047
2052
  export var AssociateSbomWithPackageVersionResponse$ = [
2048
2053
  3,
@@ -2583,7 +2588,7 @@ export var CreatePackageRequest$ = [
2583
2588
  _CPR,
2584
2589
  0,
2585
2590
  [_pN, _d, _tag, _cT],
2586
- [[0, 1], [() => ResourceDescription, 0], 128 | 0, [0, { [_iT]: 1, [_hQ]: _cT }]],
2591
+ [[0, 1], [() => ResourceDescription, 0], 128 | 0, [0, { [_hQ]: _cT, [_iT]: 1 }]],
2587
2592
  ];
2588
2593
  export var CreatePackageResponse$ = [
2589
2594
  3,
@@ -2607,7 +2612,7 @@ export var CreatePackageVersionRequest$ = [
2607
2612
  () => PackageVersionArtifact$,
2608
2613
  [() => PackageVersionRecipe, 0],
2609
2614
  128 | 0,
2610
- [0, { [_iT]: 1, [_hQ]: _cT }],
2615
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
2611
2616
  ],
2612
2617
  ];
2613
2618
  export var CreatePackageVersionResponse$ = [
@@ -2934,7 +2939,7 @@ export var DeletePackageRequest$ = [
2934
2939
  [_pN, _cT],
2935
2940
  [
2936
2941
  [0, 1],
2937
- [0, { [_iT]: 1, [_hQ]: _cT }],
2942
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
2938
2943
  ],
2939
2944
  ];
2940
2945
  export var DeletePackageResponse$ = [3, n0, _DPRe, 0, [], []];
@@ -2947,7 +2952,7 @@ export var DeletePackageVersionRequest$ = [
2947
2952
  [
2948
2953
  [0, 1],
2949
2954
  [0, 1],
2950
- [0, { [_iT]: 1, [_hQ]: _cT }],
2955
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
2951
2956
  ],
2952
2957
  ];
2953
2958
  export var DeletePackageVersionResponse$ = [3, n0, _DPVRe, 0, [], []];
@@ -3500,7 +3505,7 @@ export var DisassociateSbomFromPackageVersionRequest$ = [
3500
3505
  [
3501
3506
  [0, 1],
3502
3507
  [0, 1],
3503
- [0, { [_iT]: 1, [_hQ]: _cT }],
3508
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
3504
3509
  ],
3505
3510
  ];
3506
3511
  export var DisassociateSbomFromPackageVersionResponse$ = [3, n0, _DSFPVRi, 0, [], []];
@@ -3761,8 +3766,15 @@ export var GetTopicRuleDestinationResponse$ = [
3761
3766
  ];
3762
3767
  export var GetTopicRuleRequest$ = [3, n0, _GTRR, 0, [_rN], [[0, 1]]];
3763
3768
  export var GetTopicRuleResponse$ = [3, n0, _GTRRe, 0, [_rAu, _ru], [0, () => TopicRule$]];
3764
- export var GetV2LoggingOptionsRequest$ = [3, n0, _GVLOR, 0, [], []];
3765
- 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
+ ];
3766
3778
  export var GroupNameAndArn$ = [3, n0, _GNAA, 0, [_gN, _gA], [0, 0]];
3767
3779
  export var HttpAction$ = [
3768
3780
  3,
@@ -4685,7 +4697,7 @@ export var ListProvisioningTemplateVersionsResponse$ = [
4685
4697
  n0,
4686
4698
  _LPTVRist,
4687
4699
  0,
4688
- [_ver, _nT],
4700
+ [_vers, _nT],
4689
4701
  [() => ProvisioningTemplateVersionListing, 0],
4690
4702
  ];
4691
4703
  export var ListRelatedResourcesForAuditFindingRequest$ = [
@@ -5116,6 +5128,7 @@ export var LocationAction$ = [
5116
5128
  [0, 0, 0, () => LocationTimestamp$, 0, 0],
5117
5129
  ];
5118
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]];
5119
5132
  export var LoggingOptionsPayload$ = [3, n0, _LOP, 0, [_rA, _lL], [0, 0]];
5120
5133
  export var LogTarget$ = [3, n0, _LTo, 0, [_tTa, _tNa], [0, 0]];
5121
5134
  export var LogTargetConfiguration$ = [3, n0, _LTC, 0, [_lT, _lL], [() => LogTarget$, 0]];
@@ -5463,7 +5476,14 @@ export var SetLoggingOptionsRequest$ = [
5463
5476
  [[() => LoggingOptionsPayload$, 16]],
5464
5477
  ];
5465
5478
  export var SetV2LoggingLevelRequest$ = [3, n0, _SVLLR, 0, [_lT, _lL], [() => LogTarget$, 0]];
5466
- 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
+ ];
5467
5487
  export var SigningProfileParameter$ = [3, n0, _SPP, 0, [_cAe, _pl, _cPOD], [0, 0, 0]];
5468
5488
  export var SigV4Authorization$ = [3, n0, _SVA, 0, [_sRi, _sNe, _rA], [0, 0, 0]];
5469
5489
  export var SnsAction$ = [3, n0, _SAn, 0, [_tAa, _rA, _mF], [0, 0, 0]];
@@ -5909,7 +5929,7 @@ export var UpdatePackageConfigurationRequest$ = [
5909
5929
  _UPCR,
5910
5930
  0,
5911
5931
  [_vUBJC, _cT],
5912
- [() => VersionUpdateByJobsConfig$, [0, { [_iT]: 1, [_hQ]: _cT }]],
5932
+ [() => VersionUpdateByJobsConfig$, [0, { [_hQ]: _cT, [_iT]: 1 }]],
5913
5933
  ];
5914
5934
  export var UpdatePackageConfigurationResponse$ = [3, n0, _UPCRp, 0, [], []];
5915
5935
  export var UpdatePackageRequest$ = [
@@ -5918,7 +5938,7 @@ export var UpdatePackageRequest$ = [
5918
5938
  _UPR,
5919
5939
  0,
5920
5940
  [_pN, _d, _dVN, _uDV, _cT],
5921
- [[0, 1], [() => ResourceDescription, 0], 0, 2, [0, { [_iT]: 1, [_hQ]: _cT }]],
5941
+ [[0, 1], [() => ResourceDescription, 0], 0, 2, [0, { [_hQ]: _cT, [_iT]: 1 }]],
5922
5942
  ];
5923
5943
  export var UpdatePackageResponse$ = [3, n0, _UPRp, 0, [], []];
5924
5944
  export var UpdatePackageVersionRequest$ = [
@@ -5935,7 +5955,7 @@ export var UpdatePackageVersionRequest$ = [
5935
5955
  () => PackageVersionArtifact$,
5936
5956
  0,
5937
5957
  [() => PackageVersionRecipe, 0],
5938
- [0, { [_iT]: 1, [_hQ]: _cT }],
5958
+ [0, { [_hQ]: _cT, [_iT]: 1 }],
5939
5959
  ],
5940
5960
  ];
5941
5961
  export var UpdatePackageVersionResponse$ = [3, n0, _UPVRp, 0, [], []];
@@ -6179,6 +6199,7 @@ var JobSummaryList = [1, n0, _JSL, 0, () => JobSummary$];
6179
6199
  var JobTargets = 64 | 0;
6180
6200
  var JobTemplateSummaryList = [1, n0, _JTSL, 0, () => JobTemplateSummary$];
6181
6201
  var KafkaHeaders = [1, n0, _KH, 0, () => KafkaActionHeader$];
6202
+ var LogEventConfigurations = [1, n0, _LECo, 0, () => LogEventConfiguration$];
6182
6203
  var LogTargetConfigurations = [1, n0, _LTCo, 0, () => LogTargetConfiguration$];
6183
6204
  var MaintenanceWindows = [1, n0, _MWa, 0, () => MaintenanceWindow$];
6184
6205
  var ManagedJobTemplatesSummaryList = [1, n0, _MJTSL, 0, () => ManagedJobTemplateSummary$];
@@ -6277,7 +6298,7 @@ var ResourceArns = 128 | 0;
6277
6298
  var ResourceAttributes = [2, n0, _RAe, 8, 0, 0];
6278
6299
  var StringMap = 128 | 0;
6279
6300
  var TagMap = 128 | 0;
6280
- 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]];
6281
6302
  export var AcceptCertificateTransfer$ = [
6282
6303
  9,
6283
6304
  n0,
@@ -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,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 { ListTargetsForSecurityProfileRequest } from "../models/models_1";
5
- import type { ListTargetsForSecurityProfileResponse } from "../models/models_2";
4
+ import type { ListTargetsForSecurityProfileRequest, ListTargetsForSecurityProfileResponse } from "../models/models_2";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -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);
@@ -437,8 +437,8 @@ export interface HttpAction {
437
437
  */
438
438
  enableBatching?: boolean | undefined;
439
439
  /**
440
- * <p>The configuration settings for batching. For more information, see <a href="/iot/latest/developerguide/http_batching.html">Batching
441
- * HTTP action messages</a>.</p>
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
442
  * @public
443
443
  */
444
444
  batchConfig?: BatchConfig | undefined;
@@ -4373,6 +4373,42 @@ export interface GetTopicRuleDestinationResponse {
4373
4373
  * @public
4374
4374
  */
4375
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;
4376
4412
  }
4377
4413
  /**
4378
4414
  * @public
@@ -4393,6 +4429,13 @@ export interface GetV2LoggingOptionsResponse {
4393
4429
  * @public
4394
4430
  */
4395
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;
4396
4439
  }
4397
4440
  /**
4398
4441
  * @public
@@ -7469,23 +7512,3 @@ export interface ListTargetsForPolicyResponse {
7469
7512
  */
7470
7513
  nextMarker?: string | undefined;
7471
7514
  }
7472
- /**
7473
- * @public
7474
- */
7475
- export interface ListTargetsForSecurityProfileRequest {
7476
- /**
7477
- * <p>The security profile.</p>
7478
- * @public
7479
- */
7480
- securityProfileName: string | undefined;
7481
- /**
7482
- * <p>The token for the next set of results.</p>
7483
- * @public
7484
- */
7485
- nextToken?: string | undefined;
7486
- /**
7487
- * <p>The maximum number of results to return at one time.</p>
7488
- * @public
7489
- */
7490
- maxResults?: number | undefined;
7491
- }
@@ -1,6 +1,26 @@
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, SecurityProfileTarget } 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
+ }
4
24
  /**
5
25
  * @public
6
26
  */
@@ -1535,6 +1555,13 @@ export interface SetV2LoggingOptionsRequest {
1535
1555
  * @public
1536
1556
  */
1537
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;
1538
1565
  }
1539
1566
  /**
1540
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;
@@ -546,6 +546,7 @@ export declare var ListViolationEventsRequest$: StaticStructureSchema;
546
546
  export declare var ListViolationEventsResponse$: StaticStructureSchema;
547
547
  export declare var LocationAction$: StaticStructureSchema;
548
548
  export declare var LocationTimestamp$: StaticStructureSchema;
549
+ export declare var LogEventConfiguration$: StaticStructureSchema;
549
550
  export declare var LoggingOptionsPayload$: StaticStructureSchema;
550
551
  export declare var LogTarget$: StaticStructureSchema;
551
552
  export declare var LogTargetConfiguration$: StaticStructureSchema;
@@ -783,7 +784,7 @@ export declare var VpcDestinationConfiguration$: StaticStructureSchema;
783
784
  export declare var VpcDestinationProperties$: StaticStructureSchema;
784
785
  export declare var VpcDestinationSummary$: StaticStructureSchema;
785
786
  export declare var IoTServiceException$: StaticErrorSchema;
786
- export declare var AssetPropertyVariant$: StaticStructureSchema;
787
+ export declare var AssetPropertyVariant$: StaticUnionSchema;
787
788
  export declare var AcceptCertificateTransfer$: StaticOperationSchema;
788
789
  export declare var AddThingToBillingGroup$: StaticOperationSchema;
789
790
  export declare var AddThingToThingGroup$: StaticOperationSchema;
@@ -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: {
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IoTClient";
8
- import { ListTargetsForSecurityProfileRequest } from "../models/models_1";
9
- import { ListTargetsForSecurityProfileResponse } from "../models/models_2";
8
+ import {
9
+ ListTargetsForSecurityProfileRequest,
10
+ ListTargetsForSecurityProfileResponse,
11
+ } from "../models/models_2";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface ListTargetsForSecurityProfileCommandInput
@@ -1022,11 +1022,19 @@ export interface GetTopicRuleDestinationRequest {
1022
1022
  export interface GetTopicRuleDestinationResponse {
1023
1023
  topicRuleDestination?: TopicRuleDestination | undefined;
1024
1024
  }
1025
- 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
+ }
1026
1033
  export interface GetV2LoggingOptionsResponse {
1027
1034
  roleArn?: string | undefined;
1028
1035
  defaultLogLevel?: LogLevel | undefined;
1029
1036
  disableAllLogs?: boolean | undefined;
1037
+ eventConfigurations?: LogEventConfiguration[] | undefined;
1030
1038
  }
1031
1039
  export interface ListActiveViolationsRequest {
1032
1040
  thingName?: string | undefined;
@@ -1710,8 +1718,3 @@ export interface ListTargetsForPolicyResponse {
1710
1718
  targets?: string[] | undefined;
1711
1719
  nextMarker?: string | undefined;
1712
1720
  }
1713
- export interface ListTargetsForSecurityProfileRequest {
1714
- securityProfileName: string | undefined;
1715
- nextToken?: string | undefined;
1716
- maxResults?: number | undefined;
1717
- }
@@ -72,8 +72,14 @@ import {
72
72
  ViolationEventOccurrenceRange,
73
73
  Configuration,
74
74
  GroupNameAndArn,
75
+ LogEventConfiguration,
75
76
  SecurityProfileTarget,
76
77
  } from "./models_1";
78
+ export interface ListTargetsForSecurityProfileRequest {
79
+ securityProfileName: string | undefined;
80
+ nextToken?: string | undefined;
81
+ maxResults?: number | undefined;
82
+ }
77
83
  export interface ListTargetsForSecurityProfileResponse {
78
84
  securityProfileTargets?: SecurityProfileTarget[] | undefined;
79
85
  nextToken?: string | undefined;
@@ -408,6 +414,7 @@ export interface SetV2LoggingOptionsRequest {
408
414
  roleArn?: string | undefined;
409
415
  defaultLogLevel?: LogLevel | undefined;
410
416
  disableAllLogs?: boolean | undefined;
417
+ eventConfigurations?: LogEventConfiguration[] | undefined;
411
418
  }
412
419
  export interface StartAuditMitigationActionsTaskRequest {
413
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;
@@ -550,6 +551,7 @@ export declare var ListViolationEventsRequest$: StaticStructureSchema;
550
551
  export declare var ListViolationEventsResponse$: StaticStructureSchema;
551
552
  export declare var LocationAction$: StaticStructureSchema;
552
553
  export declare var LocationTimestamp$: StaticStructureSchema;
554
+ export declare var LogEventConfiguration$: StaticStructureSchema;
553
555
  export declare var LoggingOptionsPayload$: StaticStructureSchema;
554
556
  export declare var LogTarget$: StaticStructureSchema;
555
557
  export declare var LogTargetConfiguration$: StaticStructureSchema;
@@ -787,7 +789,7 @@ export declare var VpcDestinationConfiguration$: StaticStructureSchema;
787
789
  export declare var VpcDestinationProperties$: StaticStructureSchema;
788
790
  export declare var VpcDestinationSummary$: StaticStructureSchema;
789
791
  export declare var IoTServiceException$: StaticErrorSchema;
790
- export declare var AssetPropertyVariant$: StaticStructureSchema;
792
+ export declare var AssetPropertyVariant$: StaticUnionSchema;
791
793
  export declare var AcceptCertificateTransfer$: StaticOperationSchema;
792
794
  export declare var AddThingToBillingGroup$: StaticOperationSchema;
793
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.955.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.955.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
  },