@aws-sdk/client-ecs 3.296.0 → 3.297.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/ECS.d.ts +57 -0
- package/dist-types/ECSClient.d.ts +24 -4
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +16 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +16 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +16 -0
- package/dist-types/commands/CreateTaskSetCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAttributesCommand.d.ts +16 -0
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +16 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +16 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +16 -0
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +16 -0
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +16 -0
- package/dist-types/commands/DescribeClustersCommand.d.ts +16 -0
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeServicesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeTasksCommand.d.ts +16 -0
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +16 -0
- package/dist-types/commands/ExecuteCommandCommand.d.ts +16 -0
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +16 -0
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +16 -0
- package/dist-types/commands/ListAttributesCommand.d.ts +16 -0
- package/dist-types/commands/ListClustersCommand.d.ts +16 -0
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +16 -0
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +16 -0
- package/dist-types/commands/ListServicesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +16 -0
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +16 -0
- package/dist-types/commands/ListTasksCommand.d.ts +16 -0
- package/dist-types/commands/PutAccountSettingCommand.d.ts +16 -0
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +16 -0
- package/dist-types/commands/PutAttributesCommand.d.ts +16 -0
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +16 -0
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +16 -0
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/RunTaskCommand.d.ts +16 -0
- package/dist-types/commands/StartTaskCommand.d.ts +16 -0
- package/dist-types/commands/StopTaskCommand.d.ts +16 -0
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +16 -0
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +16 -0
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +16 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +16 -0
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +16 -0
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +16 -0
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +16 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +16 -0
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +16 -0
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +16 -0
- package/dist-types/models/ECSServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +631 -8
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAccountSettingsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAttributesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListClustersPaginator.d.ts +3 -0
- package/dist-types/pagination/ListContainerInstancesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListServicesByNamespacePaginator.d.ts +3 -0
- package/dist-types/pagination/ListServicesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTaskDefinitionFamiliesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTaskDefinitionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTasksPaginator.d.ts +3 -0
- package/package.json +3 -3
package/dist-types/ECS.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ import { UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput } f
|
|
|
57
57
|
import { UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput } from "./commands/UpdateTaskSetCommand";
|
|
58
58
|
import { ECSClient } from "./ECSClient";
|
|
59
59
|
/**
|
|
60
|
+
* @public
|
|
60
61
|
* <fullname>Amazon Elastic Container Service</fullname>
|
|
61
62
|
* <p>Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes
|
|
62
63
|
* it easy to run, stop, and manage Docker containers. You can host your cluster on a
|
|
@@ -73,6 +74,7 @@ import { ECSClient } from "./ECSClient";
|
|
|
73
74
|
*/
|
|
74
75
|
export declare class ECS extends ECSClient {
|
|
75
76
|
/**
|
|
77
|
+
* @public
|
|
76
78
|
* <p>Creates a new capacity provider. Capacity providers are associated with an Amazon ECS
|
|
77
79
|
* cluster and are used in capacity provider strategies to facilitate cluster auto
|
|
78
80
|
* scaling.</p>
|
|
@@ -85,6 +87,7 @@ export declare class ECS extends ECSClient {
|
|
|
85
87
|
createCapacityProvider(args: CreateCapacityProviderCommandInput, cb: (err: any, data?: CreateCapacityProviderCommandOutput) => void): void;
|
|
86
88
|
createCapacityProvider(args: CreateCapacityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCapacityProviderCommandOutput) => void): void;
|
|
87
89
|
/**
|
|
90
|
+
* @public
|
|
88
91
|
* <p>Creates a new Amazon ECS cluster. By default, your account receives a <code>default</code>
|
|
89
92
|
* cluster when you launch your first container instance. However, you can create your own
|
|
90
93
|
* cluster with a unique name with the <code>CreateCluster</code> action.</p>
|
|
@@ -101,6 +104,7 @@ export declare class ECS extends ECSClient {
|
|
|
101
104
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
102
105
|
createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
103
106
|
/**
|
|
107
|
+
* @public
|
|
104
108
|
* <p>Runs and maintains your desired number of tasks from a specified task definition. If
|
|
105
109
|
* the number of tasks running in a service drops below the <code>desiredCount</code>,
|
|
106
110
|
* Amazon ECS runs another copy of the task in the specified cluster. To update an existing
|
|
@@ -183,6 +187,7 @@ export declare class ECS extends ECSClient {
|
|
|
183
187
|
createService(args: CreateServiceCommandInput, cb: (err: any, data?: CreateServiceCommandOutput) => void): void;
|
|
184
188
|
createService(args: CreateServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServiceCommandOutput) => void): void;
|
|
185
189
|
/**
|
|
190
|
+
* @public
|
|
186
191
|
* <p>Create a task set in the specified cluster and service. This is used when a service
|
|
187
192
|
* uses the <code>EXTERNAL</code> deployment controller type. For more information, see
|
|
188
193
|
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment
|
|
@@ -192,6 +197,7 @@ export declare class ECS extends ECSClient {
|
|
|
192
197
|
createTaskSet(args: CreateTaskSetCommandInput, cb: (err: any, data?: CreateTaskSetCommandOutput) => void): void;
|
|
193
198
|
createTaskSet(args: CreateTaskSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTaskSetCommandOutput) => void): void;
|
|
194
199
|
/**
|
|
200
|
+
* @public
|
|
195
201
|
* <p>Disables an account setting for a specified user, role, or the root user for
|
|
196
202
|
* an account.</p>
|
|
197
203
|
*/
|
|
@@ -199,12 +205,14 @@ export declare class ECS extends ECSClient {
|
|
|
199
205
|
deleteAccountSetting(args: DeleteAccountSettingCommandInput, cb: (err: any, data?: DeleteAccountSettingCommandOutput) => void): void;
|
|
200
206
|
deleteAccountSetting(args: DeleteAccountSettingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccountSettingCommandOutput) => void): void;
|
|
201
207
|
/**
|
|
208
|
+
* @public
|
|
202
209
|
* <p>Deletes one or more custom attributes from an Amazon ECS resource.</p>
|
|
203
210
|
*/
|
|
204
211
|
deleteAttributes(args: DeleteAttributesCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAttributesCommandOutput>;
|
|
205
212
|
deleteAttributes(args: DeleteAttributesCommandInput, cb: (err: any, data?: DeleteAttributesCommandOutput) => void): void;
|
|
206
213
|
deleteAttributes(args: DeleteAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAttributesCommandOutput) => void): void;
|
|
207
214
|
/**
|
|
215
|
+
* @public
|
|
208
216
|
* <p>Deletes the specified capacity provider.</p>
|
|
209
217
|
* <note>
|
|
210
218
|
* <p>The <code>FARGATE</code> and <code>FARGATE_SPOT</code> capacity providers are
|
|
@@ -225,6 +233,7 @@ export declare class ECS extends ECSClient {
|
|
|
225
233
|
deleteCapacityProvider(args: DeleteCapacityProviderCommandInput, cb: (err: any, data?: DeleteCapacityProviderCommandOutput) => void): void;
|
|
226
234
|
deleteCapacityProvider(args: DeleteCapacityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCapacityProviderCommandOutput) => void): void;
|
|
227
235
|
/**
|
|
236
|
+
* @public
|
|
228
237
|
* <p>Deletes the specified cluster. The cluster transitions to the <code>INACTIVE</code>
|
|
229
238
|
* state. Clusters with an <code>INACTIVE</code> status might remain discoverable in your
|
|
230
239
|
* account for a period of time. However, this behavior is subject to change in the future.
|
|
@@ -236,6 +245,7 @@ export declare class ECS extends ECSClient {
|
|
|
236
245
|
deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
237
246
|
deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
238
247
|
/**
|
|
248
|
+
* @public
|
|
239
249
|
* <p>Deletes a specified service within a cluster. You can delete a service if you have no
|
|
240
250
|
* running tasks in it and the desired task count is zero. If the service is actively
|
|
241
251
|
* maintaining tasks, you can't delete it, and you must update the service to a desired
|
|
@@ -262,6 +272,7 @@ export declare class ECS extends ECSClient {
|
|
|
262
272
|
deleteService(args: DeleteServiceCommandInput, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
|
|
263
273
|
deleteService(args: DeleteServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
|
|
264
274
|
/**
|
|
275
|
+
* @public
|
|
265
276
|
* <p>Deletes one or more task definitions.</p>
|
|
266
277
|
* <p>You must deregister a task definition revision before you delete it. For more information,
|
|
267
278
|
* see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterTaskDefinition.html">DeregisterTaskDefinition</a>.</p>
|
|
@@ -281,6 +292,7 @@ export declare class ECS extends ECSClient {
|
|
|
281
292
|
deleteTaskDefinitions(args: DeleteTaskDefinitionsCommandInput, cb: (err: any, data?: DeleteTaskDefinitionsCommandOutput) => void): void;
|
|
282
293
|
deleteTaskDefinitions(args: DeleteTaskDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTaskDefinitionsCommandOutput) => void): void;
|
|
283
294
|
/**
|
|
295
|
+
* @public
|
|
284
296
|
* <p>Deletes a specified task set within a service. This is used when a service uses the
|
|
285
297
|
* <code>EXTERNAL</code> deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
286
298
|
*/
|
|
@@ -288,6 +300,7 @@ export declare class ECS extends ECSClient {
|
|
|
288
300
|
deleteTaskSet(args: DeleteTaskSetCommandInput, cb: (err: any, data?: DeleteTaskSetCommandOutput) => void): void;
|
|
289
301
|
deleteTaskSet(args: DeleteTaskSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTaskSetCommandOutput) => void): void;
|
|
290
302
|
/**
|
|
303
|
+
* @public
|
|
291
304
|
* <p>Deregisters an Amazon ECS container instance from the specified cluster. This instance is
|
|
292
305
|
* no longer available to run tasks.</p>
|
|
293
306
|
* <p>If you intend to use the container instance for some other purpose after
|
|
@@ -307,6 +320,7 @@ export declare class ECS extends ECSClient {
|
|
|
307
320
|
deregisterContainerInstance(args: DeregisterContainerInstanceCommandInput, cb: (err: any, data?: DeregisterContainerInstanceCommandOutput) => void): void;
|
|
308
321
|
deregisterContainerInstance(args: DeregisterContainerInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterContainerInstanceCommandOutput) => void): void;
|
|
309
322
|
/**
|
|
323
|
+
* @public
|
|
310
324
|
* <p>Deregisters the specified task definition by family and revision. Upon deregistration, the
|
|
311
325
|
* task definition is marked as <code>INACTIVE</code>. Existing tasks and services that
|
|
312
326
|
* reference an <code>INACTIVE</code> task definition continue to run without disruption.
|
|
@@ -330,18 +344,21 @@ export declare class ECS extends ECSClient {
|
|
|
330
344
|
deregisterTaskDefinition(args: DeregisterTaskDefinitionCommandInput, cb: (err: any, data?: DeregisterTaskDefinitionCommandOutput) => void): void;
|
|
331
345
|
deregisterTaskDefinition(args: DeregisterTaskDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterTaskDefinitionCommandOutput) => void): void;
|
|
332
346
|
/**
|
|
347
|
+
* @public
|
|
333
348
|
* <p>Describes one or more of your capacity providers.</p>
|
|
334
349
|
*/
|
|
335
350
|
describeCapacityProviders(args: DescribeCapacityProvidersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCapacityProvidersCommandOutput>;
|
|
336
351
|
describeCapacityProviders(args: DescribeCapacityProvidersCommandInput, cb: (err: any, data?: DescribeCapacityProvidersCommandOutput) => void): void;
|
|
337
352
|
describeCapacityProviders(args: DescribeCapacityProvidersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCapacityProvidersCommandOutput) => void): void;
|
|
338
353
|
/**
|
|
354
|
+
* @public
|
|
339
355
|
* <p>Describes one or more of your clusters.</p>
|
|
340
356
|
*/
|
|
341
357
|
describeClusters(args: DescribeClustersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClustersCommandOutput>;
|
|
342
358
|
describeClusters(args: DescribeClustersCommandInput, cb: (err: any, data?: DescribeClustersCommandOutput) => void): void;
|
|
343
359
|
describeClusters(args: DescribeClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClustersCommandOutput) => void): void;
|
|
344
360
|
/**
|
|
361
|
+
* @public
|
|
345
362
|
* <p>Describes one or more container instances. Returns metadata about each container
|
|
346
363
|
* instance requested.</p>
|
|
347
364
|
*/
|
|
@@ -349,12 +366,14 @@ export declare class ECS extends ECSClient {
|
|
|
349
366
|
describeContainerInstances(args: DescribeContainerInstancesCommandInput, cb: (err: any, data?: DescribeContainerInstancesCommandOutput) => void): void;
|
|
350
367
|
describeContainerInstances(args: DescribeContainerInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeContainerInstancesCommandOutput) => void): void;
|
|
351
368
|
/**
|
|
369
|
+
* @public
|
|
352
370
|
* <p>Describes the specified services running in your cluster.</p>
|
|
353
371
|
*/
|
|
354
372
|
describeServices(args: DescribeServicesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeServicesCommandOutput>;
|
|
355
373
|
describeServices(args: DescribeServicesCommandInput, cb: (err: any, data?: DescribeServicesCommandOutput) => void): void;
|
|
356
374
|
describeServices(args: DescribeServicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeServicesCommandOutput) => void): void;
|
|
357
375
|
/**
|
|
376
|
+
* @public
|
|
358
377
|
* <p>Describes a task definition. You can specify a <code>family</code> and
|
|
359
378
|
* <code>revision</code> to find information about a specific task definition, or you
|
|
360
379
|
* can simply specify the family to find the latest <code>ACTIVE</code> revision in that
|
|
@@ -368,6 +387,7 @@ export declare class ECS extends ECSClient {
|
|
|
368
387
|
describeTaskDefinition(args: DescribeTaskDefinitionCommandInput, cb: (err: any, data?: DescribeTaskDefinitionCommandOutput) => void): void;
|
|
369
388
|
describeTaskDefinition(args: DescribeTaskDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTaskDefinitionCommandOutput) => void): void;
|
|
370
389
|
/**
|
|
390
|
+
* @public
|
|
371
391
|
* <p>Describes a specified task or tasks.</p>
|
|
372
392
|
* <p>Currently, stopped tasks appear in the returned results for at least one hour.</p>
|
|
373
393
|
*/
|
|
@@ -375,6 +395,7 @@ export declare class ECS extends ECSClient {
|
|
|
375
395
|
describeTasks(args: DescribeTasksCommandInput, cb: (err: any, data?: DescribeTasksCommandOutput) => void): void;
|
|
376
396
|
describeTasks(args: DescribeTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTasksCommandOutput) => void): void;
|
|
377
397
|
/**
|
|
398
|
+
* @public
|
|
378
399
|
* <p>Describes the task sets in the specified cluster and service. This is used when a
|
|
379
400
|
* service uses the <code>EXTERNAL</code> deployment controller type. For more information,
|
|
380
401
|
* see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment
|
|
@@ -384,6 +405,7 @@ export declare class ECS extends ECSClient {
|
|
|
384
405
|
describeTaskSets(args: DescribeTaskSetsCommandInput, cb: (err: any, data?: DescribeTaskSetsCommandOutput) => void): void;
|
|
385
406
|
describeTaskSets(args: DescribeTaskSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTaskSetsCommandOutput) => void): void;
|
|
386
407
|
/**
|
|
408
|
+
* @public
|
|
387
409
|
* <note>
|
|
388
410
|
* <p>This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.</p>
|
|
389
411
|
* </note>
|
|
@@ -393,6 +415,7 @@ export declare class ECS extends ECSClient {
|
|
|
393
415
|
discoverPollEndpoint(args: DiscoverPollEndpointCommandInput, cb: (err: any, data?: DiscoverPollEndpointCommandOutput) => void): void;
|
|
394
416
|
discoverPollEndpoint(args: DiscoverPollEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DiscoverPollEndpointCommandOutput) => void): void;
|
|
395
417
|
/**
|
|
418
|
+
* @public
|
|
396
419
|
* <p>Runs a command remotely on a container within a task.</p>
|
|
397
420
|
* <p>If you use a condition key in your IAM policy to refine the conditions for the policy
|
|
398
421
|
* statement, for example limit the actions to a specific cluster, you receive an
|
|
@@ -405,18 +428,21 @@ export declare class ECS extends ECSClient {
|
|
|
405
428
|
executeCommand(args: ExecuteCommandCommandInput, cb: (err: any, data?: ExecuteCommandCommandOutput) => void): void;
|
|
406
429
|
executeCommand(args: ExecuteCommandCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteCommandCommandOutput) => void): void;
|
|
407
430
|
/**
|
|
431
|
+
* @public
|
|
408
432
|
* <p>Retrieves the protection status of tasks in an Amazon ECS service.</p>
|
|
409
433
|
*/
|
|
410
434
|
getTaskProtection(args: GetTaskProtectionCommandInput, options?: __HttpHandlerOptions): Promise<GetTaskProtectionCommandOutput>;
|
|
411
435
|
getTaskProtection(args: GetTaskProtectionCommandInput, cb: (err: any, data?: GetTaskProtectionCommandOutput) => void): void;
|
|
412
436
|
getTaskProtection(args: GetTaskProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTaskProtectionCommandOutput) => void): void;
|
|
413
437
|
/**
|
|
438
|
+
* @public
|
|
414
439
|
* <p>Lists the account settings for a specified principal.</p>
|
|
415
440
|
*/
|
|
416
441
|
listAccountSettings(args: ListAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccountSettingsCommandOutput>;
|
|
417
442
|
listAccountSettings(args: ListAccountSettingsCommandInput, cb: (err: any, data?: ListAccountSettingsCommandOutput) => void): void;
|
|
418
443
|
listAccountSettings(args: ListAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccountSettingsCommandOutput) => void): void;
|
|
419
444
|
/**
|
|
445
|
+
* @public
|
|
420
446
|
* <p>Lists the attributes for Amazon ECS resources within a specified target type and cluster.
|
|
421
447
|
* When you specify a target type and cluster, <code>ListAttributes</code> returns a list
|
|
422
448
|
* of attribute objects, one for each attribute on each resource. You can filter the list
|
|
@@ -429,12 +455,14 @@ export declare class ECS extends ECSClient {
|
|
|
429
455
|
listAttributes(args: ListAttributesCommandInput, cb: (err: any, data?: ListAttributesCommandOutput) => void): void;
|
|
430
456
|
listAttributes(args: ListAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAttributesCommandOutput) => void): void;
|
|
431
457
|
/**
|
|
458
|
+
* @public
|
|
432
459
|
* <p>Returns a list of existing clusters.</p>
|
|
433
460
|
*/
|
|
434
461
|
listClusters(args: ListClustersCommandInput, options?: __HttpHandlerOptions): Promise<ListClustersCommandOutput>;
|
|
435
462
|
listClusters(args: ListClustersCommandInput, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
436
463
|
listClusters(args: ListClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
437
464
|
/**
|
|
465
|
+
* @public
|
|
438
466
|
* <p>Returns a list of container instances in a specified cluster. You can filter the
|
|
439
467
|
* results of a <code>ListContainerInstances</code> operation with cluster query language
|
|
440
468
|
* statements inside the <code>filter</code> parameter. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html">Cluster Query Language</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
@@ -443,6 +471,7 @@ export declare class ECS extends ECSClient {
|
|
|
443
471
|
listContainerInstances(args: ListContainerInstancesCommandInput, cb: (err: any, data?: ListContainerInstancesCommandOutput) => void): void;
|
|
444
472
|
listContainerInstances(args: ListContainerInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListContainerInstancesCommandOutput) => void): void;
|
|
445
473
|
/**
|
|
474
|
+
* @public
|
|
446
475
|
* <p>Returns a list of services. You can filter the results by cluster, launch type, and
|
|
447
476
|
* scheduling strategy.</p>
|
|
448
477
|
*/
|
|
@@ -450,6 +479,7 @@ export declare class ECS extends ECSClient {
|
|
|
450
479
|
listServices(args: ListServicesCommandInput, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
|
|
451
480
|
listServices(args: ListServicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
|
|
452
481
|
/**
|
|
482
|
+
* @public
|
|
453
483
|
* <p>This operation lists all of the services that are associated with a Cloud Map
|
|
454
484
|
* namespace. This list might include services in different clusters. In contrast,
|
|
455
485
|
* <code>ListServices</code> can only list services in one cluster at a time. If you
|
|
@@ -460,12 +490,14 @@ export declare class ECS extends ECSClient {
|
|
|
460
490
|
listServicesByNamespace(args: ListServicesByNamespaceCommandInput, cb: (err: any, data?: ListServicesByNamespaceCommandOutput) => void): void;
|
|
461
491
|
listServicesByNamespace(args: ListServicesByNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServicesByNamespaceCommandOutput) => void): void;
|
|
462
492
|
/**
|
|
493
|
+
* @public
|
|
463
494
|
* <p>List the tags for an Amazon ECS resource.</p>
|
|
464
495
|
*/
|
|
465
496
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
466
497
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
467
498
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
468
499
|
/**
|
|
500
|
+
* @public
|
|
469
501
|
* <p>Returns a list of task definition families that are registered to your account. This
|
|
470
502
|
* list includes task definition families that no longer have any <code>ACTIVE</code> task
|
|
471
503
|
* definition revisions.</p>
|
|
@@ -478,6 +510,7 @@ export declare class ECS extends ECSClient {
|
|
|
478
510
|
listTaskDefinitionFamilies(args: ListTaskDefinitionFamiliesCommandInput, cb: (err: any, data?: ListTaskDefinitionFamiliesCommandOutput) => void): void;
|
|
479
511
|
listTaskDefinitionFamilies(args: ListTaskDefinitionFamiliesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTaskDefinitionFamiliesCommandOutput) => void): void;
|
|
480
512
|
/**
|
|
513
|
+
* @public
|
|
481
514
|
* <p>Returns a list of task definitions that are registered to your account. You can filter
|
|
482
515
|
* the results by family name with the <code>familyPrefix</code> parameter or by status
|
|
483
516
|
* with the <code>status</code> parameter.</p>
|
|
@@ -486,6 +519,7 @@ export declare class ECS extends ECSClient {
|
|
|
486
519
|
listTaskDefinitions(args: ListTaskDefinitionsCommandInput, cb: (err: any, data?: ListTaskDefinitionsCommandOutput) => void): void;
|
|
487
520
|
listTaskDefinitions(args: ListTaskDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTaskDefinitionsCommandOutput) => void): void;
|
|
488
521
|
/**
|
|
522
|
+
* @public
|
|
489
523
|
* <p>Returns a list of tasks. You can filter the results by cluster, task definition
|
|
490
524
|
* family, container instance, launch type, what IAM principal started the task, or by the
|
|
491
525
|
* desired status of the task.</p>
|
|
@@ -496,6 +530,7 @@ export declare class ECS extends ECSClient {
|
|
|
496
530
|
listTasks(args: ListTasksCommandInput, cb: (err: any, data?: ListTasksCommandOutput) => void): void;
|
|
497
531
|
listTasks(args: ListTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTasksCommandOutput) => void): void;
|
|
498
532
|
/**
|
|
533
|
+
* @public
|
|
499
534
|
* <p>Modifies an account setting. Account settings are set on a per-Region basis.</p>
|
|
500
535
|
* <p>If you change the account setting for the root user, the default settings for all of
|
|
501
536
|
* the users and roles that no individual account setting was specified are reset for.
|
|
@@ -525,6 +560,7 @@ export declare class ECS extends ECSClient {
|
|
|
525
560
|
putAccountSetting(args: PutAccountSettingCommandInput, cb: (err: any, data?: PutAccountSettingCommandOutput) => void): void;
|
|
526
561
|
putAccountSetting(args: PutAccountSettingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAccountSettingCommandOutput) => void): void;
|
|
527
562
|
/**
|
|
563
|
+
* @public
|
|
528
564
|
* <p>Modifies an account setting for all users on an account for whom no individual
|
|
529
565
|
* account setting has been specified. Account settings are set on a per-Region
|
|
530
566
|
* basis.</p>
|
|
@@ -533,6 +569,7 @@ export declare class ECS extends ECSClient {
|
|
|
533
569
|
putAccountSettingDefault(args: PutAccountSettingDefaultCommandInput, cb: (err: any, data?: PutAccountSettingDefaultCommandOutput) => void): void;
|
|
534
570
|
putAccountSettingDefault(args: PutAccountSettingDefaultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAccountSettingDefaultCommandOutput) => void): void;
|
|
535
571
|
/**
|
|
572
|
+
* @public
|
|
536
573
|
* <p>Create or update an attribute on an Amazon ECS resource. If the attribute doesn't exist,
|
|
537
574
|
* it's created. If the attribute exists, its value is replaced with the specified value.
|
|
538
575
|
* To delete an attribute, use <a>DeleteAttributes</a>. For more information,
|
|
@@ -542,6 +579,7 @@ export declare class ECS extends ECSClient {
|
|
|
542
579
|
putAttributes(args: PutAttributesCommandInput, cb: (err: any, data?: PutAttributesCommandOutput) => void): void;
|
|
543
580
|
putAttributes(args: PutAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAttributesCommandOutput) => void): void;
|
|
544
581
|
/**
|
|
582
|
+
* @public
|
|
545
583
|
* <p>Modifies the available capacity providers and the default capacity provider strategy
|
|
546
584
|
* for a cluster.</p>
|
|
547
585
|
* <p>You must specify both the available capacity providers and a default capacity provider
|
|
@@ -561,6 +599,7 @@ export declare class ECS extends ECSClient {
|
|
|
561
599
|
putClusterCapacityProviders(args: PutClusterCapacityProvidersCommandInput, cb: (err: any, data?: PutClusterCapacityProvidersCommandOutput) => void): void;
|
|
562
600
|
putClusterCapacityProviders(args: PutClusterCapacityProvidersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutClusterCapacityProvidersCommandOutput) => void): void;
|
|
563
601
|
/**
|
|
602
|
+
* @public
|
|
564
603
|
* <note>
|
|
565
604
|
* <p>This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.</p>
|
|
566
605
|
* </note>
|
|
@@ -571,6 +610,7 @@ export declare class ECS extends ECSClient {
|
|
|
571
610
|
registerContainerInstance(args: RegisterContainerInstanceCommandInput, cb: (err: any, data?: RegisterContainerInstanceCommandOutput) => void): void;
|
|
572
611
|
registerContainerInstance(args: RegisterContainerInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterContainerInstanceCommandOutput) => void): void;
|
|
573
612
|
/**
|
|
613
|
+
* @public
|
|
574
614
|
* <p>Registers a new task definition from the supplied <code>family</code> and
|
|
575
615
|
* <code>containerDefinitions</code>. Optionally, you can add data volumes to your
|
|
576
616
|
* containers with the <code>volumes</code> parameter. For more information about task
|
|
@@ -594,6 +634,7 @@ export declare class ECS extends ECSClient {
|
|
|
594
634
|
registerTaskDefinition(args: RegisterTaskDefinitionCommandInput, cb: (err: any, data?: RegisterTaskDefinitionCommandOutput) => void): void;
|
|
595
635
|
registerTaskDefinition(args: RegisterTaskDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterTaskDefinitionCommandOutput) => void): void;
|
|
596
636
|
/**
|
|
637
|
+
* @public
|
|
597
638
|
* <p>Starts a new task using the specified task definition.</p>
|
|
598
639
|
* <p>You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places
|
|
599
640
|
* tasks using placement constraints and placement strategies. For more information, see
|
|
@@ -627,6 +668,7 @@ export declare class ECS extends ECSClient {
|
|
|
627
668
|
runTask(args: RunTaskCommandInput, cb: (err: any, data?: RunTaskCommandOutput) => void): void;
|
|
628
669
|
runTask(args: RunTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RunTaskCommandOutput) => void): void;
|
|
629
670
|
/**
|
|
671
|
+
* @public
|
|
630
672
|
* <p>Starts a new task from the specified task definition on the specified container
|
|
631
673
|
* instance or instances.</p>
|
|
632
674
|
* <p>Alternatively, you can use <a>RunTask</a> to place tasks for you. For more
|
|
@@ -636,6 +678,7 @@ export declare class ECS extends ECSClient {
|
|
|
636
678
|
startTask(args: StartTaskCommandInput, cb: (err: any, data?: StartTaskCommandOutput) => void): void;
|
|
637
679
|
startTask(args: StartTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTaskCommandOutput) => void): void;
|
|
638
680
|
/**
|
|
681
|
+
* @public
|
|
639
682
|
* <p>Stops a running task. Any tags associated with the task will be deleted.</p>
|
|
640
683
|
* <p>When <a>StopTask</a> is called on a task, the equivalent of <code>docker
|
|
641
684
|
* stop</code> is issued to the containers running in the task. This results in a
|
|
@@ -654,6 +697,7 @@ export declare class ECS extends ECSClient {
|
|
|
654
697
|
stopTask(args: StopTaskCommandInput, cb: (err: any, data?: StopTaskCommandOutput) => void): void;
|
|
655
698
|
stopTask(args: StopTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopTaskCommandOutput) => void): void;
|
|
656
699
|
/**
|
|
700
|
+
* @public
|
|
657
701
|
* <note>
|
|
658
702
|
* <p>This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.</p>
|
|
659
703
|
* </note>
|
|
@@ -663,6 +707,7 @@ export declare class ECS extends ECSClient {
|
|
|
663
707
|
submitAttachmentStateChanges(args: SubmitAttachmentStateChangesCommandInput, cb: (err: any, data?: SubmitAttachmentStateChangesCommandOutput) => void): void;
|
|
664
708
|
submitAttachmentStateChanges(args: SubmitAttachmentStateChangesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitAttachmentStateChangesCommandOutput) => void): void;
|
|
665
709
|
/**
|
|
710
|
+
* @public
|
|
666
711
|
* <note>
|
|
667
712
|
* <p>This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.</p>
|
|
668
713
|
* </note>
|
|
@@ -672,6 +717,7 @@ export declare class ECS extends ECSClient {
|
|
|
672
717
|
submitContainerStateChange(args: SubmitContainerStateChangeCommandInput, cb: (err: any, data?: SubmitContainerStateChangeCommandOutput) => void): void;
|
|
673
718
|
submitContainerStateChange(args: SubmitContainerStateChangeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitContainerStateChangeCommandOutput) => void): void;
|
|
674
719
|
/**
|
|
720
|
+
* @public
|
|
675
721
|
* <note>
|
|
676
722
|
* <p>This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.</p>
|
|
677
723
|
* </note>
|
|
@@ -681,6 +727,7 @@ export declare class ECS extends ECSClient {
|
|
|
681
727
|
submitTaskStateChange(args: SubmitTaskStateChangeCommandInput, cb: (err: any, data?: SubmitTaskStateChangeCommandOutput) => void): void;
|
|
682
728
|
submitTaskStateChange(args: SubmitTaskStateChangeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitTaskStateChangeCommandOutput) => void): void;
|
|
683
729
|
/**
|
|
730
|
+
* @public
|
|
684
731
|
* <p>Associates the specified tags to a resource with the specified
|
|
685
732
|
* <code>resourceArn</code>. If existing tags on a resource aren't specified in the
|
|
686
733
|
* request parameters, they aren't changed. When a resource is deleted, the tags that are
|
|
@@ -690,30 +737,35 @@ export declare class ECS extends ECSClient {
|
|
|
690
737
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
691
738
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
692
739
|
/**
|
|
740
|
+
* @public
|
|
693
741
|
* <p>Deletes specified tags from a resource.</p>
|
|
694
742
|
*/
|
|
695
743
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
696
744
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
697
745
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
698
746
|
/**
|
|
747
|
+
* @public
|
|
699
748
|
* <p>Modifies the parameters for a capacity provider.</p>
|
|
700
749
|
*/
|
|
701
750
|
updateCapacityProvider(args: UpdateCapacityProviderCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCapacityProviderCommandOutput>;
|
|
702
751
|
updateCapacityProvider(args: UpdateCapacityProviderCommandInput, cb: (err: any, data?: UpdateCapacityProviderCommandOutput) => void): void;
|
|
703
752
|
updateCapacityProvider(args: UpdateCapacityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCapacityProviderCommandOutput) => void): void;
|
|
704
753
|
/**
|
|
754
|
+
* @public
|
|
705
755
|
* <p>Updates the cluster.</p>
|
|
706
756
|
*/
|
|
707
757
|
updateCluster(args: UpdateClusterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateClusterCommandOutput>;
|
|
708
758
|
updateCluster(args: UpdateClusterCommandInput, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
|
|
709
759
|
updateCluster(args: UpdateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
|
|
710
760
|
/**
|
|
761
|
+
* @public
|
|
711
762
|
* <p>Modifies the settings to use for a cluster.</p>
|
|
712
763
|
*/
|
|
713
764
|
updateClusterSettings(args: UpdateClusterSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateClusterSettingsCommandOutput>;
|
|
714
765
|
updateClusterSettings(args: UpdateClusterSettingsCommandInput, cb: (err: any, data?: UpdateClusterSettingsCommandOutput) => void): void;
|
|
715
766
|
updateClusterSettings(args: UpdateClusterSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterSettingsCommandOutput) => void): void;
|
|
716
767
|
/**
|
|
768
|
+
* @public
|
|
717
769
|
* <p>Updates the Amazon ECS container agent on a specified container instance. Updating the
|
|
718
770
|
* Amazon ECS container agent doesn't interrupt running tasks or services on the container
|
|
719
771
|
* instance. The process for updating the agent differs depending on whether your container
|
|
@@ -738,6 +790,7 @@ export declare class ECS extends ECSClient {
|
|
|
738
790
|
updateContainerAgent(args: UpdateContainerAgentCommandInput, cb: (err: any, data?: UpdateContainerAgentCommandOutput) => void): void;
|
|
739
791
|
updateContainerAgent(args: UpdateContainerAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContainerAgentCommandOutput) => void): void;
|
|
740
792
|
/**
|
|
793
|
+
* @public
|
|
741
794
|
* <p>Modifies the status of an Amazon ECS container instance.</p>
|
|
742
795
|
* <p>Once a container instance has reached an <code>ACTIVE</code> state, you can change the
|
|
743
796
|
* status of a container instance to <code>DRAINING</code> to manually remove an instance
|
|
@@ -792,6 +845,7 @@ export declare class ECS extends ECSClient {
|
|
|
792
845
|
updateContainerInstancesState(args: UpdateContainerInstancesStateCommandInput, cb: (err: any, data?: UpdateContainerInstancesStateCommandOutput) => void): void;
|
|
793
846
|
updateContainerInstancesState(args: UpdateContainerInstancesStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContainerInstancesStateCommandOutput) => void): void;
|
|
794
847
|
/**
|
|
848
|
+
* @public
|
|
795
849
|
* <p>Modifies the parameters of a service.</p>
|
|
796
850
|
* <p>For services using the rolling update (<code>ECS</code>) you can update the desired
|
|
797
851
|
* count, deployment configuration, network configuration, load balancers, service
|
|
@@ -920,6 +974,7 @@ export declare class ECS extends ECSClient {
|
|
|
920
974
|
updateService(args: UpdateServiceCommandInput, cb: (err: any, data?: UpdateServiceCommandOutput) => void): void;
|
|
921
975
|
updateService(args: UpdateServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceCommandOutput) => void): void;
|
|
922
976
|
/**
|
|
977
|
+
* @public
|
|
923
978
|
* <p>Modifies which task set in a service is the primary task set. Any parameters that are
|
|
924
979
|
* updated on the primary task set in a service will transition to the service. This is
|
|
925
980
|
* used when a service uses the <code>EXTERNAL</code> deployment controller type. For more
|
|
@@ -930,6 +985,7 @@ export declare class ECS extends ECSClient {
|
|
|
930
985
|
updateServicePrimaryTaskSet(args: UpdateServicePrimaryTaskSetCommandInput, cb: (err: any, data?: UpdateServicePrimaryTaskSetCommandOutput) => void): void;
|
|
931
986
|
updateServicePrimaryTaskSet(args: UpdateServicePrimaryTaskSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServicePrimaryTaskSetCommandOutput) => void): void;
|
|
932
987
|
/**
|
|
988
|
+
* @public
|
|
933
989
|
* <p>Updates the protection status of a task. You can set <code>protectionEnabled</code> to
|
|
934
990
|
* <code>true</code> to protect your task from termination during scale-in events from
|
|
935
991
|
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html">Service
|
|
@@ -962,6 +1018,7 @@ export declare class ECS extends ECSClient {
|
|
|
962
1018
|
updateTaskProtection(args: UpdateTaskProtectionCommandInput, cb: (err: any, data?: UpdateTaskProtectionCommandOutput) => void): void;
|
|
963
1019
|
updateTaskProtection(args: UpdateTaskProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTaskProtectionCommandOutput) => void): void;
|
|
964
1020
|
/**
|
|
1021
|
+
* @public
|
|
965
1022
|
* <p>Modifies a task set. This is used when a service uses the <code>EXTERNAL</code>
|
|
966
1023
|
* deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment
|
|
967
1024
|
* Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
@@ -64,15 +64,24 @@ import { UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCom
|
|
|
64
64
|
import { UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput } from "./commands/UpdateTaskProtectionCommand";
|
|
65
65
|
import { UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput } from "./commands/UpdateTaskSetCommand";
|
|
66
66
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
67
70
|
export type ServiceInputTypes = CreateCapacityProviderCommandInput | CreateClusterCommandInput | CreateServiceCommandInput | CreateTaskSetCommandInput | DeleteAccountSettingCommandInput | DeleteAttributesCommandInput | DeleteCapacityProviderCommandInput | DeleteClusterCommandInput | DeleteServiceCommandInput | DeleteTaskDefinitionsCommandInput | DeleteTaskSetCommandInput | DeregisterContainerInstanceCommandInput | DeregisterTaskDefinitionCommandInput | DescribeCapacityProvidersCommandInput | DescribeClustersCommandInput | DescribeContainerInstancesCommandInput | DescribeServicesCommandInput | DescribeTaskDefinitionCommandInput | DescribeTaskSetsCommandInput | DescribeTasksCommandInput | DiscoverPollEndpointCommandInput | ExecuteCommandCommandInput | GetTaskProtectionCommandInput | ListAccountSettingsCommandInput | ListAttributesCommandInput | ListClustersCommandInput | ListContainerInstancesCommandInput | ListServicesByNamespaceCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTaskDefinitionFamiliesCommandInput | ListTaskDefinitionsCommandInput | ListTasksCommandInput | PutAccountSettingCommandInput | PutAccountSettingDefaultCommandInput | PutAttributesCommandInput | PutClusterCapacityProvidersCommandInput | RegisterContainerInstanceCommandInput | RegisterTaskDefinitionCommandInput | RunTaskCommandInput | StartTaskCommandInput | StopTaskCommandInput | SubmitAttachmentStateChangesCommandInput | SubmitContainerStateChangeCommandInput | SubmitTaskStateChangeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCapacityProviderCommandInput | UpdateClusterCommandInput | UpdateClusterSettingsCommandInput | UpdateContainerAgentCommandInput | UpdateContainerInstancesStateCommandInput | UpdateServiceCommandInput | UpdateServicePrimaryTaskSetCommandInput | UpdateTaskProtectionCommandInput | UpdateTaskSetCommandInput;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
68
74
|
export type ServiceOutputTypes = CreateCapacityProviderCommandOutput | CreateClusterCommandOutput | CreateServiceCommandOutput | CreateTaskSetCommandOutput | DeleteAccountSettingCommandOutput | DeleteAttributesCommandOutput | DeleteCapacityProviderCommandOutput | DeleteClusterCommandOutput | DeleteServiceCommandOutput | DeleteTaskDefinitionsCommandOutput | DeleteTaskSetCommandOutput | DeregisterContainerInstanceCommandOutput | DeregisterTaskDefinitionCommandOutput | DescribeCapacityProvidersCommandOutput | DescribeClustersCommandOutput | DescribeContainerInstancesCommandOutput | DescribeServicesCommandOutput | DescribeTaskDefinitionCommandOutput | DescribeTaskSetsCommandOutput | DescribeTasksCommandOutput | DiscoverPollEndpointCommandOutput | ExecuteCommandCommandOutput | GetTaskProtectionCommandOutput | ListAccountSettingsCommandOutput | ListAttributesCommandOutput | ListClustersCommandOutput | ListContainerInstancesCommandOutput | ListServicesByNamespaceCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTaskDefinitionFamiliesCommandOutput | ListTaskDefinitionsCommandOutput | ListTasksCommandOutput | PutAccountSettingCommandOutput | PutAccountSettingDefaultCommandOutput | PutAttributesCommandOutput | PutClusterCapacityProvidersCommandOutput | RegisterContainerInstanceCommandOutput | RegisterTaskDefinitionCommandOutput | RunTaskCommandOutput | StartTaskCommandOutput | StopTaskCommandOutput | SubmitAttachmentStateChangesCommandOutput | SubmitContainerStateChangeCommandOutput | SubmitTaskStateChangeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCapacityProviderCommandOutput | UpdateClusterCommandOutput | UpdateClusterSettingsCommandOutput | UpdateContainerAgentCommandOutput | UpdateContainerInstancesStateCommandOutput | UpdateServiceCommandOutput | UpdateServicePrimaryTaskSetCommandOutput | UpdateTaskProtectionCommandOutput | UpdateTaskSetCommandOutput;
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
69
78
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
70
79
|
/**
|
|
71
80
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
72
81
|
*/
|
|
73
82
|
requestHandler?: __HttpHandler;
|
|
74
83
|
/**
|
|
75
|
-
* A constructor for a class implementing the {@link
|
|
84
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
76
85
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
77
86
|
* @internal
|
|
78
87
|
*/
|
|
@@ -162,23 +171,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
162
171
|
*/
|
|
163
172
|
logger?: __Logger;
|
|
164
173
|
/**
|
|
165
|
-
* The {@link
|
|
174
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
166
175
|
*/
|
|
167
176
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
168
177
|
}
|
|
178
|
+
/**
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
169
181
|
type ECSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
170
182
|
/**
|
|
171
|
-
*
|
|
183
|
+
* @public
|
|
184
|
+
*
|
|
185
|
+
* The configuration interface of ECSClient class constructor that set the region, credentials and other options.
|
|
172
186
|
*/
|
|
173
187
|
export interface ECSClientConfig extends ECSClientConfigType {
|
|
174
188
|
}
|
|
189
|
+
/**
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
175
192
|
type ECSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
176
193
|
/**
|
|
177
|
-
*
|
|
194
|
+
* @public
|
|
195
|
+
*
|
|
196
|
+
* The resolved configuration interface of ECSClient class. This is resolved and normalized from the {@link ECSClientConfig | constructor configuration interface}.
|
|
178
197
|
*/
|
|
179
198
|
export interface ECSClientResolvedConfig extends ECSClientResolvedConfigType {
|
|
180
199
|
}
|
|
181
200
|
/**
|
|
201
|
+
* @public
|
|
182
202
|
* <fullname>Amazon Elastic Container Service</fullname>
|
|
183
203
|
* <p>Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes
|
|
184
204
|
* it easy to run, stop, and manage Docker containers. You can host your cluster on a
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
5
|
import { CreateCapacityProviderRequest, CreateCapacityProviderResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateCapacityProviderCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateCapacityProviderCommandInput extends CreateCapacityProviderRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateCapacityProviderCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateCapacityProviderCommandOutput extends CreateCapacityProviderResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a new capacity provider. Capacity providers are associated with an Amazon ECS
|
|
18
23
|
* cluster and are used in capacity provider strategies to facilitate cluster auto
|
|
19
24
|
* scaling.</p>
|
|
@@ -31,6 +36,8 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi
|
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
33
38
|
*
|
|
39
|
+
* @param CreateCapacityProviderCommandInput - {@link CreateCapacityProviderCommandInput}
|
|
40
|
+
* @returns {@link CreateCapacityProviderCommandOutput}
|
|
34
41
|
* @see {@link CreateCapacityProviderCommandInput} for command's `input` shape.
|
|
35
42
|
* @see {@link CreateCapacityProviderCommandOutput} for command's `response` shape.
|
|
36
43
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
@@ -62,11 +69,20 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi
|
|
|
62
69
|
export declare class CreateCapacityProviderCommand extends $Command<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput, ECSClientResolvedConfig> {
|
|
63
70
|
readonly input: CreateCapacityProviderCommandInput;
|
|
64
71
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
65
75
|
constructor(input: CreateCapacityProviderCommandInput);
|
|
66
76
|
/**
|
|
67
77
|
* @internal
|
|
68
78
|
*/
|
|
69
79
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
70
83
|
private serialize;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
71
87
|
private deserialize;
|
|
72
88
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
5
|
import { CreateClusterRequest, CreateClusterResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateClusterCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateClusterCommandInput extends CreateClusterRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateClusterCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateClusterCommandOutput extends CreateClusterResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a new Amazon ECS cluster. By default, your account receives a <code>default</code>
|
|
18
23
|
* cluster when you launch your first container instance. However, you can create your own
|
|
19
24
|
* cluster with a unique name with the <code>CreateCluster</code> action.</p>
|
|
@@ -35,6 +40,8 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
37
42
|
*
|
|
43
|
+
* @param CreateClusterCommandInput - {@link CreateClusterCommandInput}
|
|
44
|
+
* @returns {@link CreateClusterCommandOutput}
|
|
38
45
|
* @see {@link CreateClusterCommandInput} for command's `input` shape.
|
|
39
46
|
* @see {@link CreateClusterCommandOutput} for command's `response` shape.
|
|
40
47
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
@@ -80,11 +87,20 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
80
87
|
export declare class CreateClusterCommand extends $Command<CreateClusterCommandInput, CreateClusterCommandOutput, ECSClientResolvedConfig> {
|
|
81
88
|
readonly input: CreateClusterCommandInput;
|
|
82
89
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
83
93
|
constructor(input: CreateClusterCommandInput);
|
|
84
94
|
/**
|
|
85
95
|
* @internal
|
|
86
96
|
*/
|
|
87
97
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateClusterCommandInput, CreateClusterCommandOutput>;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
88
101
|
private serialize;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
89
105
|
private deserialize;
|
|
90
106
|
}
|