@aws-sdk/client-ecs 3.326.0 → 3.327.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/models/models_0.js +14 -14
- package/dist-cjs/protocols/Aws_json1_1.js +6 -0
- package/dist-es/models/models_0.js +12 -12
- package/dist-es/protocols/Aws_json1_1.js +6 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +3 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +12 -12
- package/dist-types/ts3.4/models/models_0.d.ts +7 -7
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TaskDefinitionPlacementConstraintType = exports.PidMode = exports.NetworkMode = exports.IpcMode = exports.UlimitName = exports.ResourceType = exports.TransportProtocol = exports.ApplicationProtocol = exports.DeviceCgroupPermission = exports.FirelensConfigurationType = exports.EnvironmentFileType = exports.ContainerCondition = exports.Compatibility = exports.ClusterContainsTasksException = exports.ClusterContainsServicesException = exports.ClusterContainsContainerInstancesException = exports.TargetNotFoundException = exports.TargetType = exports.SettingName = exports.ServiceNotFoundException = exports.ServiceNotActiveException = exports.UnsupportedFeatureException = exports.PlatformUnknownException = exports.PlatformTaskDefinitionIncompatibilityException = exports.
|
|
3
|
+
exports.TaskDefinitionPlacementConstraintType = exports.PidMode = exports.NetworkMode = exports.IpcMode = exports.UlimitName = exports.ResourceType = exports.TransportProtocol = exports.ApplicationProtocol = exports.DeviceCgroupPermission = exports.FirelensConfigurationType = exports.EnvironmentFileType = exports.ContainerCondition = exports.Compatibility = exports.ClusterContainsTasksException = exports.ClusterContainsServicesException = exports.ClusterContainsContainerInstancesException = exports.TargetNotFoundException = exports.TargetType = exports.SettingName = exports.ServiceNotFoundException = exports.ServiceNotActiveException = exports.UnsupportedFeatureException = exports.PlatformUnknownException = exports.PlatformTaskDefinitionIncompatibilityException = exports.StabilityStatus = exports.ScaleUnit = exports.DeploymentRolloutState = exports.LogDriver = exports.SchedulingStrategy = exports.PropagateTags = exports.PlacementStrategyType = exports.PlacementConstraintType = exports.AssignPublicIp = exports.LaunchType = exports.DeploymentControllerType = exports.ClusterNotFoundException = exports.NamespaceNotFoundException = exports.ClusterSettingName = exports.ExecuteCommandLogging = exports.UpdateInProgressException = exports.ServerException = exports.LimitExceededException = exports.InvalidParameterException = exports.CapacityProviderUpdateStatus = exports.CapacityProviderStatus = exports.ManagedTerminationProtection = exports.ManagedScalingStatus = exports.ClientException = exports.AgentUpdateStatus = exports.AccessDeniedException = void 0;
|
|
4
4
|
exports.ExecuteCommandResponseFilterSensitiveLog = exports.SessionFilterSensitiveLog = exports.NoUpdateAvailableException = exports.MissingVersionException = exports.BlockedException = exports.PlatformDeviceType = exports.ResourceInUseException = exports.AttributeLimitExceededException = exports.DesiredStatus = exports.SortOrder = exports.TaskDefinitionFamilyStatus = exports.ContainerInstanceStatus = exports.ResourceNotFoundException = exports.TargetNotConnectedException = exports.TaskSetField = exports.TaskStopCode = exports.ManagedAgentName = exports.HealthStatus = exports.Connectivity = exports.TaskField = exports.TaskDefinitionField = exports.ServiceField = exports.ContainerInstanceField = exports.ClusterField = exports.CapacityProviderField = exports.InstanceHealthCheckType = exports.InstanceHealthCheckState = exports.TaskSetNotFoundException = exports.EFSTransitEncryption = exports.EFSAuthorizationConfigIAM = exports.Scope = exports.TaskDefinitionStatus = exports.OSFamily = exports.CPUArchitecture = exports.ProxyConfigurationType = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const ECSServiceException_1 = require("./ECSServiceException");
|
|
@@ -118,6 +118,19 @@ exports.ExecuteCommandLogging = {
|
|
|
118
118
|
exports.ClusterSettingName = {
|
|
119
119
|
CONTAINER_INSIGHTS: "containerInsights",
|
|
120
120
|
};
|
|
121
|
+
class NamespaceNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
122
|
+
constructor(opts) {
|
|
123
|
+
super({
|
|
124
|
+
name: "NamespaceNotFoundException",
|
|
125
|
+
$fault: "client",
|
|
126
|
+
...opts,
|
|
127
|
+
});
|
|
128
|
+
this.name = "NamespaceNotFoundException";
|
|
129
|
+
this.$fault = "client";
|
|
130
|
+
Object.setPrototypeOf(this, NamespaceNotFoundException.prototype);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
exports.NamespaceNotFoundException = NamespaceNotFoundException;
|
|
121
134
|
class ClusterNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
122
135
|
constructor(opts) {
|
|
123
136
|
super({
|
|
@@ -185,19 +198,6 @@ exports.StabilityStatus = {
|
|
|
185
198
|
STABILIZING: "STABILIZING",
|
|
186
199
|
STEADY_STATE: "STEADY_STATE",
|
|
187
200
|
};
|
|
188
|
-
class NamespaceNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
189
|
-
constructor(opts) {
|
|
190
|
-
super({
|
|
191
|
-
name: "NamespaceNotFoundException",
|
|
192
|
-
$fault: "client",
|
|
193
|
-
...opts,
|
|
194
|
-
});
|
|
195
|
-
this.name = "NamespaceNotFoundException";
|
|
196
|
-
this.$fault = "client";
|
|
197
|
-
Object.setPrototypeOf(this, NamespaceNotFoundException.prototype);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
exports.NamespaceNotFoundException = NamespaceNotFoundException;
|
|
201
201
|
class PlatformTaskDefinitionIncompatibilityException extends ECSServiceException_1.ECSServiceException {
|
|
202
202
|
constructor(opts) {
|
|
203
203
|
super({
|
|
@@ -471,6 +471,9 @@ const de_CreateClusterCommandError = async (output, context) => {
|
|
|
471
471
|
case "InvalidParameterException":
|
|
472
472
|
case "com.amazonaws.ecs#InvalidParameterException":
|
|
473
473
|
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
474
|
+
case "NamespaceNotFoundException":
|
|
475
|
+
case "com.amazonaws.ecs#NamespaceNotFoundException":
|
|
476
|
+
throw await de_NamespaceNotFoundExceptionRes(parsedOutput, context);
|
|
474
477
|
case "ServerException":
|
|
475
478
|
case "com.amazonaws.ecs#ServerException":
|
|
476
479
|
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
@@ -2505,6 +2508,9 @@ const de_UpdateClusterCommandError = async (output, context) => {
|
|
|
2505
2508
|
case "InvalidParameterException":
|
|
2506
2509
|
case "com.amazonaws.ecs#InvalidParameterException":
|
|
2507
2510
|
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2511
|
+
case "NamespaceNotFoundException":
|
|
2512
|
+
case "com.amazonaws.ecs#NamespaceNotFoundException":
|
|
2513
|
+
throw await de_NamespaceNotFoundExceptionRes(parsedOutput, context);
|
|
2508
2514
|
case "ServerException":
|
|
2509
2515
|
case "com.amazonaws.ecs#ServerException":
|
|
2510
2516
|
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
@@ -108,6 +108,18 @@ export const ExecuteCommandLogging = {
|
|
|
108
108
|
export const ClusterSettingName = {
|
|
109
109
|
CONTAINER_INSIGHTS: "containerInsights",
|
|
110
110
|
};
|
|
111
|
+
export class NamespaceNotFoundException extends __BaseException {
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "NamespaceNotFoundException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
this.name = "NamespaceNotFoundException";
|
|
119
|
+
this.$fault = "client";
|
|
120
|
+
Object.setPrototypeOf(this, NamespaceNotFoundException.prototype);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
111
123
|
export class ClusterNotFoundException extends __BaseException {
|
|
112
124
|
constructor(opts) {
|
|
113
125
|
super({
|
|
@@ -174,18 +186,6 @@ export const StabilityStatus = {
|
|
|
174
186
|
STABILIZING: "STABILIZING",
|
|
175
187
|
STEADY_STATE: "STEADY_STATE",
|
|
176
188
|
};
|
|
177
|
-
export class NamespaceNotFoundException extends __BaseException {
|
|
178
|
-
constructor(opts) {
|
|
179
|
-
super({
|
|
180
|
-
name: "NamespaceNotFoundException",
|
|
181
|
-
$fault: "client",
|
|
182
|
-
...opts,
|
|
183
|
-
});
|
|
184
|
-
this.name = "NamespaceNotFoundException";
|
|
185
|
-
this.$fault = "client";
|
|
186
|
-
Object.setPrototypeOf(this, NamespaceNotFoundException.prototype);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
189
|
export class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
|
|
190
190
|
constructor(opts) {
|
|
191
191
|
super({
|
|
@@ -408,6 +408,9 @@ const de_CreateClusterCommandError = async (output, context) => {
|
|
|
408
408
|
case "InvalidParameterException":
|
|
409
409
|
case "com.amazonaws.ecs#InvalidParameterException":
|
|
410
410
|
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
411
|
+
case "NamespaceNotFoundException":
|
|
412
|
+
case "com.amazonaws.ecs#NamespaceNotFoundException":
|
|
413
|
+
throw await de_NamespaceNotFoundExceptionRes(parsedOutput, context);
|
|
411
414
|
case "ServerException":
|
|
412
415
|
case "com.amazonaws.ecs#ServerException":
|
|
413
416
|
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
@@ -2395,6 +2398,9 @@ const de_UpdateClusterCommandError = async (output, context) => {
|
|
|
2395
2398
|
case "InvalidParameterException":
|
|
2396
2399
|
case "com.amazonaws.ecs#InvalidParameterException":
|
|
2397
2400
|
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2401
|
+
case "NamespaceNotFoundException":
|
|
2402
|
+
case "com.amazonaws.ecs#NamespaceNotFoundException":
|
|
2403
|
+
throw await de_NamespaceNotFoundExceptionRes(parsedOutput, context);
|
|
2398
2404
|
case "ServerException":
|
|
2399
2405
|
case "com.amazonaws.ecs#ServerException":
|
|
2400
2406
|
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
@@ -166,6 +166,9 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
166
166
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
167
167
|
* request.</p>
|
|
168
168
|
*
|
|
169
|
+
* @throws {@link NamespaceNotFoundException} (client fault)
|
|
170
|
+
* <p>The specified namespace wasn't found.</p>
|
|
171
|
+
*
|
|
169
172
|
* @throws {@link ServerException} (server fault)
|
|
170
173
|
* <p>These errors are usually caused by a server issue.</p>
|
|
171
174
|
*
|
|
@@ -143,6 +143,9 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
|
|
|
143
143
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
144
144
|
* request.</p>
|
|
145
145
|
*
|
|
146
|
+
* @throws {@link NamespaceNotFoundException} (client fault)
|
|
147
|
+
* <p>The specified namespace wasn't found.</p>
|
|
148
|
+
*
|
|
146
149
|
* @throws {@link ServerException} (server fault)
|
|
147
150
|
* <p>These errors are usually caused by a server issue.</p>
|
|
148
151
|
*
|
|
@@ -1012,6 +1012,18 @@ export interface CreateClusterResponse {
|
|
|
1012
1012
|
*/
|
|
1013
1013
|
cluster?: Cluster;
|
|
1014
1014
|
}
|
|
1015
|
+
/**
|
|
1016
|
+
* @public
|
|
1017
|
+
* <p>The specified namespace wasn't found.</p>
|
|
1018
|
+
*/
|
|
1019
|
+
export declare class NamespaceNotFoundException extends __BaseException {
|
|
1020
|
+
readonly name: "NamespaceNotFoundException";
|
|
1021
|
+
readonly $fault: "client";
|
|
1022
|
+
/**
|
|
1023
|
+
* @internal
|
|
1024
|
+
*/
|
|
1025
|
+
constructor(opts: __ExceptionOptionType<NamespaceNotFoundException, __BaseException>);
|
|
1026
|
+
}
|
|
1015
1027
|
/**
|
|
1016
1028
|
* @public
|
|
1017
1029
|
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
@@ -2736,18 +2748,6 @@ export interface CreateServiceResponse {
|
|
|
2736
2748
|
*/
|
|
2737
2749
|
service?: Service;
|
|
2738
2750
|
}
|
|
2739
|
-
/**
|
|
2740
|
-
* @public
|
|
2741
|
-
* <p>The specified namespace wasn't found.</p>
|
|
2742
|
-
*/
|
|
2743
|
-
export declare class NamespaceNotFoundException extends __BaseException {
|
|
2744
|
-
readonly name: "NamespaceNotFoundException";
|
|
2745
|
-
readonly $fault: "client";
|
|
2746
|
-
/**
|
|
2747
|
-
* @internal
|
|
2748
|
-
*/
|
|
2749
|
-
constructor(opts: __ExceptionOptionType<NamespaceNotFoundException, __BaseException>);
|
|
2750
|
-
}
|
|
2751
2751
|
/**
|
|
2752
2752
|
* @public
|
|
2753
2753
|
* <p>The specified platform version doesn't satisfy the required capabilities of the task
|
|
@@ -191,6 +191,13 @@ export interface Cluster {
|
|
|
191
191
|
export interface CreateClusterResponse {
|
|
192
192
|
cluster?: Cluster;
|
|
193
193
|
}
|
|
194
|
+
export declare class NamespaceNotFoundException extends __BaseException {
|
|
195
|
+
readonly name: "NamespaceNotFoundException";
|
|
196
|
+
readonly $fault: "client";
|
|
197
|
+
constructor(
|
|
198
|
+
opts: __ExceptionOptionType<NamespaceNotFoundException, __BaseException>
|
|
199
|
+
);
|
|
200
|
+
}
|
|
194
201
|
export declare class ClusterNotFoundException extends __BaseException {
|
|
195
202
|
readonly name: "ClusterNotFoundException";
|
|
196
203
|
readonly $fault: "client";
|
|
@@ -461,13 +468,6 @@ export interface Service {
|
|
|
461
468
|
export interface CreateServiceResponse {
|
|
462
469
|
service?: Service;
|
|
463
470
|
}
|
|
464
|
-
export declare class NamespaceNotFoundException extends __BaseException {
|
|
465
|
-
readonly name: "NamespaceNotFoundException";
|
|
466
|
-
readonly $fault: "client";
|
|
467
|
-
constructor(
|
|
468
|
-
opts: __ExceptionOptionType<NamespaceNotFoundException, __BaseException>
|
|
469
|
-
);
|
|
470
|
-
}
|
|
471
471
|
export declare class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
|
|
472
472
|
readonly name: "PlatformTaskDefinitionIncompatibilityException";
|
|
473
473
|
readonly $fault: "client";
|
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.327.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.327.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.327.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.327.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.327.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.327.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.327.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.310.0",
|