@aws-sdk/client-ecs 3.1045.0 → 3.1046.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +245 -247
- package/dist-cjs/models/ECSServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/ECS.js +1 -1
- package/dist-es/ECSClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/CreateCapacityProviderCommand.js +2 -2
- package/dist-es/commands/CreateClusterCommand.js +2 -2
- package/dist-es/commands/CreateDaemonCommand.js +2 -2
- package/dist-es/commands/CreateExpressGatewayServiceCommand.js +2 -2
- package/dist-es/commands/CreateServiceCommand.js +2 -2
- package/dist-es/commands/CreateTaskSetCommand.js +2 -2
- package/dist-es/commands/DeleteAccountSettingCommand.js +2 -2
- package/dist-es/commands/DeleteAttributesCommand.js +2 -2
- package/dist-es/commands/DeleteCapacityProviderCommand.js +2 -2
- package/dist-es/commands/DeleteClusterCommand.js +2 -2
- package/dist-es/commands/DeleteDaemonCommand.js +2 -2
- package/dist-es/commands/DeleteDaemonTaskDefinitionCommand.js +2 -2
- package/dist-es/commands/DeleteExpressGatewayServiceCommand.js +2 -2
- package/dist-es/commands/DeleteServiceCommand.js +2 -2
- package/dist-es/commands/DeleteTaskDefinitionsCommand.js +2 -2
- package/dist-es/commands/DeleteTaskSetCommand.js +2 -2
- package/dist-es/commands/DeregisterContainerInstanceCommand.js +2 -2
- package/dist-es/commands/DeregisterTaskDefinitionCommand.js +2 -2
- package/dist-es/commands/DescribeCapacityProvidersCommand.js +2 -2
- package/dist-es/commands/DescribeClustersCommand.js +2 -2
- package/dist-es/commands/DescribeContainerInstancesCommand.js +2 -2
- package/dist-es/commands/DescribeDaemonCommand.js +2 -2
- package/dist-es/commands/DescribeDaemonDeploymentsCommand.js +2 -2
- package/dist-es/commands/DescribeDaemonRevisionsCommand.js +2 -2
- package/dist-es/commands/DescribeDaemonTaskDefinitionCommand.js +2 -2
- package/dist-es/commands/DescribeExpressGatewayServiceCommand.js +2 -2
- package/dist-es/commands/DescribeServiceDeploymentsCommand.js +2 -2
- package/dist-es/commands/DescribeServiceRevisionsCommand.js +2 -2
- package/dist-es/commands/DescribeServicesCommand.js +2 -2
- package/dist-es/commands/DescribeTaskDefinitionCommand.js +2 -2
- package/dist-es/commands/DescribeTaskSetsCommand.js +2 -2
- package/dist-es/commands/DescribeTasksCommand.js +2 -2
- package/dist-es/commands/DiscoverPollEndpointCommand.js +2 -2
- package/dist-es/commands/ExecuteCommandCommand.js +2 -2
- package/dist-es/commands/GetTaskProtectionCommand.js +2 -2
- package/dist-es/commands/ListAccountSettingsCommand.js +2 -2
- package/dist-es/commands/ListAttributesCommand.js +2 -2
- package/dist-es/commands/ListClustersCommand.js +2 -2
- package/dist-es/commands/ListContainerInstancesCommand.js +2 -2
- package/dist-es/commands/ListDaemonDeploymentsCommand.js +2 -2
- package/dist-es/commands/ListDaemonTaskDefinitionsCommand.js +2 -2
- package/dist-es/commands/ListDaemonsCommand.js +2 -2
- package/dist-es/commands/ListServiceDeploymentsCommand.js +2 -2
- package/dist-es/commands/ListServicesByNamespaceCommand.js +2 -2
- package/dist-es/commands/ListServicesCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListTaskDefinitionFamiliesCommand.js +2 -2
- package/dist-es/commands/ListTaskDefinitionsCommand.js +2 -2
- package/dist-es/commands/ListTasksCommand.js +2 -2
- package/dist-es/commands/PutAccountSettingCommand.js +2 -2
- package/dist-es/commands/PutAccountSettingDefaultCommand.js +2 -2
- package/dist-es/commands/PutAttributesCommand.js +2 -2
- package/dist-es/commands/PutClusterCapacityProvidersCommand.js +2 -2
- package/dist-es/commands/RegisterContainerInstanceCommand.js +2 -2
- package/dist-es/commands/RegisterDaemonTaskDefinitionCommand.js +2 -2
- package/dist-es/commands/RegisterTaskDefinitionCommand.js +2 -2
- package/dist-es/commands/RunTaskCommand.js +2 -2
- package/dist-es/commands/StartTaskCommand.js +2 -2
- package/dist-es/commands/StopServiceDeploymentCommand.js +2 -2
- package/dist-es/commands/StopTaskCommand.js +2 -2
- package/dist-es/commands/SubmitAttachmentStateChangesCommand.js +2 -2
- package/dist-es/commands/SubmitContainerStateChangeCommand.js +2 -2
- package/dist-es/commands/SubmitTaskStateChangeCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateCapacityProviderCommand.js +2 -2
- package/dist-es/commands/UpdateClusterCommand.js +2 -2
- package/dist-es/commands/UpdateClusterSettingsCommand.js +2 -2
- package/dist-es/commands/UpdateContainerAgentCommand.js +2 -2
- package/dist-es/commands/UpdateContainerInstancesStateCommand.js +2 -2
- package/dist-es/commands/UpdateDaemonCommand.js +2 -2
- package/dist-es/commands/UpdateExpressGatewayServiceCommand.js +2 -2
- package/dist-es/commands/UpdateServiceCommand.js +2 -2
- package/dist-es/commands/UpdateServicePrimaryTaskSetCommand.js +2 -2
- package/dist-es/commands/UpdateTaskProtectionCommand.js +2 -2
- package/dist-es/commands/UpdateTaskSetCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/ECSServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/waiters/waitForDaemonActive.js +1 -1
- package/dist-es/waiters/waitForDaemonDeploymentStopped.js +1 -1
- package/dist-es/waiters/waitForDaemonDeploymentSuccessful.js +1 -1
- package/dist-es/waiters/waitForDaemonTaskDefinitionActive.js +1 -1
- package/dist-es/waiters/waitForDaemonTaskDefinitionDeleted.js +1 -1
- package/dist-es/waiters/waitForServicesInactive.js +1 -1
- package/dist-es/waiters/waitForServicesStable.js +1 -1
- package/dist-es/waiters/waitForTasksRunning.js +1 -1
- package/dist-es/waiters/waitForTasksStopped.js +1 -1
- package/dist-types/ECS.d.ts +1 -1
- package/dist-types/ECSClient.d.ts +5 -5
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +6 -4
- package/dist-types/commands/CreateClusterCommand.d.ts +6 -4
- package/dist-types/commands/CreateDaemonCommand.d.ts +6 -4
- package/dist-types/commands/CreateExpressGatewayServiceCommand.d.ts +6 -4
- package/dist-types/commands/CreateServiceCommand.d.ts +6 -4
- package/dist-types/commands/CreateTaskSetCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAttributesCommand.d.ts +6 -4
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +6 -4
- package/dist-types/commands/DeleteClusterCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDaemonCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDaemonTaskDefinitionCommand.d.ts +6 -4
- package/dist-types/commands/DeleteExpressGatewayServiceCommand.d.ts +6 -4
- package/dist-types/commands/DeleteServiceCommand.d.ts +6 -4
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +6 -4
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +6 -4
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +6 -4
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +6 -4
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +6 -4
- package/dist-types/commands/DescribeClustersCommand.d.ts +6 -4
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDaemonCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDaemonDeploymentsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDaemonRevisionsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDaemonTaskDefinitionCommand.d.ts +6 -4
- package/dist-types/commands/DescribeExpressGatewayServiceCommand.d.ts +6 -4
- package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeServicesCommand.d.ts +6 -4
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +6 -4
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeTasksCommand.d.ts +6 -4
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +6 -4
- package/dist-types/commands/ExecuteCommandCommand.d.ts +6 -4
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +6 -4
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +6 -4
- package/dist-types/commands/ListAttributesCommand.d.ts +6 -4
- package/dist-types/commands/ListClustersCommand.d.ts +6 -4
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +6 -4
- package/dist-types/commands/ListDaemonDeploymentsCommand.d.ts +6 -4
- package/dist-types/commands/ListDaemonTaskDefinitionsCommand.d.ts +6 -4
- package/dist-types/commands/ListDaemonsCommand.d.ts +6 -4
- package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +6 -4
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +6 -4
- package/dist-types/commands/ListServicesCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +6 -4
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +6 -4
- package/dist-types/commands/ListTasksCommand.d.ts +6 -4
- package/dist-types/commands/PutAccountSettingCommand.d.ts +6 -4
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +6 -4
- package/dist-types/commands/PutAttributesCommand.d.ts +6 -4
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +6 -4
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +6 -4
- package/dist-types/commands/RegisterDaemonTaskDefinitionCommand.d.ts +6 -4
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +6 -4
- package/dist-types/commands/RunTaskCommand.d.ts +6 -4
- package/dist-types/commands/StartTaskCommand.d.ts +6 -4
- package/dist-types/commands/StopServiceDeploymentCommand.d.ts +6 -4
- package/dist-types/commands/StopTaskCommand.d.ts +6 -4
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +6 -4
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +6 -4
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +6 -4
- package/dist-types/commands/UpdateClusterCommand.d.ts +6 -4
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +6 -4
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +6 -4
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +6 -4
- package/dist-types/commands/UpdateDaemonCommand.d.ts +6 -4
- package/dist-types/commands/UpdateExpressGatewayServiceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateServiceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +6 -4
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +6 -4
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/ECSServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/ECS.d.ts +1 -1
- package/dist-types/ts3.4/ECSClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDaemonCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateExpressGatewayServiceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDaemonCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDaemonTaskDefinitionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteExpressGatewayServiceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteTaskDefinitionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDaemonCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDaemonDeploymentsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDaemonRevisionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDaemonTaskDefinitionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeExpressGatewayServiceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeServiceDeploymentsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeServiceRevisionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetTaskProtectionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDaemonDeploymentsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDaemonTaskDefinitionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDaemonsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListServiceDeploymentsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListServicesByNamespaceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +6 -6
- package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RegisterDaemonTaskDefinitionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/StopServiceDeploymentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateDaemonCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateExpressGatewayServiceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/ECSServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/waiters/waitForDaemonActive.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForDaemonDeploymentStopped.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForDaemonDeploymentSuccessful.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForDaemonTaskDefinitionActive.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForDaemonTaskDefinitionDeleted.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForServicesInactive.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForServicesStable.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForTasksRunning.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForTasksStopped.d.ts +1 -1
- package/dist-types/waiters/waitForDaemonActive.d.ts +1 -1
- package/dist-types/waiters/waitForDaemonDeploymentStopped.d.ts +1 -1
- package/dist-types/waiters/waitForDaemonDeploymentSuccessful.d.ts +1 -1
- package/dist-types/waiters/waitForDaemonTaskDefinitionActive.d.ts +1 -1
- package/dist-types/waiters/waitForDaemonTaskDefinitionDeleted.d.ts +1 -1
- package/dist-types/waiters/waitForServicesInactive.d.ts +1 -1
- package/dist-types/waiters/waitForServicesStable.d.ts +1 -1
- package/dist-types/waiters/waitForTasksRunning.d.ts +1 -1
- package/dist-types/waiters/waitForTasksStopped.d.ts +1 -1
- package/package.json +13 -35
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { PutAttributesRequest, PutAttributesResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface PutAttributesCommandInput extends PutAttributesRequest {
|
|
|
22
22
|
export interface PutAttributesCommandOutput extends PutAttributesResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const PutAttributesCommand_base: {
|
|
25
|
-
new (input: PutAttributesCommandInput): import("@smithy/
|
|
26
|
-
new (input: PutAttributesCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: PutAttributesCommandInput): import("@smithy/core/client").CommandImpl<PutAttributesCommandInput, PutAttributesCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutAttributesCommandInput): import("@smithy/core/client").CommandImpl<PutAttributesCommandInput, PutAttributesCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Create or update an attribute on an Amazon ECS resource. If the attribute doesn't exist, it's created. If the attribute exists, its value is replaced with the specified value. To delete an attribute, use <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteAttributes.html">DeleteAttributes</a>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes">Attributes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { PutClusterCapacityProvidersRequest, PutClusterCapacityProvidersResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface PutClusterCapacityProvidersCommandInput extends PutClusterCapac
|
|
|
22
22
|
export interface PutClusterCapacityProvidersCommandOutput extends PutClusterCapacityProvidersResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const PutClusterCapacityProvidersCommand_base: {
|
|
25
|
-
new (input: PutClusterCapacityProvidersCommandInput): import("@smithy/
|
|
26
|
-
new (input: PutClusterCapacityProvidersCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: PutClusterCapacityProvidersCommandInput): import("@smithy/core/client").CommandImpl<PutClusterCapacityProvidersCommandInput, PutClusterCapacityProvidersCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutClusterCapacityProvidersCommandInput): import("@smithy/core/client").CommandImpl<PutClusterCapacityProvidersCommandInput, PutClusterCapacityProvidersCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Modifies the available capacity providers and the default capacity provider strategy for a cluster.</p> <p>You must specify both the available capacity providers and a default capacity provider strategy for the cluster. If the specified cluster has existing capacity providers associated with it, you must specify all existing capacity providers in addition to any new ones you want to add. Any existing capacity providers that are associated with a cluster that are omitted from a <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html">PutClusterCapacityProviders</a> API call will be disassociated with the cluster. You can only disassociate an existing capacity provider from a cluster if it's not being used by any existing tasks.</p> <p>When creating a service or running a task on a cluster, if no capacity provider or launch type is specified, then the cluster's default capacity provider strategy is used. We recommend that you define a default capacity provider strategy for your cluster. However, you must specify an empty array (<code>[]</code>) to bypass defining a default strategy.</p> <p>Amazon ECS Managed Instances doesn't support this, because when you create a capacity provider with Amazon ECS Managed Instances, it becomes available only within the specified cluster.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { RegisterContainerInstanceRequest, RegisterContainerInstanceResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface RegisterContainerInstanceCommandInput extends RegisterContainer
|
|
|
22
22
|
export interface RegisterContainerInstanceCommandOutput extends RegisterContainerInstanceResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const RegisterContainerInstanceCommand_base: {
|
|
25
|
-
new (input: RegisterContainerInstanceCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [RegisterContainerInstanceCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: RegisterContainerInstanceCommandInput): import("@smithy/core/client").CommandImpl<RegisterContainerInstanceCommandInput, RegisterContainerInstanceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [RegisterContainerInstanceCommandInput]): import("@smithy/core/client").CommandImpl<RegisterContainerInstanceCommandInput, RegisterContainerInstanceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <note> <p>This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.</p> </note> <p>Registers an EC2 instance into the specified cluster. This instance becomes available to place containers on.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { RegisterDaemonTaskDefinitionRequest, RegisterDaemonTaskDefinitionResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface RegisterDaemonTaskDefinitionCommandInput extends RegisterDaemon
|
|
|
22
22
|
export interface RegisterDaemonTaskDefinitionCommandOutput extends RegisterDaemonTaskDefinitionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const RegisterDaemonTaskDefinitionCommand_base: {
|
|
25
|
-
new (input: RegisterDaemonTaskDefinitionCommandInput): import("@smithy/
|
|
26
|
-
new (input: RegisterDaemonTaskDefinitionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: RegisterDaemonTaskDefinitionCommandInput): import("@smithy/core/client").CommandImpl<RegisterDaemonTaskDefinitionCommandInput, RegisterDaemonTaskDefinitionCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RegisterDaemonTaskDefinitionCommandInput): import("@smithy/core/client").CommandImpl<RegisterDaemonTaskDefinitionCommandInput, RegisterDaemonTaskDefinitionCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Registers a new daemon task definition from the supplied <code>family</code> and <code>containerDefinitions</code>. Optionally, you can add data volumes to your containers with the <code>volumes</code> parameter. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/daemon-task-definitions.html">Daemon task definitions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>A daemon task definition is a template that describes the containers that form a daemon. Daemons deploy cross-cutting software agents such as security monitoring, telemetry, and logging across your Amazon ECS infrastructure.</p> <p>Each time you call <code>RegisterDaemonTaskDefinition</code>, a new revision of the daemon task definition is created. You can't modify a revision after you register it.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { RegisterTaskDefinitionRequest, RegisterTaskDefinitionResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface RegisterTaskDefinitionCommandInput extends RegisterTaskDefiniti
|
|
|
22
22
|
export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinitionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const RegisterTaskDefinitionCommand_base: {
|
|
25
|
-
new (input: RegisterTaskDefinitionCommandInput): import("@smithy/
|
|
26
|
-
new (input: RegisterTaskDefinitionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: RegisterTaskDefinitionCommandInput): import("@smithy/core/client").CommandImpl<RegisterTaskDefinitionCommandInput, RegisterTaskDefinitionCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RegisterTaskDefinitionCommandInput): import("@smithy/core/client").CommandImpl<RegisterTaskDefinitionCommandInput, RegisterTaskDefinitionCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Registers a new task definition from the supplied <code>family</code> and <code>containerDefinitions</code>. Optionally, you can add data volumes to your containers with the <code>volumes</code> parameter. For more information about task definition parameters and defaults, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Amazon ECS Task Definitions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>You can specify a role for your task with the <code>taskRoleArn</code> parameter. When you specify a role for a task, its containers can then use the latest versions of the CLI or SDKs to make API requests to the Amazon Web Services services that are specified in the policy that's associated with the role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM Roles for Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>You can specify a Docker networking mode for the containers in your task definition with the <code>networkMode</code> parameter. If you specify the <code>awsvpc</code> network mode, the task is allocated an elastic network interface, and you must specify a <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html">NetworkConfiguration</a> when you create a service or run a task with the task definition. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html">Task Networking</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { RunTaskRequest, RunTaskResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface RunTaskCommandInput extends RunTaskRequest {
|
|
|
22
22
|
export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const RunTaskCommand_base: {
|
|
25
|
-
new (input: RunTaskCommandInput): import("@smithy/
|
|
26
|
-
new (input: RunTaskCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: RunTaskCommandInput): import("@smithy/core/client").CommandImpl<RunTaskCommandInput, RunTaskCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RunTaskCommandInput): import("@smithy/core/client").CommandImpl<RunTaskCommandInput, RunTaskCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Starts a new task using the specified task definition.</p> <note> <p>On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.</p> </note> <note> <p>Amazon Elastic Inference (EI) is no longer available to customers.</p> </note> <p>You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places tasks using placement constraints and placement strategies. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html">Scheduling Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>Alternatively, you can use <code>StartTask</code> to use your own scheduler or place tasks manually on specific container instances.</p> <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>The Amazon ECS API follows an eventual consistency model. This is because of the distributed nature of the system supporting the API. This means that the result of an API command you run that affects your Amazon ECS resources might not be immediately visible to all subsequent commands you run. Keep this in mind when you carry out an API command that immediately follows a previous API command.</p> <p>To manage eventual consistency, you can do the following:</p> <ul> <li> <p>Confirm the state of the resource before you run a command to modify it. Run the DescribeTasks command using an exponential backoff algorithm to ensure that you allow enough time for the previous command to propagate through the system. To do this, run the DescribeTasks command repeatedly, starting with a couple of seconds of wait time and increasing gradually up to five minutes of wait time.</p> </li> <li> <p>Add wait time between subsequent commands, even if the DescribeTasks command returns an accurate response. Apply an exponential backoff algorithm starting with a couple of seconds of wait time, and increase gradually up to about five minutes of wait time.</p> </li> </ul> <p>If you get a <code>ConflictException</code> error, the <code>RunTask</code> request could not be processed due to conflicts. The provided <code>clientToken</code> is already in use with a different <code>RunTask</code> request. The <code>resourceIds</code> are the existing task ARNs which are already associated with the <code>clientToken</code>. </p> <p>To fix this issue:</p> <ul> <li> <p>Run <code>RunTask</code> with a unique <code>clientToken</code>.</p> </li> <li> <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original set of parameters</p> </li> </ul> <p>If you get a <code>ClientException</code>error, the <code>RunTask</code> could not be processed because you use managed scaling and there is a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service quotas</a>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { StartTaskRequest, StartTaskResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface StartTaskCommandInput extends StartTaskRequest {
|
|
|
22
22
|
export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const StartTaskCommand_base: {
|
|
25
|
-
new (input: StartTaskCommandInput): import("@smithy/
|
|
26
|
-
new (input: StartTaskCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: StartTaskCommandInput): import("@smithy/core/client").CommandImpl<StartTaskCommandInput, StartTaskCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartTaskCommandInput): import("@smithy/core/client").CommandImpl<StartTaskCommandInput, StartTaskCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Starts a new task from the specified task definition on the specified container instance or instances.</p> <note> <p>On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.</p> </note> <note> <p>Amazon Elastic Inference (EI) is no longer available to customers.</p> </note> <p>Alternatively, you can use<code>RunTask</code> to place tasks for you. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html">Scheduling Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { StopServiceDeploymentRequest, StopServiceDeploymentResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface StopServiceDeploymentCommandInput extends StopServiceDeployment
|
|
|
22
22
|
export interface StopServiceDeploymentCommandOutput extends StopServiceDeploymentResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const StopServiceDeploymentCommand_base: {
|
|
25
|
-
new (input: StopServiceDeploymentCommandInput): import("@smithy/
|
|
26
|
-
new (input: StopServiceDeploymentCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: StopServiceDeploymentCommandInput): import("@smithy/core/client").CommandImpl<StopServiceDeploymentCommandInput, StopServiceDeploymentCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StopServiceDeploymentCommandInput): import("@smithy/core/client").CommandImpl<StopServiceDeploymentCommandInput, StopServiceDeploymentCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Stops an ongoing service deployment.</p> <p>The following stop types are avaiable:</p> <ul> <li> <p>ROLLBACK - This option rolls back the service deployment to the previous service revision. </p> <p>You can use this option even if you didn't configure the service deployment for the rollback option. </p> </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stop-service-deployment.html">Stopping Amazon ECS service deployments</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { StopTaskRequest, StopTaskResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface StopTaskCommandInput extends StopTaskRequest {
|
|
|
22
22
|
export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const StopTaskCommand_base: {
|
|
25
|
-
new (input: StopTaskCommandInput): import("@smithy/
|
|
26
|
-
new (input: StopTaskCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: StopTaskCommandInput): import("@smithy/core/client").CommandImpl<StopTaskCommandInput, StopTaskCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StopTaskCommandInput): import("@smithy/core/client").CommandImpl<StopTaskCommandInput, StopTaskCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Stops a running task. Any tags associated with the task will be deleted.</p> <p>When you call <code>StopTask</code> on a task, the equivalent of <code>docker stop</code> is issued to the containers running in the task. This results in a stop signal value and a default 30-second timeout, after which the <code>SIGKILL</code> value is sent and the containers are forcibly stopped. This signal can be defined in your container image with the <code>STOPSIGNAL</code> instruction and will default to <code>SIGTERM</code>. If the container handles the <code>SIGTERM</code> value gracefully and exits within 30 seconds from receiving it, no <code>SIGKILL</code> value is sent.</p> <p>For Windows containers, POSIX signals do not work and runtime stops the container by sending a <code>CTRL_SHUTDOWN_EVENT</code>. For more information, see <a href="https://github.com/moby/moby/issues/25982">Unable to react to graceful shutdown of (Windows) container #25982</a> on GitHub.</p> <note> <p>The default 30-second timeout can be configured on the Amazon ECS container agent with the <code>ECS_CONTAINER_STOP_TIMEOUT</code> variable. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html">Amazon ECS Container Agent Configuration</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> </note>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { SubmitAttachmentStateChangesRequest, SubmitAttachmentStateChangesResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface SubmitAttachmentStateChangesCommandInput extends SubmitAttachme
|
|
|
22
22
|
export interface SubmitAttachmentStateChangesCommandOutput extends SubmitAttachmentStateChangesResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const SubmitAttachmentStateChangesCommand_base: {
|
|
25
|
-
new (input: SubmitAttachmentStateChangesCommandInput): import("@smithy/
|
|
26
|
-
new (input: SubmitAttachmentStateChangesCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: SubmitAttachmentStateChangesCommandInput): import("@smithy/core/client").CommandImpl<SubmitAttachmentStateChangesCommandInput, SubmitAttachmentStateChangesCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SubmitAttachmentStateChangesCommandInput): import("@smithy/core/client").CommandImpl<SubmitAttachmentStateChangesCommandInput, SubmitAttachmentStateChangesCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <note> <p>This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.</p> </note> <p>Sent to acknowledge that an attachment changed states.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { SubmitContainerStateChangeRequest, SubmitContainerStateChangeResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface SubmitContainerStateChangeCommandInput extends SubmitContainerS
|
|
|
22
22
|
export interface SubmitContainerStateChangeCommandOutput extends SubmitContainerStateChangeResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const SubmitContainerStateChangeCommand_base: {
|
|
25
|
-
new (input: SubmitContainerStateChangeCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [SubmitContainerStateChangeCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: SubmitContainerStateChangeCommandInput): import("@smithy/core/client").CommandImpl<SubmitContainerStateChangeCommandInput, SubmitContainerStateChangeCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [SubmitContainerStateChangeCommandInput]): import("@smithy/core/client").CommandImpl<SubmitContainerStateChangeCommandInput, SubmitContainerStateChangeCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <note> <p>This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.</p> </note> <p>Sent to acknowledge that a container changed states.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { SubmitTaskStateChangeRequest, SubmitTaskStateChangeResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface SubmitTaskStateChangeCommandInput extends SubmitTaskStateChange
|
|
|
22
22
|
export interface SubmitTaskStateChangeCommandOutput extends SubmitTaskStateChangeResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const SubmitTaskStateChangeCommand_base: {
|
|
25
|
-
new (input: SubmitTaskStateChangeCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [SubmitTaskStateChangeCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: SubmitTaskStateChangeCommandInput): import("@smithy/core/client").CommandImpl<SubmitTaskStateChangeCommandInput, SubmitTaskStateChangeCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [SubmitTaskStateChangeCommandInput]): import("@smithy/core/client").CommandImpl<SubmitTaskStateChangeCommandInput, SubmitTaskStateChangeCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <note> <p>This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.</p> </note> <p>Sent to acknowledge that a task changed states.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface TagResourceCommandInput extends TagResourceRequest {
|
|
|
22
22
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const TagResourceCommand_base: {
|
|
25
|
-
new (input: TagResourceCommandInput): import("@smithy/
|
|
26
|
-
new (input: TagResourceCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that are associated with that resource are deleted as well.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
|
22
22
|
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UntagResourceCommand_base: {
|
|
25
|
-
new (input: UntagResourceCommandInput): import("@smithy/
|
|
26
|
-
new (input: UntagResourceCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes specified tags from a resource.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { UpdateCapacityProviderRequest, UpdateCapacityProviderResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateCapacityProviderCommandInput extends UpdateCapacityProvid
|
|
|
22
22
|
export interface UpdateCapacityProviderCommandOutput extends UpdateCapacityProviderResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateCapacityProviderCommand_base: {
|
|
25
|
-
new (input: UpdateCapacityProviderCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateCapacityProviderCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateCapacityProviderCommandInput): import("@smithy/core/client").CommandImpl<UpdateCapacityProviderCommandInput, UpdateCapacityProviderCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateCapacityProviderCommandInput): import("@smithy/core/client").CommandImpl<UpdateCapacityProviderCommandInput, UpdateCapacityProviderCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Modifies the parameters for a capacity provider.</p> <p>These changes only apply to new Amazon ECS Managed Instances, or EC2 instances, not existing ones.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { UpdateClusterRequest, UpdateClusterResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateClusterCommandInput extends UpdateClusterRequest {
|
|
|
22
22
|
export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateClusterCommand_base: {
|
|
25
|
-
new (input: UpdateClusterCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateClusterCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateClusterCommandInput): import("@smithy/core/client").CommandImpl<UpdateClusterCommandInput, UpdateClusterCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateClusterCommandInput): import("@smithy/core/client").CommandImpl<UpdateClusterCommandInput, UpdateClusterCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Updates the cluster.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { UpdateClusterSettingsRequest, UpdateClusterSettingsResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateClusterSettingsCommandInput extends UpdateClusterSettings
|
|
|
22
22
|
export interface UpdateClusterSettingsCommandOutput extends UpdateClusterSettingsResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateClusterSettingsCommand_base: {
|
|
25
|
-
new (input: UpdateClusterSettingsCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateClusterSettingsCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateClusterSettingsCommandInput): import("@smithy/core/client").CommandImpl<UpdateClusterSettingsCommandInput, UpdateClusterSettingsCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateClusterSettingsCommandInput): import("@smithy/core/client").CommandImpl<UpdateClusterSettingsCommandInput, UpdateClusterSettingsCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Modifies the settings to use for a cluster.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { UpdateContainerAgentRequest, UpdateContainerAgentResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateContainerAgentCommandInput extends UpdateContainerAgentRe
|
|
|
22
22
|
export interface UpdateContainerAgentCommandOutput extends UpdateContainerAgentResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateContainerAgentCommand_base: {
|
|
25
|
-
new (input: UpdateContainerAgentCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateContainerAgentCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateContainerAgentCommandInput): import("@smithy/core/client").CommandImpl<UpdateContainerAgentCommandInput, UpdateContainerAgentCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateContainerAgentCommandInput): import("@smithy/core/client").CommandImpl<UpdateContainerAgentCommandInput, UpdateContainerAgentCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Updates the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container agent doesn't interrupt running tasks or services on the container instance. The process for updating the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized AMI or another operating system.</p> <note> <p>The <code>UpdateContainerAgent</code> API isn't supported for container instances using the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent, you can update the <code>ecs-init</code> package. This updates the agent. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/agent-update-ecs-ami.html">Updating the Amazon ECS container agent</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> </note> <note> <p>Agent updates with the <code>UpdateContainerAgent</code> API operation do not apply to Windows container instances. We recommend that you launch new container instances to update the agent version in your Windows clusters.</p> </note> <p>The <code>UpdateContainerAgent</code> API requires an Amazon ECS-optimized AMI or Amazon Linux AMI with the <code>ecs-init</code> service installed and running. For help updating the Amazon ECS container agent on other operating systems, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html#manually_update_agent">Manually updating the Amazon ECS container agent</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { UpdateContainerInstancesStateRequest, UpdateContainerInstancesStateResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateContainerInstancesStateCommandInput extends UpdateContain
|
|
|
22
22
|
export interface UpdateContainerInstancesStateCommandOutput extends UpdateContainerInstancesStateResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateContainerInstancesStateCommand_base: {
|
|
25
|
-
new (input: UpdateContainerInstancesStateCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateContainerInstancesStateCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateContainerInstancesStateCommandInput): import("@smithy/core/client").CommandImpl<UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateContainerInstancesStateCommandInput): import("@smithy/core/client").CommandImpl<UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Modifies the status of an Amazon ECS container instance.</p> <p>Once a container instance has reached an <code>ACTIVE</code> state, you can change the status of a container instance to <code>DRAINING</code> to manually remove an instance from a cluster, for example to perform system updates, update the Docker daemon, or scale down the cluster size.</p> <important> <p>A container instance can't be changed to <code>DRAINING</code> until it has reached an <code>ACTIVE</code> status. If the instance is in any other status, an error will be received.</p> </important> <p>When you set a container instance to <code>DRAINING</code>, Amazon ECS prevents new tasks from being scheduled for placement on the container instance and replacement service tasks are started on other container instances in the cluster if the resources are available. Service tasks on the container instance that are in the <code>PENDING</code> state are stopped immediately.</p> <p>Service tasks on the container instance that are in the <code>RUNNING</code> state are stopped and replaced according to the service's deployment configuration parameters, <code>minimumHealthyPercent</code> and <code>maximumPercent</code>. You can change the deployment configuration of your service using <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a>.</p> <ul> <li> <p>If <code>minimumHealthyPercent</code> is below 100%, the scheduler can ignore <code>desiredCount</code> temporarily during task replacement. For example, <code>desiredCount</code> is four tasks, a minimum of 50% allows the scheduler to stop two existing tasks before starting two new tasks. If the minimum is 100%, the service scheduler can't remove existing tasks until the replacement tasks are considered healthy. Tasks for services that do not use a load balancer are considered healthy if they're in the <code>RUNNING</code> state. Tasks for services that use a load balancer are considered healthy if they're in the <code>RUNNING</code> state and are reported as healthy by the load balancer.</p> </li> <li> <p>The <code>maximumPercent</code> parameter represents an upper limit on the number of running tasks during task replacement. You can use this to define the replacement batch size. For example, if <code>desiredCount</code> is four tasks, a maximum of 200% starts four new tasks before stopping the four tasks to be drained, provided that the cluster resources required to do this are available. If the maximum is 100%, then replacement tasks can't start until the draining tasks have stopped.</p> </li> </ul> <p>Any <code>PENDING</code> or <code>RUNNING</code> tasks that do not belong to a service aren't affected. You must wait for them to finish or stop them manually.</p> <p>A container instance has completed draining when it has no more <code>RUNNING</code> tasks. You can verify this using <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListTasks.html">ListTasks</a>.</p> <p>When a container instance has been drained, you can set a container instance to <code>ACTIVE</code> status and once it has reached that status the Amazon ECS scheduler can begin scheduling tasks on the instance again.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { UpdateDaemonRequest, UpdateDaemonResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateDaemonCommandInput extends UpdateDaemonRequest {
|
|
|
22
22
|
export interface UpdateDaemonCommandOutput extends UpdateDaemonResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateDaemonCommand_base: {
|
|
25
|
-
new (input: UpdateDaemonCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateDaemonCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateDaemonCommandInput): import("@smithy/core/client").CommandImpl<UpdateDaemonCommandInput, UpdateDaemonCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateDaemonCommandInput): import("@smithy/core/client").CommandImpl<UpdateDaemonCommandInput, UpdateDaemonCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Updates the specified daemon. When you update a daemon, a new deployment is triggered that progressively rolls out the changes to the container instances associated with the daemon's capacity providers. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/daemon-deployments.html">Daemon deployments</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>Amazon ECS drains existing container instances and provisions new instances with the updated daemon. Amazon ECS automatically launches replacement tasks for your services.</p> <important> <p>Updating a daemon triggers a rolling deployment that drains and replaces container instances. Plan updates during maintenance windows to minimize impact on running services.</p> </important> <note> <p>ECS Managed Daemons is only supported for Amazon ECS Managed Instances Capacity Providers.</p> </note>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { UpdateExpressGatewayServiceRequest, UpdateExpressGatewayServiceResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateExpressGatewayServiceCommandInput extends UpdateExpressGa
|
|
|
22
22
|
export interface UpdateExpressGatewayServiceCommandOutput extends UpdateExpressGatewayServiceResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateExpressGatewayServiceCommand_base: {
|
|
25
|
-
new (input: UpdateExpressGatewayServiceCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateExpressGatewayServiceCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateExpressGatewayServiceCommandInput): import("@smithy/core/client").CommandImpl<UpdateExpressGatewayServiceCommandInput, UpdateExpressGatewayServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateExpressGatewayServiceCommandInput): import("@smithy/core/client").CommandImpl<UpdateExpressGatewayServiceCommandInput, UpdateExpressGatewayServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Updates an existing Express service configuration. Modifies container settings, resource allocation, auto-scaling configuration, and other service parameters without recreating the service.</p> <p>Amazon ECS creates a new service revision with updated configuration and performs a rolling deployment to replace existing tasks. The service remains available during updates, ensuring zero-downtime deployments.</p> <p>Some parameters like the infrastructure role cannot be modified after service creation and require creating a new service.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { UpdateServiceRequest, UpdateServiceResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateServiceCommandInput extends UpdateServiceRequest {
|
|
|
22
22
|
export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateServiceCommand_base: {
|
|
25
|
-
new (input: UpdateServiceCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateServiceCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateServiceCommandInput): import("@smithy/core/client").CommandImpl<UpdateServiceCommandInput, UpdateServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateServiceCommandInput): import("@smithy/core/client").CommandImpl<UpdateServiceCommandInput, UpdateServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Modifies the parameters of a service.</p> <note> <p>On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.</p> </note> <p>For services using the rolling update (<code>ECS</code>) you can update the desired count, deployment configuration, network configuration, load balancers, service registries, enable ECS managed tags option, propagate tags option, task placement constraints and strategies, and task definition. When you update any of these parameters, Amazon ECS starts new tasks with the new configuration. </p> <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or running a task, or when creating or updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. You can update your volume configurations and trigger a new deployment. <code>volumeConfigurations</code> is only supported for REPLICA service and not DAEMON service. If you leave <code>volumeConfigurations</code> <code>null</code>, it doesn't trigger a new deployment. For more information on volumes, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>For services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller, only the desired count, deployment configuration, health check grace period, task placement constraints and strategies, enable ECS managed tags option, and propagate tags can be updated using this API. If the network configuration, platform version, task definition, or load balancer need to be updated, create a new CodeDeploy deployment. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html">CreateDeployment</a> in the <i>CodeDeploy API Reference</i>.</p> <p>For services using an external deployment controller, you can update only the desired count, task placement constraints and strategies, health check grace period, enable ECS managed tags option, and propagate tags option, using this API. If the launch type, load balancer, network configuration, platform version, or task definition need to be updated, create a new task set For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html">CreateTaskSet</a>.</p> <p>You can add to or subtract from the number of instantiations of a task definition in a service by specifying the cluster that the service is running in and a new <code>desiredCount</code> parameter.</p> <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or running a task, or when creating or updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>If you have updated the container image of your application, you can create a new task definition with that image and deploy it to your service. The service scheduler uses the minimum healthy percent and maximum percent parameters (in the service's deployment configuration) to determine the deployment strategy.</p> <note> <p>If your updated Docker image uses the same tag as what is in the existing task definition for your service (for example, <code>my_image:latest</code>), you don't need to create a new revision of your task definition. You can update the service using the <code>forceNewDeployment</code> option. The new tasks launched by the deployment pull the current image/tag combination from your repository when they start.</p> </note> <p>You can also update the deployment configuration of a service. When a deployment is triggered by updating the task definition of a service, the service scheduler uses the deployment configuration parameters, <code>minimumHealthyPercent</code> and <code>maximumPercent</code>, to determine the deployment strategy.</p> <ul> <li> <p>If <code>minimumHealthyPercent</code> is below 100%, the scheduler can ignore <code>desiredCount</code> temporarily during a deployment. For example, if <code>desiredCount</code> is four tasks, a minimum of 50% allows the scheduler to stop two existing tasks before starting two new tasks. Tasks for services that don't use a load balancer are considered healthy if they're in the <code>RUNNING</code> state. Tasks for services that use a load balancer are considered healthy if they're in the <code>RUNNING</code> state and are reported as healthy by the load balancer.</p> </li> <li> <p>The <code>maximumPercent</code> parameter represents an upper limit on the number of running tasks during a deployment. You can use it to define the deployment batch size. For example, if <code>desiredCount</code> is four tasks, a maximum of 200% starts four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available).</p> </li> </ul> <p>When <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a> stops a task during a deployment, the equivalent of <code>docker stop</code> is issued to the containers running in the task. This results in a <code>SIGTERM</code> and a 30-second timeout. After this, <code>SIGKILL</code> is sent and the containers are forcibly stopped. If the container handles the <code>SIGTERM</code> gracefully and exits within 30 seconds from receiving it, no <code>SIGKILL</code> is sent.</p> <p>When the service scheduler launches new tasks, it determines task placement in your cluster with the following logic.</p> <ul> <li> <p>Determine which of the container instances in your cluster can support your service's task definition. For example, they have the required CPU, memory, ports, and container instance attributes.</p> </li> <li> <p>By default, the service scheduler attempts to balance tasks across Availability Zones in this manner even though you can choose a different placement strategy.</p> <ul> <li> <p>Sort the valid container instances by the fewest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have zero, valid container instances in either zone B or C are considered optimal for placement.</p> </li> <li> <p>Place the new service task on a valid container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the fewest number of running tasks for this service.</p> </li> </ul> </li> </ul> <p>When the service scheduler stops running tasks, it attempts to maintain balance across the Availability Zones in your cluster using the following logic: </p> <ul> <li> <p>Sort the container instances by the largest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have two, container instances in either zone B or C are considered optimal for termination.</p> </li> <li> <p>Stop the task on a container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the largest number of running tasks for this service.</p> </li> </ul>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
4
|
import type { UpdateServicePrimaryTaskSetRequest, UpdateServicePrimaryTaskSetResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateServicePrimaryTaskSetCommandInput extends UpdateServicePr
|
|
|
22
22
|
export interface UpdateServicePrimaryTaskSetCommandOutput extends UpdateServicePrimaryTaskSetResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateServicePrimaryTaskSetCommand_base: {
|
|
25
|
-
new (input: UpdateServicePrimaryTaskSetCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateServicePrimaryTaskSetCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateServicePrimaryTaskSetCommandInput): import("@smithy/core/client").CommandImpl<UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateServicePrimaryTaskSetCommandInput): import("@smithy/core/client").CommandImpl<UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Modifies which task set in a service is the primary task set. Any parameters that are updated on the primary task set in a service will transition to the service. This is used when a service uses the <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>
|