@aws-sdk/client-iot 3.651.1 → 3.652.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +276 -91
  3. package/dist-es/IoT.js +6 -0
  4. package/dist-es/commands/AssociateSbomWithPackageVersionCommand.js +22 -0
  5. package/dist-es/commands/DisassociateSbomFromPackageVersionCommand.js +22 -0
  6. package/dist-es/commands/ListSbomValidationResultsCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +55 -49
  9. package/dist-es/models/models_1.js +1 -0
  10. package/dist-es/models/models_2.js +9 -0
  11. package/dist-es/pagination/ListSbomValidationResultsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +118 -14
  14. package/dist-types/IoT.d.ts +21 -0
  15. package/dist-types/IoTClient.d.ts +5 -2
  16. package/dist-types/commands/AssociateSbomWithPackageVersionCommand.d.ts +98 -0
  17. package/dist-types/commands/CreatePackageVersionCommand.d.ts +8 -0
  18. package/dist-types/commands/DeleteCACertificateCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteCertificateCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteCertificateProviderCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeJobCommand.d.ts +1 -0
  22. package/dist-types/commands/DisassociateSbomFromPackageVersionCommand.d.ts +77 -0
  23. package/dist-types/commands/GetJobDocumentCommand.d.ts +1 -0
  24. package/dist-types/commands/GetPackageVersionCommand.d.ts +16 -0
  25. package/dist-types/commands/ListMetricValuesCommand.d.ts +2 -1
  26. package/dist-types/commands/ListMitigationActionsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListOTAUpdatesCommand.d.ts +1 -1
  28. package/dist-types/commands/ListSbomValidationResultsCommand.d.ts +86 -0
  29. package/dist-types/commands/UpdatePackageVersionCommand.d.ts +8 -0
  30. package/dist-types/commands/UpdateStreamCommand.d.ts +3 -0
  31. package/dist-types/commands/index.d.ts +3 -0
  32. package/dist-types/models/models_0.d.ts +171 -121
  33. package/dist-types/models/models_1.d.ts +109 -129
  34. package/dist-types/models/models_2.d.ts +238 -2
  35. package/dist-types/pagination/ListSbomValidationResultsPaginator.d.ts +7 -0
  36. package/dist-types/pagination/index.d.ts +1 -0
  37. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  38. package/dist-types/ts3.4/IoT.d.ts +57 -0
  39. package/dist-types/ts3.4/IoTClient.d.ts +18 -0
  40. package/dist-types/ts3.4/commands/AssociateSbomWithPackageVersionCommand.d.ts +40 -0
  41. package/dist-types/ts3.4/commands/DeleteCACertificateCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/DeleteCertificateProviderCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/DisassociateSbomFromPackageVersionCommand.d.ts +40 -0
  45. package/dist-types/ts3.4/commands/ListMetricValuesCommand.d.ts +2 -4
  46. package/dist-types/ts3.4/commands/ListMitigationActionsCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListOTAUpdatesCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListSbomValidationResultsCommand.d.ts +40 -0
  49. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  50. package/dist-types/ts3.4/models/models_0.d.ts +58 -43
  51. package/dist-types/ts3.4/models/models_1.d.ts +27 -32
  52. package/dist-types/ts3.4/models/models_2.d.ts +67 -0
  53. package/dist-types/ts3.4/pagination/ListSbomValidationResultsPaginator.d.ts +11 -0
  54. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  55. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  56. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -29,6 +29,7 @@ __export(src_exports, {
29
29
  AggregationTypeName: () => AggregationTypeName,
30
30
  AlertTargetType: () => AlertTargetType,
31
31
  AssetPropertyVariant: () => AssetPropertyVariant,
32
+ AssociateSbomWithPackageVersionCommand: () => AssociateSbomWithPackageVersionCommand,
32
33
  AssociateTargetsWithJobCommand: () => AssociateTargetsWithJobCommand,
33
34
  AttachPolicyCommand: () => AttachPolicyCommand,
34
35
  AttachPrincipalPolicyCommand: () => AttachPrincipalPolicyCommand,
@@ -189,6 +190,7 @@ __export(src_exports, {
189
190
  DimensionType: () => DimensionType,
190
191
  DimensionValueOperator: () => DimensionValueOperator,
191
192
  DisableTopicRuleCommand: () => DisableTopicRuleCommand,
193
+ DisassociateSbomFromPackageVersionCommand: () => DisassociateSbomFromPackageVersionCommand,
192
194
  DomainConfigurationStatus: () => DomainConfigurationStatus,
193
195
  DomainType: () => DomainType,
194
196
  DynamicGroupStatus: () => DynamicGroupStatus,
@@ -277,6 +279,7 @@ __export(src_exports, {
277
279
  ListProvisioningTemplatesCommand: () => ListProvisioningTemplatesCommand,
278
280
  ListRelatedResourcesForAuditFindingCommand: () => ListRelatedResourcesForAuditFindingCommand,
279
281
  ListRoleAliasesCommand: () => ListRoleAliasesCommand,
282
+ ListSbomValidationResultsCommand: () => ListSbomValidationResultsCommand,
280
283
  ListScheduledAuditsCommand: () => ListScheduledAuditsCommand,
281
284
  ListSecurityProfilesCommand: () => ListSecurityProfilesCommand,
282
285
  ListSecurityProfilesForTargetCommand: () => ListSecurityProfilesForTargetCommand,
@@ -326,6 +329,9 @@ __export(src_exports, {
326
329
  ResourceRegistrationFailureException: () => ResourceRegistrationFailureException,
327
330
  ResourceType: () => ResourceType,
328
331
  RetryableFailureType: () => RetryableFailureType,
332
+ SbomValidationErrorCode: () => SbomValidationErrorCode,
333
+ SbomValidationResult: () => SbomValidationResult,
334
+ SbomValidationStatus: () => SbomValidationStatus,
329
335
  SearchIndexCommand: () => SearchIndexCommand,
330
336
  ServerCertificateStatus: () => ServerCertificateStatus,
331
337
  ServiceQuotaExceededException: () => ServiceQuotaExceededException,
@@ -436,6 +442,7 @@ __export(src_exports, {
436
442
  paginateListProvisioningTemplates: () => paginateListProvisioningTemplates,
437
443
  paginateListRelatedResourcesForAuditFinding: () => paginateListRelatedResourcesForAuditFinding,
438
444
  paginateListRoleAliases: () => paginateListRoleAliases,
445
+ paginateListSbomValidationResults: () => paginateListSbomValidationResults,
439
446
  paginateListScheduledAudits: () => paginateListScheduledAudits,
440
447
  paginateListSecurityProfiles: () => paginateListSecurityProfiles,
441
448
  paginateListSecurityProfilesForTarget: () => paginateListSecurityProfilesForTarget,
@@ -828,6 +835,80 @@ var AggregationTypeName = {
828
835
  var AlertTargetType = {
829
836
  SNS: "SNS"
830
837
  };
838
+ var SbomValidationStatus = {
839
+ FAILED: "FAILED",
840
+ IN_PROGRESS: "IN_PROGRESS",
841
+ SUCCEEDED: "SUCCEEDED"
842
+ };
843
+ var _ConflictException = class _ConflictException extends IoTServiceException {
844
+ /**
845
+ * @internal
846
+ */
847
+ constructor(opts) {
848
+ super({
849
+ name: "ConflictException",
850
+ $fault: "client",
851
+ ...opts
852
+ });
853
+ this.name = "ConflictException";
854
+ this.$fault = "client";
855
+ Object.setPrototypeOf(this, _ConflictException.prototype);
856
+ this.resourceId = opts.resourceId;
857
+ }
858
+ };
859
+ __name(_ConflictException, "ConflictException");
860
+ var ConflictException = _ConflictException;
861
+ var _InternalServerException = class _InternalServerException extends IoTServiceException {
862
+ /**
863
+ * @internal
864
+ */
865
+ constructor(opts) {
866
+ super({
867
+ name: "InternalServerException",
868
+ $fault: "server",
869
+ ...opts
870
+ });
871
+ this.name = "InternalServerException";
872
+ this.$fault = "server";
873
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
874
+ }
875
+ };
876
+ __name(_InternalServerException, "InternalServerException");
877
+ var InternalServerException = _InternalServerException;
878
+ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends IoTServiceException {
879
+ /**
880
+ * @internal
881
+ */
882
+ constructor(opts) {
883
+ super({
884
+ name: "ServiceQuotaExceededException",
885
+ $fault: "client",
886
+ ...opts
887
+ });
888
+ this.name = "ServiceQuotaExceededException";
889
+ this.$fault = "client";
890
+ Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
891
+ }
892
+ };
893
+ __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
894
+ var ServiceQuotaExceededException = _ServiceQuotaExceededException;
895
+ var _ValidationException = class _ValidationException extends IoTServiceException {
896
+ /**
897
+ * @internal
898
+ */
899
+ constructor(opts) {
900
+ super({
901
+ name: "ValidationException",
902
+ $fault: "client",
903
+ ...opts
904
+ });
905
+ this.name = "ValidationException";
906
+ this.$fault = "client";
907
+ Object.setPrototypeOf(this, _ValidationException.prototype);
908
+ }
909
+ };
910
+ __name(_ValidationException, "ValidationException");
911
+ var ValidationException = _ValidationException;
831
912
  var _LimitExceededException = class _LimitExceededException extends IoTServiceException {
832
913
  /**
833
914
  * @internal
@@ -1131,24 +1212,6 @@ var TargetSelection = {
1131
1212
  CONTINUOUS: "CONTINUOUS",
1132
1213
  SNAPSHOT: "SNAPSHOT"
1133
1214
  };
1134
- var _ConflictException = class _ConflictException extends IoTServiceException {
1135
- /**
1136
- * @internal
1137
- */
1138
- constructor(opts) {
1139
- super({
1140
- name: "ConflictException",
1141
- $fault: "client",
1142
- ...opts
1143
- });
1144
- this.name = "ConflictException";
1145
- this.$fault = "client";
1146
- Object.setPrototypeOf(this, _ConflictException.prototype);
1147
- this.resourceId = opts.resourceId;
1148
- }
1149
- };
1150
- __name(_ConflictException, "ConflictException");
1151
- var ConflictException = _ConflictException;
1152
1215
  var LogLevel = {
1153
1216
  DEBUG: "DEBUG",
1154
1217
  DISABLED: "DISABLED",
@@ -1186,57 +1249,6 @@ var OTAUpdateStatus = {
1186
1249
  DELETE_FAILED: "DELETE_FAILED",
1187
1250
  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS"
1188
1251
  };
1189
- var _InternalServerException = class _InternalServerException extends IoTServiceException {
1190
- /**
1191
- * @internal
1192
- */
1193
- constructor(opts) {
1194
- super({
1195
- name: "InternalServerException",
1196
- $fault: "server",
1197
- ...opts
1198
- });
1199
- this.name = "InternalServerException";
1200
- this.$fault = "server";
1201
- Object.setPrototypeOf(this, _InternalServerException.prototype);
1202
- }
1203
- };
1204
- __name(_InternalServerException, "InternalServerException");
1205
- var InternalServerException = _InternalServerException;
1206
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends IoTServiceException {
1207
- /**
1208
- * @internal
1209
- */
1210
- constructor(opts) {
1211
- super({
1212
- name: "ServiceQuotaExceededException",
1213
- $fault: "client",
1214
- ...opts
1215
- });
1216
- this.name = "ServiceQuotaExceededException";
1217
- this.$fault = "client";
1218
- Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
1219
- }
1220
- };
1221
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
1222
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
1223
- var _ValidationException = class _ValidationException extends IoTServiceException {
1224
- /**
1225
- * @internal
1226
- */
1227
- constructor(opts) {
1228
- super({
1229
- name: "ValidationException",
1230
- $fault: "client",
1231
- ...opts
1232
- });
1233
- this.name = "ValidationException";
1234
- this.$fault = "client";
1235
- Object.setPrototypeOf(this, _ValidationException.prototype);
1236
- }
1237
- };
1238
- __name(_ValidationException, "ValidationException");
1239
- var ValidationException = _ValidationException;
1240
1252
  var PackageVersionStatus = {
1241
1253
  DEPRECATED: "DEPRECATED",
1242
1254
  DRAFT: "DRAFT",
@@ -1366,7 +1378,8 @@ var CreatePackageResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1366
1378
  var CreatePackageVersionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1367
1379
  ...obj,
1368
1380
  ...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
1369
- ...obj.attributes && { attributes: import_smithy_client.SENSITIVE_STRING }
1381
+ ...obj.attributes && { attributes: import_smithy_client.SENSITIVE_STRING },
1382
+ ...obj.recipe && { recipe: import_smithy_client.SENSITIVE_STRING }
1370
1383
  }), "CreatePackageVersionRequestFilterSensitiveLog");
1371
1384
  var CreatePackageVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1372
1385
  ...obj,
@@ -1547,11 +1560,20 @@ var GetPackageResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1547
1560
  var GetPackageVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1548
1561
  ...obj,
1549
1562
  ...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
1550
- ...obj.attributes && { attributes: import_smithy_client.SENSITIVE_STRING }
1563
+ ...obj.attributes && { attributes: import_smithy_client.SENSITIVE_STRING },
1564
+ ...obj.recipe && { recipe: import_smithy_client.SENSITIVE_STRING }
1551
1565
  }), "GetPackageVersionResponseFilterSensitiveLog");
1552
1566
 
1553
1567
  // src/models/models_2.ts
1554
1568
 
1569
+ var SbomValidationResult = {
1570
+ FAILED: "FAILED",
1571
+ SUCCEEDED: "SUCCEEDED"
1572
+ };
1573
+ var SbomValidationErrorCode = {
1574
+ FILE_SIZE_LIMIT_EXCEEDED: "FILE_SIZE_LIMIT_EXCEEDED",
1575
+ INCOMPATIBLE_FORMAT: "INCOMPATIBLE_FORMAT"
1576
+ };
1555
1577
  var ReportType = {
1556
1578
  ERRORS: "ERRORS",
1557
1579
  RESULTS: "RESULTS"
@@ -1674,7 +1696,8 @@ var UpdatePackageRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1674
1696
  var UpdatePackageVersionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1675
1697
  ...obj,
1676
1698
  ...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
1677
- ...obj.attributes && { attributes: import_smithy_client.SENSITIVE_STRING }
1699
+ ...obj.attributes && { attributes: import_smithy_client.SENSITIVE_STRING },
1700
+ ...obj.recipe && { recipe: import_smithy_client.SENSITIVE_STRING }
1678
1701
  }), "UpdatePackageVersionRequestFilterSensitiveLog");
1679
1702
 
1680
1703
  // src/protocols/Aws_restJson1.ts
@@ -1727,6 +1750,26 @@ var se_AddThingToThingGroupCommand = /* @__PURE__ */ __name(async (input, contex
1727
1750
  b.m("PUT").h(headers).b(body);
1728
1751
  return b.build();
1729
1752
  }, "se_AddThingToThingGroupCommand");
1753
+ var se_AssociateSbomWithPackageVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
1754
+ const b = (0, import_core.requestBuilder)(input, context);
1755
+ const headers = {
1756
+ "content-type": "application/json"
1757
+ };
1758
+ b.bp("/packages/{packageName}/versions/{versionName}/sbom");
1759
+ b.p("packageName", () => input.packageName, "{packageName}", false);
1760
+ b.p("versionName", () => input.versionName, "{versionName}", false);
1761
+ const query = (0, import_smithy_client.map)({
1762
+ [_cT]: [, input[_cT] ?? (0, import_uuid.v4)()]
1763
+ });
1764
+ let body;
1765
+ body = JSON.stringify(
1766
+ (0, import_smithy_client.take)(input, {
1767
+ sbom: (_) => (0, import_smithy_client._json)(_)
1768
+ })
1769
+ );
1770
+ b.m("PUT").h(headers).q(query).b(body);
1771
+ return b.build();
1772
+ }, "se_AssociateSbomWithPackageVersionCommand");
1730
1773
  var se_AssociateTargetsWithJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1731
1774
  const b = (0, import_core.requestBuilder)(input, context);
1732
1775
  const headers = {
@@ -2240,8 +2283,10 @@ var se_CreatePackageVersionCommand = /* @__PURE__ */ __name(async (input, contex
2240
2283
  let body;
2241
2284
  body = JSON.stringify(
2242
2285
  (0, import_smithy_client.take)(input, {
2286
+ artifact: (_) => (0, import_smithy_client._json)(_),
2243
2287
  attributes: (_) => (0, import_smithy_client._json)(_),
2244
2288
  description: [],
2289
+ recipe: [],
2245
2290
  tags: (_) => (0, import_smithy_client._json)(_)
2246
2291
  })
2247
2292
  );
@@ -3059,8 +3104,11 @@ var se_DescribeJobCommand = /* @__PURE__ */ __name(async (input, context) => {
3059
3104
  const headers = {};
3060
3105
  b.bp("/jobs/{jobId}");
3061
3106
  b.p("jobId", () => input.jobId, "{jobId}", false);
3107
+ const query = (0, import_smithy_client.map)({
3108
+ [_bS]: [() => input.beforeSubstitution !== void 0, () => input[_bS].toString()]
3109
+ });
3062
3110
  let body;
3063
- b.m("GET").h(headers).b(body);
3111
+ b.m("GET").h(headers).q(query).b(body);
3064
3112
  return b.build();
3065
3113
  }, "se_DescribeJobCommand");
3066
3114
  var se_DescribeJobExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -3256,6 +3304,19 @@ var se_DisableTopicRuleCommand = /* @__PURE__ */ __name(async (input, context) =
3256
3304
  b.m("POST").h(headers).b(body);
3257
3305
  return b.build();
3258
3306
  }, "se_DisableTopicRuleCommand");
3307
+ var se_DisassociateSbomFromPackageVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
3308
+ const b = (0, import_core.requestBuilder)(input, context);
3309
+ const headers = {};
3310
+ b.bp("/packages/{packageName}/versions/{versionName}/sbom");
3311
+ b.p("packageName", () => input.packageName, "{packageName}", false);
3312
+ b.p("versionName", () => input.versionName, "{versionName}", false);
3313
+ const query = (0, import_smithy_client.map)({
3314
+ [_cT]: [, input[_cT] ?? (0, import_uuid.v4)()]
3315
+ });
3316
+ let body;
3317
+ b.m("DELETE").h(headers).q(query).b(body);
3318
+ return b.build();
3319
+ }, "se_DisassociateSbomFromPackageVersionCommand");
3259
3320
  var se_EnableTopicRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
3260
3321
  const b = (0, import_core.requestBuilder)(input, context);
3261
3322
  const headers = {};
@@ -3347,8 +3408,11 @@ var se_GetJobDocumentCommand = /* @__PURE__ */ __name(async (input, context) =>
3347
3408
  const headers = {};
3348
3409
  b.bp("/jobs/{jobId}/job-document");
3349
3410
  b.p("jobId", () => input.jobId, "{jobId}", false);
3411
+ const query = (0, import_smithy_client.map)({
3412
+ [_bS]: [() => input.beforeSubstitution !== void 0, () => input[_bS].toString()]
3413
+ });
3350
3414
  let body;
3351
- b.m("GET").h(headers).b(body);
3415
+ b.m("GET").h(headers).q(query).b(body);
3352
3416
  return b.build();
3353
3417
  }, "se_GetJobDocumentCommand");
3354
3418
  var se_GetLoggingOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -4049,6 +4113,21 @@ var se_ListRoleAliasesCommand = /* @__PURE__ */ __name(async (input, context) =>
4049
4113
  b.m("GET").h(headers).q(query).b(body);
4050
4114
  return b.build();
4051
4115
  }, "se_ListRoleAliasesCommand");
4116
+ var se_ListSbomValidationResultsCommand = /* @__PURE__ */ __name(async (input, context) => {
4117
+ const b = (0, import_core.requestBuilder)(input, context);
4118
+ const headers = {};
4119
+ b.bp("/packages/{packageName}/versions/{versionName}/sbom-validation-results");
4120
+ b.p("packageName", () => input.packageName, "{packageName}", false);
4121
+ b.p("versionName", () => input.versionName, "{versionName}", false);
4122
+ const query = (0, import_smithy_client.map)({
4123
+ [_vR]: [, input[_vR]],
4124
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
4125
+ [_nT]: [, input[_nT]]
4126
+ });
4127
+ let body;
4128
+ b.m("GET").h(headers).q(query).b(body);
4129
+ return b.build();
4130
+ }, "se_ListSbomValidationResultsCommand");
4052
4131
  var se_ListScheduledAuditsCommand = /* @__PURE__ */ __name(async (input, context) => {
4053
4132
  const b = (0, import_core.requestBuilder)(input, context);
4054
4133
  const headers = {};
@@ -5097,8 +5176,10 @@ var se_UpdatePackageVersionCommand = /* @__PURE__ */ __name(async (input, contex
5097
5176
  body = JSON.stringify(
5098
5177
  (0, import_smithy_client.take)(input, {
5099
5178
  action: [],
5179
+ artifact: (_) => (0, import_smithy_client._json)(_),
5100
5180
  attributes: (_) => (0, import_smithy_client._json)(_),
5101
- description: []
5181
+ description: [],
5182
+ recipe: []
5102
5183
  })
5103
5184
  );
5104
5185
  b.m("PATCH").h(headers).q(query).b(body);
@@ -5322,6 +5403,23 @@ var de_AddThingToThingGroupCommand = /* @__PURE__ */ __name(async (output, conte
5322
5403
  await (0, import_smithy_client.collectBody)(output.body, context);
5323
5404
  return contents;
5324
5405
  }, "de_AddThingToThingGroupCommand");
5406
+ var de_AssociateSbomWithPackageVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
5407
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5408
+ return de_CommandError(output, context);
5409
+ }
5410
+ const contents = (0, import_smithy_client.map)({
5411
+ $metadata: deserializeMetadata(output)
5412
+ });
5413
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
5414
+ const doc = (0, import_smithy_client.take)(data, {
5415
+ packageName: import_smithy_client.expectString,
5416
+ sbom: import_smithy_client._json,
5417
+ sbomValidationStatus: import_smithy_client.expectString,
5418
+ versionName: import_smithy_client.expectString
5419
+ });
5420
+ Object.assign(contents, doc);
5421
+ return contents;
5422
+ }, "de_AssociateSbomWithPackageVersionCommand");
5325
5423
  var de_AssociateTargetsWithJobCommand = /* @__PURE__ */ __name(async (output, context) => {
5326
5424
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5327
5425
  return de_CommandError(output, context);
@@ -6974,6 +7072,16 @@ var de_DisableTopicRuleCommand = /* @__PURE__ */ __name(async (output, context)
6974
7072
  await (0, import_smithy_client.collectBody)(output.body, context);
6975
7073
  return contents;
6976
7074
  }, "de_DisableTopicRuleCommand");
7075
+ var de_DisassociateSbomFromPackageVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
7076
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7077
+ return de_CommandError(output, context);
7078
+ }
7079
+ const contents = (0, import_smithy_client.map)({
7080
+ $metadata: deserializeMetadata(output)
7081
+ });
7082
+ await (0, import_smithy_client.collectBody)(output.body, context);
7083
+ return contents;
7084
+ }, "de_DisassociateSbomFromPackageVersionCommand");
6977
7085
  var de_EnableTopicRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
