@aws-sdk/client-ecs 3.42.0 → 3.47.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/CHANGELOG.md +51 -0
- package/dist-cjs/endpoints.js +1 -24
- package/dist-cjs/models/models_0.js +5 -150
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -24
- package/dist-es/models/models_0.js +0 -96
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/ECS.d.ts +1 -1
- package/dist-types/ECSClient.d.ts +5 -1
- package/dist-types/commands/RunTaskCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +13 -149
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/ECSClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -96
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -7,12 +7,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
7
7
|
$fault: "client";
|
|
8
8
|
message?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare namespace AccessDeniedException {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
|
-
}
|
|
16
10
|
export declare enum AgentUpdateStatus {
|
|
17
11
|
FAILED = "FAILED",
|
|
18
12
|
PENDING = "PENDING",
|
|
@@ -31,12 +25,6 @@ export interface ClientException extends __SmithyException, $MetadataBearer {
|
|
|
31
25
|
$fault: "client";
|
|
32
26
|
message?: string;
|
|
33
27
|
}
|
|
34
|
-
export declare namespace ClientException {
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
|
-
const filterSensitiveLog: (obj: ClientException) => any;
|
|
39
|
-
}
|
|
40
28
|
export declare enum ManagedScalingStatus {
|
|
41
29
|
DISABLED = "DISABLED",
|
|
42
30
|
ENABLED = "ENABLED"
|
|
@@ -105,7 +93,7 @@ export interface AutoScalingGroupProvider {
|
|
|
105
93
|
/**
|
|
106
94
|
* <p>The managed termination protection setting to use for the Auto Scaling group capacity
|
|
107
95
|
* provider. This determines whether the Auto Scaling group has managed termination
|
|
108
|
-
* protection.</p>
|
|
96
|
+
* protection. The default is disabled.</p>
|
|
109
97
|
* <important>
|
|
110
98
|
* <p>When using managed termination protection, managed scaling must also be used
|
|
111
99
|
* otherwise managed termination protection doesn't work.</p>
|
|
@@ -358,12 +346,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
358
346
|
$fault: "client";
|
|
359
347
|
message?: string;
|
|
360
348
|
}
|
|
361
|
-
export declare namespace InvalidParameterException {
|
|
362
|
-
/**
|
|
363
|
-
* @internal
|
|
364
|
-
*/
|
|
365
|
-
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
366
|
-
}
|
|
367
349
|
/**
|
|
368
350
|
* <p>The limit for the resource was exceeded.</p>
|
|
369
351
|
*/
|
|
@@ -372,12 +354,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
372
354
|
$fault: "client";
|
|
373
355
|
message?: string;
|
|
374
356
|
}
|
|
375
|
-
export declare namespace LimitExceededException {
|
|
376
|
-
/**
|
|
377
|
-
* @internal
|
|
378
|
-
*/
|
|
379
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
380
|
-
}
|
|
381
357
|
/**
|
|
382
358
|
* <p>These errors are usually caused by a server issue.</p>
|
|
383
359
|
*/
|
|
@@ -386,12 +362,6 @@ export interface ServerException extends __SmithyException, $MetadataBearer {
|
|
|
386
362
|
$fault: "server";
|
|
387
363
|
message?: string;
|
|
388
364
|
}
|
|
389
|
-
export declare namespace ServerException {
|
|
390
|
-
/**
|
|
391
|
-
* @internal
|
|
392
|
-
*/
|
|
393
|
-
const filterSensitiveLog: (obj: ServerException) => any;
|
|
394
|
-
}
|
|
395
365
|
/**
|
|
396
366
|
* <p>There's already a current Amazon ECS container agent update in progress on the container
|
|
397
367
|
* instance that's specified. If the container agent becomes disconnected while it's in a
|
|
@@ -404,12 +374,6 @@ export interface UpdateInProgressException extends __SmithyException, $MetadataB
|
|
|
404
374
|
$fault: "client";
|
|
405
375
|
message?: string;
|
|
406
376
|
}
|
|
407
|
-
export declare namespace UpdateInProgressException {
|
|
408
|
-
/**
|
|
409
|
-
* @internal
|
|
410
|
-
*/
|
|
411
|
-
const filterSensitiveLog: (obj: UpdateInProgressException) => any;
|
|
412
|
-
}
|
|
413
377
|
/**
|
|
414
378
|
* <p>The log configuration for the results of the execute command actions. The logs can be
|
|
415
379
|
* sent to CloudWatch Logs or an Amazon S3 bucket.</p>
|
|
@@ -728,7 +692,8 @@ export interface Attachment {
|
|
|
728
692
|
/**
|
|
729
693
|
* <p> The status of the attachment. Valid values are <code>PRECREATED</code>,
|
|
730
694
|
* <code>CREATED</code>, <code>ATTACHING</code>, <code>ATTACHED</code>,
|
|
731
|
-
* <code>DETACHING</code>, <code>DETACHED</code>,
|
|
695
|
+
* <code>DETACHING</code>, <code>DETACHED</code>, <code>DELETED</code>, and
|
|
696
|
+
* <code>FAILED</code>.</p>
|
|
732
697
|
*/
|
|
733
698
|
status?: string;
|
|
734
699
|
/**
|
|
@@ -948,12 +913,6 @@ export interface ClusterNotFoundException extends __SmithyException, $MetadataBe
|
|
|
948
913
|
$fault: "client";
|
|
949
914
|
message?: string;
|
|
950
915
|
}
|
|
951
|
-
export declare namespace ClusterNotFoundException {
|
|
952
|
-
/**
|
|
953
|
-
* @internal
|
|
954
|
-
*/
|
|
955
|
-
const filterSensitiveLog: (obj: ClusterNotFoundException) => any;
|
|
956
|
-
}
|
|
957
916
|
/**
|
|
958
917
|
* <note>
|
|
959
918
|
* <p>The deployment circuit breaker can only be used for services using the rolling
|
|
@@ -2258,12 +2217,6 @@ export interface PlatformTaskDefinitionIncompatibilityException extends __Smithy
|
|
|
2258
2217
|
$fault: "client";
|
|
2259
2218
|
message?: string;
|
|
2260
2219
|
}
|
|
2261
|
-
export declare namespace PlatformTaskDefinitionIncompatibilityException {
|
|
2262
|
-
/**
|
|
2263
|
-
* @internal
|
|
2264
|
-
*/
|
|
2265
|
-
const filterSensitiveLog: (obj: PlatformTaskDefinitionIncompatibilityException) => any;
|
|
2266
|
-
}
|
|
2267
2220
|
/**
|
|
2268
2221
|
* <p>The specified platform version doesn't exist.</p>
|
|
2269
2222
|
*/
|
|
@@ -2272,12 +2225,6 @@ export interface PlatformUnknownException extends __SmithyException, $MetadataBe
|
|
|
2272
2225
|
$fault: "client";
|
|
2273
2226
|
message?: string;
|
|
2274
2227
|
}
|
|
2275
|
-
export declare namespace PlatformUnknownException {
|
|
2276
|
-
/**
|
|
2277
|
-
* @internal
|
|
2278
|
-
*/
|
|
2279
|
-
const filterSensitiveLog: (obj: PlatformUnknownException) => any;
|
|
2280
|
-
}
|
|
2281
2228
|
/**
|
|
2282
2229
|
* <p>The specified task isn't supported in this Region.</p>
|
|
2283
2230
|
*/
|
|
@@ -2286,12 +2233,6 @@ export interface UnsupportedFeatureException extends __SmithyException, $Metadat
|
|
|
2286
2233
|
$fault: "client";
|
|
2287
2234
|
message?: string;
|
|
2288
2235
|
}
|
|
2289
|
-
export declare namespace UnsupportedFeatureException {
|
|
2290
|
-
/**
|
|
2291
|
-
* @internal
|
|
2292
|
-
*/
|
|
2293
|
-
const filterSensitiveLog: (obj: UnsupportedFeatureException) => any;
|
|
2294
|
-
}
|
|
2295
2236
|
export interface CreateTaskSetRequest {
|
|
2296
2237
|
/**
|
|
2297
2238
|
* <p>The short name or full Amazon Resource Name (ARN) of the service to create the task set in.</p>
|
|
@@ -2441,12 +2382,6 @@ export interface ServiceNotActiveException extends __SmithyException, $MetadataB
|
|
|
2441
2382
|
$fault: "client";
|
|
2442
2383
|
message?: string;
|
|
2443
2384
|
}
|
|
2444
|
-
export declare namespace ServiceNotActiveException {
|
|
2445
|
-
/**
|
|
2446
|
-
* @internal
|
|
2447
|
-
*/
|
|
2448
|
-
const filterSensitiveLog: (obj: ServiceNotActiveException) => any;
|
|
2449
|
-
}
|
|
2450
2385
|
/**
|
|
2451
2386
|
* <p>The specified service wasn't found. You can view your available services with <a>ListServices</a>. Amazon ECS services are cluster specific and Region
|
|
2452
2387
|
* specific.</p>
|
|
@@ -2456,12 +2391,6 @@ export interface ServiceNotFoundException extends __SmithyException, $MetadataBe
|
|
|
2456
2391
|
$fault: "client";
|
|
2457
2392
|
message?: string;
|
|
2458
2393
|
}
|
|
2459
|
-
export declare namespace ServiceNotFoundException {
|
|
2460
|
-
/**
|
|
2461
|
-
* @internal
|
|
2462
|
-
*/
|
|
2463
|
-
const filterSensitiveLog: (obj: ServiceNotFoundException) => any;
|
|
2464
|
-
}
|
|
2465
2394
|
export declare enum SettingName {
|
|
2466
2395
|
AWSVPC_TRUNKING = "awsvpcTrunking",
|
|
2467
2396
|
CONTAINER_INSIGHTS = "containerInsights",
|
|
@@ -2613,12 +2542,6 @@ export interface TargetNotFoundException extends __SmithyException, $MetadataBea
|
|
|
2613
2542
|
$fault: "client";
|
|
2614
2543
|
message?: string;
|
|
2615
2544
|
}
|
|
2616
|
-
export declare namespace TargetNotFoundException {
|
|
2617
|
-
/**
|
|
2618
|
-
* @internal
|
|
2619
|
-
*/
|
|
2620
|
-
const filterSensitiveLog: (obj: TargetNotFoundException) => any;
|
|
2621
|
-
}
|
|
2622
2545
|
export interface DeleteCapacityProviderRequest {
|
|
2623
2546
|
/**
|
|
2624
2547
|
* <p>The short name or full Amazon Resource Name (ARN) of the capacity provider to delete.</p>
|
|
@@ -2653,12 +2576,6 @@ export interface ClusterContainsContainerInstancesException extends __SmithyExce
|
|
|
2653
2576
|
$fault: "client";
|
|
2654
2577
|
message?: string;
|
|
2655
2578
|
}
|
|
2656
|
-
export declare namespace ClusterContainsContainerInstancesException {
|
|
2657
|
-
/**
|
|
2658
|
-
* @internal
|
|
2659
|
-
*/
|
|
2660
|
-
const filterSensitiveLog: (obj: ClusterContainsContainerInstancesException) => any;
|
|
2661
|
-
}
|
|
2662
2579
|
/**
|
|
2663
2580
|
* <p>You can't delete a cluster that contains services. First, update the service to reduce
|
|
2664
2581
|
* its desired task count to 0, and then delete the service. For more information, see
|
|
@@ -2669,12 +2586,6 @@ export interface ClusterContainsServicesException extends __SmithyException, $Me
|
|
|
2669
2586
|
$fault: "client";
|
|
2670
2587
|
message?: string;
|
|
2671
2588
|
}
|
|
2672
|
-
export declare namespace ClusterContainsServicesException {
|
|
2673
|
-
/**
|
|
2674
|
-
* @internal
|
|
2675
|
-
*/
|
|
2676
|
-
const filterSensitiveLog: (obj: ClusterContainsServicesException) => any;
|
|
2677
|
-
}
|
|
2678
2589
|
/**
|
|
2679
2590
|
* <p>You can't delete a cluster that has active tasks.</p>
|
|
2680
2591
|
*/
|
|
@@ -2683,12 +2594,6 @@ export interface ClusterContainsTasksException extends __SmithyException, $Metad
|
|
|
2683
2594
|
$fault: "client";
|
|
2684
2595
|
message?: string;
|
|
2685
2596
|
}
|
|
2686
|
-
export declare namespace ClusterContainsTasksException {
|
|
2687
|
-
/**
|
|
2688
|
-
* @internal
|
|
2689
|
-
*/
|
|
2690
|
-
const filterSensitiveLog: (obj: ClusterContainsTasksException) => any;
|
|
2691
|
-
}
|
|
2692
2597
|
export interface DeleteClusterRequest {
|
|
2693
2598
|
/**
|
|
2694
2599
|
* <p>The short name or full Amazon Resource Name (ARN) of the cluster to delete.</p>
|
|
@@ -2796,12 +2701,6 @@ export interface TaskSetNotFoundException extends __SmithyException, $MetadataBe
|
|
|
2796
2701
|
$fault: "client";
|
|
2797
2702
|
message?: string;
|
|
2798
2703
|
}
|
|
2799
|
-
export declare namespace TaskSetNotFoundException {
|
|
2800
|
-
/**
|
|
2801
|
-
* @internal
|
|
2802
|
-
*/
|
|
2803
|
-
const filterSensitiveLog: (obj: TaskSetNotFoundException) => any;
|
|
2804
|
-
}
|
|
2805
2704
|
export interface DeregisterContainerInstanceRequest {
|
|
2806
2705
|
/**
|
|
2807
2706
|
* <p>The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to
|
|
@@ -4175,8 +4074,12 @@ export interface ContainerDefinition {
|
|
|
4175
4074
|
* <code>memoryReservation</code>, then that value is subtracted from the available
|
|
4176
4075
|
* memory resources for the container instance where the container is placed. Otherwise,
|
|
4177
4076
|
* the value of <code>memory</code> is used.</p>
|
|
4178
|
-
* <p>The Docker daemon reserves a minimum of
|
|
4179
|
-
*
|
|
4077
|
+
* <p>The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of
|
|
4078
|
+
* memory for a container, so you should not specify fewer than 6 MiB of
|
|
4079
|
+
* memory for your containers.</p>
|
|
4080
|
+
* <p>The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB
|
|
4081
|
+
* of memory for a container, so you should not specify fewer than 4 MiB of
|
|
4082
|
+
* memory for your containers.</p>
|
|
4180
4083
|
*/
|
|
4181
4084
|
memory?: number;
|
|
4182
4085
|
/**
|
|
@@ -4887,10 +4790,13 @@ export declare enum OSFamily {
|
|
|
4887
4790
|
}
|
|
4888
4791
|
/**
|
|
4889
4792
|
* <p>Information about the platform for the Amazon ECS service or task.</p>
|
|
4793
|
+
* <p>For more informataion about <code>RuntimePlatform</code>, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform">RuntimePlatform</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
4890
4794
|
*/
|
|
4891
4795
|
export interface RuntimePlatform {
|
|
4892
4796
|
/**
|
|
4893
4797
|
* <p>The CPU architecture.</p>
|
|
4798
|
+
* <p>You can run your Linux tasks on an ARM-based platform by setting the value to <code>ARM64</code>. This option is avaiable
|
|
4799
|
+
* for tasks that run on Linuc Amazon EC2 instance or Linux containers on Fargate.</p>
|
|
4894
4800
|
*/
|
|
4895
4801
|
cpuArchitecture?: CPUArchitecture | string;
|
|
4896
4802
|
/**
|
|
@@ -6617,12 +6523,6 @@ export interface TargetNotConnectedException extends __SmithyException, $Metadat
|
|
|
6617
6523
|
$fault: "client";
|
|
6618
6524
|
message?: string;
|
|
6619
6525
|
}
|
|
6620
|
-
export declare namespace TargetNotConnectedException {
|
|
6621
|
-
/**
|
|
6622
|
-
* @internal
|
|
6623
|
-
*/
|
|
6624
|
-
const filterSensitiveLog: (obj: TargetNotConnectedException) => any;
|
|
6625
|
-
}
|
|
6626
6526
|
export interface ListAccountSettingsRequest {
|
|
6627
6527
|
/**
|
|
6628
6528
|
* <p>The name of the account setting you want to list the settings for.</p>
|
|
@@ -7348,12 +7248,6 @@ export interface AttributeLimitExceededException extends __SmithyException, $Met
|
|
|
7348
7248
|
$fault: "client";
|
|
7349
7249
|
message?: string;
|
|
7350
7250
|
}
|
|
7351
|
-
export declare namespace AttributeLimitExceededException {
|
|
7352
|
-
/**
|
|
7353
|
-
* @internal
|
|
7354
|
-
*/
|
|
7355
|
-
const filterSensitiveLog: (obj: AttributeLimitExceededException) => any;
|
|
7356
|
-
}
|
|
7357
7251
|
export interface PutAttributesRequest {
|
|
7358
7252
|
/**
|
|
7359
7253
|
* <p>The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply
|
|
@@ -7446,12 +7340,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
7446
7340
|
$fault: "client";
|
|
7447
7341
|
message?: string;
|
|
7448
7342
|
}
|
|
7449
|
-
export declare namespace ResourceInUseException {
|
|
7450
|
-
/**
|
|
7451
|
-
* @internal
|
|
7452
|
-
*/
|
|
7453
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
7454
|
-
}
|
|
7455
7343
|
export declare enum PlatformDeviceType {
|
|
7456
7344
|
GPU = "GPU"
|
|
7457
7345
|
}
|
|
@@ -7885,12 +7773,6 @@ export interface BlockedException extends __SmithyException, $MetadataBearer {
|
|
|
7885
7773
|
$fault: "client";
|
|
7886
7774
|
message?: string;
|
|
7887
7775
|
}
|
|
7888
|
-
export declare namespace BlockedException {
|
|
7889
|
-
/**
|
|
7890
|
-
* @internal
|
|
7891
|
-
*/
|
|
7892
|
-
const filterSensitiveLog: (obj: BlockedException) => any;
|
|
7893
|
-
}
|
|
7894
7776
|
export interface RunTaskRequest {
|
|
7895
7777
|
/**
|
|
7896
7778
|
* <p>The capacity provider strategy to use for the task.</p>
|
|
@@ -8489,12 +8371,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
8489
8371
|
$fault: "client";
|
|
8490
8372
|
message?: string;
|
|
8491
8373
|
}
|
|
8492
|
-
export declare namespace ResourceNotFoundException {
|
|
8493
|
-
/**
|
|
8494
|
-
* @internal
|
|
8495
|
-
*/
|
|
8496
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
8497
|
-
}
|
|
8498
8374
|
export interface TagResourceRequest {
|
|
8499
8375
|
/**
|
|
8500
8376
|
* <p>The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported resources are
|
|
@@ -8712,12 +8588,6 @@ export interface MissingVersionException extends __SmithyException, $MetadataBea
|
|
|
8712
8588
|
$fault: "client";
|
|
8713
8589
|
message?: string;
|
|
8714
8590
|
}
|
|
8715
|
-
export declare namespace MissingVersionException {
|
|
8716
|
-
/**
|
|
8717
|
-
* @internal
|
|
8718
|
-
*/
|
|
8719
|
-
const filterSensitiveLog: (obj: MissingVersionException) => any;
|
|
8720
|
-
}
|
|
8721
8591
|
/**
|
|
8722
8592
|
* <p>There's no update available for this Amazon ECS container agent. This might be because the
|
|
8723
8593
|
* agent is already running the latest version or because it's so old that there's no
|
|
@@ -8728,12 +8598,6 @@ export interface NoUpdateAvailableException extends __SmithyException, $Metadata
|
|
|
8728
8598
|
$fault: "client";
|
|
8729
8599
|
message?: string;
|
|
8730
8600
|
}
|
|
8731
|
-
export declare namespace NoUpdateAvailableException {
|
|
8732
|
-
/**
|
|
8733
|
-
* @internal
|
|
8734
|
-
*/
|
|
8735
|
-
const filterSensitiveLog: (obj: NoUpdateAvailableException) => any;
|
|
8736
|
-
}
|
|
8737
8601
|
export interface UpdateContainerAgentRequest {
|
|
8738
8602
|
/**
|
|
8739
8603
|
* <p>The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is
|
|
@@ -8771,7 +8635,7 @@ export interface UpdateContainerInstancesStateRequest {
|
|
|
8771
8635
|
*/
|
|
8772
8636
|
cluster?: string;
|
|
8773
8637
|
/**
|
|
8774
|
-
* <p>A list of container instance IDs or full ARN entries.</p>
|
|
8638
|
+
* <p>A list of up to 10 container instance IDs or full ARN entries.</p>
|
|
8775
8639
|
*/
|
|
8776
8640
|
containerInstances: string[] | undefined;
|
|
8777
8641
|
/**
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { ECSClientConfig } from "./ECSClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { ECSClientConfig } from "./ECSClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
|
|
10
10
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
@@ -103,6 +103,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
103
103
|
regionInfoProvider?: RegionInfoProvider;
|
|
104
104
|
|
|
105
105
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
106
|
+
|
|
107
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
106
108
|
}
|
|
107
109
|
declare type ECSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
108
110
|
|
|
@@ -5,10 +5,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
5
5
|
$fault: "client";
|
|
6
6
|
message?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare namespace AccessDeniedException {
|
|
9
|
-
|
|
10
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
11
|
-
}
|
|
12
8
|
export declare enum AgentUpdateStatus {
|
|
13
9
|
FAILED = "FAILED",
|
|
14
10
|
PENDING = "PENDING",
|
|
@@ -23,10 +19,6 @@ export interface ClientException extends __SmithyException, $MetadataBearer {
|
|
|
23
19
|
$fault: "client";
|
|
24
20
|
message?: string;
|
|
25
21
|
}
|
|
26
|
-
export declare namespace ClientException {
|
|
27
|
-
|
|
28
|
-
const filterSensitiveLog: (obj: ClientException) => any;
|
|
29
|
-
}
|
|
30
22
|
export declare enum ManagedScalingStatus {
|
|
31
23
|
DISABLED = "DISABLED",
|
|
32
24
|
ENABLED = "ENABLED"
|
|
@@ -135,40 +127,24 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
135
127
|
$fault: "client";
|
|
136
128
|
message?: string;
|
|
137
129
|
}
|
|
138
|
-
export declare namespace InvalidParameterException {
|
|
139
|
-
|
|
140
|
-
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
141
|
-
}
|
|
142
130
|
|
|
143
131
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
144
132
|
name: "LimitExceededException";
|
|
145
133
|
$fault: "client";
|
|
146
134
|
message?: string;
|
|
147
135
|
}
|
|
148
|
-
export declare namespace LimitExceededException {
|
|
149
|
-
|
|
150
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
151
|
-
}
|
|
152
136
|
|
|
153
137
|
export interface ServerException extends __SmithyException, $MetadataBearer {
|
|
154
138
|
name: "ServerException";
|
|
155
139
|
$fault: "server";
|
|
156
140
|
message?: string;
|
|
157
141
|
}
|
|
158
|
-
export declare namespace ServerException {
|
|
159
|
-
|
|
160
|
-
const filterSensitiveLog: (obj: ServerException) => any;
|
|
161
|
-
}
|
|
162
142
|
|
|
163
143
|
export interface UpdateInProgressException extends __SmithyException, $MetadataBearer {
|
|
164
144
|
name: "UpdateInProgressException";
|
|
165
145
|
$fault: "client";
|
|
166
146
|
message?: string;
|
|
167
147
|
}
|
|
168
|
-
export declare namespace UpdateInProgressException {
|
|
169
|
-
|
|
170
|
-
const filterSensitiveLog: (obj: UpdateInProgressException) => any;
|
|
171
|
-
}
|
|
172
148
|
|
|
173
149
|
export interface ExecuteCommandLogConfiguration {
|
|
174
150
|
|
|
@@ -335,10 +311,6 @@ export interface ClusterNotFoundException extends __SmithyException, $MetadataBe
|
|
|
335
311
|
$fault: "client";
|
|
336
312
|
message?: string;
|
|
337
313
|
}
|
|
338
|
-
export declare namespace ClusterNotFoundException {
|
|
339
|
-
|
|
340
|
-
const filterSensitiveLog: (obj: ClusterNotFoundException) => any;
|
|
341
|
-
}
|
|
342
314
|
|
|
343
315
|
export interface DeploymentCircuitBreaker {
|
|
344
316
|
|
|
@@ -740,30 +712,18 @@ export interface PlatformTaskDefinitionIncompatibilityException extends __Smithy
|
|
|
740
712
|
$fault: "client";
|
|
741
713
|
message?: string;
|
|
742
714
|
}
|
|
743
|
-
export declare namespace PlatformTaskDefinitionIncompatibilityException {
|
|
744
|
-
|
|
745
|
-
const filterSensitiveLog: (obj: PlatformTaskDefinitionIncompatibilityException) => any;
|
|
746
|
-
}
|
|
747
715
|
|
|
748
716
|
export interface PlatformUnknownException extends __SmithyException, $MetadataBearer {
|
|
749
717
|
name: "PlatformUnknownException";
|
|
750
718
|
$fault: "client";
|
|
751
719
|
message?: string;
|
|
752
720
|
}
|
|
753
|
-
export declare namespace PlatformUnknownException {
|
|
754
|
-
|
|
755
|
-
const filterSensitiveLog: (obj: PlatformUnknownException) => any;
|
|
756
|
-
}
|
|
757
721
|
|
|
758
722
|
export interface UnsupportedFeatureException extends __SmithyException, $MetadataBearer {
|
|
759
723
|
name: "UnsupportedFeatureException";
|
|
760
724
|
$fault: "client";
|
|
761
725
|
message?: string;
|
|
762
726
|
}
|
|
763
|
-
export declare namespace UnsupportedFeatureException {
|
|
764
|
-
|
|
765
|
-
const filterSensitiveLog: (obj: UnsupportedFeatureException) => any;
|
|
766
|
-
}
|
|
767
727
|
export interface CreateTaskSetRequest {
|
|
768
728
|
|
|
769
729
|
service: string | undefined;
|
|
@@ -810,20 +770,12 @@ export interface ServiceNotActiveException extends __SmithyException, $MetadataB
|
|
|
810
770
|
$fault: "client";
|
|
811
771
|
message?: string;
|
|
812
772
|
}
|
|
813
|
-
export declare namespace ServiceNotActiveException {
|
|
814
|
-
|
|
815
|
-
const filterSensitiveLog: (obj: ServiceNotActiveException) => any;
|
|
816
|
-
}
|
|
817
773
|
|
|
818
774
|
export interface ServiceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
819
775
|
name: "ServiceNotFoundException";
|
|
820
776
|
$fault: "client";
|
|
821
777
|
message?: string;
|
|
822
778
|
}
|
|
823
|
-
export declare namespace ServiceNotFoundException {
|
|
824
|
-
|
|
825
|
-
const filterSensitiveLog: (obj: ServiceNotFoundException) => any;
|
|
826
|
-
}
|
|
827
779
|
export declare enum SettingName {
|
|
828
780
|
AWSVPC_TRUNKING = "awsvpcTrunking",
|
|
829
781
|
CONTAINER_INSIGHTS = "containerInsights",
|
|
@@ -904,10 +856,6 @@ export interface TargetNotFoundException extends __SmithyException, $MetadataBea
|
|
|
904
856
|
$fault: "client";
|
|
905
857
|
message?: string;
|
|
906
858
|
}
|
|
907
|
-
export declare namespace TargetNotFoundException {
|
|
908
|
-
|
|
909
|
-
const filterSensitiveLog: (obj: TargetNotFoundException) => any;
|
|
910
|
-
}
|
|
911
859
|
export interface DeleteCapacityProviderRequest {
|
|
912
860
|
|
|
913
861
|
capacityProvider: string | undefined;
|
|
@@ -930,30 +878,18 @@ export interface ClusterContainsContainerInstancesException extends __SmithyExce
|
|
|
930
878
|
$fault: "client";
|
|
931
879
|
message?: string;
|
|
932
880
|
}
|
|
933
|
-
export declare namespace ClusterContainsContainerInstancesException {
|
|
934
|
-
|
|
935
|
-
const filterSensitiveLog: (obj: ClusterContainsContainerInstancesException) => any;
|
|
936
|
-
}
|
|
937
881
|
|
|
938
882
|
export interface ClusterContainsServicesException extends __SmithyException, $MetadataBearer {
|
|
939
883
|
name: "ClusterContainsServicesException";
|
|
940
884
|
$fault: "client";
|
|
941
885
|
message?: string;
|
|
942
886
|
}
|
|
943
|
-
export declare namespace ClusterContainsServicesException {
|
|
944
|
-
|
|
945
|
-
const filterSensitiveLog: (obj: ClusterContainsServicesException) => any;
|
|
946
|
-
}
|
|
947
887
|
|
|
948
888
|
export interface ClusterContainsTasksException extends __SmithyException, $MetadataBearer {
|
|
949
889
|
name: "ClusterContainsTasksException";
|
|
950
890
|
$fault: "client";
|
|
951
891
|
message?: string;
|
|
952
892
|
}
|
|
953
|
-
export declare namespace ClusterContainsTasksException {
|
|
954
|
-
|
|
955
|
-
const filterSensitiveLog: (obj: ClusterContainsTasksException) => any;
|
|
956
|
-
}
|
|
957
893
|
export interface DeleteClusterRequest {
|
|
958
894
|
|
|
959
895
|
cluster: string | undefined;
|
|
@@ -1018,10 +954,6 @@ export interface TaskSetNotFoundException extends __SmithyException, $MetadataBe
|
|
|
1018
954
|
$fault: "client";
|
|
1019
955
|
message?: string;
|
|
1020
956
|
}
|
|
1021
|
-
export declare namespace TaskSetNotFoundException {
|
|
1022
|
-
|
|
1023
|
-
const filterSensitiveLog: (obj: TaskSetNotFoundException) => any;
|
|
1024
|
-
}
|
|
1025
957
|
export interface DeregisterContainerInstanceRequest {
|
|
1026
958
|
|
|
1027
959
|
cluster?: string;
|
|
@@ -2304,10 +2236,6 @@ export interface TargetNotConnectedException extends __SmithyException, $Metadat
|
|
|
2304
2236
|
$fault: "client";
|
|
2305
2237
|
message?: string;
|
|
2306
2238
|
}
|
|
2307
|
-
export declare namespace TargetNotConnectedException {
|
|
2308
|
-
|
|
2309
|
-
const filterSensitiveLog: (obj: TargetNotConnectedException) => any;
|
|
2310
|
-
}
|
|
2311
2239
|
export interface ListAccountSettingsRequest {
|
|
2312
2240
|
|
|
2313
2241
|
name?: SettingName | string;
|
|
@@ -2601,10 +2529,6 @@ export interface AttributeLimitExceededException extends __SmithyException, $Met
|
|
|
2601
2529
|
$fault: "client";
|
|
2602
2530
|
message?: string;
|
|
2603
2531
|
}
|
|
2604
|
-
export declare namespace AttributeLimitExceededException {
|
|
2605
|
-
|
|
2606
|
-
const filterSensitiveLog: (obj: AttributeLimitExceededException) => any;
|
|
2607
|
-
}
|
|
2608
2532
|
export interface PutAttributesRequest {
|
|
2609
2533
|
|
|
2610
2534
|
cluster?: string;
|
|
@@ -2649,10 +2573,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
2649
2573
|
$fault: "client";
|
|
2650
2574
|
message?: string;
|
|
2651
2575
|
}
|
|
2652
|
-
export declare namespace ResourceInUseException {
|
|
2653
|
-
|
|
2654
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
2655
|
-
}
|
|
2656
2576
|
export declare enum PlatformDeviceType {
|
|
2657
2577
|
GPU = "GPU"
|
|
2658
2578
|
}
|
|
@@ -2755,10 +2675,6 @@ export interface BlockedException extends __SmithyException, $MetadataBearer {
|
|
|
2755
2675
|
$fault: "client";
|
|
2756
2676
|
message?: string;
|
|
2757
2677
|
}
|
|
2758
|
-
export declare namespace BlockedException {
|
|
2759
|
-
|
|
2760
|
-
const filterSensitiveLog: (obj: BlockedException) => any;
|
|
2761
|
-
}
|
|
2762
2678
|
export interface RunTaskRequest {
|
|
2763
2679
|
|
|
2764
2680
|
capacityProviderStrategy?: CapacityProviderStrategyItem[];
|
|
@@ -3004,10 +2920,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
3004
2920
|
$fault: "client";
|
|
3005
2921
|
message?: string;
|
|
3006
2922
|
}
|
|
3007
|
-
export declare namespace ResourceNotFoundException {
|
|
3008
|
-
|
|
3009
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
3010
|
-
}
|
|
3011
2923
|
export interface TagResourceRequest {
|
|
3012
2924
|
|
|
3013
2925
|
resourceArn: string | undefined;
|
|
@@ -3113,20 +3025,12 @@ export interface MissingVersionException extends __SmithyException, $MetadataBea
|
|
|
3113
3025
|
$fault: "client";
|
|
3114
3026
|
message?: string;
|
|
3115
3027
|
}
|
|
3116
|
-
export declare namespace MissingVersionException {
|
|
3117
|
-
|
|
3118
|
-
const filterSensitiveLog: (obj: MissingVersionException) => any;
|
|
3119
|
-
}
|
|
3120
3028
|
|
|
3121
3029
|
export interface NoUpdateAvailableException extends __SmithyException, $MetadataBearer {
|
|
3122
3030
|
name: "NoUpdateAvailableException";
|
|
3123
3031
|
$fault: "client";
|
|
3124
3032
|
message?: string;
|
|
3125
3033
|
}
|
|
3126
|
-
export declare namespace NoUpdateAvailableException {
|
|
3127
|
-
|
|
3128
|
-
const filterSensitiveLog: (obj: NoUpdateAvailableException) => any;
|
|
3129
|
-
}
|
|
3130
3034
|
export interface UpdateContainerAgentRequest {
|
|
3131
3035
|
|
|
3132
3036
|
cluster?: string;
|