@aws-sdk/client-ecs 3.36.0 → 3.39.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 (156) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist-cjs/ECS.js +0 -15
  3. package/dist-cjs/ECSClient.js +0 -20
  4. package/dist-cjs/commands/CreateCapacityProviderCommand.js +0 -30
  5. package/dist-cjs/commands/CreateClusterCommand.js +0 -35
  6. package/dist-cjs/commands/CreateServiceCommand.js +0 -129
  7. package/dist-cjs/commands/CreateTaskSetCommand.js +0 -27
  8. package/dist-cjs/commands/DeleteAccountSettingCommand.js +0 -25
  9. package/dist-cjs/commands/DeleteAttributesCommand.js +0 -24
  10. package/dist-cjs/commands/DeleteCapacityProviderCommand.js +0 -38
  11. package/dist-cjs/commands/DeleteClusterCommand.js +0 -30
  12. package/dist-cjs/commands/DeleteServiceCommand.js +0 -44
  13. package/dist-cjs/commands/DeleteTaskSetCommand.js +0 -25
  14. package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +0 -36
  15. package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +0 -39
  16. package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +0 -24
  17. package/dist-cjs/commands/DescribeClustersCommand.js +0 -24
  18. package/dist-cjs/commands/DescribeContainerInstancesCommand.js +0 -25
  19. package/dist-cjs/commands/DescribeServicesCommand.js +0 -24
  20. package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +0 -31
  21. package/dist-cjs/commands/DescribeTaskSetsCommand.js +0 -27
  22. package/dist-cjs/commands/DescribeTasksCommand.js +0 -24
  23. package/dist-cjs/commands/DiscoverPollEndpointCommand.js +0 -28
  24. package/dist-cjs/commands/ExecuteCommandCommand.js +0 -24
  25. package/dist-cjs/commands/ListAccountSettingsCommand.js +0 -24
  26. package/dist-cjs/commands/ListAttributesCommand.js +0 -30
  27. package/dist-cjs/commands/ListClustersCommand.js +0 -24
  28. package/dist-cjs/commands/ListContainerInstancesCommand.js +0 -27
  29. package/dist-cjs/commands/ListServicesCommand.js +0 -25
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  31. package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +0 -30
  32. package/dist-cjs/commands/ListTaskDefinitionsCommand.js +0 -26
  33. package/dist-cjs/commands/ListTasksCommand.js +0 -28
  34. package/dist-cjs/commands/PutAccountSettingCommand.js +0 -47
  35. package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +0 -26
  36. package/dist-cjs/commands/PutAttributesCommand.js +0 -28
  37. package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +0 -37
  38. package/dist-cjs/commands/RegisterContainerInstanceCommand.js +0 -29
  39. package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +0 -41
  40. package/dist-cjs/commands/RunTaskCommand.js +0 -52
  41. package/dist-cjs/commands/StartTaskCommand.js +0 -28
  42. package/dist-cjs/commands/StopTaskCommand.js +0 -36
  43. package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +0 -28
  44. package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +0 -28
  45. package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +0 -28
  46. package/dist-cjs/commands/TagResourceCommand.js +0 -27
  47. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  48. package/dist-cjs/commands/UpdateCapacityProviderCommand.js +0 -24
  49. package/dist-cjs/commands/UpdateClusterCommand.js +0 -24
  50. package/dist-cjs/commands/UpdateClusterSettingsCommand.js +0 -24
  51. package/dist-cjs/commands/UpdateContainerAgentCommand.js +0 -39
  52. package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +0 -72
  53. package/dist-cjs/commands/UpdateServiceCommand.js +0 -132
  54. package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +0 -28
  55. package/dist-cjs/commands/UpdateTaskSetCommand.js +0 -26
  56. package/dist-cjs/commands/index.js +55 -0
  57. package/dist-cjs/endpoints.js +6 -1
  58. package/dist-cjs/index.js +5 -66
  59. package/dist-cjs/models/models_0.js +26 -619
  60. package/dist-cjs/pagination/ListAccountSettingsPaginator.js +0 -10
  61. package/dist-cjs/pagination/ListAttributesPaginator.js +0 -10
  62. package/dist-cjs/pagination/ListClustersPaginator.js +0 -10
  63. package/dist-cjs/pagination/ListContainerInstancesPaginator.js +0 -10
  64. package/dist-cjs/pagination/ListServicesPaginator.js +0 -10
  65. package/dist-cjs/pagination/ListTaskDefinitionFamiliesPaginator.js +0 -10
  66. package/dist-cjs/pagination/ListTaskDefinitionsPaginator.js +0 -10
  67. package/dist-cjs/pagination/ListTasksPaginator.js +0 -10
  68. package/dist-cjs/pagination/index.js +12 -0
  69. package/dist-cjs/protocols/Aws_json1_1.js +25 -5
  70. package/dist-cjs/runtimeConfig.browser.js +1 -5
  71. package/dist-cjs/runtimeConfig.js +1 -5
  72. package/dist-cjs/runtimeConfig.native.js +0 -3
  73. package/dist-cjs/runtimeConfig.shared.js +0 -3
  74. package/dist-cjs/waiters/index.js +6 -0
  75. package/dist-cjs/waiters/waitForServicesInactive.js +0 -9
  76. package/dist-cjs/waiters/waitForTasksRunning.js +0 -9
  77. package/dist-cjs/waiters/waitForTasksStopped.js +0 -9
  78. package/dist-es/commands/index.js +52 -0
  79. package/dist-es/endpoints.js +6 -1
  80. package/dist-es/index.js +5 -66
  81. package/dist-es/models/models_0.js +20 -0
  82. package/dist-es/pagination/index.js +9 -0
  83. package/dist-es/protocols/Aws_json1_1.js +22 -1
  84. package/dist-es/waiters/index.js +3 -0
  85. package/dist-types/commands/index.d.ts +52 -0
  86. package/dist-types/index.d.ts +5 -66
  87. package/dist-types/models/models_0.d.ts +170 -25
  88. package/dist-types/pagination/index.d.ts +9 -0
  89. package/dist-types/ts3.4/ECS.d.ts +53 -702
  90. package/dist-types/ts3.4/ECSClient.d.ts +24 -101
  91. package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +2 -26
  92. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -31
  93. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +2 -125
  94. package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +2 -23
  95. package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +2 -21
  96. package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +2 -20
  97. package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +2 -34
  98. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -26
  99. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +2 -40
  100. package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +2 -21
  101. package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +2 -32
  102. package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +2 -35
  103. package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +2 -21
  106. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +2 -27
  108. package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +2 -23
  109. package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +2 -24
  111. package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +2 -26
  114. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +2 -23
  116. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +2 -21
  117. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +2 -26
  119. package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +2 -22
  120. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +2 -24
  121. package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +2 -43
  122. package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +2 -22
  123. package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +2 -24
  124. package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +2 -33
  125. package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +2 -25
  126. package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +2 -37
  127. package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +2 -48
  128. package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +2 -24
  129. package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +2 -32
  130. package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +2 -24
  131. package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +2 -24
  132. package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +2 -24
  133. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
  134. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  135. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +2 -35
  139. package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +2 -68
  140. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +2 -128
  141. package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +2 -24
  142. package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +2 -22
  143. package/dist-types/ts3.4/commands/index.d.ts +52 -0
  144. package/dist-types/ts3.4/index.d.ts +5 -66
  145. package/dist-types/ts3.4/models/models_0.d.ts +1099 -6662
  146. package/dist-types/ts3.4/pagination/index.d.ts +9 -0
  147. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  148. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  149. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  150. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  151. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  152. package/dist-types/ts3.4/waiters/waitForServicesInactive.d.ts +2 -9
  153. package/dist-types/ts3.4/waiters/waitForTasksRunning.d.ts +2 -9
  154. package/dist-types/ts3.4/waiters/waitForTasksStopped.d.ts +2 -9
  155. package/dist-types/waiters/index.d.ts +3 -0
  156. package/package.json +33 -33
