@aws-sdk/client-ecs 3.686.0 → 3.691.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.
@@ -14,12 +14,12 @@ export interface UpdateClusterRequest {
14
14
  * <p>The cluster settings for your cluster.</p>
15
15
  * @public
16
16
  */
17
- settings?: ClusterSetting[];
17
+ settings?: ClusterSetting[] | undefined;
18
18
  /**
19
19
  * <p>The execute command configuration for the cluster.</p>
20
20
  * @public
21
21
  */
22
- configuration?: ClusterConfiguration;
22
+ configuration?: ClusterConfiguration | undefined;
23
23
  /**
24
24
  * <p>Use this parameter to set a default Service Connect namespace. After you set a default
25
25
  * Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as
@@ -35,7 +35,7 @@ export interface UpdateClusterRequest {
35
35
  * For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html">Service Connect</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
36
36
  * @public
37
37
  */
38
- serviceConnectDefaults?: ClusterServiceConnectDefaultsRequest;
38
+ serviceConnectDefaults?: ClusterServiceConnectDefaultsRequest | undefined;
39
39
  }
40
40
  /**
41
41
  * @public
@@ -45,7 +45,7 @@ export interface UpdateClusterResponse {
45
45
  * <p>Details about the cluster.</p>
46
46
  * @public
47
47
  */
48
- cluster?: Cluster;
48
+ cluster?: Cluster | undefined;
49
49
  }
50
50
  /**
51
51
  * @public
@@ -80,7 +80,7 @@ export interface UpdateClusterSettingsResponse {
80
80
  * <p>Details about the cluster</p>
81
81
  * @public
82
82
  */
83
- cluster?: Cluster;
83
+ cluster?: Cluster | undefined;
84
84
  }
85
85
  /**
86
86
  * <p>Amazon ECS can't determine the current version of the Amazon ECS container agent on the
@@ -120,7 +120,7 @@ export interface UpdateContainerAgentRequest {
120
120
  * running on. If you do not specify a cluster, the default cluster is assumed.</p>
121
121
  * @public
122
122
  */
123
- cluster?: string;
123
+ cluster?: string | undefined;
124
124
  /**
125
125
  * <p>The container instance ID or full ARN entries for the container instance where you
126
126
  * would like to update the Amazon ECS container agent.</p>
@@ -136,7 +136,7 @@ export interface UpdateContainerAgentResponse {
136
136
  * <p>The container instance that the container agent was updated for.</p>
137
137
  * @public
138
138
  */
139
- containerInstance?: ContainerInstance;
139
+ containerInstance?: ContainerInstance | undefined;
140
140
  }
141
141
  /**
142
142
  * @public
@@ -147,7 +147,7 @@ export interface UpdateContainerInstancesStateRequest {
147
147
  * update. If you do not specify a cluster, the default cluster is assumed.</p>
148
148
  * @public
149
149
  */
150
- cluster?: string;
150
+ cluster?: string | undefined;
151
151
  /**
152
152
  * <p>A list of up to 10 container instance IDs or full ARN entries.</p>
153
153
  * @public
@@ -172,12 +172,12 @@ export interface UpdateContainerInstancesStateResponse {
172
172
  * <p>The list of container instances.</p>
173
173
  * @public
174
174
  */
175
- containerInstances?: ContainerInstance[];
175
+ containerInstances?: ContainerInstance[] | undefined;
176
176
  /**
177
177
  * <p>Any failures associated with the call.</p>
178
178
  * @public
179
179
  */
180
- failures?: Failure[];
180
+ failures?: Failure[] | undefined;
181
181
  }
182
182
  /**
183
183
  * @public
@@ -188,7 +188,7 @@ export interface UpdateServiceRequest {
188
188
  * If you do not specify a cluster, the default cluster is assumed.</p>
189
189
  * @public
190
190
  */
191
- cluster?: string;
191
+ cluster?: string | undefined;
192
192
  /**
193
193
  * <p>The name of the service to update.</p>
194
194
  * @public
@@ -199,7 +199,7 @@ export interface UpdateServiceRequest {
199
199
  * service.</p>
200
200
  * @public
201
201
  */
202
- desiredCount?: number;
202
+ desiredCount?: number | undefined;
203
203
  /**
204
204
  * <p>The <code>family</code> and <code>revision</code> (<code>family:revision</code>) or
205
205
  * full ARN of the task definition to run in your service. If a <code>revision</code> is
@@ -208,7 +208,7 @@ export interface UpdateServiceRequest {
208
208
  * the task definition and then stops an old task after the new version is running.</p>
209
209
  * @public
210
210
  */
