@aws-sdk/client-ecs 3.485.0 → 3.489.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 +6 -2
- package/dist-es/models/models_0.js +4 -0
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +2 -0
- package/dist-types/commands/CreateTaskSetCommand.d.ts +1 -0
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +1 -0
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +1 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +24 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +13 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.ExecuteCommandResponseFilterSensitiveLog = exports.SessionFilterSensitiveLog = exports.NoUpdateAvailableException = exports.MissingVersionException = exports.ConflictException = 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 = exports.TaskDefinitionPlacementConstraintType = void 0;
|
|
3
|
+
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.SettingType = 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.ManagedDraining = exports.ClientException = exports.AgentUpdateStatus = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.ExecuteCommandResponseFilterSensitiveLog = exports.SessionFilterSensitiveLog = exports.NoUpdateAvailableException = exports.MissingVersionException = exports.ConflictException = 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 = exports.TaskDefinitionPlacementConstraintType = exports.PidMode = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const ECSServiceException_1 = require("./ECSServiceException");
|
|
7
7
|
class AccessDeniedException extends ECSServiceException_1.ECSServiceException {
|
|
@@ -38,6 +38,10 @@ class ClientException extends ECSServiceException_1.ECSServiceException {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
exports.ClientException = ClientException;
|
|
41
|
+
exports.ManagedDraining = {
|
|
42
|
+
DISABLED: "DISABLED",
|
|
43
|
+
ENABLED: "ENABLED",
|
|
44
|
+
};
|
|
41
45
|
exports.ManagedScalingStatus = {
|
|
42
46
|
DISABLED: "DISABLED",
|
|
43
47
|
ENABLED: "ENABLED",
|
|
@@ -32,6 +32,10 @@ export class ClientException extends __BaseException {
|
|
|
32
32
|
Object.setPrototypeOf(this, ClientException.prototype);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
+
export const ManagedDraining = {
|
|
36
|
+
DISABLED: "DISABLED",
|
|
37
|
+
ENABLED: "ENABLED",
|
|
38
|
+
};
|
|
35
39
|
export const ManagedScalingStatus = {
|
|
36
40
|
DISABLED: "DISABLED",
|
|
37
41
|
ENABLED: "ENABLED",
|
|
@@ -51,6 +51,7 @@ declare const CreateCapacityProviderCommand_base: {
|
|
|
51
51
|
* instanceWarmupPeriod: Number("int"),
|
|
52
52
|
* },
|
|
53
53
|
* managedTerminationProtection: "ENABLED" || "DISABLED",
|
|
54
|
+
* managedDraining: "ENABLED" || "DISABLED",
|
|
54
55
|
* },
|
|
55
56
|
* tags: [ // Tags
|
|
56
57
|
* { // Tag
|
|
@@ -76,6 +77,7 @@ declare const CreateCapacityProviderCommand_base: {
|
|
|
76
77
|
* // instanceWarmupPeriod: Number("int"),
|
|
77
78
|
* // },
|
|
78
79
|
* // managedTerminationProtection: "ENABLED" || "DISABLED",
|
|
80
|
+
* // managedDraining: "ENABLED" || "DISABLED",
|
|
79
81
|
* // },
|
|
80
82
|
* // updateStatus: "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
|
|
81
83
|
* // updateStatusReason: "STRING_VALUE",
|
|
@@ -30,6 +30,7 @@ declare const CreateTaskSetCommand_base: {
|
|
|
30
30
|
* uses the <code>EXTERNAL</code> deployment controller type. For more information, see
|
|
31
31
|
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment
|
|
32
32
|
* types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
33
|
+
* <p>You can create a maximum of 5 tasks sets for a deployment.</p>
|
|
33
34
|
* @example
|
|
34
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
36
|
* ```javascript
|
|
@@ -67,6 +67,7 @@ declare const DeleteCapacityProviderCommand_base: {
|
|
|
67
67
|
* // instanceWarmupPeriod: Number("int"),
|
|
68
68
|
* // },
|
|
69
69
|
* // managedTerminationProtection: "ENABLED" || "DISABLED",
|
|
70
|
+
* // managedDraining: "ENABLED" || "DISABLED",
|
|
70
71
|
* // },
|
|
71
72
|
* // updateStatus: "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
|
|
72
73
|
* // updateStatusReason: "STRING_VALUE",
|
|
@@ -61,6 +61,7 @@ declare const DescribeCapacityProvidersCommand_base: {
|
|
|
61
61
|
* // instanceWarmupPeriod: Number("int"),
|
|
62
62
|
* // },
|
|
63
63
|
* // managedTerminationProtection: "ENABLED" || "DISABLED",
|
|
64
|
+
* // managedDraining: "ENABLED" || "DISABLED",
|
|
64
65
|
* // },
|
|
65
66
|
* // updateStatus: "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
|
|
66
67
|
* // updateStatusReason: "STRING_VALUE",
|
|
@@ -44,6 +44,7 @@ declare const UpdateCapacityProviderCommand_base: {
|
|
|
44
44
|
* instanceWarmupPeriod: Number("int"),
|
|
45
45
|
* },
|
|
46
46
|
* managedTerminationProtection: "ENABLED" || "DISABLED",
|
|
47
|
+
* managedDraining: "ENABLED" || "DISABLED",
|
|
47
48
|
* },
|
|
48
49
|
* };
|
|
49
50
|
* const command = new UpdateCapacityProviderCommand(input);
|
|
@@ -63,6 +64,7 @@ declare const UpdateCapacityProviderCommand_base: {
|
|
|
63
64
|
* // instanceWarmupPeriod: Number("int"),
|
|
64
65
|
* // },
|
|
65
66
|
* // managedTerminationProtection: "ENABLED" || "DISABLED",
|
|
67
|
+
* // managedDraining: "ENABLED" || "DISABLED",
|
|
66
68
|
* // },
|
|
67
69
|
* // updateStatus: "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
|
|
68
70
|
* // updateStatusReason: "STRING_VALUE",
|
|
@@ -42,6 +42,18 @@ export declare class ClientException extends __BaseException {
|
|
|
42
42
|
*/
|
|
43
43
|
constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
|
|
44
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
* @enum
|
|
48
|
+
*/
|
|
49
|
+
export declare const ManagedDraining: {
|
|
50
|
+
readonly DISABLED: "DISABLED";
|
|
51
|
+
readonly ENABLED: "ENABLED";
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export type ManagedDraining = (typeof ManagedDraining)[keyof typeof ManagedDraining];
|
|
45
57
|
/**
|
|
46
58
|
* @public
|
|
47
59
|
* @enum
|
|
@@ -153,6 +165,12 @@ export interface AutoScalingGroupProvider {
|
|
|
153
165
|
* termination when the Auto Scaling group scales in.</p>
|
|
154
166
|
*/
|
|
155
167
|
managedTerminationProtection?: ManagedTerminationProtection;
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
* <p>The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity provider.</p>
|
|
171
|
+
* <p>The default is <code>ENABLED</code>.</p>
|
|
172
|
+
*/
|
|
173
|
+
managedDraining?: ManagedDraining;
|
|
156
174
|
}
|
|
157
175
|
/**
|
|
158
176
|
* @public
|
|
@@ -10300,6 +10318,12 @@ export interface AutoScalingGroupProviderUpdate {
|
|
|
10300
10318
|
* termination when the Auto Scaling group scales in.</p>
|
|
10301
10319
|
*/
|
|
10302
10320
|
managedTerminationProtection?: ManagedTerminationProtection;
|
|
10321
|
+
/**
|
|
10322
|
+
* @public
|
|
10323
|
+
* <p>The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity provider.</p>
|
|
10324
|
+
* <p>The default is <code>ENABLED</code>.</p>
|
|
10325
|
+
*/
|
|
10326
|
+
managedDraining?: ManagedDraining;
|
|
10303
10327
|
}
|
|
10304
10328
|
/**
|
|
10305
10329
|
* @public
|
|
@@ -22,6 +22,12 @@ export declare class ClientException extends __BaseException {
|
|
|
22
22
|
readonly $fault: "client";
|
|
23
23
|
constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
|
|
24
24
|
}
|
|
25
|
+
export declare const ManagedDraining: {
|
|
26
|
+
readonly DISABLED: "DISABLED";
|
|
27
|
+
readonly ENABLED: "ENABLED";
|
|
28
|
+
};
|
|
29
|
+
export type ManagedDraining =
|
|
30
|
+
(typeof ManagedDraining)[keyof typeof ManagedDraining];
|
|
25
31
|
export declare const ManagedScalingStatus: {
|
|
26
32
|
readonly DISABLED: "DISABLED";
|
|
27
33
|
readonly ENABLED: "ENABLED";
|
|
@@ -45,6 +51,7 @@ export interface AutoScalingGroupProvider {
|
|
|
45
51
|
autoScalingGroupArn: string | undefined;
|
|
46
52
|
managedScaling?: ManagedScaling;
|
|
47
53
|
managedTerminationProtection?: ManagedTerminationProtection;
|
|
54
|
+
managedDraining?: ManagedDraining;
|
|
48
55
|
}
|
|
49
56
|
export interface Tag {
|
|
50
57
|
key?: string;
|
|
@@ -1697,6 +1704,7 @@ export interface UntagResourceResponse {}
|
|
|
1697
1704
|
export interface AutoScalingGroupProviderUpdate {
|
|
1698
1705
|
managedScaling?: ManagedScaling;
|
|
1699
1706
|
managedTerminationProtection?: ManagedTerminationProtection;
|
|
1707
|
+
managedDraining?: ManagedDraining;
|
|
1700
1708
|
}
|
|
1701
1709
|
export interface UpdateCapacityProviderRequest {
|
|
1702
1710
|
name: string | 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.489.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",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.489.0",
|
|
24
24
|
"@aws-sdk/core": "3.485.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "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.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.489.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.489.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.489.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.489.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.489.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.489.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.489.0",
|
|
32
|
+
"@aws-sdk/types": "3.489.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.489.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.489.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.489.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.23",
|
|
37
37
|
"@smithy/core": "^1.2.2",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.3.2",
|