@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
@@ -6,35 +6,11 @@ export interface ListTaskDefinitionFamiliesCommandInput extends ListTaskDefiniti
6
6
  }
7
7
  export interface ListTaskDefinitionFamiliesCommandOutput extends ListTaskDefinitionFamiliesResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns a list of task definition families that are registered to your account (which
11
- * may include task definition families that no longer have any <code>ACTIVE</code> task
12
- * definition revisions).</p>
13
- * <p>You can filter out task definition families that do not contain any
14
- * <code>ACTIVE</code> task definition revisions by setting the <code>status</code>
15
- * parameter to <code>ACTIVE</code>. You can also filter the results with the
16
- * <code>familyPrefix</code> parameter.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { ECSClient, ListTaskDefinitionFamiliesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
21
- * // const { ECSClient, ListTaskDefinitionFamiliesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
22
- * const client = new ECSClient(config);
23
- * const command = new ListTaskDefinitionFamiliesCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link ListTaskDefinitionFamiliesCommandInput} for command's `input` shape.
28
- * @see {@link ListTaskDefinitionFamiliesCommandOutput} for command's `response` shape.
29
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
9
+
32
10
  export declare class ListTaskDefinitionFamiliesCommand extends $Command<ListTaskDefinitionFamiliesCommandInput, ListTaskDefinitionFamiliesCommandOutput, ECSClientResolvedConfig> {
33
11
  readonly input: ListTaskDefinitionFamiliesCommandInput;
34
12
  constructor(input: ListTaskDefinitionFamiliesCommandInput);
35
- /**
36
- * @internal
37
- */
13
+
38
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTaskDefinitionFamiliesCommandInput, ListTaskDefinitionFamiliesCommandOutput>;
39
15
  private serialize;
40
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface ListTaskDefinitionsCommandInput extends ListTaskDefinitionsRequ
6
6
  }
7
7
  export interface ListTaskDefinitionsCommandOutput extends ListTaskDefinitionsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns a list of task definitions that are registered to your account. You can filter
11
- * the results by family name with the <code>familyPrefix</code> parameter or by status
12
- * with the <code>status</code> parameter.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ECSClient, ListTaskDefinitionsCommand } from "@aws-sdk/client-ecs"; // ES Modules import
17
- * // const { ECSClient, ListTaskDefinitionsCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
18
- * const client = new ECSClient(config);
19
- * const command = new ListTaskDefinitionsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link ListTaskDefinitionsCommandInput} for command's `input` shape.
24
- * @see {@link ListTaskDefinitionsCommandOutput} for command's `response` shape.
25
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class ListTaskDefinitionsCommand extends $Command<ListTaskDefinitionsCommandInput, ListTaskDefinitionsCommandOutput, ECSClientResolvedConfig> {
29
11
  readonly input: ListTaskDefinitionsCommandInput;
30
12
  constructor(input: ListTaskDefinitionsCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTaskDefinitionsCommandInput, ListTaskDefinitionsCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,33 +6,11 @@ export interface ListTasksCommandInput extends ListTasksRequest {
6
6
  }
7
7
  export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns a list of tasks. You can filter the results by cluster, task definition
11
- * family, container instance, launch type, what IAM principal started the task, or by the
12
- * desired status of the task.</p>
13
- * <p>Recently stopped tasks might appear in the returned results. Currently, stopped tasks
14
- * appear in the returned results for at least one hour.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ECSClient, ListTasksCommand } from "@aws-sdk/client-ecs"; // ES Modules import
19
- * // const { ECSClient, ListTasksCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
20
- * const client = new ECSClient(config);
21
- * const command = new ListTasksCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link ListTasksCommandInput} for command's `input` shape.
26
- * @see {@link ListTasksCommandOutput} for command's `response` shape.
27
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
9
+
30
10
  export declare class ListTasksCommand extends $Command<ListTasksCommandInput, ListTasksCommandOutput, ECSClientResolvedConfig> {
31
11
  readonly input: ListTasksCommandInput;
32
12
  constructor(input: ListTasksCommandInput);
33
- /**
34
- * @internal
35
- */
13
+
36
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTasksCommandInput, ListTasksCommandOutput>;
37
15
  private serialize;
38
16
  private deserialize;
@@ -6,52 +6,11 @@ export interface PutAccountSettingCommandInput extends PutAccountSettingRequest
6
6
  }
