@aws-sdk/client-ecs 3.299.0 → 3.301.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-types/commands/CreateCapacityProviderCommand.d.ts +20 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +41 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +114 -0
- package/dist-types/commands/CreateTaskSetCommand.d.ts +53 -0
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAttributesCommand.d.ts +11 -0
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +3 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +3 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +5 -0
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +5 -0
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +6 -0
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +5 -0
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +10 -0
- package/dist-types/commands/DescribeClustersCommand.d.ts +8 -0
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +9 -0
- package/dist-types/commands/DescribeServicesCommand.d.ts +9 -0
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +6 -0
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +10 -0
- package/dist-types/commands/DescribeTasksCommand.d.ts +9 -0
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +4 -0
- package/dist-types/commands/ExecuteCommandCommand.d.ts +7 -0
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +6 -0
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +8 -0
- package/dist-types/commands/ListAttributesCommand.d.ts +8 -0
- package/dist-types/commands/ListClustersCommand.d.ts +4 -0
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +7 -0
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +5 -0
- package/dist-types/commands/ListServicesCommand.d.ts +7 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +6 -0
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +7 -0
- package/dist-types/commands/ListTasksCommand.d.ts +11 -0
- package/dist-types/commands/PutAccountSettingCommand.d.ts +5 -0
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +4 -0
- package/dist-types/commands/PutAttributesCommand.d.ts +11 -0
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +13 -0
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +43 -0
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +250 -0
- package/dist-types/commands/RunTaskCommand.d.ts +93 -0
- package/dist-types/commands/StartTaskCommand.d.ts +72 -0
- package/dist-types/commands/StopTaskCommand.d.ts +5 -0
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +9 -0
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +19 -0
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +43 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +13 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +25 -0
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +9 -0
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +4 -0
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +7 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +102 -0
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +5 -0
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +8 -0
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +9 -0
- package/package.json +8 -8
|
@@ -29,6 +29,49 @@ export interface SubmitTaskStateChangeCommandOutput extends SubmitTaskStateChang
|
|
|
29
29
|
* import { ECSClient, SubmitTaskStateChangeCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
30
30
|
* // const { ECSClient, SubmitTaskStateChangeCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
31
31
|
* const client = new ECSClient(config);
|
|
32
|
+
* const input = { // SubmitTaskStateChangeRequest
|
|
33
|
+
* cluster: "STRING_VALUE",
|
|
34
|
+
* task: "STRING_VALUE",
|
|
35
|
+
* status: "STRING_VALUE",
|
|
36
|
+
* reason: "STRING_VALUE",
|
|
37
|
+
* containers: [ // ContainerStateChanges
|
|
38
|
+
* { // ContainerStateChange
|
|
39
|
+
* containerName: "STRING_VALUE",
|
|
40
|
+
* imageDigest: "STRING_VALUE",
|
|
41
|
+
* runtimeId: "STRING_VALUE",
|
|
42
|
+
* exitCode: Number("int"),
|
|
43
|
+
* networkBindings: [ // NetworkBindings
|
|
44
|
+
* { // NetworkBinding
|
|
45
|
+
* bindIP: "STRING_VALUE",
|
|
46
|
+
* containerPort: Number("int"),
|
|
47
|
+
* hostPort: Number("int"),
|
|
48
|
+
* protocol: "tcp" || "udp",
|
|
49
|
+
* containerPortRange: "STRING_VALUE",
|
|
50
|
+
* hostPortRange: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* reason: "STRING_VALUE",
|
|
54
|
+
* status: "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* attachments: [ // AttachmentStateChanges
|
|
58
|
+
* { // AttachmentStateChange
|
|
59
|
+
* attachmentArn: "STRING_VALUE", // required
|
|
60
|
+
* status: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* managedAgents: [ // ManagedAgentStateChanges
|
|
64
|
+
* { // ManagedAgentStateChange
|
|
65
|
+
* containerName: "STRING_VALUE", // required
|
|
66
|
+
* managedAgentName: "ExecuteCommandAgent", // required
|
|
67
|
+
* status: "STRING_VALUE", // required
|
|
68
|
+
* reason: "STRING_VALUE",
|
|
69
|
+
* },
|
|
70
|
+
* ],
|
|
71
|
+
* pullStartedAt: new Date("TIMESTAMP"),
|
|
72
|
+
* pullStoppedAt: new Date("TIMESTAMP"),
|
|
73
|
+
* executionStoppedAt: new Date("TIMESTAMP"),
|
|
74
|
+
* };
|
|
32
75
|
* const command = new SubmitTaskStateChangeCommand(input);
|
|
33
76
|
* const response = await client.send(command);
|
|
34
77
|
* ```
|
|
@@ -29,6 +29,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
29
29
|
* import { ECSClient, TagResourceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
30
30
|
* // const { ECSClient, TagResourceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
31
31
|
* const client = new ECSClient(config);
|
|
32
|
+
* const input = { // TagResourceRequest
|
|
33
|
+
* resourceArn: "STRING_VALUE", // required
|
|
34
|
+
* tags: [ // Tags // required
|
|
35
|
+
* { // Tag
|
|
36
|
+
* key: "STRING_VALUE",
|
|
37
|
+
* value: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
32
41
|
* const command = new TagResourceCommand(input);
|
|
33
42
|
* const response = await client.send(command);
|
|
34
43
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { ECSClient, UntagResourceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
27
27
|
* // const { ECSClient, UntagResourceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
28
28
|
* const client = new ECSClient(config);
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // TagKeys // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface UpdateCapacityProviderCommandOutput extends UpdateCapacityProvi
|
|
|
26
26
|
* import { ECSClient, UpdateCapacityProviderCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
27
27
|
* // const { ECSClient, UpdateCapacityProviderCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
28
28
|
* const client = new ECSClient(config);
|
|
29
|
+
* const input = { // UpdateCapacityProviderRequest
|
|
30
|
+
* name: "STRING_VALUE", // required
|
|
31
|
+
* autoScalingGroupProvider: { // AutoScalingGroupProviderUpdate
|
|
32
|
+
* managedScaling: { // ManagedScaling
|
|
33
|
+
* status: "ENABLED" || "DISABLED",
|
|
34
|
+
* targetCapacity: Number("int"),
|
|
35
|
+
* minimumScalingStepSize: Number("int"),
|
|
36
|
+
* maximumScalingStepSize: Number("int"),
|
|
37
|
+
* instanceWarmupPeriod: Number("int"),
|
|
38
|
+
* },
|
|
39
|
+
* managedTerminationProtection: "ENABLED" || "DISABLED",
|
|
40
|
+
* },
|
|
41
|
+
* };
|
|
29
42
|
* const command = new UpdateCapacityProviderCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -26,6 +26,31 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
|
|
|
26
26
|
* import { ECSClient, UpdateClusterCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
27
27
|
* // const { ECSClient, UpdateClusterCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
28
28
|
* const client = new ECSClient(config);
|
|
29
|
+
* const input = { // UpdateClusterRequest
|
|
30
|
+
* cluster: "STRING_VALUE", // required
|
|
31
|
+
* settings: [ // ClusterSettings
|
|
32
|
+
* { // ClusterSetting
|
|
33
|
+
* name: "containerInsights",
|
|
34
|
+
* value: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* configuration: { // ClusterConfiguration
|
|
38
|
+
* executeCommandConfiguration: { // ExecuteCommandConfiguration
|
|
39
|
+
* kmsKeyId: "STRING_VALUE",
|
|
40
|
+
* logging: "NONE" || "DEFAULT" || "OVERRIDE",
|
|
41
|
+
* logConfiguration: { // ExecuteCommandLogConfiguration
|
|
42
|
+
* cloudWatchLogGroupName: "STRING_VALUE",
|
|
43
|
+
* cloudWatchEncryptionEnabled: true || false,
|
|
44
|
+
* s3BucketName: "STRING_VALUE",
|
|
45
|
+
* s3EncryptionEnabled: true || false,
|
|
46
|
+
* s3KeyPrefix: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* serviceConnectDefaults: { // ClusterServiceConnectDefaultsRequest
|
|
51
|
+
* namespace: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* };
|
|
29
54
|
* const command = new UpdateClusterCommand(input);
|
|
30
55
|
* const response = await client.send(command);
|
|
31
56
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface UpdateClusterSettingsCommandOutput extends UpdateClusterSetting
|
|
|
26
26
|
* import { ECSClient, UpdateClusterSettingsCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
27
27
|
* // const { ECSClient, UpdateClusterSettingsCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
28
28
|
* const client = new ECSClient(config);
|
|
29
|
+
* const input = { // UpdateClusterSettingsRequest
|
|
30
|
+
* cluster: "STRING_VALUE", // required
|
|
31
|
+
* settings: [ // ClusterSettings // required
|
|
32
|
+
* { // ClusterSetting
|
|
33
|
+
* name: "containerInsights",
|
|
34
|
+
* value: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
29
38
|
* const command = new UpdateClusterSettingsCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -44,6 +44,10 @@ export interface UpdateContainerAgentCommandOutput extends UpdateContainerAgentR
|
|
|
44
44
|
* import { ECSClient, UpdateContainerAgentCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
45
45
|
* // const { ECSClient, UpdateContainerAgentCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
46
46
|
* const client = new ECSClient(config);
|
|
47
|
+
* const input = { // UpdateContainerAgentRequest
|
|
48
|
+
* cluster: "STRING_VALUE",
|
|
49
|
+
* containerInstance: "STRING_VALUE", // required
|
|
50
|
+
* };
|
|
47
51
|
* const command = new UpdateContainerAgentCommand(input);
|
|
48
52
|
* const response = await client.send(command);
|
|
49
53
|
* ```
|
|
@@ -74,6 +74,13 @@ export interface UpdateContainerInstancesStateCommandOutput extends UpdateContai
|
|
|
74
74
|
* import { ECSClient, UpdateContainerInstancesStateCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
75
75
|
* // const { ECSClient, UpdateContainerInstancesStateCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
76
76
|
* const client = new ECSClient(config);
|
|
77
|
+
* const input = { // UpdateContainerInstancesStateRequest
|
|
78
|
+
* cluster: "STRING_VALUE",
|
|
79
|
+
* containerInstances: [ // StringList // required
|
|
80
|
+
* "STRING_VALUE",
|
|
81
|
+
* ],
|
|
82
|
+
* status: "ACTIVE" || "DRAINING" || "REGISTERING" || "DEREGISTERING" || "REGISTRATION_FAILED", // required
|
|
83
|
+
* };
|
|
77
84
|
* const command = new UpdateContainerInstancesStateCommand(input);
|
|
78
85
|
* const response = await client.send(command);
|
|
79
86
|
* ```
|
|
@@ -148,6 +148,108 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
|
|
|
148
148
|
* import { ECSClient, UpdateServiceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
149
149
|
* // const { ECSClient, UpdateServiceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
150
150
|
* const client = new ECSClient(config);
|
|
151
|
+
* const input = { // UpdateServiceRequest
|
|
152
|
+
* cluster: "STRING_VALUE",
|
|
153
|
+
* service: "STRING_VALUE", // required
|
|
154
|
+
* desiredCount: Number("int"),
|
|
155
|
+
* taskDefinition: "STRING_VALUE",
|
|
156
|
+
* capacityProviderStrategy: [ // CapacityProviderStrategy
|
|
157
|
+
* { // CapacityProviderStrategyItem
|
|
158
|
+
* capacityProvider: "STRING_VALUE", // required
|
|
159
|
+
* weight: Number("int"),
|
|
160
|
+
* base: Number("int"),
|
|
161
|
+
* },
|
|
162
|
+
* ],
|
|
163
|
+
* deploymentConfiguration: { // DeploymentConfiguration
|
|
164
|
+
* deploymentCircuitBreaker: { // DeploymentCircuitBreaker
|
|
165
|
+
* enable: true || false, // required
|
|
166
|
+
* rollback: true || false, // required
|
|
167
|
+
* },
|
|
168
|
+
* maximumPercent: Number("int"),
|
|
169
|
+
* minimumHealthyPercent: Number("int"),
|
|
170
|
+
* alarms: { // DeploymentAlarms
|
|
171
|
+
* alarmNames: [ // StringList // required
|
|
172
|
+
* "STRING_VALUE",
|
|
173
|
+
* ],
|
|
174
|
+
* enable: true || false, // required
|
|
175
|
+
* rollback: true || false, // required
|
|
176
|
+
* },
|
|
177
|
+
* },
|
|
178
|
+
* networkConfiguration: { // NetworkConfiguration
|
|
179
|
+
* awsvpcConfiguration: { // AwsVpcConfiguration
|
|
180
|
+
* subnets: [ // required
|
|
181
|
+
* "STRING_VALUE",
|
|
182
|
+
* ],
|
|
183
|
+
* securityGroups: [
|
|
184
|
+
* "STRING_VALUE",
|
|
185
|
+
* ],
|
|
186
|
+
* assignPublicIp: "ENABLED" || "DISABLED",
|
|
187
|
+
* },
|
|
188
|
+
* },
|
|
189
|
+
* placementConstraints: [ // PlacementConstraints
|
|
190
|
+
* { // PlacementConstraint
|
|
191
|
+
* type: "distinctInstance" || "memberOf",
|
|
192
|
+
* expression: "STRING_VALUE",
|
|
193
|
+
* },
|
|
194
|
+
* ],
|
|
195
|
+
* placementStrategy: [ // PlacementStrategies
|
|
196
|
+
* { // PlacementStrategy
|
|
197
|
+
* type: "random" || "spread" || "binpack",
|
|
198
|
+
* field: "STRING_VALUE",
|
|
199
|
+
* },
|
|
200
|
+
* ],
|
|
201
|
+
* platformVersion: "STRING_VALUE",
|
|
202
|
+
* forceNewDeployment: true || false,
|
|
203
|
+
* healthCheckGracePeriodSeconds: Number("int"),
|
|
204
|
+
* enableExecuteCommand: true || false,
|
|
205
|
+
* enableECSManagedTags: true || false,
|
|
206
|
+
* loadBalancers: [ // LoadBalancers
|
|
207
|
+
* { // LoadBalancer
|
|
208
|
+
* targetGroupArn: "STRING_VALUE",
|
|
209
|
+
* loadBalancerName: "STRING_VALUE",
|
|
210
|
+
* containerName: "STRING_VALUE",
|
|
211
|
+
* containerPort: Number("int"),
|
|
212
|
+
* },
|
|
213
|
+
* ],
|
|
214
|
+
* propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
|
|
215
|
+
* serviceRegistries: [ // ServiceRegistries
|
|
216
|
+
* { // ServiceRegistry
|
|
217
|
+
* registryArn: "STRING_VALUE",
|
|
218
|
+
* port: Number("int"),
|
|
219
|
+
* containerName: "STRING_VALUE",
|
|
220
|
+
* containerPort: Number("int"),
|
|
221
|
+
* },
|
|
222
|
+
* ],
|
|
223
|
+
* serviceConnectConfiguration: { // ServiceConnectConfiguration
|
|
224
|
+
* enabled: true || false, // required
|
|
225
|
+
* namespace: "STRING_VALUE",
|
|
226
|
+
* services: [ // ServiceConnectServiceList
|
|
227
|
+
* { // ServiceConnectService
|
|
228
|
+
* portName: "STRING_VALUE", // required
|
|
229
|
+
* discoveryName: "STRING_VALUE",
|
|
230
|
+
* clientAliases: [ // ServiceConnectClientAliasList
|
|
231
|
+
* { // ServiceConnectClientAlias
|
|
232
|
+
* port: Number("int"), // required
|
|
233
|
+
* dnsName: "STRING_VALUE",
|
|
234
|
+
* },
|
|
235
|
+
* ],
|
|
236
|
+
* ingressPortOverride: Number("int"),
|
|
237
|
+
* },
|
|
238
|
+
* ],
|
|
239
|
+
* logConfiguration: { // LogConfiguration
|
|
240
|
+
* logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk" || "awsfirelens", // required
|
|
241
|
+
* options: { // LogConfigurationOptionsMap
|
|
242
|
+
* "<keys>": "STRING_VALUE",
|
|
243
|
+
* },
|
|
244
|
+
* secretOptions: [ // SecretList
|
|
245
|
+
* { // Secret
|
|
246
|
+
* name: "STRING_VALUE", // required
|
|
247
|
+
* valueFrom: "STRING_VALUE", // required
|
|
248
|
+
* },
|
|
249
|
+
* ],
|
|
250
|
+
* },
|
|
251
|
+
* },
|
|
252
|
+
* };
|
|
151
253
|
* const command = new UpdateServiceCommand(input);
|
|
152
254
|
* const response = await client.send(command);
|
|
153
255
|
* ```
|
|
@@ -30,6 +30,11 @@ export interface UpdateServicePrimaryTaskSetCommandOutput extends UpdateServiceP
|
|
|
30
30
|
* import { ECSClient, UpdateServicePrimaryTaskSetCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
31
31
|
* // const { ECSClient, UpdateServicePrimaryTaskSetCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
32
32
|
* const client = new ECSClient(config);
|
|
33
|
+
* const input = { // UpdateServicePrimaryTaskSetRequest
|
|
34
|
+
* cluster: "STRING_VALUE", // required
|
|
35
|
+
* service: "STRING_VALUE", // required
|
|
36
|
+
* primaryTaskSet: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
33
38
|
* const command = new UpdateServicePrimaryTaskSetCommand(input);
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
@@ -52,6 +52,14 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR
|
|
|
52
52
|
* import { ECSClient, UpdateTaskProtectionCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
53
53
|
* // const { ECSClient, UpdateTaskProtectionCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
54
54
|
* const client = new ECSClient(config);
|
|
55
|
+
* const input = { // UpdateTaskProtectionRequest
|
|
56
|
+
* cluster: "STRING_VALUE", // required
|
|
57
|
+
* tasks: [ // StringList // required
|
|
58
|
+
* "STRING_VALUE",
|
|
59
|
+
* ],
|
|
60
|
+
* protectionEnabled: true || false, // required
|
|
61
|
+
* expiresInMinutes: Number("int"),
|
|
62
|
+
* };
|
|
55
63
|
* const command = new UpdateTaskProtectionCommand(input);
|
|
56
64
|
* const response = await client.send(command);
|
|
57
65
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met
|
|
|
28
28
|
* import { ECSClient, UpdateTaskSetCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
29
29
|
* // const { ECSClient, UpdateTaskSetCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
30
30
|
* const client = new ECSClient(config);
|
|
31
|
+
* const input = { // UpdateTaskSetRequest
|
|
32
|
+
* cluster: "STRING_VALUE", // required
|
|
33
|
+
* service: "STRING_VALUE", // required
|
|
34
|
+
* taskSet: "STRING_VALUE", // required
|
|
35
|
+
* scale: { // Scale
|
|
36
|
+
* value: Number("double"),
|
|
37
|
+
* unit: "PERCENT",
|
|
38
|
+
* },
|
|
39
|
+
* };
|
|
31
40
|
* const command = new UpdateTaskSetCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"@aws-sdk/util-waiter": "3.296.0",
|
|
57
57
|
"tslib": "^2.5.0"
|