@aws-sdk/client-ecs 3.533.0 → 3.540.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 (123) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +4 -2
  2. package/dist-cjs/index.js +0 -3
  3. package/dist-es/endpoint/endpointResolver.js +3 -1
  4. package/dist-es/index.js +0 -1
  5. package/dist-types/ECS.d.ts +15 -1
  6. package/dist-types/ECSClient.d.ts +1 -1
  7. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +2 -1
  8. package/dist-types/commands/CreateClusterCommand.d.ts +2 -1
  9. package/dist-types/commands/CreateServiceCommand.d.ts +2 -1
  10. package/dist-types/commands/CreateTaskSetCommand.d.ts +2 -1
  11. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +2 -1
  12. package/dist-types/commands/DeleteAttributesCommand.d.ts +2 -1
  13. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +2 -1
  14. package/dist-types/commands/DeleteClusterCommand.d.ts +2 -1
  15. package/dist-types/commands/DeleteServiceCommand.d.ts +2 -1
  16. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +2 -1
  17. package/dist-types/commands/DeleteTaskSetCommand.d.ts +2 -1
  18. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +2 -1
  19. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +2 -1
  20. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribeClustersCommand.d.ts +2 -1
  22. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeServicesCommand.d.ts +2 -1
  24. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +2 -1
  25. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +2 -1
  26. package/dist-types/commands/DescribeTasksCommand.d.ts +2 -1
  27. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +2 -1
  28. package/dist-types/commands/ExecuteCommandCommand.d.ts +2 -1
  29. package/dist-types/commands/GetTaskProtectionCommand.d.ts +2 -1
  30. package/dist-types/commands/ListAccountSettingsCommand.d.ts +2 -1
  31. package/dist-types/commands/ListAttributesCommand.d.ts +2 -1
  32. package/dist-types/commands/ListClustersCommand.d.ts +2 -1
  33. package/dist-types/commands/ListContainerInstancesCommand.d.ts +2 -1
  34. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +2 -1
  35. package/dist-types/commands/ListServicesCommand.d.ts +2 -1
  36. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  37. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +2 -1
  38. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +2 -1
  39. package/dist-types/commands/ListTasksCommand.d.ts +2 -1
  40. package/dist-types/commands/PutAccountSettingCommand.d.ts +2 -1
  41. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +2 -1
  42. package/dist-types/commands/PutAttributesCommand.d.ts +2 -1
  43. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +2 -1
  44. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +2 -1
  45. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +2 -1
  46. package/dist-types/commands/RunTaskCommand.d.ts +2 -1
  47. package/dist-types/commands/StartTaskCommand.d.ts +2 -1
  48. package/dist-types/commands/StopTaskCommand.d.ts +2 -1
  49. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +2 -1
  50. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +2 -1
  51. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +2 -1
  52. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  53. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  54. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +2 -1
  55. package/dist-types/commands/UpdateClusterCommand.d.ts +2 -1
  56. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +2 -1
  57. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +2 -1
  58. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -1
  59. package/dist-types/commands/UpdateServiceCommand.d.ts +2 -1
  60. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +2 -1
  61. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +2 -1
  62. package/dist-types/commands/UpdateTaskSetCommand.d.ts +2 -1
  63. package/dist-types/index.d.ts +0 -1
  64. package/dist-types/models/models_0.d.ts +999 -999
  65. package/dist-types/ts3.4/ECS.d.ts +14 -0
  66. package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +9 -0
  67. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +9 -0
  68. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +9 -0
  69. package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +9 -0
  70. package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +9 -0
  71. package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +9 -0
  72. package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +9 -0
  73. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +9 -0
  74. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +9 -0
  75. package/dist-types/ts3.4/commands/DeleteTaskDefinitionsCommand.d.ts +9 -0
  76. package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +9 -0
  77. package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +9 -0
  78. package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +9 -0
  79. package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +9 -0
  80. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +9 -0
  81. package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +9 -0
  82. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +9 -0
  83. package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +9 -0
  84. package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +9 -0
  85. package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +9 -0
  86. package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +9 -0
  87. package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +9 -0
  88. package/dist-types/ts3.4/commands/GetTaskProtectionCommand.d.ts +9 -0
  89. package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +9 -0
  90. package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +9 -0
  91. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +9 -0
  92. package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +9 -0
  93. package/dist-types/ts3.4/commands/ListServicesByNamespaceCommand.d.ts +9 -0
  94. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +9 -0
  95. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  96. package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +9 -0
  97. package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +9 -0
  98. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +9 -0
  99. package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +9 -0
  100. package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +9 -0
  101. package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +9 -0
  102. package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +9 -0
  103. package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +9 -0
  104. package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +9 -0
  105. package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +7 -0
  106. package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +9 -0
  107. package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +9 -0
  108. package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +9 -0
  109. package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +9 -0
  110. package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +9 -0
  111. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  112. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  113. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +9 -0
  114. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +9 -0
  115. package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +9 -0
  116. package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +9 -0
  117. package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +9 -0
  118. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +9 -0
  119. package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +9 -0
  120. package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +9 -0
  121. package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +9 -0
  122. package/dist-types/ts3.4/index.d.ts +0 -1
  123. package/package.json +41 -41
