@aws-sdk/client-ecs 3.934.0 → 3.935.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 +480 -476
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +447 -0
- package/dist-es/models/errors.js +339 -0
- package/dist-es/models/models_0.js +1 -688
- package/dist-es/schemas/schemas_0.js +11 -7
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +6 -0
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +3 -0
- package/dist-types/commands/ListTasksCommand.d.ts +1 -1
- package/dist-types/commands/PutAccountSettingCommand.d.ts +1 -1
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
- package/dist-types/commands/PutAttributesCommand.d.ts +1 -1
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +1 -1
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -1
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/RunTaskCommand.d.ts +1 -1
- package/dist-types/commands/StartTaskCommand.d.ts +1 -1
- package/dist-types/commands/StopServiceDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/StopTaskCommand.d.ts +1 -1
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -1
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +1 -1
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +7 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateServiceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +1119 -0
- package/dist-types/models/errors.d.ts +397 -0
- package/dist-types/models/models_0.d.ts +2816 -1381
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopServiceDeploymentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +589 -0
- package/dist-types/ts3.4/models/errors.d.ts +209 -0
- package/dist-types/ts3.4/models/models_0.d.ts +437 -729
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -99
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -2908
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -476
|
@@ -120,6 +120,7 @@ export declare var HostEntry: StaticStructureSchema;
|
|
|
120
120
|
export declare var HostVolumeProperties: StaticStructureSchema;
|
|
121
121
|
export declare var InferenceAccelerator: StaticStructureSchema;
|
|
122
122
|
export declare var InferenceAcceleratorOverride: StaticStructureSchema;
|
|
123
|
+
export declare var InfrastructureOptimization: StaticStructureSchema;
|
|
123
124
|
export declare var InstanceHealthCheckResult: StaticStructureSchema;
|
|
124
125
|
export declare var InstanceLaunchTemplate: StaticStructureSchema;
|
|
125
126
|
export declare var InstanceLaunchTemplateUpdate: StaticStructureSchema;
|
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.935.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,38 +20,38 @@
|
|
|
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.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { ECSServiceException as __BaseException } from "./ECSServiceException";
|
|
2
|
-
export const DesiredStatus = {
|
|
3
|
-
PENDING: "PENDING",
|
|
4
|
-
RUNNING: "RUNNING",
|
|
5
|
-
STOPPED: "STOPPED",
|
|
6
|
-
};
|
|
7
|
-
export class AttributeLimitExceededException extends __BaseException {
|
|
8
|
-
name = "AttributeLimitExceededException";
|
|
9
|
-
$fault = "client";
|
|
10
|
-
constructor(opts) {
|
|
11
|
-
super({
|
|
12
|
-
name: "AttributeLimitExceededException",
|
|
13
|
-
$fault: "client",
|
|
14
|
-
...opts,
|
|
15
|
-
});
|
|
16
|
-
Object.setPrototypeOf(this, AttributeLimitExceededException.prototype);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export class ResourceInUseException extends __BaseException {
|
|
20
|
-
name = "ResourceInUseException";
|
|
21
|
-
$fault = "client";
|
|
22
|
-
constructor(opts) {
|
|
23
|
-
super({
|
|
24
|
-
name: "ResourceInUseException",
|
|
25
|
-
$fault: "client",
|
|
26
|
-
...opts,
|
|
27
|
-
});
|
|
28
|
-
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
export const PlatformDeviceType = {
|
|
32
|
-
GPU: "GPU",
|
|
33
|
-
};
|
|
34
|
-
export class BlockedException extends __BaseException {
|
|
35
|
-
name = "BlockedException";
|
|
36
|
-
$fault = "client";
|
|
37
|
-
constructor(opts) {
|
|
38
|
-
super({
|
|
39
|
-
name: "BlockedException",
|
|
40
|
-
$fault: "client",
|
|
41
|
-
...opts,
|
|
42
|
-
});
|
|
43
|
-
Object.setPrototypeOf(this, BlockedException.prototype);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
export class ConflictException extends __BaseException {
|
|
47
|
-
name = "ConflictException";
|
|
48
|
-
$fault = "client";
|
|
49
|
-
resourceIds;
|
|
50
|
-
constructor(opts) {
|
|
51
|
-
super({
|
|
52
|
-
name: "ConflictException",
|
|
53
|
-
$fault: "client",
|
|
54
|
-
...opts,
|
|
55
|
-
});
|
|
56
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
57
|
-
this.resourceIds = opts.resourceIds;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
export class ServiceDeploymentNotFoundException extends __BaseException {
|
|
61
|
-
name = "ServiceDeploymentNotFoundException";
|
|
62
|
-
$fault = "client";
|
|
63
|
-
constructor(opts) {
|
|
64
|
-
super({
|
|
65
|
-
name: "ServiceDeploymentNotFoundException",
|
|
66
|
-
$fault: "client",
|
|
67
|
-
...opts,
|
|
68
|
-
});
|
|
69
|
-
Object.setPrototypeOf(this, ServiceDeploymentNotFoundException.prototype);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
export const StopServiceDeploymentStopType = {
|
|
73
|
-
ABORT: "ABORT",
|
|
74
|
-
ROLLBACK: "ROLLBACK",
|
|
75
|
-
};
|
|
76
|
-
export class MissingVersionException extends __BaseException {
|
|
77
|
-
name = "MissingVersionException";
|
|
78
|
-
$fault = "client";
|
|
79
|
-
constructor(opts) {
|
|
80
|
-
super({
|
|
81
|
-
name: "MissingVersionException",
|
|
82
|
-
$fault: "client",
|
|
83
|
-
...opts,
|
|
84
|
-
});
|
|
85
|
-
Object.setPrototypeOf(this, MissingVersionException.prototype);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
export class NoUpdateAvailableException extends __BaseException {
|
|
89
|
-
name = "NoUpdateAvailableException";
|
|
90
|
-
$fault = "client";
|
|
91
|
-
constructor(opts) {
|
|
92
|
-
super({
|
|
93
|
-
name: "NoUpdateAvailableException",
|
|
94
|
-
$fault: "client",
|
|
95
|
-
...opts,
|
|
96
|
-
});
|
|
97
|
-
Object.setPrototypeOf(this, NoUpdateAvailableException.prototype);
|
|
98
|
-
}
|
|
99
|
-
}
|