@aws-sdk/client-ecs 3.1047.0 → 3.1049.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/README.md +7 -0
- package/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +42 -13
- package/dist-cjs/models/errors.js +14 -14
- package/dist-cjs/runtimeConfig.browser.js +5 -5
- package/dist-cjs/runtimeConfig.js +2 -3
- package/dist-cjs/schemas/schemas_0.js +69 -28
- package/dist-es/ECS.js +2 -0
- package/dist-es/ECSClient.js +1 -4
- package/dist-es/commands/ContinueServiceDeploymentCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/enums.js +16 -0
- package/dist-es/models/errors.js +12 -12
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeExtensions.js +1 -1
- package/dist-es/schemas/schemas_0.js +60 -20
- package/dist-types/ECS.d.ts +7 -0
- package/dist-types/ECSClient.d.ts +4 -4
- package/dist-types/commands/ContinueServiceDeploymentCommand.d.ts +130 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +85 -2
- package/dist-types/commands/DeleteServiceCommand.d.ts +6 -1
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +79 -1
- package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeServicesCommand.d.ts +67 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateServiceCommand.d.ts +40 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +40 -0
- package/dist-types/models/errors.d.ts +12 -12
- package/dist-types/models/models_0.d.ts +101 -49
- package/dist-types/models/models_1.d.ts +46 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/ECS.d.ts +17 -0
- package/dist-types/ts3.4/ECSClient.d.ts +7 -3
- package/dist-types/ts3.4/commands/ContinueServiceDeploymentCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteTaskDefinitionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeServiceRevisionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +22 -0
- package/dist-types/ts3.4/models/errors.d.ts +10 -10
- package/dist-types/ts3.4/models/models_0.d.ts +28 -12
- package/dist-types/ts3.4/models/models_1.d.ts +13 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +6 -14
package/README.md
CHANGED
|
@@ -179,6 +179,13 @@ see LICENSE for more information.
|
|
|
179
179
|
|
|
180
180
|
## Client Commands (Operations List)
|
|
181
181
|
|
|
182
|
+
<details>
|
|
183
|
+
<summary>
|
|
184
|
+
ContinueServiceDeployment
|
|
185
|
+
</summary>
|
|
186
|
+
|
|
187
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecs/command/ContinueServiceDeploymentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/ContinueServiceDeploymentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecs/Interface/ContinueServiceDeploymentCommandOutput/)
|
|
188
|
+
</details>
|
|
182
189
|
<details>
|
|
183
190
|
<summary>
|
|
184
191
|
CreateCapacityProvider
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const
|
|
4
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
5
5
|
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
7
|
const cache = new endpoints_1.EndpointCache({
|
|
@@ -15,4 +15,4 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
endpoints_1.customEndpointFunctions.aws =
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
-
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
-
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
3
|
+
var client$1 = require('@aws-sdk/core/client');
|
|
7
4
|
var core = require('@smithy/core');
|
|
8
5
|
var client = require('@smithy/core/client');
|
|
9
6
|
var config = require('@smithy/core/config');
|
|
@@ -13,7 +10,6 @@ var retry = require('@smithy/core/retry');
|
|
|
13
10
|
var schema = require('@smithy/core/schema');
|
|
14
11
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
15
12
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
|
-
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
13
|
var schemas_0 = require('./schemas/schemas_0');
|
|
18
14
|
var errors = require('./models/errors');
|
|
19
15
|
var ECSServiceException = require('./models/ECSServiceException');
|
|
@@ -72,9 +68,9 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
72
68
|
};
|
|
73
69
|
|
|
74
70
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
-
const extensionConfiguration = Object.assign(
|
|
71
|
+
const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
72
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
-
return Object.assign(runtimeConfig,
|
|
73
|
+
return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
74
|
};
|
|
79
75
|
|
|
80
76
|
class ECSClient extends client.Client {
|
|
@@ -84,21 +80,21 @@ class ECSClient extends client.Client {
|
|
|
84
80
|
super(_config_0);
|
|
85
81
|
this.initConfig = _config_0;
|
|
86
82
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
|
-
const _config_2 =
|
|
83
|
+
const _config_2 = client$1.resolveUserAgentConfig(_config_1);
|
|
88
84
|
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
89
85
|
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
90
|
-
const _config_5 =
|
|
86
|
+
const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
|
|
91
87
|
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
92
88
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
89
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
90
|
this.config = _config_8;
|
|
95
91
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
96
|
-
this.middlewareStack.use(
|
|
92
|
+
this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
|
|
97
93
|
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
98
94
|
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
99
|
-
this.middlewareStack.use(
|
|
100
|
-
this.middlewareStack.use(
|
|
101
|
-
this.middlewareStack.use(
|
|
95
|
+
this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
|
|
102
98
|
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
103
99
|
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultECSHttpAuthSchemeParametersProvider,
|
|
104
100
|
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
@@ -112,6 +108,18 @@ class ECSClient extends client.Client {
|
|
|
112
108
|
}
|
|
113
109
|
}
|
|
114
110
|
|
|
111
|
+
class ContinueServiceDeploymentCommand extends client.Command
|
|
112
|
+
.classBuilder()
|
|
113
|
+
.ep(commonParams)
|
|
114
|
+
.m(function (Command, cs, config, o) {
|
|
115
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
116
|
+
})
|
|
117
|
+
.s("AmazonEC2ContainerServiceV20141113", "ContinueServiceDeployment", {})
|
|
118
|
+
.n("ECSClient", "ContinueServiceDeploymentCommand")
|
|
119
|
+
.sc(schemas_0.ContinueServiceDeployment$)
|
|
120
|
+
.build() {
|
|
121
|
+
}
|
|
122
|
+
|
|
115
123
|
class CreateCapacityProviderCommand extends client.Command
|
|
116
124
|
.classBuilder()
|
|
117
125
|
.ep(commonParams)
|
|
@@ -1546,6 +1554,7 @@ const waitUntilTasksStopped = async (params, input) => {
|
|
|
1546
1554
|
};
|
|
1547
1555
|
|
|
1548
1556
|
const commands = {
|
|
1557
|
+
ContinueServiceDeploymentCommand,
|
|
1549
1558
|
CreateCapacityProviderCommand,
|
|
1550
1559
|
CreateClusterCommand,
|
|
1551
1560
|
CreateDaemonCommand,
|
|
@@ -1836,6 +1845,10 @@ const LaunchType = {
|
|
|
1836
1845
|
const PlatformDeviceType = {
|
|
1837
1846
|
GPU: "GPU",
|
|
1838
1847
|
};
|
|
1848
|
+
const DeploymentLifecycleHookAction = {
|
|
1849
|
+
CONTINUE: "CONTINUE",
|
|
1850
|
+
ROLLBACK: "ROLLBACK",
|
|
1851
|
+
};
|
|
1839
1852
|
const DaemonDeploymentRollbackMonitorsStatus = {
|
|
1840
1853
|
DISABLED: "DISABLED",
|
|
1841
1854
|
MONITORING: "MONITORING",
|
|
@@ -2030,17 +2043,29 @@ const DeploymentLifecycleHookStage = {
|
|
|
2030
2043
|
POST_PRODUCTION_TRAFFIC_SHIFT: "POST_PRODUCTION_TRAFFIC_SHIFT",
|
|
2031
2044
|
POST_SCALE_UP: "POST_SCALE_UP",
|
|
2032
2045
|
POST_TEST_TRAFFIC_SHIFT: "POST_TEST_TRAFFIC_SHIFT",
|
|
2046
|
+
PRE_PRODUCTION_TRAFFIC_SHIFT: "PRE_PRODUCTION_TRAFFIC_SHIFT",
|
|
2033
2047
|
PRE_SCALE_UP: "PRE_SCALE_UP",
|
|
2034
2048
|
PRODUCTION_TRAFFIC_SHIFT: "PRODUCTION_TRAFFIC_SHIFT",
|
|
2035
2049
|
RECONCILE_SERVICE: "RECONCILE_SERVICE",
|
|
2036
2050
|
TEST_TRAFFIC_SHIFT: "TEST_TRAFFIC_SHIFT",
|
|
2037
2051
|
};
|
|
2052
|
+
const DeploymentLifecycleHookTargetType = {
|
|
2053
|
+
AWS_LAMBDA: "AWS_LAMBDA",
|
|
2054
|
+
PAUSE: "PAUSE",
|
|
2055
|
+
};
|
|
2038
2056
|
const DeploymentStrategy = {
|
|
2039
2057
|
BLUE_GREEN: "BLUE_GREEN",
|
|
2040
2058
|
CANARY: "CANARY",
|
|
2041
2059
|
LINEAR: "LINEAR",
|
|
2042
2060
|
ROLLING: "ROLLING",
|
|
2043
2061
|
};
|
|
2062
|
+
const DeploymentLifecycleHookStatus = {
|
|
2063
|
+
AWAITING_ACTION: "AWAITING_ACTION",
|
|
2064
|
+
FAILED: "FAILED",
|
|
2065
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
2066
|
+
SUCCEEDED: "SUCCEEDED",
|
|
2067
|
+
TIMED_OUT: "TIMED_OUT",
|
|
2068
|
+
};
|
|
2044
2069
|
const ServiceDeploymentLifecycleStage = {
|
|
2045
2070
|
BAKE_TIME: "BAKE_TIME",
|
|
2046
2071
|
CLEAN_UP: "CLEAN_UP",
|
|
@@ -2207,6 +2232,7 @@ exports.Connectivity = Connectivity;
|
|
|
2207
2232
|
exports.ContainerCondition = ContainerCondition;
|
|
2208
2233
|
exports.ContainerInstanceField = ContainerInstanceField;
|
|
2209
2234
|
exports.ContainerInstanceStatus = ContainerInstanceStatus;
|
|
2235
|
+
exports.ContinueServiceDeploymentCommand = ContinueServiceDeploymentCommand;
|
|
2210
2236
|
exports.CpuManufacturer = CpuManufacturer;
|
|
2211
2237
|
exports.CreateCapacityProviderCommand = CreateCapacityProviderCommand;
|
|
2212
2238
|
exports.CreateClusterCommand = CreateClusterCommand;
|
|
@@ -2232,7 +2258,10 @@ exports.DeleteServiceCommand = DeleteServiceCommand;
|
|
|
2232
2258
|
exports.DeleteTaskDefinitionsCommand = DeleteTaskDefinitionsCommand;
|
|
2233
2259
|
exports.DeleteTaskSetCommand = DeleteTaskSetCommand;
|
|
2234
2260
|
exports.DeploymentControllerType = DeploymentControllerType;
|
|
2261
|
+
exports.DeploymentLifecycleHookAction = DeploymentLifecycleHookAction;
|
|
2235
2262
|
exports.DeploymentLifecycleHookStage = DeploymentLifecycleHookStage;
|
|
2263
|
+
exports.DeploymentLifecycleHookStatus = DeploymentLifecycleHookStatus;
|
|
2264
|
+
exports.DeploymentLifecycleHookTargetType = DeploymentLifecycleHookTargetType;
|
|
2236
2265
|
exports.DeploymentRolloutState = DeploymentRolloutState;
|
|
2237
2266
|
exports.DeploymentStrategy = DeploymentStrategy;
|
|
2238
2267
|
exports.DeregisterContainerInstanceCommand = DeregisterContainerInstanceCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BlockedException = exports.TaskSetNotFoundException = exports.
|
|
3
|
+
exports.BlockedException = exports.TaskSetNotFoundException = exports.ConflictException = exports.ResourceNotFoundException = exports.ServiceNotActiveException = exports.PlatformTaskDefinitionIncompatibilityException = exports.DaemonNotFoundException = exports.DaemonNotActiveException = exports.PlatformUnknownException = exports.ServiceDeploymentNotFoundException = exports.NoUpdateAvailableException = exports.MissingVersionException = exports.AttributeLimitExceededException = exports.ServiceNotFoundException = exports.TargetNotFoundException = exports.ResourceInUseException = exports.TargetNotConnectedException = exports.ClusterContainsTasksException = exports.ClusterContainsServicesException = exports.ClusterContainsContainerInstancesException = exports.ClusterContainsCapacityProviderException = exports.NamespaceNotFoundException = exports.UpdateInProgressException = exports.UnsupportedFeatureException = exports.ServerException = exports.LimitExceededException = exports.InvalidParameterException = exports.ClusterNotFoundException = exports.ClientException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const ECSServiceException_1 = require("./ECSServiceException");
|
|
5
5
|
class AccessDeniedException extends ECSServiceException_1.ECSServiceException {
|
|
6
6
|
name = "AccessDeniedException";
|
|
@@ -262,6 +262,19 @@ class NoUpdateAvailableException extends ECSServiceException_1.ECSServiceExcepti
|
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
exports.NoUpdateAvailableException = NoUpdateAvailableException;
|
|
265
|
+
class ServiceDeploymentNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
266
|
+
name = "ServiceDeploymentNotFoundException";
|
|
267
|
+
$fault = "client";
|
|
268
|
+
constructor(opts) {
|
|
269
|
+
super({
|
|
270
|
+
name: "ServiceDeploymentNotFoundException",
|
|
271
|
+
$fault: "client",
|
|
272
|
+
...opts,
|
|
273
|
+
});
|
|
274
|
+
Object.setPrototypeOf(this, ServiceDeploymentNotFoundException.prototype);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
exports.ServiceDeploymentNotFoundException = ServiceDeploymentNotFoundException;
|
|
265
278
|
class PlatformUnknownException extends ECSServiceException_1.ECSServiceException {
|
|
266
279
|
name = "PlatformUnknownException";
|
|
267
280
|
$fault = "client";
|
|
@@ -355,19 +368,6 @@ class ConflictException extends ECSServiceException_1.ECSServiceException {
|
|
|
355
368
|
}
|
|
356
369
|
}
|
|
357
370
|
exports.ConflictException = ConflictException;
|
|
358
|
-
class ServiceDeploymentNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
359
|
-
name = "ServiceDeploymentNotFoundException";
|
|
360
|
-
$fault = "client";
|
|
361
|
-
constructor(opts) {
|
|
362
|
-
super({
|
|
363
|
-
name: "ServiceDeploymentNotFoundException",
|
|
364
|
-
$fault: "client",
|
|
365
|
-
...opts,
|
|
366
|
-
});
|
|
367
|
-
Object.setPrototypeOf(this, ServiceDeploymentNotFoundException.prototype);
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
exports.ServiceDeploymentNotFoundException = ServiceDeploymentNotFoundException;
|
|
371
371
|
class TaskSetNotFoundException extends ECSServiceException_1.ECSServiceException {
|
|
372
372
|
name = "TaskSetNotFoundException";
|
|
373
373
|
$fault = "client";
|
|
@@ -4,8 +4,8 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
-
const
|
|
8
|
-
const
|
|
7
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
8
|
+
const client_2 = require("@smithy/core/client");
|
|
9
9
|
const config_1 = require("@smithy/core/config");
|
|
10
10
|
const retry_1 = require("@smithy/core/retry");
|
|
11
11
|
const serde_1 = require("@smithy/core/serde");
|
|
@@ -13,7 +13,7 @@ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
|
13
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
14
|
const getRuntimeConfig = (config) => {
|
|
15
15
|
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
16
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
17
17
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
18
18
|
return {
|
|
19
19
|
...clientSharedValues,
|
|
@@ -22,9 +22,9 @@ const getRuntimeConfig = (config) => {
|
|
|
22
22
|
defaultsMode,
|
|
23
23
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
24
24
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
25
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
25
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
26
26
|
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
27
|
-
region: config?.region ?? (0,
|
|
27
|
+
region: config?.region ?? (0, client_2.invalidProvider)("Region is missing"),
|
|
28
28
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
29
29
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
30
30
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
@@ -6,7 +6,6 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
|
6
6
|
const client_1 = require("@aws-sdk/core/client");
|
|
7
7
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
-
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
10
9
|
const client_2 = require("@smithy/core/client");
|
|
11
10
|
const config_1 = require("@smithy/core/config");
|
|
12
11
|
const retry_1 = require("@smithy/core/retry");
|
|
@@ -31,7 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
31
30
|
authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
32
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
33
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
34
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
35
|
region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
37
36
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -44,7 +43,7 @@ const getRuntimeConfig = (config) => {
|
|
|
44
43
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
44
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
46
45
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
47
|
-
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(
|
|
46
|
+
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
48
47
|
};
|
|
49
48
|
};
|
|
50
49
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ClusterServiceConnectDefaults$ = exports.ClusterConfiguration$ = exports.Cluster$ = exports.CapacityReservationRequest$ = exports.CapacityProviderStrategyItem$ = exports.CapacityProvider$ = exports.CanaryConfiguration$ = exports.BaselineEbsBandwidthMbpsRequest$ = exports.AwsVpcConfiguration$ = exports.AutoScalingGroupProviderUpdate$ = exports.AutoScalingGroupProvider$ = exports.AutoRepairConfiguration$ = exports.Attribute$ = exports.AttachmentStateChange$ = exports.Attachment$ = exports.AdvancedConfiguration$ = exports.AcceleratorTotalMemoryMiBRequest$ = exports.AcceleratorCountRequest$ = exports.errorTypeRegistries = exports.UpdateInProgressException$ = exports.UnsupportedFeatureException$ = exports.TaskSetNotFoundException$ = exports.TargetNotFoundException$ = exports.TargetNotConnectedException$ = exports.ServiceNotFoundException$ = exports.ServiceNotActiveException$ = exports.ServiceDeploymentNotFoundException$ = exports.ServerException$ = exports.ResourceNotFoundException$ = exports.ResourceInUseException$ = exports.PlatformUnknownException$ = exports.PlatformTaskDefinitionIncompatibilityException$ = exports.NoUpdateAvailableException$ = exports.NamespaceNotFoundException$ = exports.MissingVersionException$ = exports.LimitExceededException$ = exports.InvalidParameterException$ = exports.DaemonNotFoundException$ = exports.DaemonNotActiveException$ = exports.ConflictException$ = exports.ClusterNotFoundException$ = exports.ClusterContainsTasksException$ = exports.ClusterContainsServicesException$ = exports.ClusterContainsContainerInstancesException$ = exports.ClusterContainsCapacityProviderException$ = exports.ClientException$ = exports.BlockedException$ = exports.AttributeLimitExceededException$ = exports.AccessDeniedException$ = exports.ECSServiceException$ = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
4
|
+
exports.DeleteAttributesRequest$ = exports.DeleteAccountSettingResponse$ = exports.DeleteAccountSettingRequest$ = exports.DaemonVolume$ = exports.DaemonTaskDefinitionSummary$ = exports.DaemonTaskDefinition$ = exports.DaemonSummary$ = exports.DaemonRollback$ = exports.DaemonRevisionDetail$ = exports.DaemonRevision$ = exports.DaemonLinuxParameters$ = exports.DaemonDetail$ = exports.DaemonDeploymentSummary$ = exports.DaemonDeploymentRevisionDetail$ = exports.DaemonDeploymentConfiguration$ = exports.DaemonDeploymentCapacityProvider$ = exports.DaemonDeploymentAlarms$ = exports.DaemonDeployment$ = exports.DaemonContainerImage$ = exports.DaemonContainerDefinition$ = exports.DaemonCircuitBreaker$ = exports.DaemonCapacityProvider$ = exports.DaemonAlarmConfiguration$ = exports.CreateTaskSetResponse$ = exports.CreateTaskSetRequest$ = exports.CreateServiceResponse$ = exports.CreateServiceRequest$ = exports.CreateManagedInstancesProviderConfiguration$ = exports.CreateExpressGatewayServiceResponse$ = exports.CreateExpressGatewayServiceRequest$ = exports.CreatedAt$ = exports.CreateDaemonResponse$ = exports.CreateDaemonRequest$ = exports.CreateClusterResponse$ = exports.CreateClusterRequest$ = exports.CreateCapacityProviderResponse$ = exports.CreateCapacityProviderRequest$ = exports.ContinueServiceDeploymentResponse$ = exports.ContinueServiceDeploymentRequest$ = exports.ContainerStateChange$ = exports.ContainerRestartPolicy$ = exports.ContainerOverride$ = exports.ContainerInstanceHealthStatus$ = exports.ContainerInstance$ = exports.ContainerImage$ = exports.ContainerDependency$ = exports.ContainerDefinition$ = exports.Container$ = exports.ClusterSetting$ = exports.ClusterServiceConnectDefaultsRequest$ = void 0;
|
|
5
|
+
exports.DescribeServiceRevisionsResponse$ = exports.DescribeServiceRevisionsRequest$ = exports.DescribeServiceDeploymentsResponse$ = exports.DescribeServiceDeploymentsRequest$ = exports.DescribeExpressGatewayServiceResponse$ = exports.DescribeExpressGatewayServiceRequest$ = exports.DescribeDaemonTaskDefinitionResponse$ = exports.DescribeDaemonTaskDefinitionRequest$ = exports.DescribeDaemonRevisionsResponse$ = exports.DescribeDaemonRevisionsRequest$ = exports.DescribeDaemonResponse$ = exports.DescribeDaemonRequest$ = exports.DescribeDaemonDeploymentsResponse$ = exports.DescribeDaemonDeploymentsRequest$ = exports.DescribeContainerInstancesResponse$ = exports.DescribeContainerInstancesRequest$ = exports.DescribeClustersResponse$ = exports.DescribeClustersRequest$ = exports.DescribeCapacityProvidersResponse$ = exports.DescribeCapacityProvidersRequest$ = exports.DeregisterTaskDefinitionResponse$ = exports.DeregisterTaskDefinitionRequest$ = exports.DeregisterContainerInstanceResponse$ = exports.DeregisterContainerInstanceRequest$ = exports.DeploymentLifecycleHookTimeoutConfiguration$ = exports.DeploymentLifecycleHookDetail$ = exports.DeploymentLifecycleHook$ = exports.DeploymentEphemeralStorage$ = exports.DeploymentController$ = exports.DeploymentConfiguration$ = exports.DeploymentCircuitBreaker$ = exports.DeploymentAlarms$ = exports.Deployment$ = exports.DeleteTaskSetResponse$ = exports.DeleteTaskSetRequest$ = exports.DeleteTaskDefinitionsResponse$ = exports.DeleteTaskDefinitionsRequest$ = exports.DeleteServiceResponse$ = exports.DeleteServiceRequest$ = exports.DeleteExpressGatewayServiceResponse$ = exports.DeleteExpressGatewayServiceRequest$ = exports.DeleteDaemonTaskDefinitionResponse$ = exports.DeleteDaemonTaskDefinitionRequest$ = exports.DeleteDaemonResponse$ = exports.DeleteDaemonRequest$ = exports.DeleteClusterResponse$ = exports.DeleteClusterRequest$ = exports.DeleteCapacityProviderResponse$ = exports.DeleteCapacityProviderRequest$ = exports.DeleteAttributesResponse$ = void 0;
|
|
6
|
+
exports.LinearConfiguration$ = exports.KeyValuePair$ = exports.KernelCapabilities$ = exports.InstanceRequirementsRequest$ = exports.InstanceLaunchTemplateUpdate$ = exports.InstanceLaunchTemplate$ = exports.InstanceHealthCheckResult$ = exports.IngressPathSummary$ = exports.InfrastructureOptimization$ = exports.InferenceAcceleratorOverride$ = exports.InferenceAccelerator$ = exports.HostVolumeProperties$ = exports.HostEntry$ = exports.HealthCheck$ = exports.GetTaskProtectionResponse$ = exports.GetTaskProtectionRequest$ = exports.FSxWindowsFileServerVolumeConfiguration$ = exports.FSxWindowsFileServerAuthorizationConfig$ = exports.FirelensConfiguration$ = exports.Failure$ = exports.ExpressGatewayServiceStatus$ = exports.ExpressGatewayServiceNetworkConfiguration$ = exports.ExpressGatewayServiceConfiguration$ = exports.ExpressGatewayServiceAwsLogsConfiguration$ = exports.ExpressGatewayScalingTarget$ = exports.ExpressGatewayRepositoryCredentials$ = exports.ExpressGatewayContainer$ = exports.ExecuteCommandResponse$ = exports.ExecuteCommandRequest$ = exports.ExecuteCommandLogConfiguration$ = exports.ExecuteCommandConfiguration$ = exports.EphemeralStorage$ = exports.EnvironmentFile$ = exports.EFSVolumeConfiguration$ = exports.EFSAuthorizationConfig$ = exports.ECSManagedResources$ = exports.ECSExpressGatewayService$ = exports.EBSTagSpecification$ = exports.DockerVolumeConfiguration$ = exports.DiscoverPollEndpointResponse$ = exports.DiscoverPollEndpointRequest$ = exports.Device$ = exports.DescribeTasksResponse$ = exports.DescribeTasksRequest$ = exports.DescribeTaskSetsResponse$ = exports.DescribeTaskSetsRequest$ = exports.DescribeTaskDefinitionResponse$ = exports.DescribeTaskDefinitionRequest$ = exports.DescribeServicesResponse$ = exports.DescribeServicesRequest$ = void 0;
|
|
7
|
+
exports.ManagedStorageConfiguration$ = exports.ManagedSecurityGroup$ = exports.ManagedScaling$ = exports.ManagedScalableTarget$ = exports.ManagedMetricAlarm$ = exports.ManagedLogGroup$ = exports.ManagedLoadBalancer$ = exports.ManagedListenerRule$ = exports.ManagedListener$ = exports.ManagedInstancesStorageConfiguration$ = exports.ManagedInstancesProvider$ = exports.ManagedInstancesNetworkConfiguration$ = exports.ManagedInstancesLocalStorageConfiguration$ = exports.ManagedIngressPath$ = exports.ManagedCertificate$ = exports.ManagedAutoScaling$ = exports.ManagedApplicationAutoScalingPolicy$ = exports.ManagedAgentStateChange$ = exports.ManagedAgent$ = exports.LogConfiguration$ = exports.LoadBalancer$ = exports.ListTasksResponse$ = exports.ListTasksRequest$ = exports.ListTaskDefinitionsResponse$ = exports.ListTaskDefinitionsRequest$ = exports.ListTaskDefinitionFamiliesResponse$ = exports.ListTaskDefinitionFamiliesRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListServicesResponse$ = exports.ListServicesRequest$ = exports.ListServicesByNamespaceResponse$ = exports.ListServicesByNamespaceRequest$ = exports.ListServiceDeploymentsResponse$ = exports.ListServiceDeploymentsRequest$ = exports.ListDaemonTaskDefinitionsResponse$ = exports.ListDaemonTaskDefinitionsRequest$ = exports.ListDaemonsResponse$ = exports.ListDaemonsRequest$ = exports.ListDaemonDeploymentsResponse$ = exports.ListDaemonDeploymentsRequest$ = exports.ListContainerInstancesResponse$ = exports.ListContainerInstancesRequest$ = exports.ListClustersResponse$ = exports.ListClustersRequest$ = exports.ListAttributesResponse$ = exports.ListAttributesRequest$ = exports.ListAccountSettingsResponse$ = exports.ListAccountSettingsRequest$ = exports.LinuxParameters$ = void 0;
|
|
8
|
+
exports.ServiceConnectTlsCertificateAuthority$ = exports.ServiceConnectTestTrafficRules$ = exports.ServiceConnectTestTrafficHeaderRules$ = exports.ServiceConnectTestTrafficHeaderMatchRules$ = exports.ServiceConnectServiceResource$ = exports.ServiceConnectService$ = exports.ServiceConnectConfiguration$ = exports.ServiceConnectClientAlias$ = exports.ServiceConnectAccessLogConfiguration$ = exports.Service$ = exports.Secret$ = exports.Scale$ = exports.S3FilesVolumeConfiguration$ = exports.RuntimePlatform$ = exports.RunTaskResponse$ = exports.RunTaskRequest$ = exports.Rollback$ = exports.ResourceRequirement$ = exports.Resource$ = exports.ResolvedConfiguration$ = exports.RepositoryCredentials$ = exports.RegisterTaskDefinitionResponse$ = exports.RegisterTaskDefinitionRequest$ = exports.RegisterDaemonTaskDefinitionResponse$ = exports.RegisterDaemonTaskDefinitionRequest$ = exports.RegisterContainerInstanceResponse$ = exports.RegisterContainerInstanceRequest$ = exports.PutClusterCapacityProvidersResponse$ = exports.PutClusterCapacityProvidersRequest$ = exports.PutAttributesResponse$ = exports.PutAttributesRequest$ = exports.PutAccountSettingResponse$ = exports.PutAccountSettingRequest$ = exports.PutAccountSettingDefaultResponse$ = exports.PutAccountSettingDefaultRequest$ = exports.ProxyConfiguration$ = exports.ProtectedTask$ = exports.PortMapping$ = exports.PlatformDevice$ = exports.PlacementStrategy$ = exports.PlacementConstraint$ = exports.NetworkInterfaceCountRequest$ = exports.NetworkInterface$ = exports.NetworkConfiguration$ = exports.NetworkBinding$ = exports.NetworkBandwidthGbpsRequest$ = exports.MountPoint$ = exports.MemoryMiBRequest$ = exports.MemoryGiBPerVCpuRequest$ = exports.ManagedTargetGroup$ = void 0;
|
|
9
|
+
exports.UpdateClusterResponse$ = exports.UpdateClusterRequest$ = exports.UpdateCapacityProviderResponse$ = exports.UpdateCapacityProviderRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.Ulimit$ = exports.TotalLocalStorageGBRequest$ = exports.Tmpfs$ = exports.TimeoutConfiguration$ = exports.TaskVolumeConfiguration$ = exports.TaskSet$ = exports.TaskOverride$ = exports.TaskManagedEBSVolumeTerminationPolicy$ = exports.TaskManagedEBSVolumeConfiguration$ = exports.TaskEphemeralStorage$ = exports.TaskDefinitionPlacementConstraint$ = exports.TaskDefinition$ = exports.Task$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Tag$ = exports.SystemControl$ = exports.SubmitTaskStateChangeResponse$ = exports.SubmitTaskStateChangeRequest$ = exports.SubmitContainerStateChangeResponse$ = exports.SubmitContainerStateChangeRequest$ = exports.SubmitAttachmentStateChangesResponse$ = exports.SubmitAttachmentStateChangesRequest$ = exports.StopTaskResponse$ = exports.StopTaskRequest$ = exports.StopServiceDeploymentResponse$ = exports.StopServiceDeploymentRequest$ = exports.StartTaskResponse$ = exports.StartTaskRequest$ = exports.Setting$ = exports.Session$ = exports.ServiceVolumeConfiguration$ = exports.ServiceRevisionSummary$ = exports.ServiceRevisionLoadBalancer$ = exports.ServiceRevision$ = exports.ServiceRegistry$ = exports.ServiceManagedEBSVolumeConfiguration$ = exports.ServiceEvent$ = exports.ServiceDeploymentCircuitBreaker$ = exports.ServiceDeploymentBrief$ = exports.ServiceDeploymentAlarms$ = exports.ServiceDeployment$ = exports.ServiceCurrentRevisionSummary$ = exports.ServiceConnectTlsConfiguration$ = void 0;
|
|
10
|
+
exports.DescribeDaemonRevisions$ = exports.DescribeDaemonDeployments$ = exports.DescribeDaemon$ = exports.DescribeContainerInstances$ = exports.DescribeClusters$ = exports.DescribeCapacityProviders$ = exports.DeregisterTaskDefinition$ = exports.DeregisterContainerInstance$ = exports.DeleteTaskSet$ = exports.DeleteTaskDefinitions$ = exports.DeleteService$ = exports.DeleteExpressGatewayService$ = exports.DeleteDaemonTaskDefinition$ = exports.DeleteDaemon$ = exports.DeleteCluster$ = exports.DeleteCapacityProvider$ = exports.DeleteAttributes$ = exports.DeleteAccountSetting$ = exports.CreateTaskSet$ = exports.CreateService$ = exports.CreateExpressGatewayService$ = exports.CreateDaemon$ = exports.CreateCluster$ = exports.CreateCapacityProvider$ = exports.ContinueServiceDeployment$ = exports.VpcLatticeConfiguration$ = exports.VolumeFrom$ = exports.Volume$ = exports.VersionInfo$ = exports.VCpuCountRangeRequest$ = exports.UpdateTaskSetResponse$ = exports.UpdateTaskSetRequest$ = exports.UpdateTaskProtectionResponse$ = exports.UpdateTaskProtectionRequest$ = exports.UpdateServiceResponse$ = exports.UpdateServiceRequest$ = exports.UpdateServicePrimaryTaskSetResponse$ = exports.UpdateServicePrimaryTaskSetRequest$ = exports.UpdateManagedInstancesProviderConfiguration$ = exports.UpdateExpressGatewayServiceResponse$ = exports.UpdateExpressGatewayServiceRequest$ = exports.UpdatedExpressGatewayService$ = exports.UpdateDaemonResponse$ = exports.UpdateDaemonRequest$ = exports.UpdateContainerInstancesStateResponse$ = exports.UpdateContainerInstancesStateRequest$ = exports.UpdateContainerAgentResponse$ = exports.UpdateContainerAgentRequest$ = exports.UpdateClusterSettingsResponse$ = exports.UpdateClusterSettingsRequest$ = void 0;
|
|
11
|
+
exports.UpdateServicePrimaryTaskSet$ = exports.UpdateService$ = exports.UpdateExpressGatewayService$ = exports.UpdateDaemon$ = exports.UpdateContainerInstancesState$ = exports.UpdateContainerAgent$ = exports.UpdateClusterSettings$ = exports.UpdateCluster$ = exports.UpdateCapacityProvider$ = exports.UntagResource$ = exports.TagResource$ = exports.SubmitTaskStateChange$ = exports.SubmitContainerStateChange$ = exports.SubmitAttachmentStateChanges$ = exports.StopTask$ = exports.StopServiceDeployment$ = exports.StartTask$ = exports.RunTask$ = exports.RegisterTaskDefinition$ = exports.RegisterDaemonTaskDefinition$ = exports.RegisterContainerInstance$ = exports.PutClusterCapacityProviders$ = exports.PutAttributes$ = exports.PutAccountSettingDefault$ = exports.PutAccountSetting$ = exports.ListTasks$ = exports.ListTaskDefinitions$ = exports.ListTaskDefinitionFamilies$ = exports.ListTagsForResource$ = exports.ListServicesByNamespace$ = exports.ListServices$ = exports.ListServiceDeployments$ = exports.ListDaemonTaskDefinitions$ = exports.ListDaemons$ = exports.ListDaemonDeployments$ = exports.ListContainerInstances$ = exports.ListClusters$ = exports.ListAttributes$ = exports.ListAccountSettings$ = exports.GetTaskProtection$ = exports.ExecuteCommand$ = exports.DiscoverPollEndpoint$ = exports.DescribeTaskSets$ = exports.DescribeTasks$ = exports.DescribeTaskDefinition$ = exports.DescribeServices$ = exports.DescribeServiceRevisions$ = exports.DescribeServiceDeployments$ = exports.DescribeExpressGatewayService$ = exports.DescribeDaemonTaskDefinition$ = void 0;
|
|
12
|
+
exports.UpdateTaskSet$ = exports.UpdateTaskProtection$ = void 0;
|
|
12
13
|
const _A = "Attachment";
|
|
13
14
|
const _AC = "AdvancedConfiguration";
|
|
14
15
|
const _ACR = "AcceleratorCountRequest";
|
|
@@ -83,6 +84,9 @@ const _CSC = "ContainerStateChange";
|
|
|
83
84
|
const _CSCD = "ClusterServiceConnectDefaults";
|
|
84
85
|
const _CSCDR = "ClusterServiceConnectDefaultsRequest";
|
|
85
86
|
const _CSCo = "ContainerStateChanges";
|
|
87
|
+
const _CSD = "ContinueServiceDeployment";
|
|
88
|
+
const _CSDR = "ContinueServiceDeploymentRequest";
|
|
89
|
+
const _CSDRo = "ContinueServiceDeploymentResponse";
|
|
86
90
|
const _CSR = "CreateServiceRequest";
|
|
87
91
|
const _CSRr = "CreateServiceResponse";
|
|
88
92
|
const _CSl = "ClusterSettings";
|
|
@@ -168,7 +172,10 @@ const _DEGSe = "DescribeExpressGatewayService";
|
|
|
168
172
|
const _DES = "DeploymentEphemeralStorage";
|
|
169
173
|
const _DL = "DevicesList";
|
|
170
174
|
const _DLH = "DeploymentLifecycleHook";
|
|
175
|
+
const _DLHD = "DeploymentLifecycleHookDetail";
|
|
176
|
+
const _DLHDL = "DeploymentLifecycleHookDetailList";
|
|
171
177
|
const _DLHL = "DeploymentLifecycleHookList";
|
|
178
|
+
const _DLHTC = "DeploymentLifecycleHookTimeoutConfiguration";
|
|
172
179
|
const _DLP = "DaemonLinuxParameters";
|
|
173
180
|
const _DNAE = "DaemonNotActiveException";
|
|
174
181
|
const _DNFE = "DaemonNotFoundException";
|
|
@@ -601,7 +608,8 @@ const _aV = "attributeValue";
|
|
|
601
608
|
const _aVg = "agentVersion";
|
|
602
609
|
const _aZ = "availabilityZone";
|
|
603
610
|
const _aZR = "availabilityZoneRebalancing";
|
|
604
|
-
const _ac = "
|
|
611
|
+
const _ac = "action";
|
|
612
|
+
const _ack = "acknowledgment";
|
|
605
613
|
const _ad = "add";
|
|
606
614
|
const _af = "after";
|
|
607
615
|
const _al = "alarms";
|
|
@@ -722,6 +730,7 @@ const _do = "domain";
|
|
|
722
730
|
const _dr = "driver";
|
|
723
731
|
const _dro = "drop";
|
|
724
732
|
const _e = "error";
|
|
733
|
+
const _eA = "expiresAt";
|
|
725
734
|
const _eC = "exitCode";
|
|
726
735
|
const _eCC = "executeCommandConfiguration";
|
|
727
736
|
const _eD = "expirationDate";
|
|
@@ -781,6 +790,7 @@ const _hCP = "healthCheckPath";
|
|
|
781
790
|
const _hCPe = "healthCheckPort";
|
|
782
791
|
const _hD = "hookDetails";
|
|
783
792
|
const _hE = "httpError";
|
|
793
|
+
const _hI = "hookId";
|
|
784
794
|
const _hL = "hardLimit";
|
|
785
795
|
const _hP = "hostPath";
|
|
786
796
|
const _hPR = "hostPortRange";
|
|
@@ -835,6 +845,7 @@ const _lG = "logGroups";
|
|
|
835
845
|
const _lGN = "logGroupName";
|
|
836
846
|
const _lGo = "logGroup";
|
|
837
847
|
const _lH = "lifecycleHooks";
|
|
848
|
+
const _lHD = "lifecycleHookDetails";
|
|
838
849
|
const _lP = "linuxParameters";
|
|
839
850
|
const _lS = "lastStatus";
|
|
840
851
|
const _lSA = "lastStartedAt";
|
|
@@ -989,8 +1000,8 @@ const _sCt = "statusCode";
|
|
|
989
1000
|
const _sCto = "storageConfiguration";
|
|
990
1001
|
const _sCtop = "stopCode";
|
|
991
1002
|
const _sD = "serviceDeployments";
|
|
992
|
-
const _sDA = "
|
|
993
|
-
const _sDAe = "
|
|
1003
|
+
const _sDA = "serviceDeploymentArn";
|
|
1004
|
+
const _sDAe = "serviceDeploymentArns";
|
|
994
1005
|
const _sDR = "sourceDaemonRevisions";
|
|
995
1006
|
const _sEE = "s3EncryptionEnabled";
|
|
996
1007
|
const _sG = "securityGroups";
|
|
@@ -1050,9 +1061,12 @@ const _sw = "swappiness";
|
|
|
1050
1061
|
const _t = "type";
|
|
1051
1062
|
const _tA = "taskArn";
|
|
1052
1063
|
const _tAN = "triggeredAlarmNames";
|
|
1053
|
-
const _tAa = "
|
|
1054
|
-
const
|
|
1055
|
-
const
|
|
1064
|
+
const _tAa = "targetArn";
|
|
1065
|
+
const _tAas = "taskArns";
|
|
1066
|
+
const _tAi = "timeoutAction";
|
|
1067
|
+
const _tC = "timeoutConfiguration";
|
|
1068
|
+
const _tCa = "targetCapacity";
|
|
1069
|
+
const _tCar = "targetConfiguration";
|
|
1056
1070
|
const _tD = "taskDefinition";
|
|
1057
1071
|
const _tDA = "taskDefinitionArns";
|
|
1058
1072
|
const _tDAa = "taskDefinitionArn";
|
|
@@ -1066,6 +1080,7 @@ const _tEr = "transitEncryption";
|
|
|
1066
1080
|
const _tG = "targetGroups";
|
|
1067
1081
|
const _tGA = "targetGroupArn";
|
|
1068
1082
|
const _tI = "targetId";
|
|
1083
|
+
const _tIM = "timeoutInMinutes";
|
|
1069
1084
|
const _tK = "tagKeys";
|
|
1070
1085
|
const _tLR = "testListenerRule";
|
|
1071
1086
|
const _tLSGB = "totalLocalStorageGB";
|
|
@@ -1452,6 +1467,16 @@ exports.ContainerStateChange$ = [3, n0, _CSC,
|
|
|
1452
1467
|
[_cNo, _iD, _rIu, _eC, _nB, _r, _st],
|
|
1453
1468
|
[0, 0, 0, 1, () => NetworkBindings, 0, 0]
|
|
1454
1469
|
];
|
|
1470
|
+
exports.ContinueServiceDeploymentRequest$ = [3, n0, _CSDR,
|
|
1471
|
+
0,
|
|
1472
|
+
[_sDA, _hI, _ac],
|
|
1473
|
+
[0, 0, 0], 2
|
|
1474
|
+
];
|
|
1475
|
+
exports.ContinueServiceDeploymentResponse$ = [3, n0, _CSDRo,
|
|
1476
|
+
0,
|
|
1477
|
+
[_sDA],
|
|
1478
|
+
[0]
|
|
1479
|
+
];
|
|
1455
1480
|
exports.CreateCapacityProviderRequest$ = [3, n0, _CCPR,
|
|
1456
1481
|
0,
|
|
1457
1482
|
[_n, _cl, _aSGP, _mIP, _ta],
|
|
@@ -1754,8 +1779,18 @@ exports.DeploymentEphemeralStorage$ = [3, n0, _DES,
|
|
|
1754
1779
|
];
|
|
1755
1780
|
exports.DeploymentLifecycleHook$ = [3, n0, _DLH,
|
|
1756
1781
|
0,
|
|
1757
|
-
[_hTA, _rA, _lSi, _hD],
|
|
1758
|
-
[0, 0, 64 | 0, 15]
|
|
1782
|
+
[_tT, _hTA, _rA, _lSi, _hD, _tC],
|
|
1783
|
+
[0, 0, 0, 64 | 0, 15, () => exports.DeploymentLifecycleHookTimeoutConfiguration$]
|
|
1784
|
+
];
|
|
1785
|
+
exports.DeploymentLifecycleHookDetail$ = [3, n0, _DLHD,
|
|
1786
|
+
0,
|
|
1787
|
+
[_hI, _tT, _tAa, _st, _eA, _tAi],
|
|
1788
|
+
[0, 0, 0, 0, 4, 0]
|
|
1789
|
+
];
|
|
1790
|
+
exports.DeploymentLifecycleHookTimeoutConfiguration$ = [3, n0, _DLHTC,
|
|
1791
|
+
0,
|
|
1792
|
+
[_tIM, _ac],
|
|
1793
|
+
[1, 0]
|
|
1759
1794
|
];
|
|
1760
1795
|
exports.DeregisterContainerInstanceRequest$ = [3, n0, _DCIR,
|
|
1761
1796
|
0,
|
|
@@ -1859,7 +1894,7 @@ exports.DescribeExpressGatewayServiceResponse$ = [3, n0, _DEGSResc,
|
|
|
1859
1894
|
];
|
|
1860
1895
|
exports.DescribeServiceDeploymentsRequest$ = [3, n0, _DSDR,
|
|
1861
1896
|
0,
|
|
1862
|
-
[
|
|
1897
|
+
[_sDAe],
|
|
1863
1898
|
[64 | 0], 1
|
|
1864
1899
|
];
|
|
1865
1900
|
exports.DescribeServiceDeploymentsResponse$ = [3, n0, _DSDRe,
|
|
@@ -2269,7 +2304,7 @@ exports.ListTasksRequest$ = [3, n0, _LTR,
|
|
|
2269
2304
|
];
|
|
2270
2305
|
exports.ListTasksResponse$ = [3, n0, _LTRi,
|
|
2271
2306
|
0,
|
|
2272
|
-
[
|
|
2307
|
+
[_tAas, _nT],
|
|
2273
2308
|
[64 | 0, 0]
|
|
2274
2309
|
];
|
|
2275
2310
|
exports.LoadBalancer$ = [3, n0, _LB,
|
|
@@ -2364,7 +2399,7 @@ exports.ManagedScalableTarget$ = [3, n0, _MST,
|
|
|
2364
2399
|
];
|
|
2365
2400
|
exports.ManagedScaling$ = [3, n0, _MS,
|
|
2366
2401
|
0,
|
|
2367
|
-
[_st,
|
|
2402
|
+
[_st, _tCa, _mSSS, _mSSSa, _iWP],
|
|
2368
2403
|
[0, 1, 1, 1, 1]
|
|
2369
2404
|
];
|
|
2370
2405
|
exports.ManagedSecurityGroup$ = [3, n0, _MSG,
|
|
@@ -2639,8 +2674,8 @@ exports.ServiceCurrentRevisionSummary$ = [3, n0, _SCRS,
|
|
|
2639
2674
|
];
|
|
2640
2675
|
exports.ServiceDeployment$ = [3, n0, _SD,
|
|
2641
2676
|
0,
|
|
2642
|
-
[
|
|
2643
|
-
[0, 0, 0, 4, 4, 4, 4, 4, () => ServiceRevisionsSummaryList, () => exports.ServiceRevisionSummary$, 0, 0, 0, () => exports.DeploymentConfiguration$, () => exports.Rollback$, () => exports.ServiceDeploymentCircuitBreaker$, () => exports.ServiceDeploymentAlarms$]
|
|
2677
|
+
[_sDA, _sAe, _cA, _cAr, _sA, _fA, _sAt, _uA, _sSR, _tSR, _st, _sR, _lSif, _lHD, _dC, _rol, _dCB, _al],
|
|
2678
|
+
[0, 0, 0, 4, 4, 4, 4, 4, () => ServiceRevisionsSummaryList, () => exports.ServiceRevisionSummary$, 0, 0, 0, () => DeploymentLifecycleHookDetailList, () => exports.DeploymentConfiguration$, () => exports.Rollback$, () => exports.ServiceDeploymentCircuitBreaker$, () => exports.ServiceDeploymentAlarms$]
|
|
2644
2679
|
];
|
|
2645
2680
|
exports.ServiceDeploymentAlarms$ = [3, n0, _SDA,
|
|
2646
2681
|
0,
|
|
@@ -2649,7 +2684,7 @@ exports.ServiceDeploymentAlarms$ = [3, n0, _SDA,
|
|
|
2649
2684
|
];
|
|
2650
2685
|
exports.ServiceDeploymentBrief$ = [3, n0, _SDB,
|
|
2651
2686
|
0,
|
|
2652
|
-
[
|
|
2687
|
+
[_sDA, _sAe, _cA, _sA, _cAr, _fA, _tSRA, _st, _sR],
|
|
2653
2688
|
[0, 0, 0, 4, 4, 4, 0, 0, 0]
|
|
2654
2689
|
];
|
|
2655
2690
|
exports.ServiceDeploymentCircuitBreaker$ = [3, n0, _SDCB,
|
|
@@ -2714,12 +2749,12 @@ exports.StartTaskResponse$ = [3, n0, _STRt,
|
|
|
2714
2749
|
];
|
|
2715
2750
|
exports.StopServiceDeploymentRequest$ = [3, n0, _SSDR,
|
|
2716
2751
|
0,
|
|
2717
|
-
[
|
|
2752
|
+
[_sDA, _sTto],
|
|
2718
2753
|
[0, 0], 1
|
|
2719
2754
|
];
|
|
2720
2755
|
exports.StopServiceDeploymentResponse$ = [3, n0, _SSDRt,
|
|
2721
2756
|
0,
|
|
2722
|
-
[
|
|
2757
|
+
[_sDA],
|
|
2723
2758
|
[0]
|
|
2724
2759
|
];
|
|
2725
2760
|
exports.StopTaskRequest$ = [3, n0, _STRto,
|
|
@@ -2739,7 +2774,7 @@ exports.SubmitAttachmentStateChangesRequest$ = [3, n0, _SASCR,
|
|
|
2739
2774
|
];
|
|
2740
2775
|
exports.SubmitAttachmentStateChangesResponse$ = [3, n0, _SASCRu,
|
|
2741
2776
|
0,
|
|
2742
|
-
[
|
|
2777
|
+
[_ack],
|
|
2743
2778
|
[0]
|
|
2744
2779
|
];
|
|
2745
2780
|
exports.SubmitContainerStateChangeRequest$ = [3, n0, _SCSCR,
|
|
@@ -2749,7 +2784,7 @@ exports.SubmitContainerStateChangeRequest$ = [3, n0, _SCSCR,
|
|
|
2749
2784
|
];
|
|
2750
2785
|
exports.SubmitContainerStateChangeResponse$ = [3, n0, _SCSCRu,
|
|
2751
2786
|
0,
|
|
2752
|
-
[
|
|
2787
|
+
[_ack],
|
|
2753
2788
|
[0]
|
|
2754
2789
|
];
|
|
2755
2790
|
exports.SubmitTaskStateChangeRequest$ = [3, n0, _STSCR,
|
|
@@ -2759,7 +2794,7 @@ exports.SubmitTaskStateChangeRequest$ = [3, n0, _STSCR,
|
|
|
2759
2794
|
];
|
|
2760
2795
|
exports.SubmitTaskStateChangeResponse$ = [3, n0, _STSCRu,
|
|
2761
2796
|
0,
|
|
2762
|
-
[
|
|
2797
|
+
[_ack],
|
|
2763
2798
|
[0]
|
|
2764
2799
|
];
|
|
2765
2800
|
exports.SystemControl$ = [3, n0, _SC,
|
|
@@ -2919,7 +2954,7 @@ exports.UpdateDaemonResponse$ = [3, n0, _UDRp,
|
|
|
2919
2954
|
];
|
|
2920
2955
|
exports.UpdatedExpressGatewayService$ = [3, n0, _UEGS,
|
|
2921
2956
|
0,
|
|
2922
|
-
[_sAe, _cl, _sN, _st,
|
|
2957
|
+
[_sAe, _cl, _sN, _st, _tCar, _cAr, _uA],
|
|
2923
2958
|
[0, 0, 0, () => exports.ExpressGatewayServiceStatus$, [() => exports.ExpressGatewayServiceConfiguration$, 0], 4, 4]
|
|
2924
2959
|
];
|
|
2925
2960
|
exports.UpdateExpressGatewayServiceRequest$ = [3, n0, _UEGSR,
|
|
@@ -3112,6 +3147,9 @@ var DaemonTaskDefinitionSummaries = [1, n0, _DTDSa,
|
|
|
3112
3147
|
var DaemonVolumeList = [1, n0, _DVL,
|
|
3113
3148
|
0, () => exports.DaemonVolume$
|
|
3114
3149
|
];
|
|
3150
|
+
var DeploymentLifecycleHookDetailList = [1, n0, _DLHDL,
|
|
3151
|
+
0, () => exports.DeploymentLifecycleHookDetail$
|
|
3152
|
+
];
|
|
3115
3153
|
var DeploymentLifecycleHookList = [1, n0, _DLHL,
|
|
3116
3154
|
0, () => exports.DeploymentLifecycleHook$
|
|
3117
3155
|
];
|
|
@@ -3330,6 +3368,9 @@ var DockerLabelsMap = 128 | 0;
|
|
|
3330
3368
|
var FirelensConfigurationOptionsMap = 128 | 0;
|
|
3331
3369
|
var LogConfigurationOptionsMap = 128 | 0;
|
|
3332
3370
|
var StringMap = 128 | 0;
|
|
3371
|
+
exports.ContinueServiceDeployment$ = [9, n0, _CSD,
|
|
3372
|
+
0, () => exports.ContinueServiceDeploymentRequest$, () => exports.ContinueServiceDeploymentResponse$
|
|
3373
|
+
];
|
|
3333
3374
|
exports.CreateCapacityProvider$ = [9, n0, _CCP,
|
|
3334
3375
|
2, () => exports.CreateCapacityProviderRequest$, () => exports.CreateCapacityProviderResponse$
|
|
3335
3376
|
];
|
package/dist-es/ECS.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
|
+
import { ContinueServiceDeploymentCommand, } from "./commands/ContinueServiceDeploymentCommand";
|
|
2
3
|
import { CreateCapacityProviderCommand, } from "./commands/CreateCapacityProviderCommand";
|
|
3
4
|
import { CreateClusterCommand, } from "./commands/CreateClusterCommand";
|
|
4
5
|
import { CreateDaemonCommand, } from "./commands/CreateDaemonCommand";
|
|
@@ -95,6 +96,7 @@ import { waitUntilServicesStable } from "./waiters/waitForServicesStable";
|
|
|
95
96
|
import { waitUntilTasksRunning } from "./waiters/waitForTasksRunning";
|
|
96
97
|
import { waitUntilTasksStopped } from "./waiters/waitForTasksStopped";
|
|
97
98
|
const commands = {
|
|
99
|
+
ContinueServiceDeploymentCommand,
|
|
98
100
|
CreateCapacityProviderCommand,
|
|
99
101
|
CreateClusterCommand,
|
|
100
102
|
CreateDaemonCommand,
|
package/dist-es/ECSClient.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/
|
|
2
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
|
-
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
|
-
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
1
|
+
import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
|
|
5
2
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
6
3
|
import { Client as __Client, } from "@smithy/core/client";
|
|
7
4
|
import { resolveRegionConfig } from "@smithy/core/config";
|