@aws-sdk/client-ecs 3.679.0 → 3.683.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 (90) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +254 -11
  3. package/dist-es/ECS.js +6 -0
  4. package/dist-es/commands/DescribeServiceDeploymentsCommand.js +22 -0
  5. package/dist-es/commands/DescribeServiceRevisionsCommand.js +22 -0
  6. package/dist-es/commands/ListServiceDeploymentsCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +16 -24
  9. package/dist-es/models/models_1.js +25 -1
  10. package/dist-es/protocols/Aws_json1_1.js +178 -1
  11. package/dist-types/ECS.d.ts +21 -0
  12. package/dist-types/ECSClient.d.ts +5 -2
  13. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateClusterCommand.d.ts +2 -2
  15. package/dist-types/commands/CreateServiceCommand.d.ts +4 -4
  16. package/dist-types/commands/CreateTaskSetCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteServiceCommand.d.ts +2 -2
  21. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteTaskSetCommand.d.ts +1 -1
  23. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +1 -1
  24. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeClustersCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +177 -0
  29. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +243 -0
  30. package/dist-types/commands/DescribeServicesCommand.d.ts +2 -2
  31. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeTasksCommand.d.ts +1 -1
  34. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +1 -1
  35. package/dist-types/commands/ExecuteCommandCommand.d.ts +1 -1
  36. package/dist-types/commands/GetTaskProtectionCommand.d.ts +1 -1
  37. package/dist-types/commands/ListAccountSettingsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListClustersCommand.d.ts +1 -1
  39. package/dist-types/commands/ListContainerInstancesCommand.d.ts +1 -1
  40. package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +130 -0
  41. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +1 -1
  42. package/dist-types/commands/ListServicesCommand.d.ts +1 -1
  43. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  44. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +1 -1
  45. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +1 -1
  46. package/dist-types/commands/ListTasksCommand.d.ts +1 -1
  47. package/dist-types/commands/PutAccountSettingCommand.d.ts +1 -1
  48. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
  49. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +1 -1
  50. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -1
  51. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +1 -1
  52. package/dist-types/commands/RunTaskCommand.d.ts +1 -1
  53. package/dist-types/commands/StartTaskCommand.d.ts +1 -1
  54. package/dist-types/commands/StopTaskCommand.d.ts +1 -1
  55. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -1
  56. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +1 -1
  57. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +1 -1
  58. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  59. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  60. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +1 -1
  61. package/dist-types/commands/UpdateClusterCommand.d.ts +2 -2
  62. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +2 -2
  63. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +2 -2
  64. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -2
  65. package/dist-types/commands/UpdateServiceCommand.d.ts +4 -4
  66. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +2 -2
  67. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +2 -2
  68. package/dist-types/commands/UpdateTaskSetCommand.d.ts +2 -3
  69. package/dist-types/commands/index.d.ts +3 -0
  70. package/dist-types/models/models_0.d.ts +3009 -2904
  71. package/dist-types/models/models_1.d.ts +517 -1
  72. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  73. package/dist-types/ts3.4/ECS.d.ts +51 -0
  74. package/dist-types/ts3.4/ECSClient.d.ts +18 -0
  75. package/dist-types/ts3.4/commands/DescribeServiceDeploymentsCommand.d.ts +51 -0
  76. package/dist-types/ts3.4/commands/DescribeServiceRevisionsCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/ListServiceDeploymentsCommand.d.ts +51 -0
  78. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +4 -2
  86. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +125 -95
  88. package/dist-types/ts3.4/models/models_1.d.ts +119 -1
  89. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  90. package/package.json +6 -6
package/README.md CHANGED
@@ -343,6 +343,22 @@ DescribeContainerInstances
343
343
 
344
344
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecs/command/DescribeContainerInstancesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/DescribeContainerInstancesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/DescribeContainerInstancesCommandOutput/)
345
345
 
346
+ </details>
347
+ <details>
348
+ <summary>
349
+ DescribeServiceDeployments
350
+ </summary>
351
+
352
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecs/command/DescribeServiceDeploymentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/DescribeServiceDeploymentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/DescribeServiceDeploymentsCommandOutput/)
353
+
354
+ </details>
355
+ <details>
356
+ <summary>
357
+ DescribeServiceRevisions
358
+ </summary>
359
+
360
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecs/command/DescribeServiceRevisionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/DescribeServiceRevisionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/DescribeServiceRevisionsCommandOutput/)
361
+
346
362
  </details>
347
363
  <details>
348
364
  <summary>
@@ -431,6 +447,14 @@ ListContainerInstances
431
447
 
432
448
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecs/command/ListContainerInstancesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/ListContainerInstancesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/ListContainerInstancesCommandOutput/)
433
449
 