7
7
  export interface PutAccountSettingCommandOutput extends PutAccountSettingResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Modifies an account setting. Account settings are set on a per-Region basis.</p>
11
- * <p>If you change the account setting for the root user, the default settings for all of
12
- * the IAM users and roles for which no individual account setting has been specified are
13
- * reset. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html">Account
14
- * Settings</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
15
- * <p>When <code>serviceLongArnFormat</code>, <code>taskLongArnFormat</code>, or
16
- * <code>containerInstanceLongArnFormat</code> are specified, the Amazon Resource Name
17
- * (ARN) and resource ID format of the resource type for a specified IAM user, IAM role, or
18
- * the root user for an account is affected. The opt-in and opt-out account setting must be
19
- * set for each Amazon ECS resource separately. The ARN and resource ID format of a resource
20
- * will be defined by the opt-in status of the IAM user or role that created the resource.
21
- * You must enable this setting to use Amazon ECS features such as resource tagging.</p>
22
- * <p>When <code>awsvpcTrunking</code> is specified, the elastic network interface (ENI)
23
- * limit for any new container instances that support the feature is changed. If
24
- * <code>awsvpcTrunking</code> is enabled, any new container instances that support the
25
- * feature are launched have the increased ENI limits available to them. For more
26
- * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html">Elastic Network
27
- * Interface Trunking</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
28
- * <p>When <code>containerInsights</code> is specified, the default setting indicating
29
- * whether CloudWatch Container Insights is enabled for your clusters is changed. If
30
- * <code>containerInsights</code> is enabled, any new clusters that are created will
31
- * have Container Insights enabled unless you disable it during cluster creation. For more
32
- * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html">CloudWatch
33
- * Container Insights</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { ECSClient, PutAccountSettingCommand } from "@aws-sdk/client-ecs"; // ES Modules import
38
- * // const { ECSClient, PutAccountSettingCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
39
- * const client = new ECSClient(config);
40
- * const command = new PutAccountSettingCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link PutAccountSettingCommandInput} for command's `input` shape.
45
- * @see {@link PutAccountSettingCommandOutput} for command's `response` shape.
46
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
9
+
49
10
  export declare class PutAccountSettingCommand extends $Command<PutAccountSettingCommandInput, PutAccountSettingCommandOutput, ECSClientResolvedConfig> {
50
11
  readonly input: PutAccountSettingCommandInput;
51
12
  constructor(input: PutAccountSettingCommandInput);
52
- /**
53
- * @internal
54
- */
13
+
55
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutAccountSettingCommandInput, PutAccountSettingCommandOutput>;
56
15
  private serialize;
57
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface PutAccountSettingDefaultCommandInput extends PutAccountSettingD
6
6
  }
7
7
  export interface PutAccountSettingDefaultCommandOutput extends PutAccountSettingDefaultResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Modifies an account setting for all IAM users on an account for whom no individual
