@aws-sdk/client-ecs 3.695.0 → 3.696.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-cjs/index.js +6 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +1 -0
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +1 -0
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +22 -16
- package/dist-types/models/models_1.d.ts +17 -1
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +7 -4
- package/dist-types/ts3.4/models/models_1.d.ts +5 -0
- package/package.json +36 -36
package/dist-cjs/index.js
CHANGED
|
@@ -175,6 +175,7 @@ __export(src_exports, {
|
|
|
175
175
|
UpdateServicePrimaryTaskSetCommand: () => UpdateServicePrimaryTaskSetCommand,
|
|
176
176
|
UpdateTaskProtectionCommand: () => UpdateTaskProtectionCommand,
|
|
177
177
|
UpdateTaskSetCommand: () => UpdateTaskSetCommand,
|
|
178
|
+
VersionConsistency: () => VersionConsistency,
|
|
178
179
|
__Client: () => import_smithy_client.Client,
|
|
179
180
|
paginateListAccountSettings: () => paginateListAccountSettings,
|
|
180
181
|
paginateListAttributes: () => paginateListAttributes,
|
|
@@ -826,6 +827,10 @@ var UlimitName = {
|
|
|
826
827
|
SIGPENDING: "sigpending",
|
|
827
828
|
STACK: "stack"
|
|
828
829
|
};
|
|
830
|
+
var VersionConsistency = {
|
|
831
|
+
DISABLED: "disabled",
|
|
832
|
+
ENABLED: "enabled"
|
|
833
|
+
};
|
|
829
834
|
var IpcMode = {
|
|
830
835
|
HOST: "host",
|
|
831
836
|
NONE: "none",
|
|
@@ -4587,6 +4592,7 @@ var waitUntilTasksStopped = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
4587
4592
|
TransportProtocol,
|
|
4588
4593
|
ResourceType,
|
|
4589
4594
|
UlimitName,
|
|
4595
|
+
VersionConsistency,
|
|
4590
4596
|
IpcMode,
|
|
4591
4597
|
NetworkMode,
|
|
4592
4598
|
PidMode,
|
|
@@ -167,6 +167,7 @@ declare const DeleteTaskDefinitionsCommand_base: {
|
|
|
167
167
|
* // ],
|
|
168
168
|
* // startTimeout: Number("int"),
|
|
169
169
|
* // stopTimeout: Number("int"),
|
|
170
|
+
* // versionConsistency: "enabled" || "disabled",
|
|
170
171
|
* // hostname: "STRING_VALUE",
|
|
171
172
|
* // user: "STRING_VALUE",
|
|
172
173
|
* // workingDirectory: "STRING_VALUE",
|
|
@@ -164,6 +164,7 @@ declare const DeregisterTaskDefinitionCommand_base: {
|
|
|
164
164
|
* // ],
|
|
165
165
|
* // startTimeout: Number("int"),
|
|
166
166
|
* // stopTimeout: Number("int"),
|
|
167
|
+
* // versionConsistency: "enabled" || "disabled",
|
|
167
168
|
* // hostname: "STRING_VALUE",
|
|
168
169
|
* // user: "STRING_VALUE",
|
|
169
170
|
* // workingDirectory: "STRING_VALUE",
|
|
@@ -157,6 +157,7 @@ declare const DescribeTaskDefinitionCommand_base: {
|
|
|
157
157
|
* // ],
|
|
158
158
|
* // startTimeout: Number("int"),
|
|
159
159
|
* // stopTimeout: Number("int"),
|
|
160
|
+
* // versionConsistency: "enabled" || "disabled",
|
|
160
161
|
* // hostname: "STRING_VALUE",
|
|
161
162
|
* // user: "STRING_VALUE",
|
|
162
163
|
* // workingDirectory: "STRING_VALUE",
|
|
@@ -159,6 +159,7 @@ declare const RegisterTaskDefinitionCommand_base: {
|
|
|
159
159
|
* ],
|
|
160
160
|
* startTimeout: Number("int"),
|
|
161
161
|
* stopTimeout: Number("int"),
|
|
162
|
+
* versionConsistency: "enabled" || "disabled",
|
|
162
163
|
* hostname: "STRING_VALUE",
|
|
163
164
|
* user: "STRING_VALUE",
|
|
164
165
|
* workingDirectory: "STRING_VALUE",
|
|
@@ -418,6 +419,7 @@ declare const RegisterTaskDefinitionCommand_base: {
|
|
|
418
419
|
* // ],
|
|
419
420
|
* // startTimeout: Number("int"),
|
|
420
421
|
* // stopTimeout: Number("int"),
|
|
422
|
+
* // versionConsistency: "enabled" || "disabled",
|
|
421
423
|
* // hostname: "STRING_VALUE",
|
|
422
424
|
* // user: "STRING_VALUE",
|
|
423
425
|
* // workingDirectory: "STRING_VALUE",
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
|
-
import { UpdateCapacityProviderRequest } from "../models/
|
|
5
|
-
import { UpdateCapacityProviderResponse } from "../models/models_1";
|
|
4
|
+
import { UpdateCapacityProviderRequest, UpdateCapacityProviderResponse } from "../models/models_1";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -4973,6 +4973,18 @@ export interface Ulimit {
|
|
|
4973
4973
|
*/
|
|
4974
4974
|
hardLimit: number | undefined;
|
|
4975
4975
|
}
|
|
4976
|
+
/**
|
|
4977
|
+
* @public
|
|
4978
|
+
* @enum
|
|
4979
|
+
*/
|
|
4980
|
+
export declare const VersionConsistency: {
|
|
4981
|
+
readonly DISABLED: "disabled";
|
|
4982
|
+
readonly ENABLED: "enabled";
|
|
4983
|
+
};
|
|
4984
|
+
/**
|
|
4985
|
+
* @public
|
|
4986
|
+
*/
|
|
4987
|
+
export type VersionConsistency = (typeof VersionConsistency)[keyof typeof VersionConsistency];
|
|
4976
4988
|
/**
|
|
4977
4989
|
* <p>Details on a data volume from another container in the same task definition.</p>
|
|
4978
4990
|
* @public
|
|
@@ -5370,6 +5382,16 @@ export interface ContainerDefinition {
|
|
|
5370
5382
|
* @public
|
|
5371
5383
|
*/
|
|
5372
5384
|
stopTimeout?: number | undefined;
|
|
5385
|
+
/**
|
|
5386
|
+
* <p>Specifies whether Amazon ECS will resolve the container image tag
|
|
5387
|
+
* provided in the container definition to an image digest. By default, the
|
|
5388
|
+
* value is <code>enabled</code>. If you set the value for a container as
|
|
5389
|
+
* <code>disabled</code>, Amazon ECS will not resolve the provided container image tag
|
|
5390
|
+
* to a digest and will use the original image URI specified in the container definition for deployment.
|
|
5391
|
+
* For more information about container image resolution, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html#deployment-container-image-stability">Container image resolution</a> in the <i>Amazon ECS Developer Guide</i>.</p>
|
|
5392
|
+
* @public
|
|
5393
|
+
*/
|
|
5394
|
+
versionConsistency?: VersionConsistency | undefined;
|
|
5373
5395
|
/**
|
|
5374
5396
|
* <p>The hostname to use for your container. This parameter maps to <code>Hostname</code> in the docker
|
|
5375
5397
|
* container create command and the <code>--hostname</code> option to docker run.</p>
|
|
@@ -11453,22 +11475,6 @@ export interface AutoScalingGroupProviderUpdate {
|
|
|
11453
11475
|
*/
|
|
11454
11476
|
managedDraining?: ManagedDraining | undefined;
|
|
11455
11477
|
}
|
|
11456
|
-
/**
|
|
11457
|
-
* @public
|
|
11458
|
-
*/
|
|
11459
|
-
export interface UpdateCapacityProviderRequest {
|
|
11460
|
-
/**
|
|
11461
|
-
* <p>The name of the capacity provider to update.</p>
|
|
11462
|
-
* @public
|
|
11463
|
-
*/
|
|
11464
|
-
name: string | undefined;
|
|
11465
|
-
/**
|
|
11466
|
-
* <p>An object that represent the parameters to update for the Auto Scaling group capacity
|
|
11467
|
-
* provider.</p>
|
|
11468
|
-
* @public
|
|
11469
|
-
*/
|
|
11470
|
-
autoScalingGroupProvider: AutoScalingGroupProviderUpdate | undefined;
|
|
11471
|
-
}
|
|
11472
11478
|
/**
|
|
11473
11479
|
* @internal
|
|
11474
11480
|
*/
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ECSServiceException as __BaseException } from "./ECSServiceException";
|
|
3
|
-
import { CapacityProvider, CapacityProviderStrategyItem, Cluster, ClusterConfiguration, ClusterServiceConnectDefaultsRequest, ClusterSetting, ContainerInstance, ContainerInstanceStatus, DeploymentConfiguration, Failure, LoadBalancer, NetworkConfiguration, PlacementConstraint, PlacementStrategy, PropagateTags, ProtectedTask, Scale, Service, ServiceConnectConfiguration, ServiceRegistry, ServiceVolumeConfiguration, TaskSet, VpcLatticeConfiguration } from "./models_0";
|
|
3
|
+
import { AutoScalingGroupProviderUpdate, CapacityProvider, CapacityProviderStrategyItem, Cluster, ClusterConfiguration, ClusterServiceConnectDefaultsRequest, ClusterSetting, ContainerInstance, ContainerInstanceStatus, DeploymentConfiguration, Failure, LoadBalancer, NetworkConfiguration, PlacementConstraint, PlacementStrategy, PropagateTags, ProtectedTask, Scale, Service, ServiceConnectConfiguration, ServiceRegistry, ServiceVolumeConfiguration, TaskSet, VpcLatticeConfiguration } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface UpdateCapacityProviderRequest {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The name of the capacity provider to update.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
name: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>An object that represent the parameters to update for the Auto Scaling group capacity
|
|
15
|
+
* provider.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
autoScalingGroupProvider: AutoScalingGroupProviderUpdate | undefined;
|
|
19
|
+
}
|
|
4
20
|
/**
|
|
5
21
|
* @public
|
|
6
22
|
*/
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ECSClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
UpdateCapacityProviderRequest,
|
|
10
|
+
UpdateCapacityProviderResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface UpdateCapacityProviderCommandInput
|
|
@@ -855,6 +855,12 @@ export interface Ulimit {
|
|
|
855
855
|
softLimit: number | undefined;
|
|
856
856
|
hardLimit: number | undefined;
|
|
857
857
|
}
|
|
858
|
+
export declare const VersionConsistency: {
|
|
859
|
+
readonly DISABLED: "disabled";
|
|
860
|
+
readonly ENABLED: "enabled";
|
|
861
|
+
};
|
|
862
|
+
export type VersionConsistency =
|
|
863
|
+
(typeof VersionConsistency)[keyof typeof VersionConsistency];
|
|
858
864
|
export interface VolumeFrom {
|
|
859
865
|
sourceContainer?: string | undefined;
|
|
860
866
|
readOnly?: boolean | undefined;
|
|
@@ -881,6 +887,7 @@ export interface ContainerDefinition {
|
|
|
881
887
|
dependsOn?: ContainerDependency[] | undefined;
|
|
882
888
|
startTimeout?: number | undefined;
|
|
883
889
|
stopTimeout?: number | undefined;
|
|
890
|
+
versionConsistency?: VersionConsistency | undefined;
|
|
884
891
|
hostname?: string | undefined;
|
|
885
892
|
user?: string | undefined;
|
|
886
893
|
workingDirectory?: string | undefined;
|
|
@@ -1934,10 +1941,6 @@ export interface AutoScalingGroupProviderUpdate {
|
|
|
1934
1941
|
managedTerminationProtection?: ManagedTerminationProtection | undefined;
|
|
1935
1942
|
managedDraining?: ManagedDraining | undefined;
|
|
1936
1943
|
}
|
|
1937
|
-
export interface UpdateCapacityProviderRequest {
|
|
1938
|
-
name: string | undefined;
|
|
1939
|
-
autoScalingGroupProvider: AutoScalingGroupProviderUpdate | undefined;
|
|
1940
|
-
}
|
|
1941
1944
|
export declare const SessionFilterSensitiveLog: (obj: Session) => any;
|
|
1942
1945
|
export declare const ExecuteCommandResponseFilterSensitiveLog: (
|
|
1943
1946
|
obj: ExecuteCommandResponse
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ECSServiceException as __BaseException } from "./ECSServiceException";
|
|
3
3
|
import {
|
|
4
|
+
AutoScalingGroupProviderUpdate,
|
|
4
5
|
CapacityProvider,
|
|
5
6
|
CapacityProviderStrategyItem,
|
|
6
7
|
Cluster,
|
|
@@ -25,6 +26,10 @@ import {
|
|
|
25
26
|
TaskSet,
|
|
26
27
|
VpcLatticeConfiguration,
|
|
27
28
|
} from "./models_0";
|
|
29
|
+
export interface UpdateCapacityProviderRequest {
|
|
30
|
+
name: string | undefined;
|
|
31
|
+
autoScalingGroupProvider: AutoScalingGroupProviderUpdate | undefined;
|
|
32
|
+
}
|
|
28
33
|
export interface UpdateCapacityProviderResponse {
|
|
29
34
|
capacityProvider?: CapacityProvider | undefined;
|
|
30
35
|
}
|
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.696.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,45 +20,45 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.5.
|
|
38
|
-
"@smithy/fetch-http-handler": "^4.1.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.4.
|
|
50
|
-
"@smithy/types": "^3.7.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.696.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.696.0",
|
|
25
|
+
"@aws-sdk/core": "3.696.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.696.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.696.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.696.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.696.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.696.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.696.0",
|
|
32
|
+
"@aws-sdk/types": "3.696.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.696.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.696.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.696.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.12",
|
|
37
|
+
"@smithy/core": "^2.5.3",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.1.1",
|
|
39
|
+
"@smithy/hash-node": "^3.0.10",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.10",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.12",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.2.3",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.27",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.10",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.10",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.11",
|
|
47
|
+
"@smithy/node-http-handler": "^3.3.1",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.7",
|
|
49
|
+
"@smithy/smithy-client": "^3.4.4",
|
|
50
|
+
"@smithy/types": "^3.7.1",
|
|
51
|
+
"@smithy/url-parser": "^3.0.10",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.27",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.27",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.6",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.10",
|
|
59
|
+
"@smithy/util-retry": "^3.0.10",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
|
-
"@smithy/util-waiter": "^3.1.
|
|
61
|
+
"@smithy/util-waiter": "^3.1.9",
|
|
62
62
|
"@types/uuid": "^9.0.1",
|
|
63
63
|
"tslib": "^2.6.2",
|
|
64
64
|
"uuid": "^9.0.1"
|