6978
7086
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6979
7087
  return de_CommandError(output, context);
@@ -7142,6 +7250,7 @@ var de_GetPackageVersionCommand = /* @__PURE__ */ __name(async (output, context)
7142
7250
  });
7143
7251
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
7144
7252
  const doc = (0, import_smithy_client.take)(data, {
7253
+ artifact: import_smithy_client._json,
7145
7254
  attributes: import_smithy_client._json,
7146
7255
  creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
7147
7256
  description: import_smithy_client.expectString,
@@ -7149,6 +7258,9 @@ var de_GetPackageVersionCommand = /* @__PURE__ */ __name(async (output, context)
7149
7258
  lastModifiedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
7150
7259
  packageName: import_smithy_client.expectString,
7151
7260
  packageVersionArn: import_smithy_client.expectString,
7261
+ recipe: import_smithy_client.expectString,
7262
+ sbom: import_smithy_client._json,
7263
+ sbomValidationStatus: import_smithy_client.expectString,
7152
7264
  status: import_smithy_client.expectString,
7153
7265
  versionName: import_smithy_client.expectString
7154
7266
  });
@@ -7882,6 +7994,21 @@ var de_ListRoleAliasesCommand = /* @__PURE__ */ __name(async (output, context) =
7882
7994
  Object.assign(contents, doc);
7883
7995
  return contents;
7884
7996
  }, "de_ListRoleAliasesCommand");
