@aws-sdk/client-ecs 3.810.0 → 3.816.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/commands/CreateCapacityProviderCommand.d.ts +0 -10
- package/dist-types/commands/CreateClusterCommand.d.ts +0 -10
- package/dist-types/commands/CreateServiceCommand.d.ts +0 -10
- package/dist-types/commands/CreateTaskSetCommand.d.ts +0 -10
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +0 -10
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +0 -10
- package/dist-types/commands/DeleteClusterCommand.d.ts +0 -10
- package/dist-types/commands/DeleteServiceCommand.d.ts +0 -10
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +0 -10
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +0 -10
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +0 -10
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +0 -10
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +0 -10
- package/dist-types/commands/DescribeClustersCommand.d.ts +0 -10
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +0 -10
- package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +0 -10
- package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +0 -10
- package/dist-types/commands/DescribeServicesCommand.d.ts +0 -10
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +0 -10
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +0 -10
- package/dist-types/commands/DescribeTasksCommand.d.ts +0 -10
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +0 -10
- package/dist-types/commands/ExecuteCommandCommand.d.ts +0 -10
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +0 -10
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +0 -10
- package/dist-types/commands/ListClustersCommand.d.ts +0 -10
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +0 -10
- package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +0 -10
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +0 -10
- package/dist-types/commands/ListServicesCommand.d.ts +0 -10
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +0 -10
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +0 -10
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +0 -10
- package/dist-types/commands/ListTasksCommand.d.ts +0 -10
- package/dist-types/commands/PutAccountSettingCommand.d.ts +0 -10
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +0 -10
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +0 -10
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +0 -10
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +0 -10
- package/dist-types/commands/RunTaskCommand.d.ts +5 -10
- package/dist-types/commands/StartTaskCommand.d.ts +0 -10
- package/dist-types/commands/StopServiceDeploymentCommand.d.ts +12 -13
- package/dist-types/commands/StopTaskCommand.d.ts +0 -10
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +0 -10
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +0 -10
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +0 -10
- package/dist-types/commands/TagResourceCommand.d.ts +0 -10
- package/dist-types/commands/UntagResourceCommand.d.ts +0 -10
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +0 -10
- package/dist-types/commands/UpdateClusterCommand.d.ts +0 -10
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +0 -10
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +0 -10
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +0 -10
- package/dist-types/commands/UpdateServiceCommand.d.ts +0 -10
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +0 -10
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +0 -10
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +0 -10
- package/dist-types/models/models_0.d.ts +15 -111
- package/package.json +5 -5
|
@@ -32,16 +32,6 @@ export type AgentUpdateStatus = (typeof AgentUpdateStatus)[keyof typeof AgentUpd
|
|
|
32
32
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
33
33
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
34
34
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
35
|
-
* <p>The following list includes additional causes for the error:</p>
|
|
36
|
-
* <ul>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
39
|
-
* scaling and there is a capacity error because the quota of tasks in the
|
|
40
|
-
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
41
|
-
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
42
|
-
* service quotas</a>.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* </ul>
|
|
45
35
|
* @public
|
|
46
36
|
*/
|
|
47
37
|
export declare class ClientException extends __BaseException {
|
|
@@ -3940,10 +3930,11 @@ export interface DeleteAccountSettingRequest {
|
|
|
3940
3930
|
*/
|
|
3941
3931
|
name: SettingName | undefined;
|
|
3942
3932
|
/**
|
|
3943
|
-
* <p>The Amazon Resource Name (ARN) of the principal. It can be
|
|
3933
|
+
* <p>The Amazon Resource Name (ARN) of the principal. It can be a user, role, or the
|
|
3944
3934
|
* root user. If you specify the root user, it disables the account setting for all users, roles,
|
|
3945
3935
|
* and the root user of the account unless a user or role explicitly overrides these settings.
|
|
3946
3936
|
* If this field is omitted, the setting is changed only for the authenticated user.</p>
|
|
3937
|
+
* <p>In order to use this parameter, you must be the root user, or the principal.</p>
|
|
3947
3938
|
* @public
|
|
3948
3939
|
*/
|
|
3949
3940
|
principalArn?: string | undefined;
|
|
@@ -6803,35 +6794,8 @@ export interface TaskDefinition {
|
|
|
6803
6794
|
* <p>If you're using the EC2 launch type or the external launch type, this
|
|
6804
6795
|
* field is optional. Supported values are between <code>128</code> CPU units
|
|
6805
6796
|
* (<code>0.125</code> vCPUs) and <code>196608</code> CPU units (<code>192</code>
|
|
6806
|
-
* vCPUs).
|
|
6807
|
-
*
|
|
6808
|
-
* <ul>
|
|
6809
|
-
* <li>
|
|
6810
|
-
* <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>
|
|
6811
|
-
* </li>
|
|
6812
|
-
* <li>
|
|
6813
|
-
* <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>
|
|
6814
|
-
* </li>
|
|
6815
|
-
* <li>
|
|
6816
|
-
* <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>
|
|
6817
|
-
* </li>
|
|
6818
|
-
* <li>
|
|
6819
|
-
* <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>
|
|
6820
|
-
* </li>
|
|
6821
|
-
* <li>
|
|
6822
|
-
* <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>
|
|
6823
|
-
* </li>
|
|
6824
|
-
* <li>
|
|
6825
|
-
* <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>
|
|
6826
|
-
* <p>This option requires Linux platform <code>1.4.0</code> or
|
|
6827
|
-
* later.</p>
|
|
6828
|
-
* </li>
|
|
6829
|
-
* <li>
|
|
6830
|
-
* <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>
|
|
6831
|
-
* <p>This option requires Linux platform <code>1.4.0</code> or
|
|
6832
|
-
* later.</p>
|
|
6833
|
-
* </li>
|
|
6834
|
-
* </ul>
|
|
6797
|
+
* vCPUs). </p>
|
|
6798
|
+
* <p>This field is required for Fargate. For information about the valid values, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
6835
6799
|
* @public
|
|
6836
6800
|
*/
|
|
6837
6801
|
cpu?: string | undefined;
|
|
@@ -8449,8 +8413,8 @@ export interface Container {
|
|
|
8449
8413
|
*/
|
|
8450
8414
|
exitCode?: number | undefined;
|
|
8451
8415
|
/**
|
|
8452
|
-
* <p>A short (
|
|
8453
|
-
*
|
|
8416
|
+
* <p>A short (1024 max characters) human-readable string to provide additional details about a
|
|
8417
|
+
* running or stopped container.</p>
|
|
8454
8418
|
* @public
|
|
8455
8419
|
*/
|
|
8456
8420
|
reason?: string | undefined;
|
|
@@ -8733,42 +8697,11 @@ export interface Task {
|
|
|
8733
8697
|
* expressed as a string using vCPUs (for example, <code>1 vCPU</code> or <code>1
|
|
8734
8698
|
* vcpu</code>). String values are converted to an integer that indicates the CPU units
|
|
8735
8699
|
* when the task definition is registered.</p>
|
|
8736
|
-
* <p>If you're using the EC2 launch type or the external launch type, this
|
|
8737
|
-
*
|
|
8738
|
-
*
|
|
8739
|
-
*
|
|
8740
|
-
* <p>
|
|
8741
|
-
* must use one of the following values. These values determine the range of supported
|
|
8742
|
-
* values for the <code>memory</code> parameter:</p>
|
|
8743
|
-
* <p>The CPU units cannot be less than 1 vCPU when you use Windows containers on
|
|
8744
|
-
* Fargate.</p>
|
|
8745
|
-
* <ul>
|
|
8746
|
-
* <li>
|
|
8747
|
-
* <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>
|
|
8748
|
-
* </li>
|
|
8749
|
-
* <li>
|
|
8750
|
-
* <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>
|
|
8751
|
-
* </li>
|
|
8752
|
-
* <li>
|
|
8753
|
-
* <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>
|
|
8754
|
-
* </li>
|
|
8755
|
-
* <li>
|
|
8756
|
-
* <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>
|
|
8757
|
-
* </li>
|
|
8758
|
-
* <li>
|
|
8759
|
-
* <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>
|
|
8760
|
-
* </li>
|
|
8761
|
-
* <li>
|
|
8762
|
-
* <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>
|
|
8763
|
-
* <p>This option requires Linux platform <code>1.4.0</code> or
|
|
8764
|
-
* later.</p>
|
|
8765
|
-
* </li>
|
|
8766
|
-
* <li>
|
|
8767
|
-
* <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>
|
|
8768
|
-
* <p>This option requires Linux platform <code>1.4.0</code> or
|
|
8769
|
-
* later.</p>
|
|
8770
|
-
* </li>
|
|
8771
|
-
* </ul>
|
|
8700
|
+
* <p>If you're using the EC2 launch type or the external launch type, this field is
|
|
8701
|
+
* optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>
|
|
8702
|
+
* vCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify
|
|
8703
|
+
* a value, the parameter is ignored.</p>
|
|
8704
|
+
* <p>This field is required for Fargate. For information about the valid values, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
8772
8705
|
* @public
|
|
8773
8706
|
*/
|
|
8774
8707
|
cpu?: string | undefined;
|
|
@@ -9344,6 +9277,7 @@ export interface ListAccountSettingsRequest {
|
|
|
9344
9277
|
/**
|
|
9345
9278
|
* <p>The ARN of the principal, which can be a user, role, or the root user. If this field is
|
|
9346
9279
|
* omitted, the account settings are listed only for the authenticated user.</p>
|
|
9280
|
+
* <p>In order to use this parameter, you must be the root user, or the principal.</p>
|
|
9347
9281
|
* <note>
|
|
9348
9282
|
* <p>Federated users assume the account setting of the root user and can't have explicit
|
|
9349
9283
|
* account settings set for them.</p>
|
|
@@ -10377,6 +10311,7 @@ export interface PutAccountSettingRequest {
|
|
|
10377
10311
|
* the root user, it modifies the account setting for all users, roles, and the root user of the
|
|
10378
10312
|
* account unless a user or role explicitly overrides these settings. If this field is
|
|
10379
10313
|
* omitted, the setting is changed only for the authenticated user.</p>
|
|
10314
|
+
* <p>In order to use this parameter, you must be the root user, or the principal.</p>
|
|
10380
10315
|
* <note>
|
|
10381
10316
|
* <p>You must use the root user when you set the Fargate wait time
|
|
10382
10317
|
* (<code>fargateTaskRetirementWaitPeriod</code>). </p>
|
|
@@ -10888,38 +10823,7 @@ export interface RegisterTaskDefinitionRequest {
|
|
|
10888
10823
|
* is optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>
|
|
10889
10824
|
* vCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify
|
|
10890
10825
|
* a value, the parameter is ignored.</p>
|
|
10891
|
-
* <p>
|
|
10892
|
-
* must use one of the following values, which determines your range of supported values
|
|
10893
|
-
* for the <code>memory</code> parameter:</p>
|
|
10894
|
-
* <p>The CPU units cannot be less than 1 vCPU when you use Windows containers on
|
|
10895
|
-
* Fargate.</p>
|
|
10896
|
-
* <ul>
|
|
10897
|
-
* <li>
|
|
10898
|
-
* <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>
|
|
10899
|
-
* </li>
|
|
10900
|
-
* <li>
|
|
10901
|
-
* <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>
|
|
10902
|
-
* </li>
|
|
10903
|
-
* <li>
|
|
10904
|
-
* <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>
|
|
10905
|
-
* </li>
|
|
10906
|
-
* <li>
|
|
10907
|
-
* <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>
|
|
10908
|
-
* </li>
|
|
10909
|
-
* <li>
|
|
10910
|
-
* <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>
|
|
10911
|
-
* </li>
|
|
10912
|
-
* <li>
|
|
10913
|
-
* <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>
|
|
10914
|
-
* <p>This option requires Linux platform <code>1.4.0</code> or
|
|
10915
|
-
* later.</p>
|
|
10916
|
-
* </li>
|
|
10917
|
-
* <li>
|
|
10918
|
-
* <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>
|
|
10919
|
-
* <p>This option requires Linux platform <code>1.4.0</code> or
|
|
10920
|
-
* later.</p>
|
|
10921
|
-
* </li>
|
|
10922
|
-
* </ul>
|
|
10826
|
+
* <p>This field is required for Fargate. For information about the valid values, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
10923
10827
|
* @public
|
|
10924
10828
|
*/
|
|
10925
10829
|
cpu?: string | undefined;
|
|
@@ -11797,7 +11701,7 @@ export interface StopServiceDeploymentRequest {
|
|
|
11797
11701
|
serviceDeploymentArn: string | undefined;
|
|
11798
11702
|
/**
|
|
11799
11703
|
* <p>How you want Amazon ECS to stop the service. </p>
|
|
11800
|
-
* <p>The
|
|
11704
|
+
* <p>The valid values are <code>ROLLBACK</code>.</p>
|
|
11801
11705
|
* @public
|
|
11802
11706
|
*/
|
|
11803
11707
|
stopType?: StopServiceDeploymentStopType | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.816.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ecs",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.816.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.816.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.804.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.804.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.804.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.816.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.808.0",
|
|
30
30
|
"@aws-sdk/types": "3.804.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.808.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.804.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.816.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.2",
|
|
35
35
|
"@smithy/core": "^3.3.3",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|