@@ -22,10 +22,10 @@ export interface UpdateContainerInstancesStateCommandOutput extends UpdateContai
22
22
  }
23
23
  declare const UpdateContainerInstancesStateCommand_base: {
24
24
  new (input: UpdateContainerInstancesStateCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateContainerInstancesStateCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Modifies the status of an Amazon ECS container instance.</p>
30
30
  * <p>Once a container instance has reached an <code>ACTIVE</code> state, you can change the
31
31
  * status of a container instance to <code>DRAINING</code> to manually remove an instance
@@ -208,6 +208,7 @@ declare const UpdateContainerInstancesStateCommand_base: {
208
208
  * @throws {@link ECSServiceException}
209
209
  * <p>Base exception class for all service exceptions from ECS service.</p>
210
210
  *
211
+ * @public
211
212
  */
212
213
  export declare class UpdateContainerInstancesStateCommand extends UpdateContainerInstancesStateCommand_base {
213
214
  }
@@ -22,10 +22,10 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
22
22
  }
23
23
  declare const UpdateServiceCommand_base: {
24
24
  new (input: UpdateServiceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateServiceCommandInput, UpdateServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateServiceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateServiceCommandInput, UpdateServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Modifies the parameters of a service.</p>
30
30
  * <p>For services using the rolling update (<code>ECS</code>) you can update the desired
31
31
  * count, deployment configuration, network configuration, load balancers, service
@@ -626,6 +626,7 @@ declare const UpdateServiceCommand_base: {
626
626
  * @throws {@link ECSServiceException}
627
627
  * <p>Base exception class for all service exceptions from ECS service.</p>
628
628
  *
629
+ * @public
629
630
  * @example To change the task definition used in a service
630
631
  * ```javascript
631
632
  * // This example updates the my-http-service service to use the amazon-ecs-sample task definition.
@@ -22,10 +22,10 @@ export interface UpdateServicePrimaryTaskSetCommandOutput extends UpdateServiceP
22
22
  }
23
23
  declare const UpdateServicePrimaryTaskSetCommand_base: {
24
24
  new (input: UpdateServicePrimaryTaskSetCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateServicePrimaryTaskSetCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Modifies which task set in a service is the primary task set. Any parameters that are
30
30
  * updated on the primary task set in a service will transition to the service. This is
31
31
  * used when a service uses the <code>EXTERNAL</code> deployment controller type. For more
@@ -155,6 +155,7 @@ declare const UpdateServicePrimaryTaskSetCommand_base: {
155
155
  * @throws {@link ECSServiceException}
156
156
  * <p>Base exception class for all service exceptions from ECS service.</p>
157
157
  *
158
+ * @public
158
159
  */
159
160
  export declare class UpdateServicePrimaryTaskSetCommand extends UpdateServicePrimaryTaskSetCommand_base {
160
161
  }
@@ -22,10 +22,10 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR
22
22
  }
23
23
  declare const UpdateTaskProtectionCommand_base: {
24
24
  new (input: UpdateTaskProtectionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateTaskProtectionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Updates the protection status of a task. You can set <code>protectionEnabled</code> to
30
30
  * <code>true</code> to protect your task from termination during scale-in events from
31
31
  * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html">Service
@@ -121,6 +121,7 @@ declare const UpdateTaskProtectionCommand_base: {
121
121
  * @throws {@link ECSServiceException}
122
122
  * <p>Base exception class for all service exceptions from ECS service.</p>
123
123
  *
124
+ * @public
124
125
  * @example To set task scale-in protection for a task for 60 minutes
125
126
  * ```javascript
126
127
  * // This example enables scale-in protection for a task for 60 minutes.
@@ -22,10 +22,10 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met
22
22
  }
23
23
  declare const UpdateTaskSetCommand_base: {
24
24
  new (input: UpdateTaskSetCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateTaskSetCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Modifies a task set. This is used when a service uses the <code>EXTERNAL</code>
30
30
  * deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment
31
31
  * Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
@@ -157,6 +157,7 @@ declare const UpdateTaskSetCommand_base: {
157
157
  * @throws {@link ECSServiceException}
158
158
  * <p>Base exception class for all service exceptions from ECS service.</p>
159
159
  *
160
+ * @public
160
161
  */
161
162
  export declare class UpdateTaskSetCommand extends UpdateTaskSetCommand_base {
162
163
  }
@@ -24,5 +24,4 @@ export * from "./commands";
24
24
  export * from "./pagination";
25
25
  export * from "./waiters";
26
26
  export * from "./models";
27
- import "@aws-sdk/util-endpoints";
28
27
  export { ECSServiceException } from "./models/ECSServiceException";