7997
+ var de_ListSbomValidationResultsCommand = /* @__PURE__ */ __name(async (output, context) => {
7998
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7999
+ return de_CommandError(output, context);
8000
+ }
8001
+ const contents = (0, import_smithy_client.map)({
8002
+ $metadata: deserializeMetadata(output)
8003
+ });
8004
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
8005
+ const doc = (0, import_smithy_client.take)(data, {
8006
+ nextToken: import_smithy_client.expectString,
8007
+ validationResultSummaries: import_smithy_client._json
8008
+ });
8009
+ Object.assign(contents, doc);
8010
+ return contents;
8011
+ }, "de_ListSbomValidationResultsCommand");
7885
8012
  var de_ListScheduledAuditsCommand = /* @__PURE__ */ __name(async (output, context) => {
7886
8013
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7887
8014
  return de_CommandError(output, context);
@@ -8899,6 +9026,18 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
8899
9026
  case "UnauthorizedException":
8900
9027
  case "com.amazonaws.iot#UnauthorizedException":
8901
9028
  throw await de_UnauthorizedExceptionRes(parsedOutput, context);
9029
+ case "ConflictException":
9030
+ case "com.amazonaws.iot#ConflictException":
9031
+ throw await de_ConflictExceptionRes(parsedOutput, context);
9032
+ case "InternalServerException":
9033
+ case "com.amazonaws.iot#InternalServerException":
9034
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
9035
+ case "ServiceQuotaExceededException":
9036
+ case "com.amazonaws.iot#ServiceQuotaExceededException":
9037
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
9038
+ case "ValidationException":
9039
+ case "com.amazonaws.iot#ValidationException":
9040
+ throw await de_ValidationExceptionRes(parsedOutput, context);
8902
9041
  case "LimitExceededException":
8903
9042
  case "com.amazonaws.iot#LimitExceededException":
8904
9043
  throw await de_LimitExceededExceptionRes(parsedOutput, context);
@@ -8929,18 +9068,6 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
8929
9068
  case "InvalidAggregationException":
8930
9069
  case "com.amazonaws.iot#InvalidAggregationException":
8931
9070
  throw await de_InvalidAggregationExceptionRes(parsedOutput, context);
8932
- case "ConflictException":
8933
- case "com.amazonaws.iot#ConflictException":
8934
- throw await de_ConflictExceptionRes(parsedOutput, context);
8935
- case "InternalServerException":
8936
- case "com.amazonaws.iot#InternalServerException":
8937
- throw await de_InternalServerExceptionRes(parsedOutput, context);
8938
- case "ServiceQuotaExceededException":
8939
- case "com.amazonaws.iot#ServiceQuotaExceededException":
8940
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
8941
- case "ValidationException":
8942
- case "com.amazonaws.iot#ValidationException":
8943
- throw await de_ValidationExceptionRes(parsedOutput, context);
8944
9071
  case "MalformedPolicyException":
8945
9072
  case "com.amazonaws.iot#MalformedPolicyException":
8946
9073
  throw await de_MalformedPolicyExceptionRes(parsedOutput, context);
@@ -10367,6 +10494,7 @@ var _aT = "actionType";
10367
10494
  var _aTI = "auditTaskId";
10368
10495
  var _aV = "attributeValue";
10369
10496
  var _bCT = "behaviorCriteriaType";
10497
+ var _bS = "beforeSubstitution";
10370
10498
  var _cI = "clientId";
10371
10499
  var _cT = "clientToken";
10372
10500
  var _dN = "dimensionName";
@@ -10425,6 +10553,7 @@ var _tV = "templateVersion";
10425
10553
  var _to = "topic";
10426
10554
  var _uPAV = "usePrefixAttributeValue";
10427
10555
  var _vI = "violationId";
10556
+ var _vR = "validationResult";
10428
10557
  var _vS = "verificationState";
10429
10558
  var _xaip = "x-amzn-iot-principal";
10430
10559
  var _xaip_ = "x-amzn-iot-policy";
@@ -10470,6 +10599,20 @@ var _AddThingToThingGroupCommand = class _AddThingToThingGroupCommand extends im
10470
10599
  __name(_AddThingToThingGroupCommand, "AddThingToThingGroupCommand");
10471
10600
  var AddThingToThingGroupCommand = _AddThingToThingGroupCommand;
10472
10601
 
10602
+ // src/commands/AssociateSbomWithPackageVersionCommand.ts
10603
+
10604
+
10605
+
10606
+ var _AssociateSbomWithPackageVersionCommand = class _AssociateSbomWithPackageVersionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
10607
+ return [
10608
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10609
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10610
+ ];
10611
+ }).s("AWSIotService", "AssociateSbomWithPackageVersion", {}).n("IoTClient", "AssociateSbomWithPackageVersionCommand").f(void 0, void 0).ser(se_AssociateSbomWithPackageVersionCommand).de(de_AssociateSbomWithPackageVersionCommand).build() {
10612
+ };
10613
+ __name(_AssociateSbomWithPackageVersionCommand, "AssociateSbomWithPackageVersionCommand");
10614
+ var AssociateSbomWithPackageVersionCommand = _AssociateSbomWithPackageVersionCommand;
10615
+
10473
10616
  // src/commands/AssociateTargetsWithJobCommand.ts
