@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
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ContinueServiceDeployment$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ContinueServiceDeploymentCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonEC2ContainerServiceV20141113", "ContinueServiceDeployment", {})
|
|
13
|
+
.n("ECSClient", "ContinueServiceDeploymentCommand")
|
|
14
|
+
.sc(ContinueServiceDeployment$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { awsEndpointFunctions } from "@aws-sdk/
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/core/client";
|
|
2
2
|
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
package/dist-es/models/enums.js
CHANGED
|
@@ -185,6 +185,10 @@ export const LaunchType = {
|
|
|
185
185
|
export const PlatformDeviceType = {
|
|
186
186
|
GPU: "GPU",
|
|
187
187
|
};
|
|
188
|
+
export const DeploymentLifecycleHookAction = {
|
|
189
|
+
CONTINUE: "CONTINUE",
|
|
190
|
+
ROLLBACK: "ROLLBACK",
|
|
191
|
+
};
|
|
188
192
|
export const DaemonDeploymentRollbackMonitorsStatus = {
|
|
189
193
|
DISABLED: "DISABLED",
|
|
190
194
|
MONITORING: "MONITORING",
|
|
@@ -379,17 +383,29 @@ export const DeploymentLifecycleHookStage = {
|
|
|
379
383
|
POST_PRODUCTION_TRAFFIC_SHIFT: "POST_PRODUCTION_TRAFFIC_SHIFT",
|
|
380
384
|
POST_SCALE_UP: "POST_SCALE_UP",
|
|
381
385
|
POST_TEST_TRAFFIC_SHIFT: "POST_TEST_TRAFFIC_SHIFT",
|
|
386
|
+
PRE_PRODUCTION_TRAFFIC_SHIFT: "PRE_PRODUCTION_TRAFFIC_SHIFT",
|
|
382
387
|
PRE_SCALE_UP: "PRE_SCALE_UP",
|
|
383
388
|
PRODUCTION_TRAFFIC_SHIFT: "PRODUCTION_TRAFFIC_SHIFT",
|
|
384
389
|
RECONCILE_SERVICE: "RECONCILE_SERVICE",
|
|
385
390
|
TEST_TRAFFIC_SHIFT: "TEST_TRAFFIC_SHIFT",
|
|
386
391
|
};
|
|
392
|
+
export const DeploymentLifecycleHookTargetType = {
|
|
393
|
+
AWS_LAMBDA: "AWS_LAMBDA",
|
|
394
|
+
PAUSE: "PAUSE",
|
|
395
|
+
};
|
|
387
396
|
export const DeploymentStrategy = {
|
|
388
397
|
BLUE_GREEN: "BLUE_GREEN",
|
|
389
398
|
CANARY: "CANARY",
|
|
390
399
|
LINEAR: "LINEAR",
|
|
391
400
|
ROLLING: "ROLLING",
|
|
392
401
|
};
|
|
402
|
+
export const DeploymentLifecycleHookStatus = {
|
|
403
|
+
AWAITING_ACTION: "AWAITING_ACTION",
|
|
404
|
+
FAILED: "FAILED",
|
|
405
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
406
|
+
SUCCEEDED: "SUCCEEDED",
|
|
407
|
+
TIMED_OUT: "TIMED_OUT",
|
|
408
|
+
};
|
|
393
409
|
export const ServiceDeploymentLifecycleStage = {
|
|
394
410
|
BAKE_TIME: "BAKE_TIME",
|
|
395
411
|
CLEAN_UP: "CLEAN_UP",
|
package/dist-es/models/errors.js
CHANGED
|
@@ -239,6 +239,18 @@ export class NoUpdateAvailableException extends __BaseException {
|
|
|
239
239
|
Object.setPrototypeOf(this, NoUpdateAvailableException.prototype);
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
|
+
export class ServiceDeploymentNotFoundException extends __BaseException {
|
|
243
|
+
name = "ServiceDeploymentNotFoundException";
|
|
244
|
+
$fault = "client";
|
|
245
|
+
constructor(opts) {
|
|
246
|
+
super({
|
|
247
|
+
name: "ServiceDeploymentNotFoundException",
|
|
248
|
+
$fault: "client",
|
|
249
|
+
...opts,
|
|
250
|
+
});
|
|
251
|
+
Object.setPrototypeOf(this, ServiceDeploymentNotFoundException.prototype);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
242
254
|
export class PlatformUnknownException extends __BaseException {
|
|
243
255
|
name = "PlatformUnknownException";
|
|
244
256
|
$fault = "client";
|
|
@@ -325,18 +337,6 @@ export class ConflictException extends __BaseException {
|
|
|
325
337
|
this.resourceIds = opts.resourceIds;
|
|
326
338
|
}
|
|
327
339
|
}
|
|
328
|
-
export class ServiceDeploymentNotFoundException extends __BaseException {
|
|
329
|
-
name = "ServiceDeploymentNotFoundException";
|
|
330
|
-
$fault = "client";
|
|
331
|
-
constructor(opts) {
|
|
332
|
-
super({
|
|
333
|
-
name: "ServiceDeploymentNotFoundException",
|
|
334
|
-
$fault: "client",
|
|
335
|
-
...opts,
|
|
336
|
-
});
|
|
337
|
-
Object.setPrototypeOf(this, ServiceDeploymentNotFoundException.prototype);
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
340
|
export class TaskSetNotFoundException extends __BaseException {
|
|
341
341
|
name = "TaskSetNotFoundException";
|
|
342
342
|
$fault = "client";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import { createDefaultUserAgentProvider } from "@aws-sdk/
|
|
3
|
+
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
4
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
5
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
6
6
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
2
|
+
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
-
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
6
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
7
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
8
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration } from "@aws-sdk/core/client";
|
|
2
2
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
3
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
@@ -72,6 +72,9 @@ const _CSC = "ContainerStateChange";
|
|
|
72
72
|
const _CSCD = "ClusterServiceConnectDefaults";
|
|
73
73
|
const _CSCDR = "ClusterServiceConnectDefaultsRequest";
|
|
74
74
|
const _CSCo = "ContainerStateChanges";
|
|
75
|
+
const _CSD = "ContinueServiceDeployment";
|
|
76
|
+
const _CSDR = "ContinueServiceDeploymentRequest";
|
|
77
|
+
const _CSDRo = "ContinueServiceDeploymentResponse";
|
|
75
78
|
const _CSR = "CreateServiceRequest";
|
|
76
79
|
const _CSRr = "CreateServiceResponse";
|
|
77
80
|
const _CSl = "ClusterSettings";
|
|
@@ -157,7 +160,10 @@ const _DEGSe = "DescribeExpressGatewayService";
|
|
|
157
160
|
const _DES = "DeploymentEphemeralStorage";
|
|
158
161
|
const _DL = "DevicesList";
|
|
159
162
|
const _DLH = "DeploymentLifecycleHook";
|
|
163
|
+
const _DLHD = "DeploymentLifecycleHookDetail";
|
|
164
|
+
const _DLHDL = "DeploymentLifecycleHookDetailList";
|
|
160
165
|
const _DLHL = "DeploymentLifecycleHookList";
|
|
166
|
+
const _DLHTC = "DeploymentLifecycleHookTimeoutConfiguration";
|
|
161
167
|
const _DLP = "DaemonLinuxParameters";
|
|
162
168
|
const _DNAE = "DaemonNotActiveException";
|
|
163
169
|
const _DNFE = "DaemonNotFoundException";
|
|
@@ -590,7 +596,8 @@ const _aV = "attributeValue";
|
|
|
590
596
|
const _aVg = "agentVersion";
|
|
591
597
|
const _aZ = "availabilityZone";
|
|
592
598
|
const _aZR = "availabilityZoneRebalancing";
|
|
593
|
-
const _ac = "
|
|
599
|
+
const _ac = "action";
|
|
600
|
+
const _ack = "acknowledgment";
|
|
594
601
|
const _ad = "add";
|
|
595
602
|
const _af = "after";
|
|
596
603
|
const _al = "alarms";
|
|
@@ -711,6 +718,7 @@ const _do = "domain";
|
|
|
711
718
|
const _dr = "driver";
|
|
712
719
|
const _dro = "drop";
|
|
713
720
|
const _e = "error";
|
|
721
|
+
const _eA = "expiresAt";
|
|
714
722
|
const _eC = "exitCode";
|
|
715
723
|
const _eCC = "executeCommandConfiguration";
|
|
716
724
|
const _eD = "expirationDate";
|
|
@@ -770,6 +778,7 @@ const _hCP = "healthCheckPath";
|
|
|
770
778
|
const _hCPe = "healthCheckPort";
|
|
771
779
|
const _hD = "hookDetails";
|
|
772
780
|
const _hE = "httpError";
|
|
781
|
+
const _hI = "hookId";
|
|
773
782
|
const _hL = "hardLimit";
|
|
774
783
|
const _hP = "hostPath";
|
|
775
784
|
const _hPR = "hostPortRange";
|
|
@@ -824,6 +833,7 @@ const _lG = "logGroups";
|
|
|
824
833
|
const _lGN = "logGroupName";
|
|
825
834
|
const _lGo = "logGroup";
|
|
826
835
|
const _lH = "lifecycleHooks";
|
|
836
|
+
const _lHD = "lifecycleHookDetails";
|
|
827
837
|
const _lP = "linuxParameters";
|
|
828
838
|
const _lS = "lastStatus";
|
|
829
839
|
const _lSA = "lastStartedAt";
|
|
@@ -978,8 +988,8 @@ const _sCt = "statusCode";
|
|
|
978
988
|
const _sCto = "storageConfiguration";
|
|
979
989
|
const _sCtop = "stopCode";
|
|
980
990
|
const _sD = "serviceDeployments";
|
|
981
|
-
const _sDA = "
|
|
982
|
-
const _sDAe = "
|
|
991
|
+
const _sDA = "serviceDeploymentArn";
|
|
992
|
+
const _sDAe = "serviceDeploymentArns";
|
|
983
993
|
const _sDR = "sourceDaemonRevisions";
|
|
984
994
|
const _sEE = "s3EncryptionEnabled";
|
|
985
995
|
const _sG = "securityGroups";
|
|
@@ -1039,9 +1049,12 @@ const _sw = "swappiness";
|
|
|
1039
1049
|
const _t = "type";
|
|
1040
1050
|
const _tA = "taskArn";
|
|
1041
1051
|
const _tAN = "triggeredAlarmNames";
|
|
1042
|
-
const _tAa = "
|
|
1043
|
-
const
|
|
1044
|
-
const
|
|
1052
|
+
const _tAa = "targetArn";
|
|
1053
|
+
const _tAas = "taskArns";
|
|
1054
|
+
const _tAi = "timeoutAction";
|
|
1055
|
+
const _tC = "timeoutConfiguration";
|
|
1056
|
+
const _tCa = "targetCapacity";
|
|
1057
|
+
const _tCar = "targetConfiguration";
|
|
1045
1058
|
const _tD = "taskDefinition";
|
|
1046
1059
|
const _tDA = "taskDefinitionArns";
|
|
1047
1060
|
const _tDAa = "taskDefinitionArn";
|
|
@@ -1055,6 +1068,7 @@ const _tEr = "transitEncryption";
|
|
|
1055
1068
|
const _tG = "targetGroups";
|
|
1056
1069
|
const _tGA = "targetGroupArn";
|
|
1057
1070
|
const _tI = "targetId";
|
|
1071
|
+
const _tIM = "timeoutInMinutes";
|
|
1058
1072
|
const _tK = "tagKeys";
|
|
1059
1073
|
const _tLR = "testListenerRule";
|
|
1060
1074
|
const _tLSGB = "totalLocalStorageGB";
|
|
@@ -1441,6 +1455,16 @@ export var ContainerStateChange$ = [3, n0, _CSC,
|
|
|
1441
1455
|
[_cNo, _iD, _rIu, _eC, _nB, _r, _st],
|
|
1442
1456
|
[0, 0, 0, 1, () => NetworkBindings, 0, 0]
|
|
1443
1457
|
];
|
|
1458
|
+
export var ContinueServiceDeploymentRequest$ = [3, n0, _CSDR,
|
|
1459
|
+
0,
|
|
1460
|
+
[_sDA, _hI, _ac],
|
|
1461
|
+
[0, 0, 0], 2
|
|
1462
|
+
];
|
|
1463
|
+
export var ContinueServiceDeploymentResponse$ = [3, n0, _CSDRo,
|
|
1464
|
+
0,
|
|
1465
|
+
[_sDA],
|
|
1466
|
+
[0]
|
|
1467
|
+
];
|
|
1444
1468
|
export var CreateCapacityProviderRequest$ = [3, n0, _CCPR,
|
|
1445
1469
|
0,
|
|
1446
1470
|
[_n, _cl, _aSGP, _mIP, _ta],
|
|
@@ -1743,8 +1767,18 @@ export var DeploymentEphemeralStorage$ = [3, n0, _DES,
|
|
|
1743
1767
|
];
|
|
1744
1768
|
export var DeploymentLifecycleHook$ = [3, n0, _DLH,
|
|
1745
1769
|
0,
|
|
1746
|
-
[_hTA, _rA, _lSi, _hD],
|
|
1747
|
-
[0, 0, 64 | 0, 15]
|
|
1770
|
+
[_tT, _hTA, _rA, _lSi, _hD, _tC],
|
|
1771
|
+
[0, 0, 0, 64 | 0, 15, () => DeploymentLifecycleHookTimeoutConfiguration$]
|
|
1772
|
+
];
|
|
1773
|
+
export var DeploymentLifecycleHookDetail$ = [3, n0, _DLHD,
|
|
1774
|
+
0,
|
|
1775
|
+
[_hI, _tT, _tAa, _st, _eA, _tAi],
|
|
1776
|
+
[0, 0, 0, 0, 4, 0]
|
|
1777
|
+
];
|
|
1778
|
+
export var DeploymentLifecycleHookTimeoutConfiguration$ = [3, n0, _DLHTC,
|
|
1779
|
+
0,
|
|
1780
|
+
[_tIM, _ac],
|
|
1781
|
+
[1, 0]
|
|
1748
1782
|
];
|
|
1749
1783
|
export var DeregisterContainerInstanceRequest$ = [3, n0, _DCIR,
|
|
1750
1784
|
0,
|
|
@@ -1848,7 +1882,7 @@ export var DescribeExpressGatewayServiceResponse$ = [3, n0, _DEGSResc,
|
|
|
1848
1882
|
];
|
|
1849
1883
|
export var DescribeServiceDeploymentsRequest$ = [3, n0, _DSDR,
|
|
1850
1884
|
0,
|
|
1851
|
-
[
|
|
1885
|
+
[_sDAe],
|
|
1852
1886
|
[64 | 0], 1
|
|
1853
1887
|
];
|
|
1854
1888
|
export var DescribeServiceDeploymentsResponse$ = [3, n0, _DSDRe,
|
|
@@ -2258,7 +2292,7 @@ export var ListTasksRequest$ = [3, n0, _LTR,
|
|
|
2258
2292
|
];
|
|
2259
2293
|
export var ListTasksResponse$ = [3, n0, _LTRi,
|
|
2260
2294
|
0,
|
|
2261
|
-
[
|
|
2295
|
+
[_tAas, _nT],
|
|
2262
2296
|
[64 | 0, 0]
|
|
2263
2297
|
];
|
|
2264
2298
|
export var LoadBalancer$ = [3, n0, _LB,
|
|
@@ -2353,7 +2387,7 @@ export var ManagedScalableTarget$ = [3, n0, _MST,
|
|
|
2353
2387
|
];
|
|
2354
2388
|
export var ManagedScaling$ = [3, n0, _MS,
|
|
2355
2389
|
0,
|
|
2356
|
-
[_st,
|
|
2390
|
+
[_st, _tCa, _mSSS, _mSSSa, _iWP],
|
|
2357
2391
|
[0, 1, 1, 1, 1]
|
|
2358
2392
|
];
|
|
2359
2393
|
export var ManagedSecurityGroup$ = [3, n0, _MSG,
|
|
@@ -2628,8 +2662,8 @@ export var ServiceCurrentRevisionSummary$ = [3, n0, _SCRS,
|
|
|
2628
2662
|
];
|
|
2629
2663
|
export var ServiceDeployment$ = [3, n0, _SD,
|
|
2630
2664
|
0,
|
|
2631
|
-
[
|
|
2632
|
-
[0, 0, 0, 4, 4, 4, 4, 4, () => ServiceRevisionsSummaryList, () => ServiceRevisionSummary$, 0, 0, 0, () => DeploymentConfiguration$, () => Rollback$, () => ServiceDeploymentCircuitBreaker$, () => ServiceDeploymentAlarms$]
|
|
2665
|
+
[_sDA, _sAe, _cA, _cAr, _sA, _fA, _sAt, _uA, _sSR, _tSR, _st, _sR, _lSif, _lHD, _dC, _rol, _dCB, _al],
|
|
2666
|
+
[0, 0, 0, 4, 4, 4, 4, 4, () => ServiceRevisionsSummaryList, () => ServiceRevisionSummary$, 0, 0, 0, () => DeploymentLifecycleHookDetailList, () => DeploymentConfiguration$, () => Rollback$, () => ServiceDeploymentCircuitBreaker$, () => ServiceDeploymentAlarms$]
|
|
2633
2667
|
];
|
|
2634
2668
|
export var ServiceDeploymentAlarms$ = [3, n0, _SDA,
|
|
2635
2669
|
0,
|
|
@@ -2638,7 +2672,7 @@ export var ServiceDeploymentAlarms$ = [3, n0, _SDA,
|
|
|
2638
2672
|
];
|
|
2639
2673
|
export var ServiceDeploymentBrief$ = [3, n0, _SDB,
|
|
2640
2674
|
0,
|
|
2641
|
-
[
|
|
2675
|
+
[_sDA, _sAe, _cA, _sA, _cAr, _fA, _tSRA, _st, _sR],
|
|
2642
2676
|
[0, 0, 0, 4, 4, 4, 0, 0, 0]
|
|
2643
2677
|
];
|
|
2644
2678
|
export var ServiceDeploymentCircuitBreaker$ = [3, n0, _SDCB,
|
|
@@ -2703,12 +2737,12 @@ export var StartTaskResponse$ = [3, n0, _STRt,
|
|
|
2703
2737
|
];
|
|
2704
2738
|
export var StopServiceDeploymentRequest$ = [3, n0, _SSDR,
|
|
2705
2739
|
0,
|
|
2706
|
-
[
|
|
2740
|
+
[_sDA, _sTto],
|
|
2707
2741
|
[0, 0], 1
|
|
2708
2742
|
];
|
|
2709
2743
|
export var StopServiceDeploymentResponse$ = [3, n0, _SSDRt,
|
|
2710
2744
|
0,
|
|
2711
|
-
[
|
|
2745
|
+
[_sDA],
|
|
2712
2746
|
[0]
|
|
2713
2747
|
];
|
|
2714
2748
|
export var StopTaskRequest$ = [3, n0, _STRto,
|
|
@@ -2728,7 +2762,7 @@ export var SubmitAttachmentStateChangesRequest$ = [3, n0, _SASCR,
|
|
|
2728
2762
|
];
|
|
2729
2763
|
export var SubmitAttachmentStateChangesResponse$ = [3, n0, _SASCRu,
|
|
2730
2764
|
0,
|
|
2731
|
-
[
|
|
2765
|
+
[_ack],
|
|
2732
2766
|
[0]
|
|
2733
2767
|
];
|
|
2734
2768
|
export var SubmitContainerStateChangeRequest$ = [3, n0, _SCSCR,
|
|
@@ -2738,7 +2772,7 @@ export var SubmitContainerStateChangeRequest$ = [3, n0, _SCSCR,
|
|
|
2738
2772
|
];
|
|
2739
2773
|
export var SubmitContainerStateChangeResponse$ = [3, n0, _SCSCRu,
|
|
2740
2774
|
0,
|
|
2741
|
-
[
|
|
2775
|
+
[_ack],
|
|
2742
2776
|
[0]
|
|
2743
2777
|
];
|
|
2744
2778
|
export var SubmitTaskStateChangeRequest$ = [3, n0, _STSCR,
|
|
@@ -2748,7 +2782,7 @@ export var SubmitTaskStateChangeRequest$ = [3, n0, _STSCR,
|
|
|
2748
2782
|
];
|
|
2749
2783
|
export var SubmitTaskStateChangeResponse$ = [3, n0, _STSCRu,
|
|
2750
2784
|
0,
|
|
2751
|
-
[
|
|
2785
|
+
[_ack],
|
|
2752
2786
|
[0]
|
|
2753
2787
|
];
|
|
2754
2788
|
export var SystemControl$ = [3, n0, _SC,
|
|
@@ -2908,7 +2942,7 @@ export var UpdateDaemonResponse$ = [3, n0, _UDRp,
|
|
|
2908
2942
|
];
|
|
2909
2943
|
export var UpdatedExpressGatewayService$ = [3, n0, _UEGS,
|
|
2910
2944
|
0,
|
|
2911
|
-
[_sAe, _cl, _sN, _st,
|
|
2945
|
+
[_sAe, _cl, _sN, _st, _tCar, _cAr, _uA],
|
|
2912
2946
|
[0, 0, 0, () => ExpressGatewayServiceStatus$, [() => ExpressGatewayServiceConfiguration$, 0], 4, 4]
|
|
2913
2947
|
];
|
|
2914
2948
|
export var UpdateExpressGatewayServiceRequest$ = [3, n0, _UEGSR,
|
|
@@ -3101,6 +3135,9 @@ var DaemonTaskDefinitionSummaries = [1, n0, _DTDSa,
|
|
|
3101
3135
|
var DaemonVolumeList = [1, n0, _DVL,
|
|
3102
3136
|
0, () => DaemonVolume$
|
|
3103
3137
|
];
|
|
3138
|
+
var DeploymentLifecycleHookDetailList = [1, n0, _DLHDL,
|
|
3139
|
+
0, () => DeploymentLifecycleHookDetail$
|
|
3140
|
+
];
|
|
3104
3141
|
var DeploymentLifecycleHookList = [1, n0, _DLHL,
|
|
3105
3142
|
0, () => DeploymentLifecycleHook$
|
|
3106
3143
|
];
|
|
@@ -3319,6 +3356,9 @@ var DockerLabelsMap = 128 | 0;
|
|
|
3319
3356
|
var FirelensConfigurationOptionsMap = 128 | 0;
|
|
3320
3357
|
var LogConfigurationOptionsMap = 128 | 0;
|
|
3321
3358
|
var StringMap = 128 | 0;
|
|
3359
|
+
export var ContinueServiceDeployment$ = [9, n0, _CSD,
|
|
3360
|
+
0, () => ContinueServiceDeploymentRequest$, () => ContinueServiceDeploymentResponse$
|
|
3361
|
+
];
|
|
3322
3362
|
export var CreateCapacityProvider$ = [9, n0, _CCP,
|
|
3323
3363
|
2, () => CreateCapacityProviderRequest$, () => CreateCapacityProviderResponse$
|
|
3324
3364
|
];
|
package/dist-types/ECS.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type WaiterResult } from "@smithy/core/client";
|
|
2
2
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
3
|
+
import { type ContinueServiceDeploymentCommandInput, type ContinueServiceDeploymentCommandOutput } from "./commands/ContinueServiceDeploymentCommand";
|
|
3
4
|
import { type CreateCapacityProviderCommandInput, type CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
|
|
4
5
|
import { type CreateClusterCommandInput, type CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
5
6
|
import { type CreateDaemonCommandInput, type CreateDaemonCommandOutput } from "./commands/CreateDaemonCommand";
|
|
@@ -78,6 +79,12 @@ import { type UpdateTaskProtectionCommandInput, type UpdateTaskProtectionCommand
|
|
|
78
79
|
import { type UpdateTaskSetCommandInput, type UpdateTaskSetCommandOutput } from "./commands/UpdateTaskSetCommand";
|
|
79
80
|
import { ECSClient } from "./ECSClient";
|
|
80
81
|
export interface ECS {
|
|
82
|
+
/**
|
|
83
|
+
* @see {@link ContinueServiceDeploymentCommand}
|
|
84
|
+
*/
|
|
85
|
+
continueServiceDeployment(args: ContinueServiceDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<ContinueServiceDeploymentCommandOutput>;
|
|
86
|
+
continueServiceDeployment(args: ContinueServiceDeploymentCommandInput, cb: (err: any, data?: ContinueServiceDeploymentCommandOutput) => void): void;
|
|
87
|
+
continueServiceDeployment(args: ContinueServiceDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ContinueServiceDeploymentCommandOutput) => void): void;
|
|
81
88
|
/**
|
|
82
89
|
* @see {@link CreateCapacityProviderCommand}
|
|
83
90
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/
|
|
2
|
-
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
3
2
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
4
3
|
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
5
4
|
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
@@ -7,6 +6,7 @@ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/cor
|
|
|
7
6
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
8
7
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
8
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
|
+
import type { ContinueServiceDeploymentCommandInput, ContinueServiceDeploymentCommandOutput } from "./commands/ContinueServiceDeploymentCommand";
|
|
10
10
|
import type { CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
|
|
11
11
|
import type { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
12
12
|
import type { CreateDaemonCommandInput, CreateDaemonCommandOutput } from "./commands/CreateDaemonCommand";
|
|
@@ -89,11 +89,11 @@ export { __Client };
|
|
|
89
89
|
/**
|
|
90
90
|
* @public
|
|
91
91
|
*/
|
|
92
|
-
export type ServiceInputTypes = CreateCapacityProviderCommandInput | CreateClusterCommandInput | CreateDaemonCommandInput | CreateExpressGatewayServiceCommandInput | CreateServiceCommandInput | CreateTaskSetCommandInput | DeleteAccountSettingCommandInput | DeleteAttributesCommandInput | DeleteCapacityProviderCommandInput | DeleteClusterCommandInput | DeleteDaemonCommandInput | DeleteDaemonTaskDefinitionCommandInput | DeleteExpressGatewayServiceCommandInput | DeleteServiceCommandInput | DeleteTaskDefinitionsCommandInput | DeleteTaskSetCommandInput | DeregisterContainerInstanceCommandInput | DeregisterTaskDefinitionCommandInput | DescribeCapacityProvidersCommandInput | DescribeClustersCommandInput | DescribeContainerInstancesCommandInput | DescribeDaemonCommandInput | DescribeDaemonDeploymentsCommandInput | DescribeDaemonRevisionsCommandInput | DescribeDaemonTaskDefinitionCommandInput | DescribeExpressGatewayServiceCommandInput | DescribeServiceDeploymentsCommandInput | DescribeServiceRevisionsCommandInput | DescribeServicesCommandInput | DescribeTaskDefinitionCommandInput | DescribeTaskSetsCommandInput | DescribeTasksCommandInput | DiscoverPollEndpointCommandInput | ExecuteCommandCommandInput | GetTaskProtectionCommandInput | ListAccountSettingsCommandInput | ListAttributesCommandInput | ListClustersCommandInput | ListContainerInstancesCommandInput | ListDaemonDeploymentsCommandInput | ListDaemonTaskDefinitionsCommandInput | ListDaemonsCommandInput | ListServiceDeploymentsCommandInput | ListServicesByNamespaceCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTaskDefinitionFamiliesCommandInput | ListTaskDefinitionsCommandInput | ListTasksCommandInput | PutAccountSettingCommandInput | PutAccountSettingDefaultCommandInput | PutAttributesCommandInput | PutClusterCapacityProvidersCommandInput | RegisterContainerInstanceCommandInput | RegisterDaemonTaskDefinitionCommandInput | RegisterTaskDefinitionCommandInput | RunTaskCommandInput | StartTaskCommandInput | StopServiceDeploymentCommandInput | StopTaskCommandInput | SubmitAttachmentStateChangesCommandInput | SubmitContainerStateChangeCommandInput | SubmitTaskStateChangeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCapacityProviderCommandInput | UpdateClusterCommandInput | UpdateClusterSettingsCommandInput | UpdateContainerAgentCommandInput | UpdateContainerInstancesStateCommandInput | UpdateDaemonCommandInput | UpdateExpressGatewayServiceCommandInput | UpdateServiceCommandInput | UpdateServicePrimaryTaskSetCommandInput | UpdateTaskProtectionCommandInput | UpdateTaskSetCommandInput;
|
|
92
|
+
export type ServiceInputTypes = ContinueServiceDeploymentCommandInput | CreateCapacityProviderCommandInput | CreateClusterCommandInput | CreateDaemonCommandInput | CreateExpressGatewayServiceCommandInput | CreateServiceCommandInput | CreateTaskSetCommandInput | DeleteAccountSettingCommandInput | DeleteAttributesCommandInput | DeleteCapacityProviderCommandInput | DeleteClusterCommandInput | DeleteDaemonCommandInput | DeleteDaemonTaskDefinitionCommandInput | DeleteExpressGatewayServiceCommandInput | DeleteServiceCommandInput | DeleteTaskDefinitionsCommandInput | DeleteTaskSetCommandInput | DeregisterContainerInstanceCommandInput | DeregisterTaskDefinitionCommandInput | DescribeCapacityProvidersCommandInput | DescribeClustersCommandInput | DescribeContainerInstancesCommandInput | DescribeDaemonCommandInput | DescribeDaemonDeploymentsCommandInput | DescribeDaemonRevisionsCommandInput | DescribeDaemonTaskDefinitionCommandInput | DescribeExpressGatewayServiceCommandInput | DescribeServiceDeploymentsCommandInput | DescribeServiceRevisionsCommandInput | DescribeServicesCommandInput | DescribeTaskDefinitionCommandInput | DescribeTaskSetsCommandInput | DescribeTasksCommandInput | DiscoverPollEndpointCommandInput | ExecuteCommandCommandInput | GetTaskProtectionCommandInput | ListAccountSettingsCommandInput | ListAttributesCommandInput | ListClustersCommandInput | ListContainerInstancesCommandInput | ListDaemonDeploymentsCommandInput | ListDaemonTaskDefinitionsCommandInput | ListDaemonsCommandInput | ListServiceDeploymentsCommandInput | ListServicesByNamespaceCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTaskDefinitionFamiliesCommandInput | ListTaskDefinitionsCommandInput | ListTasksCommandInput | PutAccountSettingCommandInput | PutAccountSettingDefaultCommandInput | PutAttributesCommandInput | PutClusterCapacityProvidersCommandInput | RegisterContainerInstanceCommandInput | RegisterDaemonTaskDefinitionCommandInput | RegisterTaskDefinitionCommandInput | RunTaskCommandInput | StartTaskCommandInput | StopServiceDeploymentCommandInput | StopTaskCommandInput | SubmitAttachmentStateChangesCommandInput | SubmitContainerStateChangeCommandInput | SubmitTaskStateChangeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCapacityProviderCommandInput | UpdateClusterCommandInput | UpdateClusterSettingsCommandInput | UpdateContainerAgentCommandInput | UpdateContainerInstancesStateCommandInput | UpdateDaemonCommandInput | UpdateExpressGatewayServiceCommandInput | UpdateServiceCommandInput | UpdateServicePrimaryTaskSetCommandInput | UpdateTaskProtectionCommandInput | UpdateTaskSetCommandInput;
|
|
93
93
|
/**
|
|
94
94
|
* @public
|
|
95
95
|
*/
|
|
96
|
-
export type ServiceOutputTypes = CreateCapacityProviderCommandOutput | CreateClusterCommandOutput | CreateDaemonCommandOutput | CreateExpressGatewayServiceCommandOutput | CreateServiceCommandOutput | CreateTaskSetCommandOutput | DeleteAccountSettingCommandOutput | DeleteAttributesCommandOutput | DeleteCapacityProviderCommandOutput | DeleteClusterCommandOutput | DeleteDaemonCommandOutput | DeleteDaemonTaskDefinitionCommandOutput | DeleteExpressGatewayServiceCommandOutput | DeleteServiceCommandOutput | DeleteTaskDefinitionsCommandOutput | DeleteTaskSetCommandOutput | DeregisterContainerInstanceCommandOutput | DeregisterTaskDefinitionCommandOutput | DescribeCapacityProvidersCommandOutput | DescribeClustersCommandOutput | DescribeContainerInstancesCommandOutput | DescribeDaemonCommandOutput | DescribeDaemonDeploymentsCommandOutput | DescribeDaemonRevisionsCommandOutput | DescribeDaemonTaskDefinitionCommandOutput | DescribeExpressGatewayServiceCommandOutput | DescribeServiceDeploymentsCommandOutput | DescribeServiceRevisionsCommandOutput | DescribeServicesCommandOutput | DescribeTaskDefinitionCommandOutput | DescribeTaskSetsCommandOutput | DescribeTasksCommandOutput | DiscoverPollEndpointCommandOutput | ExecuteCommandCommandOutput | GetTaskProtectionCommandOutput | ListAccountSettingsCommandOutput | ListAttributesCommandOutput | ListClustersCommandOutput | ListContainerInstancesCommandOutput | ListDaemonDeploymentsCommandOutput | ListDaemonTaskDefinitionsCommandOutput | ListDaemonsCommandOutput | ListServiceDeploymentsCommandOutput | ListServicesByNamespaceCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTaskDefinitionFamiliesCommandOutput | ListTaskDefinitionsCommandOutput | ListTasksCommandOutput | PutAccountSettingCommandOutput | PutAccountSettingDefaultCommandOutput | PutAttributesCommandOutput | PutClusterCapacityProvidersCommandOutput | RegisterContainerInstanceCommandOutput | RegisterDaemonTaskDefinitionCommandOutput | RegisterTaskDefinitionCommandOutput | RunTaskCommandOutput | StartTaskCommandOutput | StopServiceDeploymentCommandOutput | StopTaskCommandOutput | SubmitAttachmentStateChangesCommandOutput | SubmitContainerStateChangeCommandOutput | SubmitTaskStateChangeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCapacityProviderCommandOutput | UpdateClusterCommandOutput | UpdateClusterSettingsCommandOutput | UpdateContainerAgentCommandOutput | UpdateContainerInstancesStateCommandOutput | UpdateDaemonCommandOutput | UpdateExpressGatewayServiceCommandOutput | UpdateServiceCommandOutput | UpdateServicePrimaryTaskSetCommandOutput | UpdateTaskProtectionCommandOutput | UpdateTaskSetCommandOutput;
|
|
96
|
+
export type ServiceOutputTypes = ContinueServiceDeploymentCommandOutput | CreateCapacityProviderCommandOutput | CreateClusterCommandOutput | CreateDaemonCommandOutput | CreateExpressGatewayServiceCommandOutput | CreateServiceCommandOutput | CreateTaskSetCommandOutput | DeleteAccountSettingCommandOutput | DeleteAttributesCommandOutput | DeleteCapacityProviderCommandOutput | DeleteClusterCommandOutput | DeleteDaemonCommandOutput | DeleteDaemonTaskDefinitionCommandOutput | DeleteExpressGatewayServiceCommandOutput | DeleteServiceCommandOutput | DeleteTaskDefinitionsCommandOutput | DeleteTaskSetCommandOutput | DeregisterContainerInstanceCommandOutput | DeregisterTaskDefinitionCommandOutput | DescribeCapacityProvidersCommandOutput | DescribeClustersCommandOutput | DescribeContainerInstancesCommandOutput | DescribeDaemonCommandOutput | DescribeDaemonDeploymentsCommandOutput | DescribeDaemonRevisionsCommandOutput | DescribeDaemonTaskDefinitionCommandOutput | DescribeExpressGatewayServiceCommandOutput | DescribeServiceDeploymentsCommandOutput | DescribeServiceRevisionsCommandOutput | DescribeServicesCommandOutput | DescribeTaskDefinitionCommandOutput | DescribeTaskSetsCommandOutput | DescribeTasksCommandOutput | DiscoverPollEndpointCommandOutput | ExecuteCommandCommandOutput | GetTaskProtectionCommandOutput | ListAccountSettingsCommandOutput | ListAttributesCommandOutput | ListClustersCommandOutput | ListContainerInstancesCommandOutput | ListDaemonDeploymentsCommandOutput | ListDaemonTaskDefinitionsCommandOutput | ListDaemonsCommandOutput | ListServiceDeploymentsCommandOutput | ListServicesByNamespaceCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTaskDefinitionFamiliesCommandOutput | ListTaskDefinitionsCommandOutput | ListTasksCommandOutput | PutAccountSettingCommandOutput | PutAccountSettingDefaultCommandOutput | PutAttributesCommandOutput | PutClusterCapacityProvidersCommandOutput | RegisterContainerInstanceCommandOutput | RegisterDaemonTaskDefinitionCommandOutput | RegisterTaskDefinitionCommandOutput | RunTaskCommandOutput | StartTaskCommandOutput | StopServiceDeploymentCommandOutput | StopTaskCommandOutput | SubmitAttachmentStateChangesCommandOutput | SubmitContainerStateChangeCommandOutput | SubmitTaskStateChangeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCapacityProviderCommandOutput | UpdateClusterCommandOutput | UpdateClusterSettingsCommandOutput | UpdateContainerAgentCommandOutput | UpdateContainerInstancesStateCommandOutput | UpdateDaemonCommandOutput | UpdateExpressGatewayServiceCommandOutput | UpdateServiceCommandOutput | UpdateServicePrimaryTaskSetCommandOutput | UpdateTaskProtectionCommandOutput | UpdateTaskSetCommandOutput;
|
|
97
97
|
/**
|
|
98
98
|
* @public
|
|
99
99
|
*/
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
|
+
import type { ContinueServiceDeploymentRequest, ContinueServiceDeploymentResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ContinueServiceDeploymentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ContinueServiceDeploymentCommandInput extends ContinueServiceDeploymentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ContinueServiceDeploymentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ContinueServiceDeploymentCommandOutput extends ContinueServiceDeploymentResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ContinueServiceDeploymentCommand_base: {
|
|
25
|
+
new (input: ContinueServiceDeploymentCommandInput): import("@smithy/core/client").CommandImpl<ContinueServiceDeploymentCommandInput, ContinueServiceDeploymentCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ContinueServiceDeploymentCommandInput): import("@smithy/core/client").CommandImpl<ContinueServiceDeploymentCommandInput, ContinueServiceDeploymentCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Continues or rolls back an Amazon ECS service deployment that is paused at a lifecycle hook.</p> <p>When a service deployment reaches a lifecycle stage that has a <code>PAUSE</code> hook configured, the deployment pauses and waits for an explicit action. Use this API to either continue the deployment to the next stage or roll back to the previous service revision.</p> <p>To find the <code>hookId</code> of the paused hook, call <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html">DescribeServiceDeployments</a> and inspect the <code>lifecycleHookDetails</code> field.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { ECSClient, ContinueServiceDeploymentCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
37
|
+
* // const { ECSClient, ContinueServiceDeploymentCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
38
|
+
* // import type { ECSClientConfig } from "@aws-sdk/client-ecs";
|
|
39
|
+
* const config = {}; // type is ECSClientConfig
|
|
40
|
+
* const client = new ECSClient(config);
|
|
41
|
+
* const input = { // ContinueServiceDeploymentRequest
|
|
42
|
+
* serviceDeploymentArn: "STRING_VALUE", // required
|
|
43
|
+
* hookId: "STRING_VALUE", // required
|
|
44
|
+
* action: "ROLLBACK" || "CONTINUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ContinueServiceDeploymentCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ContinueServiceDeploymentResponse
|
|
49
|
+
* // serviceDeploymentArn: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param ContinueServiceDeploymentCommandInput - {@link ContinueServiceDeploymentCommandInput}
|
|
55
|
+
* @returns {@link ContinueServiceDeploymentCommandOutput}
|
|
56
|
+
* @see {@link ContinueServiceDeploymentCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link ContinueServiceDeploymentCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>You don't have authorization to perform the requested action.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ClientException} (client fault)
|
|
64
|
+
* <p>These errors are usually caused by a client action. This client action might be using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
67
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API request.</p> <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ServerException} (server fault)
|
|
70
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ServiceDeploymentNotFoundException} (client fault)
|
|
73
|
+
* <p>The service deploy ARN that you specified in the <code>StopServiceDeployment</code> doesn't exist. You can use <code>ListServiceDeployments</code> to retrieve the service deployment ARNs.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
76
|
+
* <p>The specified task isn't supported in this Region.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ECSServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @example To continue a paused service deployment
|
|
83
|
+
* ```javascript
|
|
84
|
+
* // This example continues a service deployment that is paused at a lifecycle hook, using the CONTINUE action to proceed to the next deployment stage.
|
|
85
|
+
* const input = {
|
|
86
|
+
* action: "CONTINUE",
|
|
87
|
+
* hookId: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",
|
|
88
|
+
* serviceDeploymentArn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r"
|
|
89
|
+
* };
|
|
90
|
+
* const command = new ContinueServiceDeploymentCommand(input);
|
|
91
|
+
* const response = await client.send(command);
|
|
92
|
+
* /* response is
|
|
93
|
+
* {
|
|
94
|
+
* serviceDeploymentArn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r"
|
|
95
|
+
* }
|
|
96
|
+
* *\/
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @example To roll back a paused service deployment
|
|
100
|
+
* ```javascript
|
|
101
|
+
* // This example rolls back a service deployment that is paused at a lifecycle hook, using the ROLLBACK action to revert to the previous service revision.
|
|
102
|
+
* const input = {
|
|
103
|
+
* action: "ROLLBACK",
|
|
104
|
+
* hookId: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",
|
|
105
|
+
* serviceDeploymentArn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r"
|
|
106
|
+
* };
|
|
107
|
+
* const command = new ContinueServiceDeploymentCommand(input);
|
|
108
|
+
* const response = await client.send(command);
|
|
109
|
+
* /* response is
|
|
110
|
+
* {
|
|
111
|
+
* serviceDeploymentArn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r"
|
|
112
|
+
* }
|
|
113
|
+
* *\/
|
|
114
|
+
* ```
|
|
115
|
+
*
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export declare class ContinueServiceDeploymentCommand extends ContinueServiceDeploymentCommand_base {
|
|
119
|
+
/** @internal type navigation helper, not in runtime. */
|
|
120
|
+
protected static __types: {
|
|
121
|
+
api: {
|
|
122
|
+
input: ContinueServiceDeploymentRequest;
|
|
123
|
+
output: ContinueServiceDeploymentResponse;
|
|
124
|
+
};
|
|
125
|
+
sdk: {
|
|
126
|
+
input: ContinueServiceDeploymentCommandInput;
|
|
127
|
+
output: ContinueServiceDeploymentCommandOutput;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
}
|