@aws-sdk/client-ecs 3.300.0 → 3.303.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/models/models_0.js +284 -342
- package/dist-es/models/models_0.js +284 -342
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +5 -5
- package/dist-types/commands/CreateClusterCommand.d.ts +12 -12
- package/dist-types/commands/CreateServiceCommand.d.ts +29 -29
- package/dist-types/commands/CreateTaskSetCommand.d.ts +13 -13
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAttributesCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteServiceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeClustersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeServicesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTasksCommand.d.ts +3 -3
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +1 -1
- package/dist-types/commands/ExecuteCommandCommand.d.ts +1 -1
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +2 -2
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +1 -1
- package/dist-types/commands/ListAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ListClustersCommand.d.ts +1 -1
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +1 -1
- package/dist-types/commands/ListServicesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +1 -1
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTasksCommand.d.ts +1 -1
- package/dist-types/commands/PutAccountSettingCommand.d.ts +1 -1
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
- package/dist-types/commands/PutAttributesCommand.d.ts +3 -3
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +4 -4
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +11 -11
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +65 -75
- package/dist-types/commands/RunTaskCommand.d.ts +24 -24
- package/dist-types/commands/StartTaskCommand.d.ts +19 -21
- package/dist-types/commands/StopTaskCommand.d.ts +1 -1
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +3 -3
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +3 -3
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +9 -9
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +3 -3
- package/dist-types/commands/UpdateClusterCommand.d.ts +7 -7
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -2
- package/dist-types/commands/UpdateServiceCommand.d.ts +26 -26
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +574 -284
- package/dist-types/ts3.4/models/models_0.d.ts +377 -284
- package/package.json +35 -35
|
@@ -29,7 +29,7 @@ export interface SubmitContainerStateChangeCommandOutput extends SubmitContainer
|
|
|
29
29
|
* import { ECSClient, SubmitContainerStateChangeCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
30
30
|
* // const { ECSClient, SubmitContainerStateChangeCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
31
31
|
* const client = new ECSClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // SubmitContainerStateChangeRequest
|
|
33
33
|
* cluster: "STRING_VALUE",
|
|
34
34
|
* task: "STRING_VALUE",
|
|
35
35
|
* containerName: "STRING_VALUE",
|
|
@@ -37,8 +37,8 @@ export interface SubmitContainerStateChangeCommandOutput extends SubmitContainer
|
|
|
37
37
|
* status: "STRING_VALUE",
|
|
38
38
|
* exitCode: Number("int"),
|
|
39
39
|
* reason: "STRING_VALUE",
|
|
40
|
-
* networkBindings: [
|
|
41
|
-
* {
|
|
40
|
+
* networkBindings: [ // NetworkBindings
|
|
41
|
+
* { // NetworkBinding
|
|
42
42
|
* bindIP: "STRING_VALUE",
|
|
43
43
|
* containerPort: Number("int"),
|
|
44
44
|
* hostPort: Number("int"),
|
|
@@ -29,19 +29,19 @@ 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 = {
|
|
32
|
+
* const input = { // SubmitTaskStateChangeRequest
|
|
33
33
|
* cluster: "STRING_VALUE",
|
|
34
34
|
* task: "STRING_VALUE",
|
|
35
35
|
* status: "STRING_VALUE",
|
|
36
36
|
* reason: "STRING_VALUE",
|
|
37
|
-
* containers: [
|
|
38
|
-
* {
|
|
37
|
+
* containers: [ // ContainerStateChanges
|
|
38
|
+
* { // ContainerStateChange
|
|
39
39
|
* containerName: "STRING_VALUE",
|
|
40
40
|
* imageDigest: "STRING_VALUE",
|
|
41
41
|
* runtimeId: "STRING_VALUE",
|
|
42
42
|
* exitCode: Number("int"),
|
|
43
|
-
* networkBindings: [
|
|
44
|
-
* {
|
|
43
|
+
* networkBindings: [ // NetworkBindings
|
|
44
|
+
* { // NetworkBinding
|
|
45
45
|
* bindIP: "STRING_VALUE",
|
|
46
46
|
* containerPort: Number("int"),
|
|
47
47
|
* hostPort: Number("int"),
|
|
@@ -54,14 +54,14 @@ export interface SubmitTaskStateChangeCommandOutput extends SubmitTaskStateChang
|
|
|
54
54
|
* status: "STRING_VALUE",
|
|
55
55
|
* },
|
|
56
56
|
* ],
|
|
57
|
-
* attachments: [
|
|
58
|
-
* {
|
|
57
|
+
* attachments: [ // AttachmentStateChanges
|
|
58
|
+
* { // AttachmentStateChange
|
|
59
59
|
* attachmentArn: "STRING_VALUE", // required
|
|
60
60
|
* status: "STRING_VALUE", // required
|
|
61
61
|
* },
|
|
62
62
|
* ],
|
|
63
|
-
* managedAgents: [
|
|
64
|
-
* {
|
|
63
|
+
* managedAgents: [ // ManagedAgentStateChanges
|
|
64
|
+
* { // ManagedAgentStateChange
|
|
65
65
|
* containerName: "STRING_VALUE", // required
|
|
66
66
|
* managedAgentName: "ExecuteCommandAgent", // required
|
|
67
67
|
* status: "STRING_VALUE", // required
|
|
@@ -29,10 +29,10 @@ 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 = {
|
|
32
|
+
* const input = { // TagResourceRequest
|
|
33
33
|
* resourceArn: "STRING_VALUE", // required
|
|
34
|
-
* tags: [ // required
|
|
35
|
-
* {
|
|
34
|
+
* tags: [ // Tags // required
|
|
35
|
+
* { // Tag
|
|
36
36
|
* key: "STRING_VALUE",
|
|
37
37
|
* value: "STRING_VALUE",
|
|
38
38
|
* },
|
|
@@ -26,9 +26,9 @@ 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 = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tagKeys: [ // required
|
|
31
|
+
* tagKeys: [ // TagKeys // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,10 +26,10 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateCapacityProviderRequest
|
|
30
30
|
* name: "STRING_VALUE", // required
|
|
31
|
-
* autoScalingGroupProvider: {
|
|
32
|
-
* managedScaling: {
|
|
31
|
+
* autoScalingGroupProvider: { // AutoScalingGroupProviderUpdate
|
|
32
|
+
* managedScaling: { // ManagedScaling
|
|
33
33
|
* status: "ENABLED" || "DISABLED",
|
|
34
34
|
* targetCapacity: Number("int"),
|
|
35
35
|
* minimumScalingStepSize: Number("int"),
|
|
@@ -26,19 +26,19 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateClusterRequest
|
|
30
30
|
* cluster: "STRING_VALUE", // required
|
|
31
|
-
* settings: [
|
|
32
|
-
* {
|
|
31
|
+
* settings: [ // ClusterSettings
|
|
32
|
+
* { // ClusterSetting
|
|
33
33
|
* name: "containerInsights",
|
|
34
34
|
* value: "STRING_VALUE",
|
|
35
35
|
* },
|
|
36
36
|
* ],
|
|
37
|
-
* configuration: {
|
|
38
|
-
* executeCommandConfiguration: {
|
|
37
|
+
* configuration: { // ClusterConfiguration
|
|
38
|
+
* executeCommandConfiguration: { // ExecuteCommandConfiguration
|
|
39
39
|
* kmsKeyId: "STRING_VALUE",
|
|
40
40
|
* logging: "NONE" || "DEFAULT" || "OVERRIDE",
|
|
41
|
-
* logConfiguration: {
|
|
41
|
+
* logConfiguration: { // ExecuteCommandLogConfiguration
|
|
42
42
|
* cloudWatchLogGroupName: "STRING_VALUE",
|
|
43
43
|
* cloudWatchEncryptionEnabled: true || false,
|
|
44
44
|
* s3BucketName: "STRING_VALUE",
|
|
@@ -47,7 +47,7 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
|
|
|
47
47
|
* },
|
|
48
48
|
* },
|
|
49
49
|
* },
|
|
50
|
-
* serviceConnectDefaults: {
|
|
50
|
+
* serviceConnectDefaults: { // ClusterServiceConnectDefaultsRequest
|
|
51
51
|
* namespace: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
53
53
|
* };
|
|
@@ -26,10 +26,10 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateClusterSettingsRequest
|
|
30
30
|
* cluster: "STRING_VALUE", // required
|
|
31
|
-
* settings: [ // required
|
|
32
|
-
* {
|
|
31
|
+
* settings: [ // ClusterSettings // required
|
|
32
|
+
* { // ClusterSetting
|
|
33
33
|
* name: "containerInsights",
|
|
34
34
|
* value: "STRING_VALUE",
|
|
35
35
|
* },
|
|
@@ -44,7 +44,7 @@ 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 = {
|
|
47
|
+
* const input = { // UpdateContainerAgentRequest
|
|
48
48
|
* cluster: "STRING_VALUE",
|
|
49
49
|
* containerInstance: "STRING_VALUE", // required
|
|
50
50
|
* };
|
|
@@ -74,9 +74,9 @@ 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 = {
|
|
77
|
+
* const input = { // UpdateContainerInstancesStateRequest
|
|
78
78
|
* cluster: "STRING_VALUE",
|
|
79
|
-
* containerInstances: [ // required
|
|
79
|
+
* containerInstances: [ // StringList // required
|
|
80
80
|
* "STRING_VALUE",
|
|
81
81
|
* ],
|
|
82
82
|
* status: "ACTIVE" || "DRAINING" || "REGISTERING" || "DEREGISTERING" || "REGISTRATION_FAILED", // required
|
|
@@ -148,35 +148,35 @@ 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 = {
|
|
151
|
+
* const input = { // UpdateServiceRequest
|
|
152
152
|
* cluster: "STRING_VALUE",
|
|
153
153
|
* service: "STRING_VALUE", // required
|
|
154
154
|
* desiredCount: Number("int"),
|
|
155
155
|
* taskDefinition: "STRING_VALUE",
|
|
156
|
-
* capacityProviderStrategy: [
|
|
157
|
-
* {
|
|
156
|
+
* capacityProviderStrategy: [ // CapacityProviderStrategy
|
|
157
|
+
* { // CapacityProviderStrategyItem
|
|
158
158
|
* capacityProvider: "STRING_VALUE", // required
|
|
159
159
|
* weight: Number("int"),
|
|
160
160
|
* base: Number("int"),
|
|
161
161
|
* },
|
|
162
162
|
* ],
|
|
163
|
-
* deploymentConfiguration: {
|
|
164
|
-
* deploymentCircuitBreaker: {
|
|
163
|
+
* deploymentConfiguration: { // DeploymentConfiguration
|
|
164
|
+
* deploymentCircuitBreaker: { // DeploymentCircuitBreaker
|
|
165
165
|
* enable: true || false, // required
|
|
166
166
|
* rollback: true || false, // required
|
|
167
167
|
* },
|
|
168
168
|
* maximumPercent: Number("int"),
|
|
169
169
|
* minimumHealthyPercent: Number("int"),
|
|
170
|
-
* alarms: {
|
|
171
|
-
* alarmNames: [ // required
|
|
170
|
+
* alarms: { // DeploymentAlarms
|
|
171
|
+
* alarmNames: [ // StringList // required
|
|
172
172
|
* "STRING_VALUE",
|
|
173
173
|
* ],
|
|
174
174
|
* enable: true || false, // required
|
|
175
175
|
* rollback: true || false, // required
|
|
176
176
|
* },
|
|
177
177
|
* },
|
|
178
|
-
* networkConfiguration: {
|
|
179
|
-
* awsvpcConfiguration: {
|
|
178
|
+
* networkConfiguration: { // NetworkConfiguration
|
|
179
|
+
* awsvpcConfiguration: { // AwsVpcConfiguration
|
|
180
180
|
* subnets: [ // required
|
|
181
181
|
* "STRING_VALUE",
|
|
182
182
|
* ],
|
|
@@ -186,14 +186,14 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
|
|
|
186
186
|
* assignPublicIp: "ENABLED" || "DISABLED",
|
|
187
187
|
* },
|
|
188
188
|
* },
|
|
189
|
-
* placementConstraints: [
|
|
190
|
-
* {
|
|
189
|
+
* placementConstraints: [ // PlacementConstraints
|
|
190
|
+
* { // PlacementConstraint
|
|
191
191
|
* type: "distinctInstance" || "memberOf",
|
|
192
192
|
* expression: "STRING_VALUE",
|
|
193
193
|
* },
|
|
194
194
|
* ],
|
|
195
|
-
* placementStrategy: [
|
|
196
|
-
* {
|
|
195
|
+
* placementStrategy: [ // PlacementStrategies
|
|
196
|
+
* { // PlacementStrategy
|
|
197
197
|
* type: "random" || "spread" || "binpack",
|
|
198
198
|
* field: "STRING_VALUE",
|
|
199
199
|
* },
|
|
@@ -203,8 +203,8 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
|
|
|
203
203
|
* healthCheckGracePeriodSeconds: Number("int"),
|
|
204
204
|
* enableExecuteCommand: true || false,
|
|
205
205
|
* enableECSManagedTags: true || false,
|
|
206
|
-
* loadBalancers: [
|
|
207
|
-
* {
|
|
206
|
+
* loadBalancers: [ // LoadBalancers
|
|
207
|
+
* { // LoadBalancer
|
|
208
208
|
* targetGroupArn: "STRING_VALUE",
|
|
209
209
|
* loadBalancerName: "STRING_VALUE",
|
|
210
210
|
* containerName: "STRING_VALUE",
|
|
@@ -212,23 +212,23 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
|
|
|
212
212
|
* },
|
|
213
213
|
* ],
|
|
214
214
|
* propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
|
|
215
|
-
* serviceRegistries: [
|
|
216
|
-
* {
|
|
215
|
+
* serviceRegistries: [ // ServiceRegistries
|
|
216
|
+
* { // ServiceRegistry
|
|
217
217
|
* registryArn: "STRING_VALUE",
|
|
218
218
|
* port: Number("int"),
|
|
219
219
|
* containerName: "STRING_VALUE",
|
|
220
220
|
* containerPort: Number("int"),
|
|
221
221
|
* },
|
|
222
222
|
* ],
|
|
223
|
-
* serviceConnectConfiguration: {
|
|
223
|
+
* serviceConnectConfiguration: { // ServiceConnectConfiguration
|
|
224
224
|
* enabled: true || false, // required
|
|
225
225
|
* namespace: "STRING_VALUE",
|
|
226
|
-
* services: [
|
|
227
|
-
* {
|
|
226
|
+
* services: [ // ServiceConnectServiceList
|
|
227
|
+
* { // ServiceConnectService
|
|
228
228
|
* portName: "STRING_VALUE", // required
|
|
229
229
|
* discoveryName: "STRING_VALUE",
|
|
230
|
-
* clientAliases: [
|
|
231
|
-
* {
|
|
230
|
+
* clientAliases: [ // ServiceConnectClientAliasList
|
|
231
|
+
* { // ServiceConnectClientAlias
|
|
232
232
|
* port: Number("int"), // required
|
|
233
233
|
* dnsName: "STRING_VALUE",
|
|
234
234
|
* },
|
|
@@ -236,13 +236,13 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
|
|
|
236
236
|
* ingressPortOverride: Number("int"),
|
|
237
237
|
* },
|
|
238
238
|
* ],
|
|
239
|
-
* logConfiguration: {
|
|
239
|
+
* logConfiguration: { // LogConfiguration
|
|
240
240
|
* logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk" || "awsfirelens", // required
|
|
241
|
-
* options: {
|
|
241
|
+
* options: { // LogConfigurationOptionsMap
|
|
242
242
|
* "<keys>": "STRING_VALUE",
|
|
243
243
|
* },
|
|
244
|
-
* secretOptions: [
|
|
245
|
-
* {
|
|
244
|
+
* secretOptions: [ // SecretList
|
|
245
|
+
* { // Secret
|
|
246
246
|
* name: "STRING_VALUE", // required
|
|
247
247
|
* valueFrom: "STRING_VALUE", // required
|
|
248
248
|
* },
|
|
@@ -30,7 +30,7 @@ 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 = {
|
|
33
|
+
* const input = { // UpdateServicePrimaryTaskSetRequest
|
|
34
34
|
* cluster: "STRING_VALUE", // required
|
|
35
35
|
* service: "STRING_VALUE", // required
|
|
36
36
|
* primaryTaskSet: "STRING_VALUE", // required
|
|
@@ -52,9 +52,9 @@ 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 = {
|
|
55
|
+
* const input = { // UpdateTaskProtectionRequest
|
|
56
56
|
* cluster: "STRING_VALUE", // required
|
|
57
|
-
* tasks: [ // required
|
|
57
|
+
* tasks: [ // StringList // required
|
|
58
58
|
* "STRING_VALUE",
|
|
59
59
|
* ],
|
|
60
60
|
* protectionEnabled: true || false, // required
|
|
@@ -28,11 +28,11 @@ 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 = {
|
|
31
|
+
* const input = { // UpdateTaskSetRequest
|
|
32
32
|
* cluster: "STRING_VALUE", // required
|
|
33
33
|
* service: "STRING_VALUE", // required
|
|
34
34
|
* taskSet: "STRING_VALUE", // required
|
|
35
|
-
* scale: {
|
|
35
|
+
* scale: { // Scale
|
|
36
36
|
* value: Number("double"),
|
|
37
37
|
* unit: "PERCENT",
|
|
38
38
|
* },
|