10474
10617
 
10475
10618
 
@@ -12122,6 +12265,20 @@ var _DisableTopicRuleCommand = class _DisableTopicRuleCommand extends import_smi
12122
12265
  __name(_DisableTopicRuleCommand, "DisableTopicRuleCommand");
12123
12266
  var DisableTopicRuleCommand = _DisableTopicRuleCommand;
12124
12267
 
12268
+ // src/commands/DisassociateSbomFromPackageVersionCommand.ts
12269
+
12270
+
12271
+
12272
+ var _DisassociateSbomFromPackageVersionCommand = class _DisassociateSbomFromPackageVersionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
12273
+ return [
12274
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
12275
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
12276
+ ];
12277
+ }).s("AWSIotService", "DisassociateSbomFromPackageVersion", {}).n("IoTClient", "DisassociateSbomFromPackageVersionCommand").f(void 0, void 0).ser(se_DisassociateSbomFromPackageVersionCommand).de(de_DisassociateSbomFromPackageVersionCommand).build() {
12278
+ };
12279
+ __name(_DisassociateSbomFromPackageVersionCommand, "DisassociateSbomFromPackageVersionCommand");
12280
+ var DisassociateSbomFromPackageVersionCommand = _DisassociateSbomFromPackageVersionCommand;
12281
+
12125
12282
  // src/commands/EnableTopicRuleCommand.ts
