@aws-sdk/client-ecs 3.202.0 → 3.208.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/ECS.js +30 -0
- package/dist-cjs/commands/GetTaskProtectionCommand.js +46 -0
- package/dist-cjs/commands/UpdateTaskProtectionCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +37 -17
- package/dist-cjs/protocols/Aws_json1_1.js +173 -3
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/ECS.js +30 -0
- package/dist-es/commands/GetTaskProtectionCommand.js +42 -0
- package/dist-es/commands/UpdateTaskProtectionCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +27 -12
- package/dist-es/protocols/Aws_json1_1.js +166 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/ECS.d.ts +42 -2
- package/dist-types/ECSClient.d.ts +4 -2
- package/dist-types/commands/CreateServiceCommand.d.ts +3 -2
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +37 -0
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +62 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +151 -20
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/ECS.d.ts +34 -0
- package/dist-types/ts3.4/ECSClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetTaskProtectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +45 -7
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- 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.shared.d.ts +2 -0
- package/package.json +36 -35
- package/CHANGELOG.md +0 -4366
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
|
+
import { GetTaskProtectionRequest, GetTaskProtectionResponse } from "../models/models_0";
|
|
6
|
+
export interface GetTaskProtectionCommandInput extends GetTaskProtectionRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetTaskProtectionCommandOutput extends GetTaskProtectionResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Retrieves the protection status of tasks in an Amazon ECS service.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ECSClient, GetTaskProtectionCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
16
|
+
* // const { ECSClient, GetTaskProtectionCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
17
|
+
* const client = new ECSClient(config);
|
|
18
|
+
* const command = new GetTaskProtectionCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link GetTaskProtectionCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link GetTaskProtectionCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class GetTaskProtectionCommand extends $Command<GetTaskProtectionCommandInput, GetTaskProtectionCommandOutput, ECSClientResolvedConfig> {
|
|
28
|
+
readonly input: GetTaskProtectionCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetTaskProtectionCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTaskProtectionCommandInput, GetTaskProtectionCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
|
+
import { UpdateTaskProtectionRequest, UpdateTaskProtectionResponse } from "../models/models_0";
|
|
6
|
+
export interface UpdateTaskProtectionCommandInput extends UpdateTaskProtectionRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Updates the protection status of a task. You can set <code>protectionEnabled</code> to
|
|
12
|
+
* <code>true</code> to protect your task from termination during scale-in events from
|
|
13
|
+
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html">Service
|
|
14
|
+
* Autoscaling</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">deployments</a>.</p>
|
|
15
|
+
* <p>Task-protection, by default, expires after 2 hours at which point Amazon ECS unsets the
|
|
16
|
+
* <code>protectionEnabled</code> property making the task eligible for termination by
|
|
17
|
+
* a subsequent scale-in event.</p>
|
|
18
|
+
* <p>You can specify a custom expiration period for task protection from 1 minute to up to
|
|
19
|
+
* 2,880 minutes (48 hours). To specify the custom expiration period, set the
|
|
20
|
+
* <code>expiresInMinutes</code> property. The <code>expiresInMinutes</code> property
|
|
21
|
+
* is always reset when you invoke this operation for a task that already has
|
|
22
|
+
* <code>protectionEnabled</code> set to <code>true</code>. You can keep extending the
|
|
23
|
+
* protection expiration period of a task by invoking this operation repeatedly.</p>
|
|
24
|
+
* <p>To learn more about Amazon ECS task protection, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-scale-in-protection.html">Task scale-in
|
|
25
|
+
* protection</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is only supported for tasks belonging to an Amazon ECS service. Invoking
|
|
28
|
+
* this operation for a standalone task will result in an <code>TASK_NOT_VALID</code>
|
|
29
|
+
* failure. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html.html">API
|
|
30
|
+
* failure reasons</a>.</p>
|
|
31
|
+
* </note>
|
|
32
|
+
* <important>
|
|
33
|
+
* <p>If you prefer to set task protection from within the container, we recommend using
|
|
34
|
+
* the <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-endpoint.html">Amazon ECS container
|
|
35
|
+
* agent endpoint</a>.</p>
|
|
36
|
+
* </important>
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { ECSClient, UpdateTaskProtectionCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
41
|
+
* // const { ECSClient, UpdateTaskProtectionCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
42
|
+
* const client = new ECSClient(config);
|
|
43
|
+
* const command = new UpdateTaskProtectionCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @see {@link UpdateTaskProtectionCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link UpdateTaskProtectionCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
export declare class UpdateTaskProtectionCommand extends $Command<UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput, ECSClientResolvedConfig> {
|
|
53
|
+
readonly input: UpdateTaskProtectionCommandInput;
|
|
54
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
55
|
+
constructor(input: UpdateTaskProtectionCommandInput);
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput>;
|
|
60
|
+
private serialize;
|
|
61
|
+
private deserialize;
|
|
62
|
+
}
|
|
@@ -19,6 +19,7 @@ export * from "./DescribeTaskSetsCommand";
|
|
|
19
19
|
export * from "./DescribeTasksCommand";
|
|
20
20
|
export * from "./DiscoverPollEndpointCommand";
|
|
21
21
|
export * from "./ExecuteCommandCommand";
|
|
22
|
+
export * from "./GetTaskProtectionCommand";
|
|
22
23
|
export * from "./ListAccountSettingsCommand";
|
|
23
24
|
export * from "./ListAttributesCommand";
|
|
24
25
|
export * from "./ListClustersCommand";
|
|
@@ -49,4 +50,5 @@ export * from "./UpdateContainerAgentCommand";
|
|
|
49
50
|
export * from "./UpdateContainerInstancesStateCommand";
|
|
50
51
|
export * from "./UpdateServiceCommand";
|
|
51
52
|
export * from "./UpdateServicePrimaryTaskSetCommand";
|
|
53
|
+
export * from "./UpdateTaskProtectionCommand";
|
|
52
54
|
export * from "./UpdateTaskSetCommand";
|
|
@@ -3906,8 +3906,8 @@ export interface ContainerDefinition {
|
|
|
3906
3906
|
secrets?: Secret[];
|
|
3907
3907
|
/**
|
|
3908
3908
|
* <p>The dependencies defined for container startup and shutdown. A container can contain
|
|
3909
|
-
* multiple dependencies on other containers in a task definition. When a dependency is
|
|
3910
|
-
* shutdown it is reversed.</p>
|
|
3909
|
+
* multiple dependencies on other containers in a task definition. When a dependency is
|
|
3910
|
+
* defined for container startup, for container shutdown it is reversed.</p>
|
|
3911
3911
|
* <p>For tasks using the EC2 launch type, the container instances require at
|
|
3912
3912
|
* least version 1.26.0 of the container agent to turn on container dependencies. However,
|
|
3913
3913
|
* we recommend using the latest container agent version. For information about checking
|
|
@@ -6004,6 +6004,75 @@ export declare class TargetNotConnectedException extends __BaseException {
|
|
|
6004
6004
|
*/
|
|
6005
6005
|
constructor(opts: __ExceptionOptionType<TargetNotConnectedException, __BaseException>);
|
|
6006
6006
|
}
|
|
6007
|
+
export interface GetTaskProtectionRequest {
|
|
6008
|
+
/**
|
|
6009
|
+
* <p>The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task
|
|
6010
|
+
* sets exist in.</p>
|
|
6011
|
+
*/
|
|
6012
|
+
cluster: string | undefined;
|
|
6013
|
+
/**
|
|
6014
|
+
* <p>A list of up to 100 task IDs or full ARN entries.</p>
|
|
6015
|
+
*/
|
|
6016
|
+
tasks?: string[];
|
|
6017
|
+
}
|
|
6018
|
+
/**
|
|
6019
|
+
* <p>An object representing the protection status details for a task. You can set the
|
|
6020
|
+
* protection status with the <a>UpdateTaskProtection</a> API and get the status
|
|
6021
|
+
* of tasks with the <a>GetTaskProtection</a> API.</p>
|
|
6022
|
+
*/
|
|
6023
|
+
export interface ProtectedTask {
|
|
6024
|
+
/**
|
|
6025
|
+
* <p>The task ARN.</p>
|
|
6026
|
+
*/
|
|
6027
|
+
taskArn?: string;
|
|
6028
|
+
/**
|
|
6029
|
+
* <p>The protection status of the task. If scale-in protection is enabled for a task, the
|
|
6030
|
+
* value is <code>true</code>. Otherwise, it is <code>false</code>.</p>
|
|
6031
|
+
*/
|
|
6032
|
+
protectionEnabled?: boolean;
|
|
6033
|
+
/**
|
|
6034
|
+
* <p>The epoch time when protection for the task will expire.</p>
|
|
6035
|
+
*/
|
|
6036
|
+
expirationDate?: Date;
|
|
6037
|
+
}
|
|
6038
|
+
export interface GetTaskProtectionResponse {
|
|
6039
|
+
/**
|
|
6040
|
+
* <p>A list of tasks with the following information.</p>
|
|
6041
|
+
* <ul>
|
|
6042
|
+
* <li>
|
|
6043
|
+
* <p>
|
|
6044
|
+
* <code>taskArn</code>: The task ARN.</p>
|
|
6045
|
+
* </li>
|
|
6046
|
+
* <li>
|
|
6047
|
+
* <p>
|
|
6048
|
+
* <code>protectionEnabled</code>: The protection status of the task. If scale-in
|
|
6049
|
+
* protection is enabled for a task, the value is <code>true</code>. Otherwise, it
|
|
6050
|
+
* is <code>false</code>.</p>
|
|
6051
|
+
* </li>
|
|
6052
|
+
* <li>
|
|
6053
|
+
* <p>
|
|
6054
|
+
* <code>expirationDate</code>: The epoch time when protection for the task will
|
|
6055
|
+
* expire.</p>
|
|
6056
|
+
* </li>
|
|
6057
|
+
* </ul>
|
|
6058
|
+
*/
|
|
6059
|
+
protectedTasks?: ProtectedTask[];
|
|
6060
|
+
/**
|
|
6061
|
+
* <p>Any failures associated with the call.</p>
|
|
6062
|
+
*/
|
|
6063
|
+
failures?: Failure[];
|
|
6064
|
+
}
|
|
6065
|
+
/**
|
|
6066
|
+
* <p>The specified resource wasn't found.</p>
|
|
6067
|
+
*/
|
|
6068
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
6069
|
+
readonly name: "ResourceNotFoundException";
|
|
6070
|
+
readonly $fault: "client";
|
|
6071
|
+
/**
|
|
6072
|
+
* @internal
|
|
6073
|
+
*/
|
|
6074
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
6075
|
+
}
|
|
6007
6076
|
export interface ListAccountSettingsRequest {
|
|
6008
6077
|
/**
|
|
6009
6078
|
* <p>The name of the account setting you want to list the settings for.</p>
|
|
@@ -6573,9 +6642,9 @@ export interface PutAccountSettingDefaultRequest {
|
|
|
6573
6642
|
* <code>awsvpcTrunking</code> is specified, the ENI limit for your Amazon ECS container
|
|
6574
6643
|
* instances is affected. If <code>containerInsights</code> is specified, the default
|
|
6575
6644
|
* setting for CloudWatch Container Insights for your clusters is affected.</p>
|
|
6576
|
-
* <p>Fargate is transitioning from task count-based quotas to vCPU-based quotas. You can
|
|
6577
|
-
* the name to <code>fargateVCPULimit</code> to opt in or opt out of the vCPU-based
|
|
6578
|
-
* For information about the opt in timeline, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#fargate-quota-timeline">Fargate vCPU-based quotas timeline</a> in the
|
|
6645
|
+
* <p>Fargate is transitioning from task count-based quotas to vCPU-based quotas. You can
|
|
6646
|
+
* set the name to <code>fargateVCPULimit</code> to opt in or opt out of the vCPU-based
|
|
6647
|
+
* quotas. For information about the opt in timeline, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#fargate-quota-timeline">Fargate vCPU-based quotas timeline</a> in the
|
|
6579
6648
|
* <i>Amazon ECS Developer Guide</i>.</p>
|
|
6580
6649
|
*/
|
|
6581
6650
|
name: SettingName | string | undefined;
|
|
@@ -6865,10 +6934,10 @@ export interface RegisterTaskDefinitionRequest {
|
|
|
6865
6934
|
* <p>Task-level CPU and memory parameters are ignored for Windows containers. We
|
|
6866
6935
|
* recommend specifying container-level resources for Windows containers.</p>
|
|
6867
6936
|
* </note>
|
|
6868
|
-
* <p>If you're using the EC2 launch type, this field is optional. Supported
|
|
6869
|
-
* are between <code>128</code> CPU units (<code>0.125</code> vCPUs) and
|
|
6870
|
-
*
|
|
6871
|
-
* ignored.</p>
|
|
6937
|
+
* <p>If you're using the EC2 launch type, this field is optional. Supported
|
|
6938
|
+
* values are between <code>128</code> CPU units (<code>0.125</code> vCPUs) and
|
|
6939
|
+
* <code>10240</code> CPU units (<code>10</code> vCPUs). If you do not specify a value,
|
|
6940
|
+
* the parameter is ignored.</p>
|
|
6872
6941
|
* <p>If you're using the Fargate launch type, this field is required and you
|
|
6873
6942
|
* must use one of the following values, which determines your range of supported values
|
|
6874
6943
|
* for the <code>memory</code> parameter:</p>
|
|
@@ -7612,17 +7681,6 @@ export interface SubmitTaskStateChangeResponse {
|
|
|
7612
7681
|
*/
|
|
7613
7682
|
acknowledgment?: string;
|
|
7614
7683
|
}
|
|
7615
|
-
/**
|
|
7616
|
-
* <p>The specified resource wasn't found.</p>
|
|
7617
|
-
*/
|
|
7618
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
7619
|
-
readonly name: "ResourceNotFoundException";
|
|
7620
|
-
readonly $fault: "client";
|
|
7621
|
-
/**
|
|
7622
|
-
* @internal
|
|
7623
|
-
*/
|
|
7624
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
7625
|
-
}
|
|
7626
7684
|
export interface TagResourceRequest {
|
|
7627
7685
|
/**
|
|
7628
7686
|
* <p>The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported resources are
|
|
@@ -8029,6 +8087,59 @@ export interface UpdateServicePrimaryTaskSetResponse {
|
|
|
8029
8087
|
*/
|
|
8030
8088
|
taskSet?: TaskSet;
|
|
8031
8089
|
}
|
|
8090
|
+
export interface UpdateTaskProtectionRequest {
|
|
8091
|
+
/**
|
|
8092
|
+
* <p>The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task
|
|
8093
|
+
* sets exist in.</p>
|
|
8094
|
+
*/
|
|
8095
|
+
cluster: string | undefined;
|
|
8096
|
+
/**
|
|
8097
|
+
* <p>A list of up to 10 task IDs or full ARN entries.</p>
|
|
8098
|
+
*/
|
|
8099
|
+
tasks: string[] | undefined;
|
|
8100
|
+
/**
|
|
8101
|
+
* <p>Specify <code>true</code> to mark a task for protection and <code>false</code> to
|
|
8102
|
+
* unset protection, making it eligible for termination.</p>
|
|
8103
|
+
*/
|
|
8104
|
+
protectionEnabled: boolean | undefined;
|
|
8105
|
+
/**
|
|
8106
|
+
* <p>If you set <code>protectionEnabled</code> to <code>true</code>, you can specify the
|
|
8107
|
+
* duration for task protection in minutes. You can specify a value from 1 minute to up to
|
|
8108
|
+
* 2,880 minutes (48 hours). During this time, your task will not be terminated by scale-in
|
|
8109
|
+
* events from Service Auto Scaling or deployments. After this time period lapses,
|
|
8110
|
+
* <code>protectionEnabled</code> will be reset to <code>false</code>.</p>
|
|
8111
|
+
* <p>If you don’t specify the time, then the task is automatically protected for 120
|
|
8112
|
+
* minutes (2 hours).</p>
|
|
8113
|
+
*/
|
|
8114
|
+
expiresInMinutes?: number;
|
|
8115
|
+
}
|
|
8116
|
+
export interface UpdateTaskProtectionResponse {
|
|
8117
|
+
/**
|
|
8118
|
+
* <p>A list of tasks with the following information.</p>
|
|
8119
|
+
* <ul>
|
|
8120
|
+
* <li>
|
|
8121
|
+
* <p>
|
|
8122
|
+
* <code>taskArn</code>: The task ARN.</p>
|
|
8123
|
+
* </li>
|
|
8124
|
+
* <li>
|
|
8125
|
+
* <p>
|
|
8126
|
+
* <code>protectionEnabled</code>: The protection status of the task. If scale-in
|
|
8127
|
+
* protection is enabled for a task, the value is <code>true</code>. Otherwise, it
|
|
8128
|
+
* is <code>false</code>.</p>
|
|
8129
|
+
* </li>
|
|
8130
|
+
* <li>
|
|
8131
|
+
* <p>
|
|
8132
|
+
* <code>expirationDate</code>: The epoch time when protection for the task will
|
|
8133
|
+
* expire.</p>
|
|
8134
|
+
* </li>
|
|
8135
|
+
* </ul>
|
|
8136
|
+
*/
|
|
8137
|
+
protectedTasks?: ProtectedTask[];
|
|
8138
|
+
/**
|
|
8139
|
+
* <p>Any failures associated with the call.</p>
|
|
8140
|
+
*/
|
|
8141
|
+
failures?: Failure[];
|
|
8142
|
+
}
|
|
8032
8143
|
export interface UpdateTaskSetRequest {
|
|
8033
8144
|
/**
|
|
8034
8145
|
* <p>The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task
|
|
@@ -8523,6 +8634,18 @@ export declare const SessionFilterSensitiveLog: (obj: Session) => any;
|
|
|
8523
8634
|
* @internal
|
|
8524
8635
|
*/
|
|
8525
8636
|
export declare const ExecuteCommandResponseFilterSensitiveLog: (obj: ExecuteCommandResponse) => any;
|
|
8637
|
+
/**
|
|
8638
|
+
* @internal
|
|
8639
|
+
*/
|
|
8640
|
+
export declare const GetTaskProtectionRequestFilterSensitiveLog: (obj: GetTaskProtectionRequest) => any;
|
|
8641
|
+
/**
|
|
8642
|
+
* @internal
|
|
8643
|
+
*/
|
|
8644
|
+
export declare const ProtectedTaskFilterSensitiveLog: (obj: ProtectedTask) => any;
|
|
8645
|
+
/**
|
|
8646
|
+
* @internal
|
|
8647
|
+
*/
|
|
8648
|
+
export declare const GetTaskProtectionResponseFilterSensitiveLog: (obj: GetTaskProtectionResponse) => any;
|
|
8526
8649
|
/**
|
|
8527
8650
|
* @internal
|
|
8528
8651
|
*/
|
|
@@ -8783,6 +8906,14 @@ export declare const UpdateServicePrimaryTaskSetRequestFilterSensitiveLog: (obj:
|
|
|
8783
8906
|
* @internal
|
|
8784
8907
|
*/
|
|
8785
8908
|
export declare const UpdateServicePrimaryTaskSetResponseFilterSensitiveLog: (obj: UpdateServicePrimaryTaskSetResponse) => any;
|
|
8909
|
+
/**
|
|
8910
|
+
* @internal
|
|
8911
|
+
*/
|
|
8912
|
+
export declare const UpdateTaskProtectionRequestFilterSensitiveLog: (obj: UpdateTaskProtectionRequest) => any;
|
|
8913
|
+
/**
|
|
8914
|
+
* @internal
|
|
8915
|
+
*/
|
|
8916
|
+
export declare const UpdateTaskProtectionResponseFilterSensitiveLog: (obj: UpdateTaskProtectionResponse) => any;
|
|
8786
8917
|
/**
|
|
8787
8918
|
* @internal
|
|
8788
8919
|
*/
|
|
@@ -21,6 +21,7 @@ import { DescribeTasksCommandInput, DescribeTasksCommandOutput } from "../comman
|
|
|
21
21
|
import { DescribeTaskSetsCommandInput, DescribeTaskSetsCommandOutput } from "../commands/DescribeTaskSetsCommand";
|
|
22
22
|
import { DiscoverPollEndpointCommandInput, DiscoverPollEndpointCommandOutput } from "../commands/DiscoverPollEndpointCommand";
|
|
23
23
|
import { ExecuteCommandCommandInput, ExecuteCommandCommandOutput } from "../commands/ExecuteCommandCommand";
|
|
24
|
+
import { GetTaskProtectionCommandInput, GetTaskProtectionCommandOutput } from "../commands/GetTaskProtectionCommand";
|
|
24
25
|
import { ListAccountSettingsCommandInput, ListAccountSettingsCommandOutput } from "../commands/ListAccountSettingsCommand";
|
|
25
26
|
import { ListAttributesCommandInput, ListAttributesCommandOutput } from "../commands/ListAttributesCommand";
|
|
26
27
|
import { ListClustersCommandInput, ListClustersCommandOutput } from "../commands/ListClustersCommand";
|
|
@@ -51,6 +52,7 @@ import { UpdateContainerAgentCommandInput, UpdateContainerAgentCommandOutput } f
|
|
|
51
52
|
import { UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput } from "../commands/UpdateContainerInstancesStateCommand";
|
|
52
53
|
import { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "../commands/UpdateServiceCommand";
|
|
53
54
|
import { UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput } from "../commands/UpdateServicePrimaryTaskSetCommand";
|
|
55
|
+
import { UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput } from "../commands/UpdateTaskProtectionCommand";
|
|
54
56
|
import { UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput } from "../commands/UpdateTaskSetCommand";
|
|
55
57
|
export declare const serializeAws_json1_1CreateCapacityProviderCommand: (input: CreateCapacityProviderCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
58
|
export declare const serializeAws_json1_1CreateClusterCommand: (input: CreateClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -73,6 +75,7 @@ export declare const serializeAws_json1_1DescribeTasksCommand: (input: DescribeT
|
|
|
73
75
|
export declare const serializeAws_json1_1DescribeTaskSetsCommand: (input: DescribeTaskSetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
74
76
|
export declare const serializeAws_json1_1DiscoverPollEndpointCommand: (input: DiscoverPollEndpointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
75
77
|
export declare const serializeAws_json1_1ExecuteCommandCommand: (input: ExecuteCommandCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
78
|
+
export declare const serializeAws_json1_1GetTaskProtectionCommand: (input: GetTaskProtectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
76
79
|
export declare const serializeAws_json1_1ListAccountSettingsCommand: (input: ListAccountSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
77
80
|
export declare const serializeAws_json1_1ListAttributesCommand: (input: ListAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
78
81
|
export declare const serializeAws_json1_1ListClustersCommand: (input: ListClustersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -103,6 +106,7 @@ export declare const serializeAws_json1_1UpdateContainerAgentCommand: (input: Up
|
|
|
103
106
|
export declare const serializeAws_json1_1UpdateContainerInstancesStateCommand: (input: UpdateContainerInstancesStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
104
107
|
export declare const serializeAws_json1_1UpdateServiceCommand: (input: UpdateServiceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
105
108
|
export declare const serializeAws_json1_1UpdateServicePrimaryTaskSetCommand: (input: UpdateServicePrimaryTaskSetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
109
|
+
export declare const serializeAws_json1_1UpdateTaskProtectionCommand: (input: UpdateTaskProtectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
106
110
|
export declare const serializeAws_json1_1UpdateTaskSetCommand: (input: UpdateTaskSetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
107
111
|
export declare const deserializeAws_json1_1CreateCapacityProviderCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCapacityProviderCommandOutput>;
|
|
108
112
|
export declare const deserializeAws_json1_1CreateClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateClusterCommandOutput>;
|
|
@@ -125,6 +129,7 @@ export declare const deserializeAws_json1_1DescribeTasksCommand: (output: __Http
|
|
|
125
129
|
export declare const deserializeAws_json1_1DescribeTaskSetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeTaskSetsCommandOutput>;
|
|
126
130
|
export declare const deserializeAws_json1_1DiscoverPollEndpointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DiscoverPollEndpointCommandOutput>;
|
|
127
131
|
export declare const deserializeAws_json1_1ExecuteCommandCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExecuteCommandCommandOutput>;
|
|
132
|
+
export declare const deserializeAws_json1_1GetTaskProtectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTaskProtectionCommandOutput>;
|
|
128
133
|
export declare const deserializeAws_json1_1ListAccountSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAccountSettingsCommandOutput>;
|
|
129
134
|
export declare const deserializeAws_json1_1ListAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAttributesCommandOutput>;
|
|
130
135
|
export declare const deserializeAws_json1_1ListClustersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListClustersCommandOutput>;
|
|
@@ -155,4 +160,5 @@ export declare const deserializeAws_json1_1UpdateContainerAgentCommand: (output:
|
|
|
155
160
|
export declare const deserializeAws_json1_1UpdateContainerInstancesStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateContainerInstancesStateCommandOutput>;
|
|
156
161
|
export declare const deserializeAws_json1_1UpdateServiceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateServiceCommandOutput>;
|
|
157
162
|
export declare const deserializeAws_json1_1UpdateServicePrimaryTaskSetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateServicePrimaryTaskSetCommandOutput>;
|
|
163
|
+
export declare const deserializeAws_json1_1UpdateTaskProtectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTaskProtectionCommandOutput>;
|
|
158
164
|
export declare const deserializeAws_json1_1UpdateTaskSetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTaskSetCommandOutput>;
|
|
@@ -6,8 +6,6 @@ import { ECSClientConfig } from "./ECSClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
@@ -23,6 +21,8 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
23
21
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
24
22
|
apiVersion: string;
|
|
25
23
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
@@ -6,8 +6,6 @@ import { ECSClientConfig } from "./ECSClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
@@ -23,6 +21,8 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
23
21
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
24
22
|
apiVersion: string;
|
|
25
23
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
@@ -5,6 +5,8 @@ import { ECSClientConfig } from "./ECSClient";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
7
7
|
apiVersion: string;
|
|
8
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
10
|
disableHostPrefix: boolean;
|
|
9
11
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
10
12
|
logger?: __Logger | undefined;
|
|
@@ -83,6 +83,10 @@ import {
|
|
|
83
83
|
ExecuteCommandCommandInput,
|
|
84
84
|
ExecuteCommandCommandOutput,
|
|
85
85
|
} from "./commands/ExecuteCommandCommand";
|
|
86
|
+
import {
|
|
87
|
+
GetTaskProtectionCommandInput,
|
|
88
|
+
GetTaskProtectionCommandOutput,
|
|
89
|
+
} from "./commands/GetTaskProtectionCommand";
|
|
86
90
|
import {
|
|
87
91
|
ListAccountSettingsCommandInput,
|
|
88
92
|
ListAccountSettingsCommandOutput,
|
|
@@ -203,6 +207,10 @@ import {
|
|
|
203
207
|
UpdateServicePrimaryTaskSetCommandInput,
|
|
204
208
|
UpdateServicePrimaryTaskSetCommandOutput,
|
|
205
209
|
} from "./commands/UpdateServicePrimaryTaskSetCommand";
|
|
210
|
+
import {
|
|
211
|
+
UpdateTaskProtectionCommandInput,
|
|
212
|
+
UpdateTaskProtectionCommandOutput,
|
|
213
|
+
} from "./commands/UpdateTaskProtectionCommand";
|
|
206
214
|
import {
|
|
207
215
|
UpdateTaskSetCommandInput,
|
|
208
216
|
UpdateTaskSetCommandOutput,
|
|
@@ -482,6 +490,19 @@ export declare class ECS extends ECSClient {
|
|
|
482
490
|
options: __HttpHandlerOptions,
|
|
483
491
|
cb: (err: any, data?: ExecuteCommandCommandOutput) => void
|
|
484
492
|
): void;
|
|
493
|
+
getTaskProtection(
|
|
494
|
+
args: GetTaskProtectionCommandInput,
|
|
495
|
+
options?: __HttpHandlerOptions
|
|
496
|
+
): Promise<GetTaskProtectionCommandOutput>;
|
|
497
|
+
getTaskProtection(
|
|
498
|
+
args: GetTaskProtectionCommandInput,
|
|
499
|
+
cb: (err: any, data?: GetTaskProtectionCommandOutput) => void
|
|
500
|
+
): void;
|
|
501
|
+
getTaskProtection(
|
|
502
|
+
args: GetTaskProtectionCommandInput,
|
|
503
|
+
options: __HttpHandlerOptions,
|
|
504
|
+
cb: (err: any, data?: GetTaskProtectionCommandOutput) => void
|
|
505
|
+
): void;
|
|
485
506
|
listAccountSettings(
|
|
486
507
|
args: ListAccountSettingsCommandInput,
|
|
487
508
|
options?: __HttpHandlerOptions
|
|
@@ -872,6 +893,19 @@ export declare class ECS extends ECSClient {
|
|
|
872
893
|
options: __HttpHandlerOptions,
|
|
873
894
|
cb: (err: any, data?: UpdateServicePrimaryTaskSetCommandOutput) => void
|
|
874
895
|
): void;
|
|
896
|
+
updateTaskProtection(
|
|
897
|
+
args: UpdateTaskProtectionCommandInput,
|
|
898
|
+
options?: __HttpHandlerOptions
|
|
899
|
+
): Promise<UpdateTaskProtectionCommandOutput>;
|
|
900
|
+
updateTaskProtection(
|
|
901
|
+
args: UpdateTaskProtectionCommandInput,
|
|
902
|
+
cb: (err: any, data?: UpdateTaskProtectionCommandOutput) => void
|
|
903
|
+
): void;
|
|
904
|
+
updateTaskProtection(
|
|
905
|
+
args: UpdateTaskProtectionCommandInput,
|
|
906
|
+
options: __HttpHandlerOptions,
|
|
907
|
+
cb: (err: any, data?: UpdateTaskProtectionCommandOutput) => void
|
|
908
|
+
): void;
|
|
875
909
|
updateTaskSet(
|
|
876
910
|
args: UpdateTaskSetCommandInput,
|
|
877
911
|
options?: __HttpHandlerOptions
|
|
@@ -127,6 +127,10 @@ import {
|
|
|
127
127
|
ExecuteCommandCommandInput,
|
|
128
128
|
ExecuteCommandCommandOutput,
|
|
129
129
|
} from "./commands/ExecuteCommandCommand";
|
|
130
|
+
import {
|
|
131
|
+
GetTaskProtectionCommandInput,
|
|
132
|
+
GetTaskProtectionCommandOutput,
|
|
133
|
+
} from "./commands/GetTaskProtectionCommand";
|
|
130
134
|
import {
|
|
131
135
|
ListAccountSettingsCommandInput,
|
|
132
136
|
ListAccountSettingsCommandOutput,
|
|
@@ -247,6 +251,10 @@ import {
|
|
|
247
251
|
UpdateServicePrimaryTaskSetCommandInput,
|
|
248
252
|
UpdateServicePrimaryTaskSetCommandOutput,
|
|
249
253
|
} from "./commands/UpdateServicePrimaryTaskSetCommand";
|
|
254
|
+
import {
|
|
255
|
+
UpdateTaskProtectionCommandInput,
|
|
256
|
+
UpdateTaskProtectionCommandOutput,
|
|
257
|
+
} from "./commands/UpdateTaskProtectionCommand";
|
|
250
258
|
import {
|
|
251
259
|
UpdateTaskSetCommandInput,
|
|
252
260
|
UpdateTaskSetCommandOutput,
|
|
@@ -278,6 +286,7 @@ export declare type ServiceInputTypes =
|
|
|
278
286
|
| DescribeTasksCommandInput
|
|
279
287
|
| DiscoverPollEndpointCommandInput
|
|
280
288
|
| ExecuteCommandCommandInput
|
|
289
|
+
| GetTaskProtectionCommandInput
|
|
281
290
|
| ListAccountSettingsCommandInput
|
|
282
291
|
| ListAttributesCommandInput
|
|
283
292
|
| ListClustersCommandInput
|
|
@@ -308,6 +317,7 @@ export declare type ServiceInputTypes =
|
|
|
308
317
|
| UpdateContainerInstancesStateCommandInput
|
|
309
318
|
| UpdateServiceCommandInput
|
|
310
319
|
| UpdateServicePrimaryTaskSetCommandInput
|
|
320
|
+
| UpdateTaskProtectionCommandInput
|
|
311
321
|
| UpdateTaskSetCommandInput;
|
|
312
322
|
export declare type ServiceOutputTypes =
|
|
313
323
|
| CreateCapacityProviderCommandOutput
|
|
@@ -331,6 +341,7 @@ export declare type ServiceOutputTypes =
|
|
|
331
341
|
| DescribeTasksCommandOutput
|
|
332
342
|
| DiscoverPollEndpointCommandOutput
|
|
333
343
|
| ExecuteCommandCommandOutput
|
|
344
|
+
| GetTaskProtectionCommandOutput
|
|
334
345
|
| ListAccountSettingsCommandOutput
|
|
335
346
|
| ListAttributesCommandOutput
|
|
336
347
|
| ListClustersCommandOutput
|
|
@@ -361,6 +372,7 @@ export declare type ServiceOutputTypes =
|
|
|
361
372
|
| UpdateContainerInstancesStateCommandOutput
|
|
362
373
|
| UpdateServiceCommandOutput
|
|
363
374
|
| UpdateServicePrimaryTaskSetCommandOutput
|
|
375
|
+
| UpdateTaskProtectionCommandOutput
|
|
364
376
|
| UpdateTaskSetCommandOutput;
|
|
365
377
|
export interface ClientDefaults
|
|
366
378
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ECSClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ECSClient";
|
|
14
|
+
import {
|
|
15
|
+
GetTaskProtectionRequest,
|
|
16
|
+
GetTaskProtectionResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface GetTaskProtectionCommandInput
|
|
19
|
+
extends GetTaskProtectionRequest {}
|
|
20
|
+
export interface GetTaskProtectionCommandOutput
|
|
21
|
+
extends GetTaskProtectionResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class GetTaskProtectionCommand extends $Command<
|
|
24
|
+
GetTaskProtectionCommandInput,
|
|
25
|
+
GetTaskProtectionCommandOutput,
|
|
26
|
+
ECSClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetTaskProtectionCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetTaskProtectionCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ECSClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<GetTaskProtectionCommandInput, GetTaskProtectionCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ECSClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ECSClient";
|
|
14
|
+
import {
|
|
15
|
+
UpdateTaskProtectionRequest,
|
|
16
|
+
UpdateTaskProtectionResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface UpdateTaskProtectionCommandInput
|
|
19
|
+
extends UpdateTaskProtectionRequest {}
|
|
20
|
+
export interface UpdateTaskProtectionCommandOutput
|
|
21
|
+
extends UpdateTaskProtectionResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class UpdateTaskProtectionCommand extends $Command<
|
|
24
|
+
UpdateTaskProtectionCommandInput,
|
|
25
|
+
UpdateTaskProtectionCommandOutput,
|
|
26
|
+
ECSClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: UpdateTaskProtectionCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateTaskProtectionCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ECSClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
UpdateTaskProtectionCommandInput,
|
|
37
|
+
UpdateTaskProtectionCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -19,6 +19,7 @@ export * from "./DescribeTaskSetsCommand";
|
|
|
19
19
|
export * from "./DescribeTasksCommand";
|
|
20
20
|
export * from "./DiscoverPollEndpointCommand";
|
|
21
21
|
export * from "./ExecuteCommandCommand";
|
|
22
|
+
export * from "./GetTaskProtectionCommand";
|
|
22
23
|
export * from "./ListAccountSettingsCommand";
|
|
23
24
|
export * from "./ListAttributesCommand";
|
|
24
25
|
export * from "./ListClustersCommand";
|
|
@@ -49,4 +50,5 @@ export * from "./UpdateContainerAgentCommand";
|
|
|
49
50
|
export * from "./UpdateContainerInstancesStateCommand";
|
|
50
51
|
export * from "./UpdateServiceCommand";
|
|
51
52
|
export * from "./UpdateServicePrimaryTaskSetCommand";
|
|
53
|
+
export * from "./UpdateTaskProtectionCommand";
|
|
52
54
|
export * from "./UpdateTaskSetCommand";
|