211
- taskDefinition?: string;
211
+ taskDefinition?: string | undefined;
212
212
  /**
213
213
  * <p>The capacity provider strategy to update the service to use.</p>
214
214
  * <p>if the service uses the default capacity provider strategy for the cluster, the
@@ -233,18 +233,18 @@ export interface UpdateServiceRequest {
233
233
  * <p></p>
234
234
  * @public
235
235
  */
236
- capacityProviderStrategy?: CapacityProviderStrategyItem[];
236
+ capacityProviderStrategy?: CapacityProviderStrategyItem[] | undefined;
237
237
  /**
238
238
  * <p>Optional deployment parameters that control how many tasks run during the deployment and the
239
239
  * failure detection methods.</p>
240
240
  * @public
241
241
  */
242
- deploymentConfiguration?: DeploymentConfiguration;
242
+ deploymentConfiguration?: DeploymentConfiguration | undefined;
243
243
  /**
244
244
  * <p>An object representing the network configuration for the service.</p>
245
245
  * @public
246
246
  */
247
- networkConfiguration?: NetworkConfiguration;
247
+ networkConfiguration?: NetworkConfiguration | undefined;
248
248
  /**
249
249
  * <p>An array of task placement constraint objects to update the service to use. If no
250
250
  * value is specified, the existing placement constraints for the service will remain
@@ -255,7 +255,7 @@ export interface UpdateServiceRequest {
255
255
  * constraints in the task definition and those specified at runtime.</p>
256
256
  * @public
257
257
  */
258
- placementConstraints?: PlacementConstraint[];
258
+ placementConstraints?: PlacementConstraint[] | undefined;
259
259
  /**
260
260
  * <p>The task placement strategy objects to update the service to use. If no value is
261
261
  * specified, the existing placement strategy for the service will remain unchanged. If
@@ -264,7 +264,7 @@ export interface UpdateServiceRequest {
264
264
  * <p>You can specify a maximum of five strategy rules for each service.</p>
265
265
  * @public
266
266
  */
267
- placementStrategy?: PlacementStrategy[];
267
+ placementStrategy?: PlacementStrategy[] | undefined;
268
268
  /**
269
269
  * <p>The platform version that your tasks in the service run on. A platform version is only
270
270
  * specified for tasks using the Fargate launch type. If a platform version
@@ -273,7 +273,7 @@ export interface UpdateServiceRequest {
273
273
  * Versions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
274
274
  * @public
275
275
  */
276
- platformVersion?: string;
276
+ platformVersion?: string | undefined;
277
277
  /**
278
278
  * <p>Determines whether to force a new deployment of the service. By default, deployments
279
279
  * aren't forced. You can use this option to start a new deployment with no service
@@ -282,7 +282,7 @@ export interface UpdateServiceRequest {
282
282
  * Fargate tasks onto a newer platform version.</p>
283
283
  * @public
284
284
  */
285
- forceNewDeployment?: boolean;
285
+ forceNewDeployment?: boolean | undefined;
286
286
  /**
287
287
  * <p>The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy
288
288
  * Elastic Load Balancing target health checks after a task has first started. This is only valid if your
@@ -294,7 +294,7 @@ export interface UpdateServiceRequest {
294
294
  * up.</p>
295
295
  * @public
296
296
  */
297
- healthCheckGracePeriodSeconds?: number;
297
+ healthCheckGracePeriodSeconds?: number | undefined;
298
298
  /**
299
299
  * <p>If <code>true</code>, this enables execute command functionality on all task
300
300
  * containers.</p>
@@ -302,7 +302,7 @@ export interface UpdateServiceRequest {
302
302
  * you can set this to <code>null</code> when performing this action.</p>
303
303
  * @public
304
304
  */
305
- enableExecuteCommand?: boolean;
305
+ enableExecuteCommand?: boolean | undefined;
306
306
  /**
307
307
  * <p>Determines whether to turn on Amazon ECS managed tags for the tasks in the service. For
308
308
  * more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS
@@ -312,7 +312,7 @@ export interface UpdateServiceRequest {
312
312
  * starts new tasks with the updated tags.</p>
313
313
  * @public
314
314
  */