12126
12283
 
12127
12284
 
@@ -12962,6 +13119,20 @@ var _ListRoleAliasesCommand = class _ListRoleAliasesCommand extends import_smith
12962
13119
  __name(_ListRoleAliasesCommand, "ListRoleAliasesCommand");
12963
13120
  var ListRoleAliasesCommand = _ListRoleAliasesCommand;
12964
13121
 
13122
+ // src/commands/ListSbomValidationResultsCommand.ts
13123
+
13124
+
13125
+
13126
+ var _ListSbomValidationResultsCommand = class _ListSbomValidationResultsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
13127
+ return [
13128
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
13129
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
13130
+ ];
13131
+ }).s("AWSIotService", "ListSbomValidationResults", {}).n("IoTClient", "ListSbomValidationResultsCommand").f(void 0, void 0).ser(se_ListSbomValidationResultsCommand).de(de_ListSbomValidationResultsCommand).build() {
13132
+ };
13133
+ __name(_ListSbomValidationResultsCommand, "ListSbomValidationResultsCommand");
13134
+ var ListSbomValidationResultsCommand = _ListSbomValidationResultsCommand;
13135
+
12965
13136
  // src/commands/ListScheduledAuditsCommand.ts
12966
13137
 
12967
13138
 
@@ -14003,6 +14174,7 @@ var commands = {
14003
14174
  AcceptCertificateTransferCommand,
14004
14175
  AddThingToBillingGroupCommand,
14005
14176
  AddThingToThingGroupCommand,
14177
+ AssociateSbomWithPackageVersionCommand,
14006
14178
  AssociateTargetsWithJobCommand,
14007
14179
  AttachPolicyCommand,
14008
14180
  AttachPrincipalPolicyCommand,
@@ -14121,6 +14293,7 @@ var commands = {
14121
14293
  DetachSecurityProfileCommand,
14122
14294
  DetachThingPrincipalCommand,
14123
14295
  DisableTopicRuleCommand,
14296
+ DisassociateSbomFromPackageVersionCommand,
14124
14297
  EnableTopicRuleCommand,
14125
14298
  GetBehaviorModelTrainingSummariesCommand,
14126
14299
  GetBucketsAggregationCommand,
@@ -14181,6 +14354,7 @@ var commands = {
14181
14354
  ListProvisioningTemplateVersionsCommand,
14182
14355
  ListRelatedResourcesForAuditFindingCommand,
14183
14356
  ListRoleAliasesCommand,
14357
+ ListSbomValidationResultsCommand,
14184
14358
  ListScheduledAuditsCommand,
14185
14359
  ListSecurityProfilesCommand,
14186
14360
  ListSecurityProfilesForTargetCommand,
@@ -14418,6 +14592,10 @@ var paginateListRelatedResourcesForAuditFinding = (0, import_core.createPaginato
14418
14592
 
14419
14593
  var paginateListRoleAliases = (0, import_core.createPaginator)(IoTClient, ListRoleAliasesCommand, "marker", "nextMarker", "pageSize");
14420
14594
 
14595
+ // src/pagination/ListSbomValidationResultsPaginator.ts
14596
+
14597
+ var paginateListSbomValidationResults = (0, import_core.createPaginator)(IoTClient, ListSbomValidationResultsCommand, "nextToken", "nextToken", "maxResults");
14598
+
14421
14599
  // src/pagination/ListScheduledAuditsPaginator.ts
14422
14600
 
14423
14601
  var paginateListScheduledAudits = (0, import_core.createPaginator)(IoTClient, ListScheduledAuditsCommand, "nextToken", "nextToken", "maxResults");
@@ -14508,6 +14686,7 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
14508
14686
  AcceptCertificateTransferCommand,
14509
14687
  AddThingToBillingGroupCommand,
14510
14688
  AddThingToThingGroupCommand,
14689
+ AssociateSbomWithPackageVersionCommand,
14511
14690
  AssociateTargetsWithJobCommand,
14512
14691
  AttachPolicyCommand,
14513
14692
  AttachPrincipalPolicyCommand,
@@ -14626,6 +14805,7 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
14626
14805
  DetachSecurityProfileCommand,
14627
14806
  DetachThingPrincipalCommand,
14628
14807
  DisableTopicRuleCommand,
14808
+ DisassociateSbomFromPackageVersionCommand,
14629
14809
  EnableTopicRuleCommand,
14630
14810
  GetBehaviorModelTrainingSummariesCommand,
14631
14811
  GetBucketsAggregationCommand,
@@ -14686,6 +14866,7 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
14686
14866
  ListProvisioningTemplatesCommand,
14687
14867
  ListRelatedResourcesForAuditFindingCommand,
14688
14868
  ListRoleAliasesCommand,
14869
+ ListSbomValidationResultsCommand,
14689
14870
  ListScheduledAuditsCommand,
14690
14871
  ListSecurityProfilesCommand,
14691
14872
  ListSecurityProfilesForTargetCommand,
@@ -14799,6 +14980,7 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
14799
14980
  paginateListProvisioningTemplates,
14800
14981
  paginateListRelatedResourcesForAuditFinding,
14801
14982
  paginateListRoleAliases,
14983
+ paginateListSbomValidationResults,
14802
14984
  paginateListScheduledAudits,
14803
14985
  paginateListSecurityProfilesForTarget,
14804
14986
  paginateListSecurityProfiles,
@@ -14839,6 +15021,11 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
14839
15021
  VerificationState,
14840
15022
  AggregationTypeName,
14841
15023
  AlertTargetType,
15024
+ SbomValidationStatus,
15025
+ ConflictException,
15026
+ InternalServerException,
15027
+ ServiceQuotaExceededException,
15028
+ ValidationException,
14842
15029
  LimitExceededException,
14843
15030
  VersionConflictException,
14844
15031
  AuditCheckRunStatus,
@@ -14869,7 +15056,6 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
14869
15056
  RetryableFailureType,
14870
15057
  JobEndBehavior,
14871
15058
  TargetSelection,
14872
- ConflictException,
14873
15059
  LogLevel,
14874
15060
  PolicyTemplateName,
14875
15061
  CACertificateUpdateAction,
@@ -14878,9 +15064,6 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
14878
15064
  AwsJobAbortCriteriaFailureType,
14879
15065
  Protocol,
14880
15066
  OTAUpdateStatus,
14881
- InternalServerException,
14882
- ServiceQuotaExceededException,
14883
- ValidationException,
14884
15067
  PackageVersionStatus,
14885
15068
  MalformedPolicyException,
14886
15069
  VersionsLimitExceededException,
@@ -14925,6 +15108,8 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
14925
15108
  DetectMitigationActionExecutionStatus,
14926
15109
  GetPackageResponseFilterSensitiveLog,
14927
15110
  GetPackageVersionResponseFilterSensitiveLog,
15111
+ SbomValidationResult,
15112
+ SbomValidationErrorCode,
14928
15113
  ReportType,
14929
15114
  ViolationEventType,
14930
15115
  RegistrationCodeValidationException,