450
+ </details>
451
+ <details>
452
+ <summary>
453
+ ListServiceDeployments
454
+ </summary>
455
+
456
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecs/command/ListServiceDeploymentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/ListServiceDeploymentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/ListServiceDeploymentsCommandOutput/)
457
+
434
458
  </details>
435
459
  <details>
436
460
  <summary>
package/dist-cjs/index.js CHANGED
@@ -62,6 +62,8 @@ __export(src_exports, {
62
62
  DescribeCapacityProvidersCommand: () => DescribeCapacityProvidersCommand,
63
63
  DescribeClustersCommand: () => DescribeClustersCommand,
64
64
  DescribeContainerInstancesCommand: () => DescribeContainerInstancesCommand,
65
+ DescribeServiceDeploymentsCommand: () => DescribeServiceDeploymentsCommand,
66
+ DescribeServiceRevisionsCommand: () => DescribeServiceRevisionsCommand,
65
67
  DescribeServicesCommand: () => DescribeServicesCommand,
66
68
  DescribeTaskDefinitionCommand: () => DescribeTaskDefinitionCommand,
67
69
  DescribeTaskSetsCommand: () => DescribeTaskSetsCommand,
@@ -92,6 +94,7 @@ __export(src_exports, {
92
94
  ListAttributesCommand: () => ListAttributesCommand,
93
95
  ListClustersCommand: () => ListClustersCommand,
94
96
  ListContainerInstancesCommand: () => ListContainerInstancesCommand,
97
+ ListServiceDeploymentsCommand: () => ListServiceDeploymentsCommand,
95
98
  ListServicesByNamespaceCommand: () => ListServicesByNamespaceCommand,
96
99
  ListServicesCommand: () => ListServicesCommand,
97
100
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
@@ -130,6 +133,8 @@ __export(src_exports, {
130
133
  SchedulingStrategy: () => SchedulingStrategy,
131
134
  Scope: () => Scope,
132
135
  ServerException: () => ServerException,
136
+ ServiceDeploymentRollbackMonitorsStatus: () => ServiceDeploymentRollbackMonitorsStatus,
137
+ ServiceDeploymentStatus: () => ServiceDeploymentStatus,
133
138
  ServiceField: () => ServiceField,
134
139
  ServiceNotActiveException: () => ServiceNotActiveException,
135
140
  ServiceNotFoundException: () => ServiceNotFoundException,
@@ -913,6 +918,22 @@ var ContainerInstanceField = {
913
918
  CONTAINER_INSTANCE_HEALTH: "CONTAINER_INSTANCE_HEALTH",
914
919
  TAGS: "TAGS"
915
920
  };
921
+ var ServiceDeploymentRollbackMonitorsStatus = {
922
+ DISABLED: "DISABLED",
923
+ MONITORING: "MONITORING",
924
+ MONITORING_COMPLETE: "MONITORING_COMPLETE",
925
+ TRIGGERED: "TRIGGERED"
926
+ };
927
+ var ServiceDeploymentStatus = {
928
+ IN_PROGRESS: "IN_PROGRESS",
929
+ PENDING: "PENDING",
930
+ ROLLBACK_FAILED: "ROLLBACK_FAILED",
931
+ ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
932
+ ROLLBACK_SUCCESSFUL: "ROLLBACK_SUCCESSFUL",
933
+ STOPPED: "STOPPED",
934
+ STOP_REQUESTED: "STOP_REQUESTED",
935
+ SUCCESSFUL: "SUCCESSFUL"
936
+ };
916
937
  var ServiceField = {
917
938
  TAGS: "TAGS"
918
939
  };
@@ -1072,6 +1093,16 @@ var _ConflictException = class _ConflictException extends ECSServiceException {
1072
1093
  };
1073
1094
  __name(_ConflictException, "ConflictException");
1074
1095
  var ConflictException = _ConflictException;
1096
+ var SessionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1097
+ ...obj,
1098
+ ...obj.tokenValue && { tokenValue: import_smithy_client.SENSITIVE_STRING }
1099
+ }), "SessionFilterSensitiveLog");
1100
+ var ExecuteCommandResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1101
+ ...obj,
1102
+ ...obj.session && { session: SessionFilterSensitiveLog(obj.session) }
1103
+ }), "ExecuteCommandResponseFilterSensitiveLog");
1104
+
1105
+ // src/models/models_1.ts
1075
1106
  var _MissingVersionException = class _MissingVersionException extends ECSServiceException {
1076
1107
  /**
1077
1108
  * @internal
@@ -1106,14 +1137,6 @@ var _NoUpdateAvailableException = class _NoUpdateAvailableException extends ECSS
1106
1137
  };
1107
1138
  __name(_NoUpdateAvailableException, "NoUpdateAvailableException");
1108
1139
  var NoUpdateAvailableException = _NoUpdateAvailableException;
1109
- var SessionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1110
- ...obj,
1111
- ...obj.tokenValue && { tokenValue: import_smithy_client.SENSITIVE_STRING }
1112
- }), "SessionFilterSensitiveLog");
1113
- var ExecuteCommandResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1114
- ...obj,
1115
- ...obj.session && { session: SessionFilterSensitiveLog(obj.session) }
1116
- }), "ExecuteCommandResponseFilterSensitiveLog");
1117
1140
 
1118
1141
  // src/protocols/Aws_json1_1.ts
1119
1142
  var se_CreateCapacityProviderCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -1212,6 +1235,18 @@ var se_DescribeContainerInstancesCommand = /* @__PURE__ */ __name(async (input,
1212
1235
  body = JSON.stringify((0, import_smithy_client._json)(input));
1213
1236
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1214
1237
  }, "se_DescribeContainerInstancesCommand");
1238
+ var se_DescribeServiceDeploymentsCommand = /* @__PURE__ */ __name(async (input, context) => {
1239
+ const headers = sharedHeaders("DescribeServiceDeployments");
1240
+ let body;
1241
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1242
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1243
+ }, "se_DescribeServiceDeploymentsCommand");
1244
+ var se_DescribeServiceRevisionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1245
+ const headers = sharedHeaders("DescribeServiceRevisions");
1246
+ let body;
1247
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1248
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1249
+ }, "se_DescribeServiceRevisionsCommand");
1215
1250
  var se_DescribeServicesCommand = /* @__PURE__ */ __name(async (input, context) => {
1216
1251
  const headers = sharedHeaders("DescribeServices");
1217
1252
  let body;
@@ -1278,6 +1313,12 @@ var se_ListContainerInstancesCommand = /* @__PURE__ */ __name(async (input, cont
1278
1313
  body = JSON.stringify((0, import_smithy_client._json)(input));
1279
1314
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1280
1315
  }, "se_ListContainerInstancesCommand");
1316
+ var se_ListServiceDeploymentsCommand = /* @__PURE__ */ __name(async (input, context) => {
1317
+ const headers = sharedHeaders("ListServiceDeployments");
1318
+ let body;
1319
+ body = JSON.stringify(se_ListServiceDeploymentsRequest(input, context));
1320
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1321
+ }, "se_ListServiceDeploymentsCommand");
1281
1322
  var se_ListServicesCommand = /* @__PURE__ */ __name(async (input, context) => {
1282
1323
  const headers = sharedHeaders("ListServices");
1283
1324
  let body;
@@ -1660,6 +1701,32 @@ var de_DescribeContainerInstancesCommand = /* @__PURE__ */ __name(async (output,
1660
1701
  };
1661
1702
  return response;
1662
1703
  }, "de_DescribeContainerInstancesCommand");
1704
+ var de_DescribeServiceDeploymentsCommand = /* @__PURE__ */ __name(async (output, context) => {
1705
+ if (output.statusCode >= 300) {
1706
+ return de_CommandError(output, context);
1707
+ }
1708
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1709
+ let contents = {};
1710
+ contents = de_DescribeServiceDeploymentsResponse(data, context);
1711
+ const response = {
1712
+ $metadata: deserializeMetadata(output),
1713
+ ...contents
1714
+ };
1715
+ return response;
1716
+ }, "de_DescribeServiceDeploymentsCommand");
1717
+ var de_DescribeServiceRevisionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1718
+ if (output.statusCode >= 300) {
1719
+ return de_CommandError(output, context);
1720
+ }
1721
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1722
+ let contents = {};
1723
+ contents = de_DescribeServiceRevisionsResponse(data, context);
1724
+ const response = {
1725
+ $metadata: deserializeMetadata(output),
1726
+ ...contents
1727
+ };
1728
+ return response;
1729
+ }, "de_DescribeServiceRevisionsCommand");
1663
1730
  var de_DescribeServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
1664
1731
  if (output.statusCode >= 300) {
1665
1732
  return de_CommandError(output, context);
@@ -1803,6 +1870,19 @@ var de_ListContainerInstancesCommand = /* @__PURE__ */ __name(async (output, con
1803
1870
  };
1804
1871
  return response;
1805
1872
  }, "de_ListContainerInstancesCommand");
1873
+ var de_ListServiceDeploymentsCommand = /* @__PURE__ */ __name(async (output, context) => {
1874
+ if (output.statusCode >= 300) {
1875
+ return de_CommandError(output, context);
1876
+ }
1877
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1878
+ let contents = {};
1879
+ contents = de_ListServiceDeploymentsResponse(data, context);
1880
+ const response = {
1881
+ $metadata: deserializeMetadata(output),
1882
+ ...contents
1883
+ };
1884
+ return response;
1885
+ }, "de_ListServiceDeploymentsCommand");
1806
1886
  var de_ListServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
1807
1887
  if (output.statusCode >= 300) {
1808
1888
  return de_CommandError(output, context);
@@ -2508,6 +2588,12 @@ var de_UpdateInProgressExceptionRes = /* @__PURE__ */ __name(async (parsedOutput
2508
2588
  });
2509
2589
  return (0, import_smithy_client.decorateServiceException)(exception, body);
2510
2590
  }, "de_UpdateInProgressExceptionRes");