11
- * account setting has been specified. Account settings are set on a per-Region
12
- * basis.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ECSClient, PutAccountSettingDefaultCommand } from "@aws-sdk/client-ecs"; // ES Modules import
17
- * // const { ECSClient, PutAccountSettingDefaultCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
18
- * const client = new ECSClient(config);
19
- * const command = new PutAccountSettingDefaultCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link PutAccountSettingDefaultCommandInput} for command's `input` shape.
24
- * @see {@link PutAccountSettingDefaultCommandOutput} for command's `response` shape.
25
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class PutAccountSettingDefaultCommand extends $Command<PutAccountSettingDefaultCommandInput, PutAccountSettingDefaultCommandOutput, ECSClientResolvedConfig> {
29
11
  readonly input: PutAccountSettingDefaultCommandInput;
30
12
  constructor(input: PutAccountSettingDefaultCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutAccountSettingDefaultCommandInput, PutAccountSettingDefaultCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,33 +6,11 @@ export interface PutAttributesCommandInput extends PutAttributesRequest {
6
6
  }
7
7
  export interface PutAttributesCommandOutput extends PutAttributesResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Create or update an attribute on an Amazon ECS resource. If the attribute does not exist,
11
- * it is created. If the attribute exists, its value is replaced with the specified value.
12
- * To delete an attribute, use <a>DeleteAttributes</a>. For more information,
13
- * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes">Attributes</a> in the
14
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ECSClient, PutAttributesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
19
- * // const { ECSClient, PutAttributesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
20
- * const client = new ECSClient(config);
21
- * const command = new PutAttributesCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link PutAttributesCommandInput} for command's `input` shape.
26
- * @see {@link PutAttributesCommandOutput} for command's `response` shape.
27
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
9
+
30
10
  export declare class PutAttributesCommand extends $Command<PutAttributesCommandInput, PutAttributesCommandOutput, ECSClientResolvedConfig> {
31
11
  readonly input: PutAttributesCommandInput;
32
12
  constructor(input: PutAttributesCommandInput);
33
- /**
34
- * @internal
35
- */
13
+
36
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutAttributesCommandInput, PutAttributesCommandOutput>;
37
15
  private serialize;
38
16
  private deserialize;
@@ -6,42 +6,11 @@ export interface PutClusterCapacityProvidersCommandInput extends PutClusterCapac
6
6
  }
7
7
  export interface PutClusterCapacityProvidersCommandOutput extends PutClusterCapacityProvidersResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Modifies the available capacity providers and the default capacity provider strategy
11
- * for a cluster.</p>
12
- * <p>You must specify both the available capacity providers and a default capacity provider
13
- * strategy for the cluster. If the specified cluster has existing capacity providers
14
- * associated with it, you must specify all existing capacity providers in addition to any
15
- * new ones you want to add. Any existing capacity providers associated with a cluster that
16
- * are omitted from a <a>PutClusterCapacityProviders</a> API call will be
17
- * disassociated with the cluster. You can only disassociate an existing capacity provider
18
- * from a cluster if it's not being used by any existing tasks.</p>
19
- * <p>When creating a service or running a task on a cluster, if no capacity provider or
20
- * launch type is specified, then the cluster's default capacity provider strategy is used.
21
- * It is recommended to define a default capacity provider strategy for your cluster,
22
- * however you may specify an empty array (<code>[]</code>) to bypass defining a default
23
- * strategy.</p>
24
- * @example
25
- * Use a bare-bones client and the command you need to make an API call.
26
- * ```javascript
27
- * import { ECSClient, PutClusterCapacityProvidersCommand } from "@aws-sdk/client-ecs"; // ES Modules import
28
- * // const { ECSClient, PutClusterCapacityProvidersCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
29
- * const client = new ECSClient(config);
30
- * const command = new PutClusterCapacityProvidersCommand(input);
31
- * const response = await client.send(command);
32
- * ```
33
- *
34
- * @see {@link PutClusterCapacityProvidersCommandInput} for command's `input` shape.
35
- * @see {@link PutClusterCapacityProvidersCommandOutput} for command's `response` shape.
36
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
37
- *
38
- */
9
+
39
10
  export declare class PutClusterCapacityProvidersCommand extends $Command<PutClusterCapacityProvidersCommandInput, PutClusterCapacityProvidersCommandOutput, ECSClientResolvedConfig> {
40
11
  readonly input: PutClusterCapacityProvidersCommandInput;
41
12
  constructor(input: PutClusterCapacityProvidersCommandInput);
42
- /**
43
- * @internal
44
- */
13
+
45
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutClusterCapacityProvidersCommandInput, PutClusterCapacityProvidersCommandOutput>;
46
15
  private serialize;
47
16
  private deserialize;
@@ -6,34 +6,11 @@ export interface RegisterContainerInstanceCommandInput extends RegisterContainer
6
6
  }
7
7
  export interface RegisterContainerInstanceCommandOutput extends RegisterContainerInstanceResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <note>
11
- * <p>This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.</p>
12
- * </note>
13
- * <p>Registers an EC2
14
- * instance into the specified cluster. This instance becomes available to place containers
15
- * on.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { ECSClient, RegisterContainerInstanceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
20
- * // const { ECSClient, RegisterContainerInstanceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
21
- * const client = new ECSClient(config);
22
- * const command = new RegisterContainerInstanceCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link RegisterContainerInstanceCommandInput} for command's `input` shape.
27
- * @see {@link RegisterContainerInstanceCommandOutput} for command's `response` shape.
28
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
9
+
31
10
  export declare class RegisterContainerInstanceCommand extends $Command<RegisterContainerInstanceCommandInput, RegisterContainerInstanceCommandOutput, ECSClientResolvedConfig> {
32
11
  readonly input: RegisterContainerInstanceCommandInput;
33
12
  constructor(input: RegisterContainerInstanceCommandInput);
34
- /**
35
- * @internal
36
- */
13
+
37
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RegisterContainerInstanceCommandInput, RegisterContainerInstanceCommandOutput>;
38
15
  private serialize;
39
16
  private deserialize;
@@ -6,46 +6,11 @@ export interface RegisterTaskDefinitionCommandInput extends RegisterTaskDefiniti
6
6
  }
7
7
  export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinitionResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Registers a new task definition from the supplied <code>family</code> and
11
- * <code>containerDefinitions</code>. Optionally, you can add data volumes to your
12
- * containers with the <code>volumes</code> parameter. For more information about task
13
- * definition parameters and defaults, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Amazon ECS Task
14
- * Definitions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
15
- * <p>You can specify an IAM role for your task with the <code>taskRoleArn</code> parameter.
16
- * When you specify an IAM role for a task, its containers can then use the latest versions
17
- * of the CLI or SDKs to make API requests to the Amazon Web Services services that are specified in
18
- * the IAM policy associated with the role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM
19
- * Roles for Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
20
- * <p>You can specify a Docker networking mode for the containers in your task definition
21
- * with the <code>networkMode</code> parameter. The available network modes correspond to
22
- * those described in <a href="https://docs.docker.com/engine/reference/run/#/network-settings">Network
23
- * settings</a> in the Docker run reference. If you specify the <code>awsvpc</code>
24
- * network mode, the task is allocated an elastic network interface, and you must specify a
25
- * <a>NetworkConfiguration</a> when you create a service or run a task with
26
- * the task definition. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html">Task Networking</a>
27
- * in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { ECSClient, RegisterTaskDefinitionCommand } from "@aws-sdk/client-ecs"; // ES Modules import
32
- * // const { ECSClient, RegisterTaskDefinitionCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
33
- * const client = new ECSClient(config);
34
- * const command = new RegisterTaskDefinitionCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link RegisterTaskDefinitionCommandInput} for command's `input` shape.
39
- * @see {@link RegisterTaskDefinitionCommandOutput} for command's `response` shape.
40
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
9
+
43
10
  export declare class RegisterTaskDefinitionCommand extends $Command<RegisterTaskDefinitionCommandInput, RegisterTaskDefinitionCommandOutput, ECSClientResolvedConfig> {
44
11
  readonly input: RegisterTaskDefinitionCommandInput;
45
12
  constructor(input: RegisterTaskDefinitionCommandInput);
46
- /**
47
- * @internal
48
- */
13
+
49
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RegisterTaskDefinitionCommandInput, RegisterTaskDefinitionCommandOutput>;
50
15
  private serialize;
51
16
  private deserialize;
@@ -6,57 +6,11 @@ export interface RunTaskCommandInput extends RunTaskRequest {
6
6
  }
7
7
  export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Starts a new task using the specified task definition.</p>
11
- * <p>You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places
12
- * tasks using placement constraints and placement strategies. For more information, see
13
- * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html">Scheduling Tasks</a> in the
14
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
15
- * <p>Alternatively, you can use <a>StartTask</a> to use your own scheduler or
16
- * place tasks manually on specific container instances.</p>
17
- * <p>The Amazon ECS API follows an eventual consistency model, due to the distributed nature of
18
- * the system supporting the API. This means that the result of an API command you run that
19
- * affects your Amazon ECS resources might not be immediately visible to all subsequent commands
20
- * you run. Keep this in mind when you carry out an API command that immediately follows a
21
- * previous API command.</p>
22
- * <p>To manage eventual consistency, you can do the following:</p>
23
- * <ul>
24
- * <li>
25
- * <p>Confirm the state of the resource before you run a command to modify it. Run
26
- * the DescribeTasks command using an exponential backoff algorithm to ensure that
27
- * you allow enough time for the previous command to propagate through the system.
28
- * To do this, run the DescribeTasks command repeatedly, starting with a couple of
29
- * seconds of wait time and increasing gradually up to five minutes of wait
30
- * time.</p>
31
- * </li>
32
- * <li>
33
- * <p>Add wait time between subsequent commands, even if the DescribeTasks command
34
- * returns an accurate response. Apply an exponential backoff algorithm starting
35
- * with a couple of seconds of wait time, and increase gradually up to about five
36
- * minutes of wait time.</p>
37
- * </li>
38
- * </ul>
39
- * @example
40
- * Use a bare-bones client and the command you need to make an API call.
41
- * ```javascript
42
- * import { ECSClient, RunTaskCommand } from "@aws-sdk/client-ecs"; // ES Modules import
43
- * // const { ECSClient, RunTaskCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
44
- * const client = new ECSClient(config);
45
- * const command = new RunTaskCommand(input);
46
- * const response = await client.send(command);
47
- * ```
48
- *
49
- * @see {@link RunTaskCommandInput} for command's `input` shape.
50
- * @see {@link RunTaskCommandOutput} for command's `response` shape.
51
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
52
- *
53
- */
9
+
54
10
  export declare class RunTaskCommand extends $Command<RunTaskCommandInput, RunTaskCommandOutput, ECSClientResolvedConfig> {
55
11
  readonly input: RunTaskCommandInput;
56
12
  constructor(input: RunTaskCommandInput);
57
- /**
58
- * @internal
59
- */
13
+
60
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RunTaskCommandInput, RunTaskCommandOutput>;
61
15
  private serialize;
62
16
  private deserialize;
@@ -6,33 +6,11 @@ export interface StartTaskCommandInput extends StartTaskRequest {
6
6
  }
7
7
  export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Starts a new task from the specified task definition on the specified container
11
- * instance or instances.</p>
12
- * <p>Alternatively, you can use <a>RunTask</a> to place tasks for you. For more
13
- * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html">Scheduling Tasks</a> in the
14
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ECSClient, StartTaskCommand } from "@aws-sdk/client-ecs"; // ES Modules import
19
- * // const { ECSClient, StartTaskCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
20
- * const client = new ECSClient(config);
21
- * const command = new StartTaskCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link StartTaskCommandInput} for command's `input` shape.
26
- * @see {@link StartTaskCommandOutput} for command's `response` shape.
27
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
9
+
30
10
  export declare class StartTaskCommand extends $Command<StartTaskCommandInput, StartTaskCommandOutput, ECSClientResolvedConfig> {
31
11
  readonly input: StartTaskCommandInput;
32
12
  constructor(input: StartTaskCommandInput);
33
- /**
34
- * @internal
35
- */
13
+
36
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartTaskCommandInput, StartTaskCommandOutput>;
37
15
  private serialize;
38
16
  private deserialize;
@@ -6,41 +6,11 @@ export interface StopTaskCommandInput extends StopTaskRequest {
6
6
  }
7
7
  export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Stops a running task. Any tags associated with the task will be deleted.</p>
11
- * <p>When <a>StopTask</a> is called on a task, the equivalent of <code>docker
12
- * stop</code> is issued to the containers running in the task. This results in a
13
- * <code>SIGTERM</code> value and a default 30-second timeout, after which the
14
- * <code>SIGKILL</code> value is sent and the containers are forcibly stopped. If the
15
- * container handles the <code>SIGTERM</code> value gracefully and exits within 30 seconds
16
- * from receiving it, no <code>SIGKILL</code> value is sent.</p>
17
- * <note>
18
- * <p>The default 30-second timeout can be configured on the Amazon ECS container agent with
19
- * the <code>ECS_CONTAINER_STOP_TIMEOUT</code> variable. For more information, see
20
- * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html">Amazon ECS Container Agent Configuration</a> in the
21
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
22
- * </note>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { ECSClient, StopTaskCommand } from "@aws-sdk/client-ecs"; // ES Modules import
27
- * // const { ECSClient, StopTaskCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
28
- * const client = new ECSClient(config);
29
- * const command = new StopTaskCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link StopTaskCommandInput} for command's `input` shape.
34
- * @see {@link StopTaskCommandOutput} for command's `response` shape.
35
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
9
+
38
10
  export declare class StopTaskCommand extends $Command<StopTaskCommandInput, StopTaskCommandOutput, ECSClientResolvedConfig> {
39
11
  readonly input: StopTaskCommandInput;
40
12
  constructor(input: StopTaskCommandInput);
41
- /**
42
- * @internal
43
- */
13
+
44
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopTaskCommandInput, StopTaskCommandOutput>;
45
15
  private serialize;
46
16
  private deserialize;
@@ -6,33 +6,11 @@ export interface SubmitAttachmentStateChangesCommandInput extends SubmitAttachme
6
6
  }
