@aws-sdk/client-ecs 3.53.0 → 3.55.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 +30 -0
- package/dist-cjs/ECSClient.js +13 -13
- package/dist-cjs/commands/CreateCapacityProviderCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterCommand.js +3 -3
- package/dist-cjs/commands/CreateServiceCommand.js +3 -3
- package/dist-cjs/commands/CreateTaskSetCommand.js +3 -3
- package/dist-cjs/commands/DeleteAccountSettingCommand.js +3 -3
- package/dist-cjs/commands/DeleteAttributesCommand.js +3 -3
- package/dist-cjs/commands/DeleteCapacityProviderCommand.js +3 -3
- package/dist-cjs/commands/DeleteClusterCommand.js +3 -3
- package/dist-cjs/commands/DeleteServiceCommand.js +3 -3
- package/dist-cjs/commands/DeleteTaskSetCommand.js +3 -3
- package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +3 -3
- package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +3 -3
- package/dist-cjs/commands/DescribeClustersCommand.js +3 -3
- package/dist-cjs/commands/DescribeContainerInstancesCommand.js +3 -3
- package/dist-cjs/commands/DescribeServicesCommand.js +3 -3
- package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeTaskSetsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTasksCommand.js +3 -3
- package/dist-cjs/commands/DiscoverPollEndpointCommand.js +3 -3
- package/dist-cjs/commands/ExecuteCommandCommand.js +3 -3
- package/dist-cjs/commands/ListAccountSettingsCommand.js +3 -3
- package/dist-cjs/commands/ListAttributesCommand.js +3 -3
- package/dist-cjs/commands/ListClustersCommand.js +3 -3
- package/dist-cjs/commands/ListContainerInstancesCommand.js +3 -3
- package/dist-cjs/commands/ListServicesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +3 -3
- package/dist-cjs/commands/ListTaskDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/ListTasksCommand.js +3 -3
- package/dist-cjs/commands/PutAccountSettingCommand.js +3 -3
- package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +3 -3
- package/dist-cjs/commands/PutAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +3 -3
- package/dist-cjs/commands/RegisterContainerInstanceCommand.js +3 -3
- package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/RunTaskCommand.js +3 -3
- package/dist-cjs/commands/StartTaskCommand.js +3 -3
- package/dist-cjs/commands/StopTaskCommand.js +3 -3
- package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +3 -3
- package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +3 -3
- package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateCapacityProviderCommand.js +3 -3
- package/dist-cjs/commands/UpdateClusterCommand.js +3 -3
- package/dist-cjs/commands/UpdateClusterSettingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateContainerAgentCommand.js +3 -3
- package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +3 -3
- package/dist-cjs/commands/UpdateServiceCommand.js +3 -3
- package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +3 -3
- package/dist-cjs/commands/UpdateTaskSetCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +445 -434
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForServicesInactive.js +3 -3
- package/dist-cjs/waiters/waitForTasksRunning.js +3 -3
- package/dist-cjs/waiters/waitForTasksStopped.js +3 -3
- package/dist-es/ECS.js +52 -52
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/ListAccountSettingsPaginator.js +4 -4
- package/dist-es/pagination/ListAttributesPaginator.js +4 -4
- package/dist-es/pagination/ListClustersPaginator.js +4 -4
- package/dist-es/pagination/ListContainerInstancesPaginator.js +4 -4
- package/dist-es/pagination/ListServicesPaginator.js +4 -4
- package/dist-es/pagination/ListTaskDefinitionFamiliesPaginator.js +4 -4
- package/dist-es/pagination/ListTaskDefinitionsPaginator.js +4 -4
- package/dist-es/pagination/ListTasksPaginator.js +4 -4
- package/dist-es/protocols/Aws_json1_1.js +10 -3
- package/dist-es/waiters/waitForServicesInactive.js +2 -2
- package/dist-es/waiters/waitForTasksRunning.js +3 -3
- package/dist-es/waiters/waitForTasksStopped.js +1 -1
- package/dist-types/ECS.d.ts +42 -21
- package/dist-types/ECSClient.d.ts +2 -2
- package/dist-types/commands/CreateServiceCommand.d.ts +1 -2
- package/dist-types/commands/PutAccountSettingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -2
- package/dist-types/commands/UpdateServiceCommand.d.ts +38 -16
- package/dist-types/models/models_0.d.ts +167 -61
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/ECSClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +35 -35
|
@@ -47,7 +47,7 @@ export declare enum ManagedScalingStatus {
|
|
|
47
47
|
*/
|
|
48
48
|
export interface ManagedScaling {
|
|
49
49
|
/**
|
|
50
|
-
* <p>Determines whether to
|
|
50
|
+
* <p>Determines whether to use managed scaling for the capacity provider.</p>
|
|
51
51
|
*/
|
|
52
52
|
status?: ManagedScalingStatus | string;
|
|
53
53
|
/**
|
|
@@ -406,7 +406,7 @@ export interface ExecuteCommandLogConfiguration {
|
|
|
406
406
|
*/
|
|
407
407
|
cloudWatchLogGroupName?: string;
|
|
408
408
|
/**
|
|
409
|
-
* <p>Determines whether to
|
|
409
|
+
* <p>Determines whether to use encryption on the CloudWatch logs. If not specified,
|
|
410
410
|
* encryption will be disabled.</p>
|
|
411
411
|
*/
|
|
412
412
|
cloudWatchEncryptionEnabled?: boolean;
|
|
@@ -561,7 +561,7 @@ export declare enum ClusterSettingName {
|
|
|
561
561
|
CONTAINER_INSIGHTS = "containerInsights"
|
|
562
562
|
}
|
|
563
563
|
/**
|
|
564
|
-
* <p>The settings to use when creating a cluster. This parameter is used to
|
|
564
|
+
* <p>The settings to use when creating a cluster. This parameter is used to turn on CloudWatch
|
|
565
565
|
* Container Insights for a cluster.</p>
|
|
566
566
|
*/
|
|
567
567
|
export interface ClusterSetting {
|
|
@@ -629,15 +629,14 @@ export interface CreateClusterRequest {
|
|
|
629
629
|
*/
|
|
630
630
|
tags?: Tag[];
|
|
631
631
|
/**
|
|
632
|
-
* <p>The setting to use when creating a cluster. This parameter is used to
|
|
632
|
+
* <p>The setting to use when creating a cluster. This parameter is used to turn on CloudWatch
|
|
633
633
|
* Container Insights for a cluster. If this value is specified, it overrides the
|
|
634
634
|
* <code>containerInsights</code> value set with <a>PutAccountSetting</a> or
|
|
635
635
|
* <a>PutAccountSettingDefault</a>.</p>
|
|
636
636
|
*/
|
|
637
637
|
settings?: ClusterSetting[];
|
|
638
638
|
/**
|
|
639
|
-
* <p>The
|
|
640
|
-
* execute command configuration for the cluster.</p>
|
|
639
|
+
* <p>The <code>execute</code> command configuration for the cluster.</p>
|
|
641
640
|
*/
|
|
642
641
|
configuration?: ClusterConfiguration;
|
|
643
642
|
/**
|
|
@@ -943,18 +942,18 @@ export declare class ClusterNotFoundException extends __BaseException {
|
|
|
943
942
|
* <p>The <b>deployment circuit breaker</b> determines whether a
|
|
944
943
|
* service deployment will fail if the service can't reach a steady state. If enabled, a
|
|
945
944
|
* service deployment will transition to a failed state and stop launching new tasks. You
|
|
946
|
-
* can also
|
|
945
|
+
* can also configure Amazon ECS to roll back your service to the last completed deployment after a
|
|
947
946
|
* failure. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html">Rolling
|
|
948
947
|
* update</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
949
948
|
*/
|
|
950
949
|
export interface DeploymentCircuitBreaker {
|
|
951
950
|
/**
|
|
952
|
-
* <p>Determines whether to
|
|
951
|
+
* <p>Determines whether to use the deployment circuit breaker logic for the
|
|
953
952
|
* service.</p>
|
|
954
953
|
*/
|
|
955
954
|
enable: boolean | undefined;
|
|
956
955
|
/**
|
|
957
|
-
* <p>Determines whether to
|
|
956
|
+
* <p>Determines whether to configure Amazon ECS to roll back the service if a service deployment
|
|
958
957
|
* fails. If rollback is enabled, when a service deployment fails, the service is rolled
|
|
959
958
|
* back to the last deployment that completed successfully.</p>
|
|
960
959
|
*/
|
|
@@ -1089,6 +1088,14 @@ export declare enum LaunchType {
|
|
|
1089
1088
|
* <p>The load balancer configuration to use with a service or task set.</p>
|
|
1090
1089
|
* <p>For specific notes and restrictions regarding the use of load balancers with services
|
|
1091
1090
|
* and task sets, see the CreateService and CreateTaskSet actions.</p>
|
|
1091
|
+
* <p>When you add, update, or remove a load blaancer configuration, Amazon ECS starts a new
|
|
1092
|
+
* deployment with the updated Elastic Load Balancing configuration. This causes tasks to register to and
|
|
1093
|
+
* deregister from load balancers.</p>
|
|
1094
|
+
* <p>We recommend that you verify this on a test environment before you update the Elastic Load Balancing
|
|
1095
|
+
* configuration. </p>
|
|
1096
|
+
* <p>A service-linked role is required for services that use multiple target groups. For
|
|
1097
|
+
* more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Service-linked
|
|
1098
|
+
* roles</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
1092
1099
|
*/
|
|
1093
1100
|
export interface LoadBalancer {
|
|
1094
1101
|
/**
|
|
@@ -1269,6 +1276,7 @@ export declare namespace PlacementStrategy {
|
|
|
1269
1276
|
const filterSensitiveLog: (obj: PlacementStrategy) => any;
|
|
1270
1277
|
}
|
|
1271
1278
|
export declare enum PropagateTags {
|
|
1279
|
+
NONE = "NONE",
|
|
1272
1280
|
SERVICE = "SERVICE",
|
|
1273
1281
|
TASK_DEFINITION = "TASK_DEFINITION"
|
|
1274
1282
|
}
|
|
@@ -1278,6 +1286,11 @@ export declare enum SchedulingStrategy {
|
|
|
1278
1286
|
}
|
|
1279
1287
|
/**
|
|
1280
1288
|
* <p>The details for the service registry.</p>
|
|
1289
|
+
* <p>Each service may be associated with one service registry. Multiple service registries for
|
|
1290
|
+
* each service are not supported.</p>
|
|
1291
|
+
* <p>When you add, update, or remove the service registries configuration, Amazon ECS starts a
|
|
1292
|
+
* new deployment. New tasks are registered and deregistered to the updated service
|
|
1293
|
+
* registry configuration.</p>
|
|
1281
1294
|
*/
|
|
1282
1295
|
export interface ServiceRegistry {
|
|
1283
1296
|
/**
|
|
@@ -1358,10 +1371,8 @@ export interface CreateServiceRequest {
|
|
|
1358
1371
|
* also have up to two listeners: a required listener for production traffic and an
|
|
1359
1372
|
* optional listener that you can use to perform validation tests with Lambda functions
|
|
1360
1373
|
* before routing production traffic to it.</p>
|
|
1361
|
-
* <p>
|
|
1362
|
-
*
|
|
1363
|
-
* in the service definition are immutable. If you use the <code>CODE_DEPLOY</code>
|
|
1364
|
-
* deployment controller, these values can be changed when updating the service.</p>
|
|
1374
|
+
* <p>If you use the <code>CODE_DEPLOY</code> deployment controller, these values can be changed
|
|
1375
|
+
* when updating the service.</p>
|
|
1365
1376
|
* <p>For Application Load Balancers and Network Load Balancers, this object must contain the load balancer target group ARN,
|
|
1366
1377
|
* the container name, and the container port to access from the load balancer. The
|
|
1367
1378
|
* container name must be as it appears in a container definition. The load balancer name
|
|
@@ -1493,6 +1504,7 @@ export interface CreateServiceRequest {
|
|
|
1493
1504
|
* service is configured to use a load balancer. If your service has a load balancer
|
|
1494
1505
|
* defined and you don't specify a health check grace period value, the default value of
|
|
1495
1506
|
* <code>0</code> is used.</p>
|
|
1507
|
+
* <p>If you do not use an Elastic Load Balancing, we recomend that you use the <code>startPeriod</code> in the task definition healtch check parameters. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html">Health check</a>.</p>
|
|
1496
1508
|
* <p>If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you
|
|
1497
1509
|
* can specify a health check grace period of up to
|
|
1498
1510
|
* 2,147,483,647
|
|
@@ -1576,17 +1588,15 @@ export interface CreateServiceRequest {
|
|
|
1576
1588
|
*/
|
|
1577
1589
|
tags?: Tag[];
|
|
1578
1590
|
/**
|
|
1579
|
-
* <p>Specifies whether to
|
|
1591
|
+
* <p>Specifies whether to turn on Amazon ECS managed tags for the tasks within the service. For
|
|
1580
1592
|
* more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS
|
|
1581
1593
|
* Resources</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
1582
1594
|
*/
|
|
1583
1595
|
enableECSManagedTags?: boolean;
|
|
1584
1596
|
/**
|
|
1585
|
-
* <p>Specifies whether to propagate the tags from the task definition
|
|
1586
|
-
*
|
|
1587
|
-
*
|
|
1588
|
-
* to a task after service creation or task creation, use the <a>TagResource</a>
|
|
1589
|
-
* API action.</p>
|
|
1597
|
+
* <p>Specifies whether to propagate the tags from the task definition to the task. If no
|
|
1598
|
+
* value is specified, the tags aren't propagated. Tags can only be propagated to the task
|
|
1599
|
+
* during task creation. To add tags to a task after task creation, use the <a>TagResource</a> API action.</p>
|
|
1590
1600
|
*/
|
|
1591
1601
|
propagateTags?: PropagateTags | string;
|
|
1592
1602
|
/**
|
|
@@ -2122,13 +2132,11 @@ export interface Service {
|
|
|
2122
2132
|
* </li>
|
|
2123
2133
|
* <li>
|
|
2124
2134
|
* <p>
|
|
2125
|
-
* <code>DAEMON</code>-The daemon scheduling strategy deploys exactly one
|
|
2126
|
-
* task
|
|
2127
|
-
*
|
|
2128
|
-
*
|
|
2129
|
-
*
|
|
2130
|
-
* constraints for running tasks. It stop tasks that don't meet the placement
|
|
2131
|
-
* constraints.</p>
|
|
2135
|
+
* <code>DAEMON</code>-The daemon scheduling strategy deploys exactly one task on each
|
|
2136
|
+
* active container instance. This task meets all of the task placement constraints
|
|
2137
|
+
* that you specify in your cluster. The service scheduler also evaluates the task
|
|
2138
|
+
* placement constraints for running tasks. It stop tasks that don't meet the
|
|
2139
|
+
* placement constraints.</p>
|
|
2132
2140
|
* <note>
|
|
2133
2141
|
* <p>Fargate tasks don't support the <code>DAEMON</code>
|
|
2134
2142
|
* scheduling strategy.</p>
|
|
@@ -2185,7 +2193,7 @@ export interface Service {
|
|
|
2185
2193
|
*/
|
|
2186
2194
|
createdBy?: string;
|
|
2187
2195
|
/**
|
|
2188
|
-
* <p>Determines whether to
|
|
2196
|
+
* <p>Determines whether to use Amazon ECS managed tags for the tasks in the service. For more
|
|
2189
2197
|
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS
|
|
2190
2198
|
* Resources</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
2191
2199
|
*/
|
|
@@ -2502,8 +2510,8 @@ export declare enum TargetType {
|
|
|
2502
2510
|
CONTAINER_INSTANCE = "container-instance"
|
|
2503
2511
|
}
|
|
2504
2512
|
/**
|
|
2505
|
-
* <p>An attribute is a name-value pair that's associated with an Amazon ECS object.
|
|
2506
|
-
*
|
|
2513
|
+
* <p>An attribute is a name-value pair that's associated with an Amazon ECS object. Use attributes
|
|
2514
|
+
* to extend the Amazon ECS data model by adding custom metadata to your resources.
|
|
2507
2515
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes">Attributes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
2508
2516
|
*/
|
|
2509
2517
|
export interface Attribute {
|
|
@@ -3109,7 +3117,7 @@ export declare enum ContainerCondition {
|
|
|
3109
3117
|
* multiple dependencies. When a dependency is defined for container startup, for container
|
|
3110
3118
|
* shutdown it is reversed.</p>
|
|
3111
3119
|
* <p>Your Amazon ECS container instances require at least version 1.26.0 of the container agent
|
|
3112
|
-
* to
|
|
3120
|
+
* to use container dependencies. However, we recommend using the latest container agent
|
|
3113
3121
|
* version. For information about checking your agent version and updating to the latest
|
|
3114
3122
|
* version, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html">Updating the Amazon ECS
|
|
3115
3123
|
* Container Agent</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. If you're using
|
|
@@ -3285,6 +3293,14 @@ export declare namespace FirelensConfiguration {
|
|
|
3285
3293
|
* specified in a container definition override any Docker health checks that exist in the
|
|
3286
3294
|
* container image (such as those specified in a parent image or from the image's
|
|
3287
3295
|
* Dockerfile).</p>
|
|
3296
|
+
* <note>
|
|
3297
|
+
* <p>The Amazon ECS container agent only monitors and reports on the health
|
|
3298
|
+
* checks specified in the task definition. Amazon ECS does not monitor
|
|
3299
|
+
* Docker health checks that are embedded in a container image and not
|
|
3300
|
+
* specified in the container definition. Health check parameters that
|
|
3301
|
+
* are specified in a container definition override any Docker health
|
|
3302
|
+
* checks that exist in the container image.</p>
|
|
3303
|
+
* </note>
|
|
3288
3304
|
* <p>You can view the health status of both individual containers and a task with the
|
|
3289
3305
|
* DescribeTasks API operation or when viewing the task details in the console.</p>
|
|
3290
3306
|
* <p>The following describes the possible <code>healthStatus</code> values for a
|
|
@@ -3636,6 +3652,7 @@ export interface Secret {
|
|
|
3636
3652
|
/**
|
|
3637
3653
|
* <p>The secret to expose to the container. The supported values are either the full ARN of
|
|
3638
3654
|
* the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.</p>
|
|
3655
|
+
* <p>For information about the require Identity and Access Management permissions, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-secrets.html#secrets-iam">Required IAM permissions for Amazon ECS secrets</a> (for Secrets Manager) or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-parameters.html">Required IAM permissions for Amazon ECS secrets</a> (for Systems Manager Parameter store) in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
3639
3656
|
* <note>
|
|
3640
3657
|
* <p>If the SSM Parameter Store parameter exists in the same Region as the task
|
|
3641
3658
|
* you're launching, then you can use either the full ARN or name of the parameter. If
|
|
@@ -4300,7 +4317,7 @@ export interface ContainerDefinition {
|
|
|
4300
4317
|
* multiple dependencies. When a dependency is defined for container startup, for container
|
|
4301
4318
|
* shutdown it is reversed.</p>
|
|
4302
4319
|
* <p>For tasks using the EC2 launch type, the container instances require at
|
|
4303
|
-
* least version 1.26.0 of the container agent to
|
|
4320
|
+
* least version 1.26.0 of the container agent to turn on container dependencies. However,
|
|
4304
4321
|
* we recommend using the latest container agent version. For information about checking
|
|
4305
4322
|
* your agent version and updating to the latest version, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html">Updating the Amazon ECS
|
|
4306
4323
|
* Container Agent</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. If you're using
|
|
@@ -4343,7 +4360,7 @@ export interface ContainerDefinition {
|
|
|
4343
4360
|
* </li>
|
|
4344
4361
|
* </ul>
|
|
4345
4362
|
* <p>For tasks using the EC2 launch type, your container instances require at
|
|
4346
|
-
* least version <code>1.26.0</code> of the container agent to
|
|
4363
|
+
* least version <code>1.26.0</code> of the container agent to use a container start
|
|
4347
4364
|
* timeout value. However, we recommend using the latest container agent version. For
|
|
4348
4365
|
* information about checking your agent version and updating to the latest version, see
|
|
4349
4366
|
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html">Updating the Amazon ECS
|
|
@@ -4375,7 +4392,7 @@ export interface ContainerDefinition {
|
|
|
4375
4392
|
* <code>stopTimeout</code> parameter or the <code>ECS_CONTAINER_STOP_TIMEOUT</code>
|
|
4376
4393
|
* agent configuration variable are set, then the default values of 30 seconds for Linux
|
|
4377
4394
|
* containers and 30 seconds on Windows containers are used. Your container instances
|
|
4378
|
-
* require at least version 1.26.0 of the container agent to
|
|
4395
|
+
* require at least version 1.26.0 of the container agent to use a container stop
|
|
4379
4396
|
* timeout value. However, we recommend using the latest container agent version. For
|
|
4380
4397
|
* information about checking your agent version and updating to the latest version, see
|
|
4381
4398
|
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html">Updating the Amazon ECS
|
|
@@ -4656,16 +4673,9 @@ export declare namespace ContainerDefinition {
|
|
|
4656
4673
|
* tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html">Fargate task
|
|
4657
4674
|
* storage</a> in the <i>Amazon ECS User Guide for Fargate</i>.</p>
|
|
4658
4675
|
* <note>
|
|
4659
|
-
* <p>This parameter is only supported for tasks hosted on Fargate using
|
|
4660
|
-
*
|
|
4661
|
-
*
|
|
4662
|
-
* <li>
|
|
4663
|
-
* <p>Linux platform version <code>1.4.0</code> or later.</p>
|
|
4664
|
-
* </li>
|
|
4665
|
-
* <li>
|
|
4666
|
-
* <p>Windows platform version <code>1.0.0</code> or later.</p>
|
|
4667
|
-
* </li>
|
|
4668
|
-
* </ul>
|
|
4676
|
+
* <p>This parameter is only supported for tasks hosted on Fargate using Linux
|
|
4677
|
+
* platform version <code>1.4.0</code> or later. This parameter is not supported for
|
|
4678
|
+
* Windows containers on Fargate.</p>
|
|
4669
4679
|
* </note>
|
|
4670
4680
|
*/
|
|
4671
4681
|
export interface EphemeralStorage {
|
|
@@ -4755,7 +4765,7 @@ export declare enum ProxyConfigurationType {
|
|
|
4755
4765
|
* <p>The configuration details for the App Mesh proxy.</p>
|
|
4756
4766
|
* <p>For tasks that use the EC2 launch type, the container instances require
|
|
4757
4767
|
* at least version 1.26.0 of the container agent and at least version 1.26.0-1 of the
|
|
4758
|
-
* <code>ecs-init</code> package to
|
|
4768
|
+
* <code>ecs-init</code> package to use a proxy configuration. If your container
|
|
4759
4769
|
* instances are launched from the Amazon ECS optimized AMI version <code>20190301</code> or
|
|
4760
4770
|
* later, then they contain the required versions of the container agent and
|
|
4761
4771
|
* <code>ecs-init</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html">Amazon ECS-optimized Linux AMI</a>
|
|
@@ -4987,7 +4997,7 @@ export interface EFSVolumeConfiguration {
|
|
|
4987
4997
|
*/
|
|
4988
4998
|
rootDirectory?: string;
|
|
4989
4999
|
/**
|
|
4990
|
-
* <p>Determines whether to
|
|
5000
|
+
* <p>Determines whether to use encryption for Amazon EFS data in transit between the Amazon ECS
|
|
4991
5001
|
* host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization
|
|
4992
5002
|
* is used. If this parameter is omitted, the default value of <code>DISABLED</code> is
|
|
4993
5003
|
* used. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html">Encrypting Data in Transit</a> in
|
|
@@ -5394,7 +5404,7 @@ export interface TaskDefinition {
|
|
|
5394
5404
|
/**
|
|
5395
5405
|
* <p>The configuration details for the App Mesh proxy.</p>
|
|
5396
5406
|
* <p>Your Amazon ECS container instances require at least version 1.26.0 of the container agent
|
|
5397
|
-
* and at least version 1.26.0-1 of the <code>ecs-init</code> package to
|
|
5407
|
+
* and at least version 1.26.0-1 of the <code>ecs-init</code> package to use a proxy
|
|
5398
5408
|
* configuration. If your container instances are launched from the Amazon ECS optimized AMI
|
|
5399
5409
|
* version <code>20190301</code> or later, they contain the required versions of the
|
|
5400
5410
|
* container agent and <code>ecs-init</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html">Amazon ECS-optimized Linux AMI</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
@@ -6294,6 +6304,39 @@ export interface Task {
|
|
|
6294
6304
|
/**
|
|
6295
6305
|
* <p>The stop code indicating why a task was stopped. The <code>stoppedReason</code> might
|
|
6296
6306
|
* contain additional details.</p>
|
|
6307
|
+
* <p>The following are valid values:</p>
|
|
6308
|
+
* <ul>
|
|
6309
|
+
* <li>
|
|
6310
|
+
* <p>
|
|
6311
|
+
* <code>TaskFailedToStart</code>
|
|
6312
|
+
* </p>
|
|
6313
|
+
* </li>
|
|
6314
|
+
* <li>
|
|
6315
|
+
* <p>
|
|
6316
|
+
* <code>EssentialContainerExited</code>
|
|
6317
|
+
* </p>
|
|
6318
|
+
* </li>
|
|
6319
|
+
* <li>
|
|
6320
|
+
* <p>
|
|
6321
|
+
* <code>UserInitiated</code>
|
|
6322
|
+
* </p>
|
|
6323
|
+
* </li>
|
|
6324
|
+
* <li>
|
|
6325
|
+
* <p>
|
|
6326
|
+
* <code>TerminationNotice</code>
|
|
6327
|
+
* </p>
|
|
6328
|
+
* </li>
|
|
6329
|
+
* <li>
|
|
6330
|
+
* <p>
|
|
6331
|
+
* <code>ServiceSchedulerInitiated</code>
|
|
6332
|
+
* </p>
|
|
6333
|
+
* </li>
|
|
6334
|
+
* <li>
|
|
6335
|
+
* <p>
|
|
6336
|
+
* <code>SpotInterruption</code>
|
|
6337
|
+
* </p>
|
|
6338
|
+
* </li>
|
|
6339
|
+
* </ul>
|
|
6297
6340
|
*/
|
|
6298
6341
|
stopCode?: TaskStopCode | string;
|
|
6299
6342
|
/**
|
|
@@ -6514,8 +6557,7 @@ export interface Session {
|
|
|
6514
6557
|
sessionId?: string;
|
|
6515
6558
|
/**
|
|
6516
6559
|
* <p>A URL
|
|
6517
|
-
*
|
|
6518
|
-
* to managed agent on the container that the SSM Session Manager client
|
|
6560
|
+
* to the managed agent on the container that the SSM Session Manager client
|
|
6519
6561
|
* uses to send commands and receive output from the container.</p>
|
|
6520
6562
|
*/
|
|
6521
6563
|
streamUrl?: string;
|
|
@@ -6567,8 +6609,22 @@ export declare namespace ExecuteCommandResponse {
|
|
|
6567
6609
|
const filterSensitiveLog: (obj: ExecuteCommandResponse) => any;
|
|
6568
6610
|
}
|
|
6569
6611
|
/**
|
|
6570
|
-
* <p>The
|
|
6571
|
-
*
|
|
6612
|
+
* <p>The execute command cannot run. This error can be caused by any of the following
|
|
6613
|
+
* configuration issues:</p>
|
|
6614
|
+
* <ul>
|
|
6615
|
+
* <li>
|
|
6616
|
+
* <p>Incorrect IAM permissions</p>
|
|
6617
|
+
* </li>
|
|
6618
|
+
* <li>
|
|
6619
|
+
* <p>The SSM agent is not installed or is not running</p>
|
|
6620
|
+
* </li>
|
|
6621
|
+
* <li>
|
|
6622
|
+
* <p> There is an interface Amazon VPC endpoint for Amazon ECS, but there is not one for for Systems Manager Session Manager</p>
|
|
6623
|
+
* </li>
|
|
6624
|
+
* </ul>
|
|
6625
|
+
* <p>For information about how to troubleshoot the
|
|
6626
|
+
* issues, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html">Troubleshooting issues with ECS Exec</a> in the
|
|
6627
|
+
* <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
6572
6628
|
*/
|
|
6573
6629
|
export declare class TargetNotConnectedException extends __BaseException {
|
|
6574
6630
|
readonly name: "TargetNotConnectedException";
|
|
@@ -7765,7 +7821,7 @@ export interface RegisterTaskDefinitionRequest {
|
|
|
7765
7821
|
* <p>The configuration details for the App Mesh proxy.</p>
|
|
7766
7822
|
* <p>For tasks hosted on Amazon EC2 instances, the container instances require at least version
|
|
7767
7823
|
* <code>1.26.0</code> of the container agent and at least version
|
|
7768
|
-
* <code>1.26.0-1</code> of the <code>ecs-init</code> package to
|
|
7824
|
+
* <code>1.26.0-1</code> of the <code>ecs-init</code> package to use a proxy
|
|
7769
7825
|
* configuration. If your container instances are launched from the Amazon ECS-optimized
|
|
7770
7826
|
* AMI version <code>20190301</code> or later, then they contain the required versions of
|
|
7771
7827
|
* the container agent and <code>ecs-init</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-ami-versions.html">Amazon ECS-optimized AMI versions</a> in the
|
|
@@ -7860,15 +7916,17 @@ export interface RunTaskRequest {
|
|
|
7860
7916
|
*/
|
|
7861
7917
|
count?: number;
|
|
7862
7918
|
/**
|
|
7863
|
-
* <p>Specifies whether to
|
|
7919
|
+
* <p>Specifies whether to use Amazon ECS managed tags for the task. For more information, see
|
|
7864
7920
|
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS
|
|
7865
7921
|
* Resources</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
7866
7922
|
*/
|
|
7867
7923
|
enableECSManagedTags?: boolean;
|
|
7868
7924
|
/**
|
|
7869
|
-
* <p>Determines whether to
|
|
7925
|
+
* <p>Determines whether to use the execute command functionality for the containers in
|
|
7870
7926
|
* this task. If <code>true</code>, this enables execute command functionality on all
|
|
7871
7927
|
* containers in the task.</p>
|
|
7928
|
+
* <p>If <code>true</code>, then the task definition must have a task role, or you must
|
|
7929
|
+
* provide one as an override.</p>
|
|
7872
7930
|
*/
|
|
7873
7931
|
enableExecuteCommand?: boolean;
|
|
7874
7932
|
/**
|
|
@@ -8000,12 +8058,22 @@ export interface RunTaskRequest {
|
|
|
8000
8058
|
* <p>The <code>family</code> and <code>revision</code> (<code>family:revision</code>) or
|
|
8001
8059
|
* full ARN of the task definition to run. If a <code>revision</code> isn't specified,
|
|
8002
8060
|
* the latest <code>ACTIVE</code> revision is used.</p>
|
|
8003
|
-
* <p>
|
|
8004
|
-
*
|
|
8005
|
-
*
|
|
8006
|
-
*
|
|
8007
|
-
* <code>
|
|
8061
|
+
* <p>When you create an IAM policy for run-task, you can set the resource to be the latest task definition revision, or a specific revision.</p>
|
|
8062
|
+
* <p>The full ARN value must match the value that you specified as the <code>Resource</code> of
|
|
8063
|
+
* the IAM principal's permissions policy.</p>
|
|
8064
|
+
* <p>When you specify the policy resource as the latest task definition version (by setting the
|
|
8065
|
+
* <code>Resource</code> in the policy to
|
|
8066
|
+
* <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName</code>),
|
|
8067
|
+
* then set this value to
|
|
8008
8068
|
* <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName</code>.</p>
|
|
8069
|
+
* <p>When you specify the policy resource as a specific task definition version (by setting the
|
|
8070
|
+
* <code>Resource</code> in the policy to
|
|
8071
|
+
* <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1</code> or
|
|
8072
|
+
* <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*</code>),
|
|
8073
|
+
* then set this value to
|
|
8074
|
+
* <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1</code>.</p>
|
|
8075
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources">Policy Resources for Amazon ECS</a> in the Amazon Elastic Container Service
|
|
8076
|
+
* developer Guide.</p>
|
|
8009
8077
|
*/
|
|
8010
8078
|
taskDefinition: string | undefined;
|
|
8011
8079
|
}
|
|
@@ -8044,7 +8112,7 @@ export interface StartTaskRequest {
|
|
|
8044
8112
|
*/
|
|
8045
8113
|
containerInstances: string[] | undefined;
|
|
8046
8114
|
/**
|
|
8047
|
-
* <p>Specifies whether to
|
|
8115
|
+
* <p>Specifies whether to use Amazon ECS managed tags for the task. For more information, see
|
|
8048
8116
|
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS
|
|
8049
8117
|
* Resources</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
8050
8118
|
*/
|
|
@@ -8619,7 +8687,7 @@ export interface UpdateClusterSettingsRequest {
|
|
|
8619
8687
|
*/
|
|
8620
8688
|
cluster: string | undefined;
|
|
8621
8689
|
/**
|
|
8622
|
-
* <p>The setting to use by default for a cluster. This parameter is used to
|
|
8690
|
+
* <p>The setting to use by default for a cluster. This parameter is used to turn on CloudWatch
|
|
8623
8691
|
* Container Insights for a cluster. If this value is specified, it overrides the
|
|
8624
8692
|
* <code>containerInsights</code> value set with <a>PutAccountSetting</a> or
|
|
8625
8693
|
* <a>PutAccountSettingDefault</a>.</p>
|
|
@@ -8851,6 +8919,44 @@ export interface UpdateServiceRequest {
|
|
|
8851
8919
|
* you can set this to <code>null</code> when performing this action.</p>
|
|
8852
8920
|
*/
|
|
8853
8921
|
enableExecuteCommand?: boolean;
|
|
8922
|
+
/**
|
|
8923
|
+
* <p>Determines whether to turn on Amazon ECS managed tags for the tasks in the service. For more
|
|
8924
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS
|
|
8925
|
+
* Resources</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
8926
|
+
* <p>Only tasks launched after the update will reflect the update. To update the tags on
|
|
8927
|
+
* all tasks, set <code>forceNewDeployment</code> to <code>true</code>, so that Amazon ECS
|
|
8928
|
+
* starts new tasks with the updated tags.</p>
|
|
8929
|
+
*/
|
|
8930
|
+
enableECSManagedTags?: boolean;
|
|
8931
|
+
/**
|
|
8932
|
+
* <p>A list of Elastic Load Balancing load balancer objects. It contains the load balancer name, the
|
|
8933
|
+
* container name, and the container port to access from the load balancer. The container
|
|
8934
|
+
* name is as it appears in a container definition.</p>
|
|
8935
|
+
* <p>When you add, update, or remove a load balancer configuration, Amazon ECS starts new tasks with
|
|
8936
|
+
* the updated Elastic Load Balancing configuration, and then stops the old tasks when the new tasks are
|
|
8937
|
+
* running.</p>
|
|
8938
|
+
* <p>You can remove existing <code>loadBalancers</code> by passing an empty list.</p>
|
|
8939
|
+
*/
|
|
8940
|
+
loadBalancers?: LoadBalancer[];
|
|
8941
|
+
/**
|
|
8942
|
+
* <p>Determines whether to propagate the tags from the task definition or the service to
|
|
8943
|
+
* the task. If no value is specified, the tags aren't propagated.</p>
|
|
8944
|
+
* <p>Only tasks launched after the update will reflect the update. To update the tags on
|
|
8945
|
+
* all tasks, set <code>forceNewDeployment</code> to <code>true</code>, so that Amazon ECS
|
|
8946
|
+
* starts new tasks with the updated tags.</p>
|
|
8947
|
+
*/
|
|
8948
|
+
propagateTags?: PropagateTags | string;
|
|
8949
|
+
/**
|
|
8950
|
+
* <p>The details for the service discovery registries to assign to this service. For more
|
|
8951
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html">Service
|
|
8952
|
+
* Discovery</a>.</p>
|
|
8953
|
+
* <p>When you add, update, or remove the service registries configuration, Amazon ECS starts new tasks
|
|
8954
|
+
* with the updated service registries configuration, and then stops the old tasks when the
|
|
8955
|
+
* new tasks are running.</p>
|
|
8956
|
+
* <p>You can remove existing <code>serviceRegistries</code> by passing an empty
|
|
8957
|
+
* list.</p>
|
|
8958
|
+
*/
|
|
8959
|
+
serviceRegistries?: ServiceRegistry[];
|
|
8854
8960
|
}
|
|
8855
8961
|
export declare namespace UpdateServiceRequest {
|
|
8856
8962
|
/**
|
|
@@ -8894,7 +9000,7 @@ export declare namespace UpdateServicePrimaryTaskSetRequest {
|
|
|
8894
9000
|
}
|
|
8895
9001
|
export interface UpdateServicePrimaryTaskSetResponse {
|
|
8896
9002
|
/**
|
|
8897
|
-
* <p>
|
|
9003
|
+
* <p>etails about the task set.</p>
|
|
8898
9004
|
*/
|
|
8899
9005
|
taskSet?: TaskSet;
|
|
8900
9006
|
}
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
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
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
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";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, 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";
|
|
11
11
|
import { CreateServiceCommandInput, CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
|
|
@@ -68,7 +68,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
68
68
|
|
|
69
69
|
urlParser?: __UrlParser;
|
|
70
70
|
|
|
71
|
-
bodyLengthChecker?:
|
|
71
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
72
72
|
|
|
73
73
|
streamCollector?: __StreamCollector;
|
|
74
74
|
|
|
@@ -435,6 +435,7 @@ export declare namespace PlacementStrategy {
|
|
|
435
435
|
const filterSensitiveLog: (obj: PlacementStrategy) => any;
|
|
436
436
|
}
|
|
437
437
|
export declare enum PropagateTags {
|
|
438
|
+
NONE = "NONE",
|
|
438
439
|
SERVICE = "SERVICE",
|
|
439
440
|
TASK_DEFINITION = "TASK_DEFINITION"
|
|
440
441
|
}
|
|
@@ -3123,6 +3124,14 @@ export interface UpdateServiceRequest {
|
|
|
3123
3124
|
healthCheckGracePeriodSeconds?: number;
|
|
3124
3125
|
|
|
3125
3126
|
enableExecuteCommand?: boolean;
|
|
3127
|
+
|
|
3128
|
+
enableECSManagedTags?: boolean;
|
|
3129
|
+
|
|
3130
|
+
loadBalancers?: LoadBalancer[];
|
|
3131
|
+
|
|
3132
|
+
propagateTags?: PropagateTags | string;
|
|
3133
|
+
|
|
3134
|
+
serviceRegistries?: ServiceRegistry[];
|
|
3126
3135
|
}
|
|
3127
3136
|
export declare namespace UpdateServiceRequest {
|
|
3128
3137
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|