315
- enableECSManagedTags?: boolean;
315
+ enableECSManagedTags?: boolean | undefined;
316
316
  /**
317
317
  * <p>A list of Elastic Load Balancing load balancer objects. It contains the load balancer name, the
318
318
  * container name, and the container port to access from the load balancer. The container
@@ -337,7 +337,7 @@ export interface UpdateServiceRequest {
337
337
  * <p>You can remove existing <code>loadBalancers</code> by passing an empty list.</p>
338
338
  * @public
339
339
  */
340
- loadBalancers?: LoadBalancer[];
340
+ loadBalancers?: LoadBalancer[] | undefined;
341
341
  /**
342
342
  * <p>Determines whether to propagate the tags from the task definition or the service to
343
343
  * the task. If no value is specified, the tags aren't propagated.</p>
@@ -346,7 +346,7 @@ export interface UpdateServiceRequest {
346
346
  * starts new tasks with the updated tags.</p>
347
347
  * @public
348
348
  */
349
- propagateTags?: PropagateTags;
349
+ propagateTags?: PropagateTags | undefined;
350
350
  /**
351
351
  * <p>The details for the service discovery registries to assign to this service. For more
352
352
  * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html">Service
@@ -358,7 +358,7 @@ export interface UpdateServiceRequest {
358
358
  * list.</p>
359
359
  * @public
360
360
  */
361
- serviceRegistries?: ServiceRegistry[];
361
+ serviceRegistries?: ServiceRegistry[] | undefined;
362
362
  /**
363
363
  * <p>The configuration for this service to discover and connect to
364
364
  * services, and be discovered by, and connected from, other services within a namespace.</p>
@@ -370,7 +370,7 @@ export interface UpdateServiceRequest {
370
370
  * For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html">Service Connect</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
371
371
  * @public
372
372
  */
373
- serviceConnectConfiguration?: ServiceConnectConfiguration;
373
+ serviceConnectConfiguration?: ServiceConnectConfiguration | undefined;
374
374
  /**
375
375
  * <p>The details of the volume that was <code>configuredAtLaunch</code>. You can configure
376
376
  * the size, volumeType, IOPS, throughput, snapshot and encryption in <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ServiceManagedEBSVolumeConfiguration.html">ServiceManagedEBSVolumeConfiguration</a>. The <code>name</code> of the volume
@@ -379,7 +379,7 @@ export interface UpdateServiceRequest {
379
379
  * it triggers a new deployment.</p>
380
380
  * @public
381
381
  */
382
- volumeConfigurations?: ServiceVolumeConfiguration[];
382
+ volumeConfigurations?: ServiceVolumeConfiguration[] | undefined;
383
383
  }
384
384
  /**
385
385
  * @public
@@ -389,7 +389,7 @@ export interface UpdateServiceResponse {
389
389
  * <p>The full description of your service following the update call.</p>
390
390
  * @public
391
391
  */
392
- service?: Service;
392
+ service?: Service | undefined;
393
393
  }
394
394
  /**
395
395
  * @public
@@ -421,7 +421,7 @@ export interface UpdateServicePrimaryTaskSetResponse {
421
421
  * <p>The details about the task set.</p>
422
422
  * @public
423
423
  */
424
- taskSet?: TaskSet;
424
+ taskSet?: TaskSet | undefined;
425
425
  }
426
426
  /**
427
427
  * @public
@@ -454,7 +454,7 @@ export interface UpdateTaskProtectionRequest {
454
454
  * minutes (2 hours).</p>
455
455
  * @public
456
456
  */
457
- expiresInMinutes?: number;
457
+ expiresInMinutes?: number | undefined;
458
458
  }
459
459
  /**
460
460
  * @public
@@ -481,12 +481,12 @@ export interface UpdateTaskProtectionResponse {
481
481
  * </ul>
482
482
  * @public
483
483
  */
484
- protectedTasks?: ProtectedTask[];
484
+ protectedTasks?: ProtectedTask[] | undefined;
485
485
  /**
486
486
  * <p>Any failures associated with the call.</p>
487
487
  * @public
488
488
  */
489
- failures?: Failure[];
489
+ failures?: Failure[] | undefined;
490
490
  }
491
491
  /**
492
492
  * @public
@@ -523,5 +523,5 @@ export interface UpdateTaskSetResponse {
523
523
  * <p>Details about the task set.</p>
524
524
  * @public
525
525
  */
526
- taskSet?: TaskSet;
526
+ taskSet?: TaskSet | undefined;
527
527
  }