7
7
  export interface SubmitAttachmentStateChangesCommandOutput extends SubmitAttachmentStateChangesResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <note>
11
- * <p>This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.</p>
12
- * </note>
13
- * <p>Sent to
14
- * acknowledge that an attachment changed states.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ECSClient, SubmitAttachmentStateChangesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
19
- * // const { ECSClient, SubmitAttachmentStateChangesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
20
- * const client = new ECSClient(config);
21
- * const command = new SubmitAttachmentStateChangesCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link SubmitAttachmentStateChangesCommandInput} for command's `input` shape.
26
- * @see {@link SubmitAttachmentStateChangesCommandOutput} for command's `response` shape.
27
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
9
+
30
10
  export declare class SubmitAttachmentStateChangesCommand extends $Command<SubmitAttachmentStateChangesCommandInput, SubmitAttachmentStateChangesCommandOutput, ECSClientResolvedConfig> {
31
11
  readonly input: SubmitAttachmentStateChangesCommandInput;
32
12
  constructor(input: SubmitAttachmentStateChangesCommandInput);
33
- /**
34
- * @internal
35
- */
13
+
36
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SubmitAttachmentStateChangesCommandInput, SubmitAttachmentStateChangesCommandOutput>;
37
15
  private serialize;
38
16
  private deserialize;
@@ -6,33 +6,11 @@ export interface SubmitContainerStateChangeCommandInput extends SubmitContainerS
6
6
  }
