@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
|
@@ -33,7 +33,10 @@ import {
|
|
|
33
33
|
DaemonTaskDefinitionStatus,
|
|
34
34
|
DaemonTaskDefinitionStatusFilter,
|
|
35
35
|
DeploymentControllerType,
|
|
36
|
+
DeploymentLifecycleHookAction,
|
|
36
37
|
DeploymentLifecycleHookStage,
|
|
38
|
+
DeploymentLifecycleHookStatus,
|
|
39
|
+
DeploymentLifecycleHookTargetType,
|
|
37
40
|
DeploymentRolloutState,
|
|
38
41
|
DeploymentStrategy,
|
|
39
42
|
DesiredStatus,
|
|
@@ -669,6 +672,14 @@ export interface UpdateContainerInstancesStateResponse {
|
|
|
669
672
|
containerInstances?: ContainerInstance[] | undefined;
|
|
670
673
|
failures?: Failure[] | undefined;
|
|
671
674
|
}
|
|
675
|
+
export interface ContinueServiceDeploymentRequest {
|
|
676
|
+
serviceDeploymentArn: string | undefined;
|
|
677
|
+
hookId: string | undefined;
|
|
678
|
+
action?: DeploymentLifecycleHookAction | undefined;
|
|
679
|
+
}
|
|
680
|
+
export interface ContinueServiceDeploymentResponse {
|
|
681
|
+
serviceDeploymentArn?: string | undefined;
|
|
682
|
+
}
|
|
672
683
|
export interface DescribeDaemonDeploymentsRequest {
|
|
673
684
|
daemonDeploymentArns: string[] | undefined;
|
|
674
685
|
}
|
|
@@ -1309,11 +1320,19 @@ export interface DeploymentCircuitBreaker {
|
|
|
1309
1320
|
enable: boolean | undefined;
|
|
1310
1321
|
rollback: boolean | undefined;
|
|
1311
1322
|
}
|
|
1323
|
+
export interface DeploymentLifecycleHookTimeoutConfiguration {
|
|
1324
|
+
timeoutInMinutes?: number | undefined;
|
|
1325
|
+
action?: DeploymentLifecycleHookAction | undefined;
|
|
1326
|
+
}
|
|
1312
1327
|
export interface DeploymentLifecycleHook {
|
|
1328
|
+
targetType?: DeploymentLifecycleHookTargetType | undefined;
|
|
1313
1329
|
hookTargetArn?: string | undefined;
|
|
1314
1330
|
roleArn?: string | undefined;
|
|
1315
1331
|
lifecycleStages?: DeploymentLifecycleHookStage[] | undefined;
|
|
1316
1332
|
hookDetails?: __DocumentType | undefined;
|
|
1333
|
+
timeoutConfiguration?:
|
|
1334
|
+
| DeploymentLifecycleHookTimeoutConfiguration
|
|
1335
|
+
| undefined;
|
|
1317
1336
|
}
|
|
1318
1337
|
export interface LinearConfiguration {
|
|
1319
1338
|
stepPercent?: number | undefined;
|
|
@@ -1330,6 +1349,14 @@ export interface DeploymentConfiguration {
|
|
|
1330
1349
|
linearConfiguration?: LinearConfiguration | undefined;
|
|
1331
1350
|
canaryConfiguration?: CanaryConfiguration | undefined;
|
|
1332
1351
|
}
|
|
1352
|
+
export interface DeploymentLifecycleHookDetail {
|
|
1353
|
+
hookId?: string | undefined;
|
|
1354
|
+
targetType?: DeploymentLifecycleHookTargetType | undefined;
|
|
1355
|
+
targetArn?: string | undefined;
|
|
1356
|
+
status?: DeploymentLifecycleHookStatus | undefined;
|
|
1357
|
+
expiresAt?: Date | undefined;
|
|
1358
|
+
timeoutAction?: DeploymentLifecycleHookAction | undefined;
|
|
1359
|
+
}
|
|
1333
1360
|
export interface Rollback {
|
|
1334
1361
|
reason?: string | undefined;
|
|
1335
1362
|
startedAt?: Date | undefined;
|
|
@@ -1357,6 +1384,7 @@ export interface ServiceDeployment {
|
|
|
1357
1384
|
status?: ServiceDeploymentStatus | undefined;
|
|
1358
1385
|
statusReason?: string | undefined;
|
|
1359
1386
|
lifecycleStage?: ServiceDeploymentLifecycleStage | undefined;
|
|
1387
|
+
lifecycleHookDetails?: DeploymentLifecycleHookDetail[] | undefined;
|
|
1360
1388
|
deploymentConfiguration?: DeploymentConfiguration | undefined;
|
|
1361
1389
|
rollback?: Rollback | undefined;
|
|
1362
1390
|
deploymentCircuitBreaker?: ServiceDeploymentCircuitBreaker | undefined;
|
|
@@ -1950,15 +1978,3 @@ export interface ServiceRevision {
|
|
|
1950
1978
|
resolvedConfiguration?: ResolvedConfiguration | undefined;
|
|
1951
1979
|
ecsManagedResources?: ECSManagedResources | undefined;
|
|
1952
1980
|
}
|
|
1953
|
-
export interface DescribeServiceRevisionsResponse {
|
|
1954
|
-
serviceRevisions?: ServiceRevision[] | undefined;
|
|
1955
|
-
failures?: Failure[] | undefined;
|
|
1956
|
-
}
|
|
1957
|
-
export interface TagResourceRequest {
|
|
1958
|
-
resourceArn: string | undefined;
|
|
1959
|
-
tags: Tag[] | undefined;
|
|
1960
|
-
}
|
|
1961
|
-
export interface TagResourceResponse {}
|
|
1962
|
-
export interface DeleteTaskDefinitionsRequest {
|
|
1963
|
-
taskDefinitions: string[] | undefined;
|
|
1964
|
-
}
|
|
@@ -36,12 +36,25 @@ import {
|
|
|
36
36
|
RuntimePlatform,
|
|
37
37
|
Scale,
|
|
38
38
|
ServiceRegistry,
|
|
39
|
+
ServiceRevision,
|
|
39
40
|
Tag,
|
|
40
41
|
TaskDefinition,
|
|
41
42
|
TaskDefinitionPlacementConstraint,
|
|
42
43
|
TaskSet,
|
|
43
44
|
Volume,
|
|
44
45
|
} from "./models_0";
|
|
46
|
+
export interface DescribeServiceRevisionsResponse {
|
|
47
|
+
serviceRevisions?: ServiceRevision[] | undefined;
|
|
48
|
+
failures?: Failure[] | undefined;
|
|
49
|
+
}
|
|
50
|
+
export interface TagResourceRequest {
|
|
51
|
+
resourceArn: string | undefined;
|
|
52
|
+
tags: Tag[] | undefined;
|
|
53
|
+
}
|
|
54
|
+
export interface TagResourceResponse {}
|
|
55
|
+
export interface DeleteTaskDefinitionsRequest {
|
|
56
|
+
taskDefinitions: string[] | undefined;
|
|
57
|
+
}
|
|
45
58
|
export interface DeleteTaskDefinitionsResponse {
|
|
46
59
|
taskDefinitions?: TaskDefinition[] | undefined;
|
|
47
60
|
failures?: Failure[] | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
12
12
|
_: unknown
|
|
13
13
|
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
14
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/
|
|
15
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
16
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
17
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
18
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
13
13
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -34,7 +34,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
34
34
|
region: string | import("@smithy/types").Provider<any>;
|
|
35
35
|
profile?: string;
|
|
36
36
|
defaultUserAgentProvider: (
|
|
37
|
-
config?: import("@aws-sdk/
|
|
37
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
38
38
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
39
39
|
credentialDefaultProvider:
|
|
40
40
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
@@ -65,6 +65,8 @@ export declare var ContainerInstanceHealthStatus$: StaticStructureSchema;
|
|
|
65
65
|
export declare var ContainerOverride$: StaticStructureSchema;
|
|
66
66
|
export declare var ContainerRestartPolicy$: StaticStructureSchema;
|
|
67
67
|
export declare var ContainerStateChange$: StaticStructureSchema;
|
|
68
|
+
export declare var ContinueServiceDeploymentRequest$: StaticStructureSchema;
|
|
69
|
+
export declare var ContinueServiceDeploymentResponse$: StaticStructureSchema;
|
|
68
70
|
export declare var CreateCapacityProviderRequest$: StaticStructureSchema;
|
|
69
71
|
export declare var CreateCapacityProviderResponse$: StaticStructureSchema;
|
|
70
72
|
export declare var CreateClusterRequest$: StaticStructureSchema;
|
|
@@ -126,6 +128,8 @@ export declare var DeploymentConfiguration$: StaticStructureSchema;
|
|
|
126
128
|
export declare var DeploymentController$: StaticStructureSchema;
|
|
127
129
|
export declare var DeploymentEphemeralStorage$: StaticStructureSchema;
|
|
128
130
|
export declare var DeploymentLifecycleHook$: StaticStructureSchema;
|
|
131
|
+
export declare var DeploymentLifecycleHookDetail$: StaticStructureSchema;
|
|
132
|
+
export declare var DeploymentLifecycleHookTimeoutConfiguration$: StaticStructureSchema;
|
|
129
133
|
export declare var DeregisterContainerInstanceRequest$: StaticStructureSchema;
|
|
130
134
|
export declare var DeregisterContainerInstanceResponse$: StaticStructureSchema;
|
|
131
135
|
export declare var DeregisterTaskDefinitionRequest$: StaticStructureSchema;
|
|
@@ -375,6 +379,7 @@ export declare var VersionInfo$: StaticStructureSchema;
|
|
|
375
379
|
export declare var Volume$: StaticStructureSchema;
|
|
376
380
|
export declare var VolumeFrom$: StaticStructureSchema;
|
|
377
381
|
export declare var VpcLatticeConfiguration$: StaticStructureSchema;
|
|
382
|
+
export declare var ContinueServiceDeployment$: StaticOperationSchema;
|
|
378
383
|
export declare var CreateCapacityProvider$: StaticOperationSchema;
|
|
379
384
|
export declare var CreateCluster$: StaticOperationSchema;
|
|
380
385
|
export declare var CreateDaemon$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1049.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ecs",
|
|
@@ -23,20 +23,12 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.974.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.11",
|
|
29
|
-
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.12",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.40",
|
|
32
|
-
"@aws-sdk/region-config-resolver": "^3.972.14",
|
|
26
|
+
"@aws-sdk/core": "^3.974.12",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.43",
|
|
33
28
|
"@aws-sdk/types": "^3.973.8",
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"@smithy/core": "^3.24.1",
|
|
38
|
-
"@smithy/fetch-http-handler": "^5.4.1",
|
|
39
|
-
"@smithy/node-http-handler": "^4.7.1",
|
|
29
|
+
"@smithy/core": "^3.24.2",
|
|
30
|
+
"@smithy/fetch-http-handler": "^5.4.2",
|
|
31
|
+
"@smithy/node-http-handler": "^4.7.2",
|
|
40
32
|
"@smithy/types": "^4.14.1",
|
|
41
33
|
"tslib": "^2.6.2"
|
|
42
34
|
},
|