package/CHANGELOG.md CHANGED
@@ -3,6 +3,51 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/10/28 ([#2955](https://github.com/aws/aws-sdk-js-v3/issues/2955)) ([378d161](https://github.com/aws/aws-sdk-js-v3/commit/378d16166de49b06263291001986715d9533cadf))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
18
+
19
+
20
+ ### Features
21
+
22
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
23
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
24
+
25
+
26
+
27
+
28
+
29
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
30
+
31
+
32
+ ### Features
33
+
34
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
35
+
36
+
37
+
38
+
39
+
40
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
46
+
47
+
48
+
49
+
50
+
6
51
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
52
 
8
53
 
package/dist-cjs/ECS.js CHANGED
@@ -54,21 +54,6 @@ const UpdateServiceCommand_1 = require("./commands/UpdateServiceCommand");
54
54
  const UpdateServicePrimaryTaskSetCommand_1 = require("./commands/UpdateServicePrimaryTaskSetCommand");
55
55
  const UpdateTaskSetCommand_1 = require("./commands/UpdateTaskSetCommand");
56
56
  const ECSClient_1 = require("./ECSClient");
57
- /**
58
- * <fullname>Amazon Elastic Container Service</fullname>
59
- * <p>Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes
60
- * it easy to run, stop, and manage Docker containers on a cluster. You can host your
61
- * cluster on a serverless infrastructure that is managed by Amazon ECS by launching your
62
- * services or tasks on Fargate. For more control, you can host your tasks on a cluster
63
- * of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage.</p>
64
- * <p>Amazon ECS makes it easy to launch and stop container-based applications with simple API
65
- * calls, allows you to get the state of your cluster from a centralized service, and gives
66
- * you access to many familiar Amazon EC2 features.</p>
67
- * <p>You can use Amazon ECS to schedule the placement of containers across your cluster based on
68
- * your resource needs, isolation policies, and availability requirements. Amazon ECS eliminates
69
- * the need for you to operate your own cluster management and configuration management
70
- * systems or worry about scaling your management infrastructure.</p>
71
- */
72
57
  class ECS extends ECSClient_1.ECSClient {
73
58
  createCapacityProvider(args, optionsOrCb, cb) {
74
59
  const command = new CreateCapacityProviderCommand_1.CreateCapacityProviderCommand(args);
@@ -10,21 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <fullname>Amazon Elastic Container Service</fullname>
15
- * <p>Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes
16
- * it easy to run, stop, and manage Docker containers on a cluster. You can host your
17
- * cluster on a serverless infrastructure that is managed by Amazon ECS by launching your
18
- * services or tasks on Fargate. For more control, you can host your tasks on a cluster
19
- * of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage.</p>
20
- * <p>Amazon ECS makes it easy to launch and stop container-based applications with simple API
21
- * calls, allows you to get the state of your cluster from a centralized service, and gives
22
- * you access to many familiar Amazon EC2 features.</p>
23
- * <p>You can use Amazon ECS to schedule the placement of containers across your cluster based on
24
- * your resource needs, isolation policies, and availability requirements. Amazon ECS eliminates
25
- * the need for you to operate your own cluster management and configuration management
26
- * systems or worry about scaling your management infrastructure.</p>
27
- */
28
13
  class ECSClient extends smithy_client_1.Client {
29
14
  constructor(configuration) {
30
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -43,11 +28,6 @@ class ECSClient extends smithy_client_1.Client {
43
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
44
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
45
30
  }
46
- /**
47
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
48
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
49
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
50
- */
51
31
  destroy() {
52
32
  super.destroy();
53
33
  }
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a new capacity provider. Capacity providers are associated with an Amazon ECS
10
- * cluster and are used in capacity provider strategies to facilitate cluster auto
11
- * scaling.</p>
12
- * <p>Only capacity providers using an Auto Scaling group can be created. Amazon ECS tasks on
13
- * Fargate use the <code>FARGATE</code> and <code>FARGATE_SPOT</code> capacity providers
14
- * which are already created and available to all accounts in Regions supported by
15
- * Fargate.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { ECSClient, CreateCapacityProviderCommand } from "@aws-sdk/client-ecs"; // ES Modules import
20
- * // const { ECSClient, CreateCapacityProviderCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
21
- * const client = new ECSClient(config);
22
- * const command = new CreateCapacityProviderCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link CreateCapacityProviderCommandInput} for command's `input` shape.
27
- * @see {@link CreateCapacityProviderCommandOutput} for command's `response` shape.
28
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class CreateCapacityProviderCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,46 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a new Amazon ECS cluster. By default, your account receives a <code>default</code>
10
- * cluster when you launch your first container instance. However, you can create your own
11
- * cluster with a unique name with the <code>CreateCluster</code> action.</p>
12
- * <note>
13
- * <p>When you call the <a>CreateCluster</a> API operation, Amazon ECS attempts to
14
- * create the Amazon ECS service-linked role for your account so that required resources in
15
- * other Amazon Web Services services can be managed on your behalf. However, if the IAM user that
16
- * makes the call does not have permissions to create the service-linked role, it is
17
- * not created. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Using
18
- * Service-Linked Roles for Amazon ECS</a> in the
19
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
20
- * </note>
21
- * @example
22
- * Use a bare-bones client and the command you need to make an API call.
23
- * ```javascript
24
- * import { ECSClient, CreateClusterCommand } from "@aws-sdk/client-ecs"; // ES Modules import
25
- * // const { ECSClient, CreateClusterCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
26
- * const client = new ECSClient(config);
27
- * const command = new CreateClusterCommand(input);
28
- * const response = await client.send(command);
29
- * ```
30
- *
31
- * @see {@link CreateClusterCommandInput} for command's `input` shape.
32
- * @see {@link CreateClusterCommandOutput} for command's `response` shape.
33
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
34
- *
35
- */
36
8
  class CreateClusterCommand extends smithy_client_1.Command {
37
- // Start section: command_properties
38
- // End section: command_properties
39
9
  constructor(input) {
40
- // Start section: command_constructor
41
10
  super();
42
11
  this.input = input;
43
- // End section: command_constructor
44
12
  }
45
- /**
46
- * @internal
47
- */
48
13
  resolveMiddleware(clientStack, configuration, options) {
49
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
50
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,140 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Runs and maintains a desired number of tasks from a specified task definition. If the
10
- * number of tasks running in a service drops below the <code>desiredCount</code>, Amazon ECS
11
- * runs another copy of the task in the specified cluster. To update an existing service,
12
- * see the UpdateService action.</p>
13
- * <p>In addition to maintaining the desired count of tasks in your service, you can
14
- * optionally run your service behind one or more load balancers. The load balancers
15
- * distribute traffic across the tasks that are associated with the service. For more
16
- * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html">Service Load Balancing</a> in the
17
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
18
- * <p>Tasks for services that <i>do not</i> use a load balancer are considered
19
- * healthy if they're in the <code>RUNNING</code> state. Tasks for services that
20
- * <i>do</i> use a load balancer are considered healthy if they're in the
21
- * <code>RUNNING</code> state and the container instance that they're hosted on is
22
- * reported as healthy by the load balancer.</p>
23
- * <p>There are two service scheduler strategies available:</p>
24
- * <ul>
25
- * <li>
26
- * <p>
27
- * <code>REPLICA</code> - The replica scheduling strategy places and
28
- * maintains the desired number of tasks across your cluster. By default, the
29
- * service scheduler spreads tasks across Availability Zones. You can use task
30
- * placement strategies and constraints to customize task placement decisions. For
31
- * more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service Scheduler Concepts</a> in the
32
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
33
- * </li>
34
- * <li>
35
- * <p>
36
- * <code>DAEMON</code> - The daemon scheduling strategy deploys exactly one
37
- * task on each active container instance that meets all of the task placement
38
- * constraints that you specify in your cluster. The service scheduler also
39
- * evaluates the task placement constraints for running tasks and will stop tasks
40
- * that do not meet the placement constraints. When using this strategy, you don't
41
- * need to specify a desired number of tasks, a task placement strategy, or use
42
- * Service Auto Scaling policies. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service Scheduler Concepts</a> in the
43
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
44
- * </li>
45
- * </ul>
46
- * <p>You can optionally specify a deployment configuration for your service. The deployment
47
- * is triggered by changing properties, such as the task definition or the desired count of
48
- * a service, with an <a>UpdateService</a> operation. The default value for a
49
- * replica service for <code>minimumHealthyPercent</code> is 100%. The default value for a
50
- * daemon service for <code>minimumHealthyPercent</code> is 0%.</p>
51
- * <p>If a service is using the <code>ECS</code> deployment controller, the minimum healthy
52
- * percent represents a lower limit on the number of tasks in a service that must remain in
53
- * the <code>RUNNING</code> state during a deployment, as a percentage of the desired
54
- * number of tasks (rounded up to the nearest integer), and while any container instances
55
- * are in the <code>DRAINING</code> state if the service contains tasks using the
56
- * EC2 launch type. This parameter enables you to deploy without using
57
- * additional cluster capacity. For example, if your service has a desired number of four
58
- * tasks and a minimum healthy percent of 50%, the scheduler might stop two existing tasks
59
- * to free up cluster capacity before starting two new tasks. Tasks for services that
60
- * <i>do not</i> use a load balancer are considered healthy if they're in
61
- * the <code>RUNNING</code> state. Tasks for services that <i>do</i> use a
62
- * load balancer are considered healthy if they're in the <code>RUNNING</code> state and
63
- * they're reported as healthy by the load balancer. The default value for minimum healthy
64
- * percent is 100%.</p>
65
- * <p>If a service is using the <code>ECS</code> deployment controller, the <b>maximum percent</b> parameter represents an upper limit on the
66
- * number of tasks in a service that are allowed in the <code>RUNNING</code> or
67
- * <code>PENDING</code> state during a deployment, as a percentage of the desired
68
- * number of tasks (rounded down to the nearest integer), and while any container instances
69
- * are in the <code>DRAINING</code> state if the service contains tasks using the
70
- * EC2 launch type. This parameter enables you to define the deployment batch
71
- * size. For example, if your service has a desired number of four tasks and a maximum
72
- * percent value of 200%, the scheduler may start four new tasks before stopping the four
73
- * older tasks (provided that the cluster resources required to do this are available). The
74
- * default value for maximum percent is 200%.</p>
75
- * <p>If a service is using either the <code>CODE_DEPLOY</code> or <code>EXTERNAL</code>
76
- * deployment controller types and tasks that use the EC2 launch type, the
77
- * <b>minimum healthy percent</b> and <b>maximum percent</b> values are used only to define the lower and upper limit
78
- * on the number of the tasks in the service that remain in the <code>RUNNING</code> state
79
- * while the container instances are in the <code>DRAINING</code> state. If the tasks in
80
- * the service use the Fargate launch type, the minimum healthy percent and
81
- * maximum percent values aren't used, although they're currently visible when describing
82
- * your service.</p>
83
- * <p>When creating a service that uses the <code>EXTERNAL</code> deployment controller, you
84
- * can specify only parameters that aren't controlled at the task set level. The only
85
- * required parameter is the service name. You control your services using the <a>CreateTaskSet</a> operation. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
86
- * <p>When the service scheduler launches new tasks, it determines task placement in your
87
- * cluster using the following logic:</p>
88
- * <ul>
89
- * <li>
90
- * <p>Determine which of the container instances in your cluster can support your
91
- * service's task definition (for example, they have the required CPU, memory,
92
- * ports, and container instance attributes).</p>
93
- * </li>
94
- * <li>
95
- * <p>By default, the service scheduler attempts to balance tasks across
96
- * Availability Zones in this manner (although you can choose a different placement
97
- * strategy) with the <code>placementStrategy</code> parameter):</p>
98
- * <ul>
99
- * <li>
100
- * <p>Sort the valid container instances, giving priority to instances that
101
- * have the fewest number of running tasks for this service in their
102
- * respective Availability Zone. For example, if zone A has one running
103
- * service task and zones B and C each have zero, valid container instances
104
- * in either zone B or C are considered optimal for placement.</p>
105
- * </li>
106
- * <li>
107
- * <p>Place the new service task on a valid container instance in an optimal
108
- * Availability Zone (based on the previous steps), favoring container
109
- * instances with the fewest number of running tasks for this
110
- * service.</p>
111
- * </li>
112
- * </ul>
113
- * </li>
114
- * </ul>
115
- * @example
116
- * Use a bare-bones client and the command you need to make an API call.
117
- * ```javascript
118
- * import { ECSClient, CreateServiceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
119
- * // const { ECSClient, CreateServiceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
120
- * const client = new ECSClient(config);
121
- * const command = new CreateServiceCommand(input);
122
- * const response = await client.send(command);
123
- * ```
124
- *
125
- * @see {@link CreateServiceCommandInput} for command's `input` shape.
126
- * @see {@link CreateServiceCommandOutput} for command's `response` shape.
127
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
128
- *
129
- */
130
8
  class CreateServiceCommand extends smithy_client_1.Command {
131
- // Start section: command_properties
132
- // End section: command_properties
133
9
  constructor(input) {
134
- // Start section: command_constructor
135
10
  super();
136
11
  this.input = input;
137
- // End section: command_constructor
138
12
  }
139
- /**
140
- * @internal
141
- */
142
13
  resolveMiddleware(clientStack, configuration, options) {
143
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
144
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Create a task set in the specified cluster and service. This is used when a service
10
- * uses the <code>EXTERNAL</code> deployment controller type. For more information, see
11
- * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment
12
- * Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ECSClient, CreateTaskSetCommand } from "@aws-sdk/client-ecs"; // ES Modules import
17
- * // const { ECSClient, CreateTaskSetCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
18
- * const client = new ECSClient(config);
19
- * const command = new CreateTaskSetCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link CreateTaskSetCommandInput} for command's `input` shape.
24
- * @see {@link CreateTaskSetCommandOutput} for command's `response` shape.
25
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class CreateTaskSetCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Disables an account setting for a specified IAM user, IAM role, or the root user for
10
- * an account.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECSClient, DeleteAccountSettingCommand } from "@aws-sdk/client-ecs"; // ES Modules import
15
- * // const { ECSClient, DeleteAccountSettingCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
16
- * const client = new ECSClient(config);
17
- * const command = new DeleteAccountSettingCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteAccountSettingCommandInput} for command's `input` shape.
22
- * @see {@link DeleteAccountSettingCommandOutput} for command's `response` shape.
23
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DeleteAccountSettingCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes one or more custom attributes from an Amazon ECS resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ECSClient, DeleteAttributesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
14
- * // const { ECSClient, DeleteAttributesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
15
- * const client = new ECSClient(config);
16
- * const command = new DeleteAttributesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteAttributesCommandInput} for command's `input` shape.
21
- * @see {@link DeleteAttributesCommandOutput} for command's `response` shape.
22
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteAttributesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,49 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes the specified capacity provider.</p>
10
- * <note>
11
- * <p>The <code>FARGATE</code> and <code>FARGATE_SPOT</code> capacity providers are
12
- * reserved and cannot be deleted. You can disassociate them from a cluster using
13
- * either the <a>PutClusterCapacityProviders</a> API or by deleting the
14
- * cluster.</p>
15
- * </note>
16
- * <p>Prior to a capacity provider being deleted, the capacity provider must be removed from
17
- * the capacity provider strategy from all services. The <a>UpdateService</a>
18
- * API can be used to remove a capacity provider from a service's capacity provider
19
- * strategy. When updating a service, the <code>forceNewDeployment</code> option can be
20
- * used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity
21
- * provider are transitioned to use the capacity from the remaining capacity providers.
22
- * Only capacity providers that are not associated with a cluster can be deleted. To remove
23
- * a capacity provider from a cluster, you can either use <a>PutClusterCapacityProviders</a> or delete the cluster.</p>
24
- * @example
25
- * Use a bare-bones client and the command you need to make an API call.
26
- * ```javascript
27
- * import { ECSClient, DeleteCapacityProviderCommand } from "@aws-sdk/client-ecs"; // ES Modules import
28
- * // const { ECSClient, DeleteCapacityProviderCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
29
- * const client = new ECSClient(config);
30
- * const command = new DeleteCapacityProviderCommand(input);
31
- * const response = await client.send(command);
32
- * ```
33
- *
34
- * @see {@link DeleteCapacityProviderCommandInput} for command's `input` shape.
35
- * @see {@link DeleteCapacityProviderCommandOutput} for command's `response` shape.
36
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
37
- *
38
- */
39
8
  class DeleteCapacityProviderCommand extends smithy_client_1.Command {
40
- // Start section: command_properties
41
- // End section: command_properties
42
9
  constructor(input) {
43
- // Start section: command_constructor
44
10
  super();
45
11
  this.input = input;
46
- // End section: command_constructor
47
12
  }
48
- /**
49
- * @internal
50
- */
51
13
  resolveMiddleware(clientStack, configuration, options) {
52
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
53
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes the specified cluster. The cluster will transition to the
10
- * <code>INACTIVE</code> state. Clusters with an <code>INACTIVE</code> status may
11
- * remain discoverable in your account for a period of time. However, this behavior is
12
- * subject to change in the future, so you should not rely on <code>INACTIVE</code>
13
- * clusters persisting.</p>
14
- * <p>You must deregister all container instances from this cluster before you may delete
15
- * it. You can list the container instances in a cluster with <a>ListContainerInstances</a> and deregister them with <a>DeregisterContainerInstance</a>.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { ECSClient, DeleteClusterCommand } from "@aws-sdk/client-ecs"; // ES Modules import
20
- * // const { ECSClient, DeleteClusterCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
21
- * const client = new ECSClient(config);
22
- * const command = new DeleteClusterCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link DeleteClusterCommandInput} for command's `input` shape.
27
- * @see {@link DeleteClusterCommandOutput} for command's `response` shape.
28
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class DeleteClusterCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,55 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes a specified service within a cluster. You can delete a service if you have no
10
- * running tasks in it and the desired task count is zero. If the service is actively
11
- * maintaining tasks, you cannot delete it, and you must update the service to a desired
12
- * task count of zero. For more information, see <a>UpdateService</a>.</p>
13
- * <note>
14
- * <p>When you delete a service, if there are still running tasks that require cleanup,
15
- * the service status moves from <code>ACTIVE</code> to <code>DRAINING</code>, and the
16
- * service is no longer visible in the console or in the <a>ListServices</a>
17
- * API operation. After all tasks have transitioned to either <code>STOPPING</code> or
18
- * <code>STOPPED</code> status, the service status moves from <code>DRAINING</code>
19
- * to <code>INACTIVE</code>. Services in the <code>DRAINING</code> or
20
- * <code>INACTIVE</code> status can still be viewed with the <a>DescribeServices</a> API operation. However, in the future,
21
- * <code>INACTIVE</code> services may be cleaned up and purged from Amazon ECS record
22
- * keeping, and <a>DescribeServices</a> calls on those services return a
23
- * <code>ServiceNotFoundException</code> error.</p>
24
- * </note>
25
- * <important>
26
- * <p>If you attempt to create a new service with the same name as an existing service
27
- * in either <code>ACTIVE</code> or <code>DRAINING</code> status, you receive an
28
- * error.</p>
29
- * </important>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { ECSClient, DeleteServiceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
34
- * // const { ECSClient, DeleteServiceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
35
- * const client = new ECSClient(config);
36
- * const command = new DeleteServiceCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link DeleteServiceCommandInput} for command's `input` shape.
41
- * @see {@link DeleteServiceCommandOutput} for command's `response` shape.
42
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
8
  class DeleteServiceCommand extends smithy_client_1.Command {
46
- // Start section: command_properties
47
- // End section: command_properties
48
9
  constructor(input) {
49
- // Start section: command_constructor
50
10
  super();
51
11
  this.input = input;
52
- // End section: command_constructor
53
12
  }
54
- /**
55
- * @internal
56
- */
57
13
  resolveMiddleware(clientStack, configuration, options) {
58
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
59
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes a specified task set within a service. This is used when a service uses the
10
- * <code>EXTERNAL</code> deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECSClient, DeleteTaskSetCommand } from "@aws-sdk/client-ecs"; // ES Modules import
15
- * // const { ECSClient, DeleteTaskSetCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
16
- * const client = new ECSClient(config);
17
- * const command = new DeleteTaskSetCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteTaskSetCommandInput} for command's `input` shape.
22
- * @see {@link DeleteTaskSetCommandOutput} for command's `response` shape.
23
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DeleteTaskSetCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);