7
7
  export interface SubmitContainerStateChangeCommandOutput extends SubmitContainerStateChangeResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <note>
11
- * <p>This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.</p>
12
- * </note>
13
- * <p>Sent to
14
- * acknowledge that a container changed states.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ECSClient, SubmitContainerStateChangeCommand } from "@aws-sdk/client-ecs"; // ES Modules import
19
- * // const { ECSClient, SubmitContainerStateChangeCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
20
- * const client = new ECSClient(config);
21
- * const command = new SubmitContainerStateChangeCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link SubmitContainerStateChangeCommandInput} for command's `input` shape.
26
- * @see {@link SubmitContainerStateChangeCommandOutput} for command's `response` shape.
27
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
9
+
30
10
  export declare class SubmitContainerStateChangeCommand extends $Command<SubmitContainerStateChangeCommandInput, SubmitContainerStateChangeCommandOutput, ECSClientResolvedConfig> {
31
11
  readonly input: SubmitContainerStateChangeCommandInput;
32
12
  constructor(input: SubmitContainerStateChangeCommandInput);
33
- /**
34
- * @internal
35
- */
13
+
36
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SubmitContainerStateChangeCommandInput, SubmitContainerStateChangeCommandOutput>;
37
15
  private serialize;
38
16
  private deserialize;
@@ -6,33 +6,11 @@ export interface SubmitTaskStateChangeCommandInput extends SubmitTaskStateChange
6
6
  }
