@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.
- package/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/ECS.d.ts +15 -1
- package/dist-types/ECSClient.d.ts +1 -1
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +2 -1
- package/dist-types/commands/CreateClusterCommand.d.ts +2 -1
- package/dist-types/commands/CreateServiceCommand.d.ts +2 -1
- package/dist-types/commands/CreateTaskSetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAttributesCommand.d.ts +2 -1
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +2 -1
- package/dist-types/commands/DeleteClusterCommand.d.ts +2 -1
- package/dist-types/commands/DeleteServiceCommand.d.ts +2 -1
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +2 -1
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +2 -1
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +2 -1
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +2 -1
- package/dist-types/commands/DescribeClustersCommand.d.ts +2 -1
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeServicesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTasksCommand.d.ts +2 -1
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +2 -1
- package/dist-types/commands/ExecuteCommandCommand.d.ts +2 -1
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +2 -1
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +2 -1
- package/dist-types/commands/ListAttributesCommand.d.ts +2 -1
- package/dist-types/commands/ListClustersCommand.d.ts +2 -1
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +2 -1
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +2 -1
- package/dist-types/commands/ListServicesCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +2 -1
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +2 -1
- package/dist-types/commands/ListTasksCommand.d.ts +2 -1
- package/dist-types/commands/PutAccountSettingCommand.d.ts +2 -1
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +2 -1
- package/dist-types/commands/PutAttributesCommand.d.ts +2 -1
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +2 -1
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +2 -1
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/RunTaskCommand.d.ts +2 -1
- package/dist-types/commands/StartTaskCommand.d.ts +2 -1
- package/dist-types/commands/StopTaskCommand.d.ts +2 -1
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +2 -1
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +2 -1
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +2 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +2 -1
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +2 -1
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -1
- package/dist-types/commands/UpdateServiceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +2 -1
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +2 -1
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +2 -1
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +999 -999
- package/dist-types/ts3.4/ECS.d.ts +14 -0
- package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteTaskDefinitionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetTaskProtectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListServicesByNamespaceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +0 -1
- 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
|
}
|