2591
+ var se_CreatedAt = /* @__PURE__ */ __name((input, context) => {
2592
+ return (0, import_smithy_client.take)(input, {
2593
+ after: (_) => _.getTime() / 1e3,
2594
+ before: (_) => _.getTime() / 1e3
2595
+ });
2596
+ }, "se_CreatedAt");
2511
2597
  var se_CreateTaskSetRequest = /* @__PURE__ */ __name((input, context) => {
2512
2598
  return (0, import_smithy_client.take)(input, {
2513
2599
  capacityProviderStrategy: import_smithy_client._json,
@@ -2525,6 +2611,16 @@ var se_CreateTaskSetRequest = /* @__PURE__ */ __name((input, context) => {
2525
2611
  taskDefinition: []
2526
2612
  });
2527
2613
  }, "se_CreateTaskSetRequest");
2614
+ var se_ListServiceDeploymentsRequest = /* @__PURE__ */ __name((input, context) => {
2615
+ return (0, import_smithy_client.take)(input, {
2616
+ cluster: [],
2617
+ createdAt: (_) => se_CreatedAt(_, context),
2618
+ maxResults: [],
2619
+ nextToken: [],
2620
+ service: [],
2621
+ status: import_smithy_client._json
2622
+ });
2623
+ }, "se_ListServiceDeploymentsRequest");
2528
2624
  var se_RegisterContainerInstanceRequest = /* @__PURE__ */ __name((input, context) => {
2529
2625
  return (0, import_smithy_client.take)(input, {
2530
2626
  attributes: import_smithy_client._json,
@@ -2737,6 +2833,18 @@ var de_DescribeContainerInstancesResponse = /* @__PURE__ */ __name((output, cont
2737
2833
  failures: import_smithy_client._json
2738
2834
  });
2739
2835
  }, "de_DescribeContainerInstancesResponse");
2836
+ var de_DescribeServiceDeploymentsResponse = /* @__PURE__ */ __name((output, context) => {
2837
+ return (0, import_smithy_client.take)(output, {
2838
+ failures: import_smithy_client._json,
2839
+ serviceDeployments: (_) => de_ServiceDeployments(_, context)
2840
+ });
2841
+ }, "de_DescribeServiceDeploymentsResponse");
2842
+ var de_DescribeServiceRevisionsResponse = /* @__PURE__ */ __name((output, context) => {
2843
+ return (0, import_smithy_client.take)(output, {
2844
+ failures: import_smithy_client._json,
2845
+ serviceRevisions: (_) => de_ServiceRevisions(_, context)
2846
+ });
2847
+ }, "de_DescribeServiceRevisionsResponse");
2740
2848
  var de_DescribeServicesResponse = /* @__PURE__ */ __name((output, context) => {
2741
2849
  return (0, import_smithy_client.take)(output, {
2742
2850
  failures: import_smithy_client._json,
@@ -2781,6 +2889,12 @@ var de_InstanceHealthCheckResultList = /* @__PURE__ */ __name((output, context)
2781
2889
  });
2782
2890
  return retVal;
2783
2891
  }, "de_InstanceHealthCheckResultList");
2892
+ var de_ListServiceDeploymentsResponse = /* @__PURE__ */ __name((output, context) => {
2893
+ return (0, import_smithy_client.take)(output, {
2894
+ nextToken: import_smithy_client.expectString,
2895
+ serviceDeployments: (_) => de_ServiceDeploymentsBrief(_, context)
2896
+ });
2897
+ }, "de_ListServiceDeploymentsResponse");
2784
2898
  var de_ManagedAgent = /* @__PURE__ */ __name((output, context) => {
2785
2899
  return (0, import_smithy_client.take)(output, {
2786
2900
  lastStartedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -2835,6 +2949,13 @@ var de_Resources = /* @__PURE__ */ __name((output, context) => {
2835
2949
  });
2836
2950
  return retVal;
2837
2951
  }, "de_Resources");
2952
+ var de_Rollback = /* @__PURE__ */ __name((output, context) => {
2953
+ return (0, import_smithy_client.take)(output, {
2954
+ reason: import_smithy_client.expectString,
2955
+ serviceRevisionArn: import_smithy_client.expectString,
2956
+ startedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
2957
+ });
2958
+ }, "de_Rollback");
2838
2959
  var de_RunTaskResponse = /* @__PURE__ */ __name((output, context) => {
2839
2960
  return (0, import_smithy_client.take)(output, {
2840
2961
  failures: import_smithy_client._json,
@@ -2882,6 +3003,51 @@ var de_Service = /* @__PURE__ */ __name((output, context) => {
2882
3003
  taskSets: (_) => de_TaskSets(_, context)
2883
3004
  });
2884
3005
  }, "de_Service");
3006
+ var de_ServiceDeployment = /* @__PURE__ */ __name((output, context) => {
3007
+ return (0, import_smithy_client.take)(output, {
3008
+ alarms: import_smithy_client._json,
3009
+ clusterArn: import_smithy_client.expectString,
3010
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3011
+ deploymentCircuitBreaker: import_smithy_client._json,
3012
+ deploymentConfiguration: import_smithy_client._json,
3013
+ finishedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3014
+ rollback: (_) => de_Rollback(_, context),
3015
+ serviceArn: import_smithy_client.expectString,
3016
+ serviceDeploymentArn: import_smithy_client.expectString,
3017
+ sourceServiceRevisions: import_smithy_client._json,
3018
+ startedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3019
+ status: import_smithy_client.expectString,
3020
+ statusReason: import_smithy_client.expectString,
3021
+ stoppedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3022
+ targetServiceRevision: import_smithy_client._json,
3023
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
3024
+ });
3025
+ }, "de_ServiceDeployment");
3026
+ var de_ServiceDeploymentBrief = /* @__PURE__ */ __name((output, context) => {
3027
+ return (0, import_smithy_client.take)(output, {
3028
+ clusterArn: import_smithy_client.expectString,
3029
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3030
+ finishedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3031
+ serviceArn: import_smithy_client.expectString,
3032
+ serviceDeploymentArn: import_smithy_client.expectString,
3033
+ startedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3034
+ status: import_smithy_client.expectString,
3035
+ statusReason: import_smithy_client.expectString,
3036
+ targetServiceRevisionArn: import_smithy_client.expectString
3037
+ });
3038
+ }, "de_ServiceDeploymentBrief");
3039
+ var de_ServiceDeployments = /* @__PURE__ */ __name((output, context) => {
3040
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3041
+ return de_ServiceDeployment(entry, context);
3042
+ });
3043
+ return retVal;
3044
+ }, "de_ServiceDeployments");
3045
+ var de_ServiceDeploymentsBrief = /* @__PURE__ */ __name((output, context) => {
3046
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3047
+ return de_ServiceDeploymentBrief(entry, context);
3048
+ });
3049
+ return retVal;
3050
+ }, "de_ServiceDeploymentsBrief");
2885
3051
  var de_ServiceEvent = /* @__PURE__ */ __name((output, context) => {
2886
3052
  return (0, import_smithy_client.take)(output, {
2887
3053
  createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -2895,6 +3061,33 @@ var de_ServiceEvents = /* @__PURE__ */ __name((output, context) => {
2895
3061
  });
2896
3062
  return retVal;
2897
3063
  }, "de_ServiceEvents");
3064
+ var de_ServiceRevision = /* @__PURE__ */ __name((output, context) => {
3065
+ return (0, import_smithy_client.take)(output, {
3066
+ capacityProviderStrategy: import_smithy_client._json,
3067
+ clusterArn: import_smithy_client.expectString,
3068
+ containerImages: import_smithy_client._json,
3069
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3070
+ fargateEphemeralStorage: import_smithy_client._json,
3071
+ guardDutyEnabled: import_smithy_client.expectBoolean,
3072
+ launchType: import_smithy_client.expectString,
3073
+ loadBalancers: import_smithy_client._json,
3074
+ networkConfiguration: import_smithy_client._json,
3075
+ platformFamily: import_smithy_client.expectString,
3076
+ platformVersion: import_smithy_client.expectString,
3077
+ serviceArn: import_smithy_client.expectString,
3078
+ serviceConnectConfiguration: import_smithy_client._json,
3079
+ serviceRegistries: import_smithy_client._json,
3080
+ serviceRevisionArn: import_smithy_client.expectString,
3081
+ taskDefinition: import_smithy_client.expectString,
3082
+ volumeConfigurations: import_smithy_client._json
3083
+ });
3084
+ }, "de_ServiceRevision");
3085
+ var de_ServiceRevisions = /* @__PURE__ */ __name((output, context) => {
3086
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3087
+ return de_ServiceRevision(entry, context);
3088
+ });
3089
+ return retVal;
3090
+ }, "de_ServiceRevisions");
2898
3091
  var de_Services = /* @__PURE__ */ __name((output, context) => {
2899
3092
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
2900
3093
  return de_Service(entry, context);
@@ -3314,6 +3507,34 @@ var _DescribeContainerInstancesCommand = class _DescribeContainerInstancesComman
3314
3507
  __name(_DescribeContainerInstancesCommand, "DescribeContainerInstancesCommand");
3315
3508
  var DescribeContainerInstancesCommand = _DescribeContainerInstancesCommand;
3316
3509
 
3510
+ // src/commands/DescribeServiceDeploymentsCommand.ts
3511
+
3512
+
3513
+
3514
+ var _DescribeServiceDeploymentsCommand = class _DescribeServiceDeploymentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3515
+ return [
3516
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3517
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3518
+ ];
3519
+ }).s("AmazonEC2ContainerServiceV20141113", "DescribeServiceDeployments", {}).n("ECSClient", "DescribeServiceDeploymentsCommand").f(void 0, void 0).ser(se_DescribeServiceDeploymentsCommand).de(de_DescribeServiceDeploymentsCommand).build() {
3520
+ };
3521
+ __name(_DescribeServiceDeploymentsCommand, "DescribeServiceDeploymentsCommand");
3522
+ var DescribeServiceDeploymentsCommand = _DescribeServiceDeploymentsCommand;
3523
+
3524
+ // src/commands/DescribeServiceRevisionsCommand.ts
3525
+
3526
+
3527
+
3528
+ var _DescribeServiceRevisionsCommand = class _DescribeServiceRevisionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3529
+ return [
3530
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3531
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3532
+ ];
3533
+ }).s("AmazonEC2ContainerServiceV20141113", "DescribeServiceRevisions", {}).n("ECSClient", "DescribeServiceRevisionsCommand").f(void 0, void 0).ser(se_DescribeServiceRevisionsCommand).de(de_DescribeServiceRevisionsCommand).build() {
3534
+ };
3535
+ __name(_DescribeServiceRevisionsCommand, "DescribeServiceRevisionsCommand");
3536
+ var DescribeServiceRevisionsCommand = _DescribeServiceRevisionsCommand;
3537
+
3317
3538
  // src/commands/DescribeServicesCommand.ts
3318
3539
 
3319
3540
 
@@ -3468,6 +3689,20 @@ var _ListContainerInstancesCommand = class _ListContainerInstancesCommand extend
3468
3689
  __name(_ListContainerInstancesCommand, "ListContainerInstancesCommand");
3469
3690
  var ListContainerInstancesCommand = _ListContainerInstancesCommand;
3470
3691
 
3692
+ // src/commands/ListServiceDeploymentsCommand.ts
3693
+
3694
+
3695
+
3696
+ var _ListServiceDeploymentsCommand = class _ListServiceDeploymentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3697
+ return [
3698
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3699
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3700
+ ];
3701
+ }).s("AmazonEC2ContainerServiceV20141113", "ListServiceDeployments", {}).n("ECSClient", "ListServiceDeploymentsCommand").f(void 0, void 0).ser(se_ListServiceDeploymentsCommand).de(de_ListServiceDeploymentsCommand).build() {
3702
+ };
3703
+ __name(_ListServiceDeploymentsCommand, "ListServiceDeploymentsCommand");
3704
+ var ListServiceDeploymentsCommand = _ListServiceDeploymentsCommand;
3705
+
3471
3706
  // src/commands/ListServicesByNamespaceCommand.ts
3472
3707
 
3473
3708
 
@@ -3892,6 +4127,8 @@ var commands = {
3892
4127
  DescribeCapacityProvidersCommand,
3893
4128
  DescribeClustersCommand,
3894
4129
  DescribeContainerInstancesCommand,
4130
+ DescribeServiceDeploymentsCommand,
4131
+ DescribeServiceRevisionsCommand,
3895
4132
  DescribeServicesCommand,
3896
4133
  DescribeTaskDefinitionCommand,
3897
4134
  DescribeTasksCommand,
@@ -3903,6 +4140,7 @@ var commands = {
3903
4140
  ListAttributesCommand,
3904
4141
  ListClustersCommand,
3905
4142
  ListContainerInstancesCommand,
4143
+ ListServiceDeploymentsCommand,
3906
4144
  ListServicesCommand,
3907
4145
  ListServicesByNamespaceCommand,
3908
4146
  ListTagsForResourceCommand,
@@ -4237,6 +4475,8 @@ var waitUntilTasksStopped = /* @__PURE__ */ __name(async (params, input) => {
4237
4475
  DescribeCapacityProvidersCommand,
4238
4476
  DescribeClustersCommand,
4239
4477
  DescribeContainerInstancesCommand,
4478
+ DescribeServiceDeploymentsCommand,
4479
+ DescribeServiceRevisionsCommand,
4240
4480
  DescribeServicesCommand,
4241
4481
  DescribeTaskDefinitionCommand,
4242
4482
  DescribeTaskSetsCommand,
@@ -4248,6 +4488,7 @@ var waitUntilTasksStopped = /* @__PURE__ */ __name(async (params, input) => {
4248
4488
  ListAttributesCommand,
4249
4489
  ListClustersCommand,
4250
4490
  ListContainerInstancesCommand,
4491
+ ListServiceDeploymentsCommand,
4251
4492
  ListServicesByNamespaceCommand,
4252
4493
  ListServicesCommand,
4253
4494
  ListTagsForResourceCommand,
@@ -4361,6 +4602,8 @@ var waitUntilTasksStopped = /* @__PURE__ */ __name(async (params, input) => {
4361
4602
  CapacityProviderField,
4362
4603
  ClusterField,
4363
4604
  ContainerInstanceField,
4605
+ ServiceDeploymentRollbackMonitorsStatus,
4606
+ ServiceDeploymentStatus,
4364
4607
  ServiceField,
4365
4608
  TaskDefinitionField,
4366
4609
  TaskField,
@@ -4380,9 +4623,9 @@ var waitUntilTasksStopped = /* @__PURE__ */ __name(async (params, input) => {
4380
4623
  PlatformDeviceType,
4381
4624
  BlockedException,
4382
4625
  ConflictException,
4383
- MissingVersionException,
4384
- NoUpdateAvailableException,
4385
4626
  SessionFilterSensitiveLog,
4386
- ExecuteCommandResponseFilterSensitiveLog
4627
+ ExecuteCommandResponseFilterSensitiveLog,
4628
+ MissingVersionException,
4629
+ NoUpdateAvailableException
4387
4630
  });
4388
4631
 
package/dist-es/ECS.js CHANGED
@@ -15,6 +15,8 @@ import { DeregisterTaskDefinitionCommand, } from "./commands/DeregisterTaskDefin
15
15
  import { DescribeCapacityProvidersCommand, } from "./commands/DescribeCapacityProvidersCommand";
16
16
  import { DescribeClustersCommand, } from "./commands/DescribeClustersCommand";
17
17
  import { DescribeContainerInstancesCommand, } from "./commands/DescribeContainerInstancesCommand";
18
+ import { DescribeServiceDeploymentsCommand, } from "./commands/DescribeServiceDeploymentsCommand";
19
+ import { DescribeServiceRevisionsCommand, } from "./commands/DescribeServiceRevisionsCommand";
18
20
  import { DescribeServicesCommand, } from "./commands/DescribeServicesCommand";
19
21
  import { DescribeTaskDefinitionCommand, } from "./commands/DescribeTaskDefinitionCommand";
20
22
  import { DescribeTasksCommand, } from "./commands/DescribeTasksCommand";
@@ -26,6 +28,7 @@ import { ListAccountSettingsCommand, } from "./commands/ListAccountSettingsComma
26
28
  import { ListAttributesCommand, } from "./commands/ListAttributesCommand";
27
29
  import { ListClustersCommand, } from "./commands/ListClustersCommand";
28
30
  import { ListContainerInstancesCommand, } from "./commands/ListContainerInstancesCommand";
31
+ import { ListServiceDeploymentsCommand, } from "./commands/ListServiceDeploymentsCommand";
29
32
  import { ListServicesByNamespaceCommand, } from "./commands/ListServicesByNamespaceCommand";
30
33
  import { ListServicesCommand, } from "./commands/ListServicesCommand";
31
34
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
@@ -73,6 +76,8 @@ const commands = {
73
76
  DescribeCapacityProvidersCommand,
74
77
  DescribeClustersCommand,
75
78
  DescribeContainerInstancesCommand,
79
+ DescribeServiceDeploymentsCommand,
80
+ DescribeServiceRevisionsCommand,
76
81
  DescribeServicesCommand,
77
82
  DescribeTaskDefinitionCommand,
78
83
  DescribeTasksCommand,
@@ -84,6 +89,7 @@ const commands = {
84
89
  ListAttributesCommand,
85
90
  ListClustersCommand,
86
91
  ListContainerInstancesCommand,
92
+ ListServiceDeploymentsCommand,
87
93
  ListServicesCommand,
88
94
  ListServicesByNamespaceCommand,
89
95
  ListTagsForResourceCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeServiceDeploymentsCommand, se_DescribeServiceDeploymentsCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class DescribeServiceDeploymentsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonEC2ContainerServiceV20141113", "DescribeServiceDeployments", {})
17
+ .n("ECSClient", "DescribeServiceDeploymentsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeServiceDeploymentsCommand)
20
+ .de(de_DescribeServiceDeploymentsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeServiceRevisionsCommand, se_DescribeServiceRevisionsCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class DescribeServiceRevisionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonEC2ContainerServiceV20141113", "DescribeServiceRevisions", {})
17
+ .n("ECSClient", "DescribeServiceRevisionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeServiceRevisionsCommand)
20
+ .de(de_DescribeServiceRevisionsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListServiceDeploymentsCommand, se_ListServiceDeploymentsCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class ListServiceDeploymentsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonEC2ContainerServiceV20141113", "ListServiceDeployments", {})
17
+ .n("ECSClient", "ListServiceDeploymentsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListServiceDeploymentsCommand)
20
+ .de(de_ListServiceDeploymentsCommand)
21
+ .build() {
22
+ }
@@ -14,6 +14,8 @@ export * from "./DeregisterTaskDefinitionCommand";
14
14
  export * from "./DescribeCapacityProvidersCommand";
15
15
  export * from "./DescribeClustersCommand";
16
16
  export * from "./DescribeContainerInstancesCommand";
17
+ export * from "./DescribeServiceDeploymentsCommand";
18
+ export * from "./DescribeServiceRevisionsCommand";
17
19
  export * from "./DescribeServicesCommand";
18
20
  export * from "./DescribeTaskDefinitionCommand";
19
21
  export * from "./DescribeTaskSetsCommand";
@@ -25,6 +27,7 @@ export * from "./ListAccountSettingsCommand";
25
27
  export * from "./ListAttributesCommand";
26
28
  export * from "./ListClustersCommand";
27
29
  export * from "./ListContainerInstancesCommand";
30
+ export * from "./ListServiceDeploymentsCommand";
28
31
  export * from "./ListServicesByNamespaceCommand";
29
32
  export * from "./ListServicesCommand";
30
33
  export * from "./ListTagsForResourceCommand";
@@ -465,6 +465,22 @@ export const ContainerInstanceField = {
465
465
  CONTAINER_INSTANCE_HEALTH: "CONTAINER_INSTANCE_HEALTH",
466
466
  TAGS: "TAGS",
467
467
  };
468
+ export const ServiceDeploymentRollbackMonitorsStatus = {
469
+ DISABLED: "DISABLED",
470
+ MONITORING: "MONITORING",
471
+ MONITORING_COMPLETE: "MONITORING_COMPLETE",
472
+ TRIGGERED: "TRIGGERED",
473
+ };
474
+ export const ServiceDeploymentStatus = {
475
+ IN_PROGRESS: "IN_PROGRESS",
476
+ PENDING: "PENDING",
477
+ ROLLBACK_FAILED: "ROLLBACK_FAILED",
478
+ ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
479
+ ROLLBACK_SUCCESSFUL: "ROLLBACK_SUCCESSFUL",
480
+ STOPPED: "STOPPED",
481
+ STOP_REQUESTED: "STOP_REQUESTED",
482
+ SUCCESSFUL: "SUCCESSFUL",
483
+ };
468
484
  export const ServiceField = {
469
485
  TAGS: "TAGS",
470
486
  };
@@ -594,30 +610,6 @@ export class ConflictException extends __BaseException {
594
610
  this.resourceIds = opts.resourceIds;
595
611
  }
596
612
  }
597
- export class MissingVersionException extends __BaseException {
598
- constructor(opts) {
599
- super({
600
- name: "MissingVersionException",
601
- $fault: "client",
602
- ...opts,
603
- });
604
- this.name = "MissingVersionException";
605
- this.$fault = "client";
606
- Object.setPrototypeOf(this, MissingVersionException.prototype);
607
- }
608
- }
609
- export class NoUpdateAvailableException extends __BaseException {
610
- constructor(opts) {
611
- super({
612
- name: "NoUpdateAvailableException",
613
- $fault: "client",
614
- ...opts,
615
- });
616
- this.name = "NoUpdateAvailableException";
617
- this.$fault = "client";
618
- Object.setPrototypeOf(this, NoUpdateAvailableException.prototype);
619
- }
620
- }
621
613
  export const SessionFilterSensitiveLog = (obj) => ({
622
614
  ...obj,
623
615
  ...(obj.tokenValue && { tokenValue: SENSITIVE_STRING }),