7
7
  export interface SubmitTaskStateChangeCommandOutput extends SubmitTaskStateChangeResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <note>
11
- * <p>This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.</p>
12
- * </note>
13
- * <p>Sent to acknowledge
14
- * that a task changed states.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ECSClient, SubmitTaskStateChangeCommand } from "@aws-sdk/client-ecs"; // ES Modules import
19
- * // const { ECSClient, SubmitTaskStateChangeCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
20
- * const client = new ECSClient(config);
21
- * const command = new SubmitTaskStateChangeCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link SubmitTaskStateChangeCommandInput} for command's `input` shape.
26
- * @see {@link SubmitTaskStateChangeCommandOutput} for command's `response` shape.
27
- * @see {@link ECSClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
9
+
30
10
  export declare class SubmitTaskStateChangeCommand extends $Command<SubmitTaskStateChangeCommandInput, SubmitTaskStateChangeCommandOutput, ECSClientResolvedConfig> {
31
11
  readonly input: SubmitTaskStateChangeCommandInput;
32
12
  constructor(input: SubmitTaskStateChangeCommandInput);
33
- /**
34
- * @internal
35
- */
13
+
36
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SubmitTaskStateChangeCommandInput, SubmitTaskStateChangeCommandOutput>;
37
15
  private serialize;
38
16
  private deserialize;