@aws-sdk/client-ecs 3.1048.0 → 3.1050.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/index.js +33 -0
- package/dist-cjs/models/errors.js +14 -14
- package/dist-cjs/schemas/schemas_0.js +69 -28
- package/dist-es/ECS.js +2 -0
- package/dist-es/commands/ContinueServiceDeploymentCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +16 -0
- package/dist-es/models/errors.js +12 -12
- package/dist-es/schemas/schemas_0.js +60 -20
- package/dist-types/ECS.d.ts +7 -0
- package/dist-types/ECSClient.d.ts +3 -2
- 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/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 +6 -0
- 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/schemas/schemas_0.d.ts +5 -0
- package/package.json +3 -3
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
import type { Compatibility, Connectivity, HealthStatus, IpcMode, LaunchType, ManagedAgentName, NetworkMode, PidMode, PropagateTags, SortOrder, TaskDefinitionStatus, TaskField, TaskFilesystemType, TaskSetField, TaskStopCode } from "./enums";
|
|
2
|
-
import type { Attachment, Attribute, CapacityProviderStrategyItem, ContainerDefinition, EBSTagSpecification, EnvironmentFile, EphemeralStorage, Failure, InferenceAccelerator, KeyValuePair, LoadBalancer, NetworkBinding, NetworkConfiguration, PlacementConstraint, PlacementStrategy, ProxyConfiguration, ResourceRequirement, RuntimePlatform, Scale, ServiceRegistry, Tag, TaskDefinition, TaskDefinitionPlacementConstraint, TaskSet, Volume } from "./models_0";
|
|
2
|
+
import type { Attachment, Attribute, CapacityProviderStrategyItem, ContainerDefinition, EBSTagSpecification, EnvironmentFile, EphemeralStorage, Failure, InferenceAccelerator, KeyValuePair, LoadBalancer, NetworkBinding, NetworkConfiguration, PlacementConstraint, PlacementStrategy, ProxyConfiguration, ResourceRequirement, RuntimePlatform, Scale, ServiceRegistry, ServiceRevision, Tag, TaskDefinition, TaskDefinitionPlacementConstraint, TaskSet, Volume } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface DescribeServiceRevisionsResponse {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The list of service revisions described.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
serviceRevisions?: ServiceRevision[] | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>Any failures associated with the call.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
failures?: Failure[] | undefined;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export interface TagResourceRequest {
|
|
22
|
+
/**
|
|
23
|
+
* <p>The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported resources are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container instances.</p> <p>In order to tag a service that has the following ARN format, you need to migrate the service to the long ARN. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-arn-migration.html">Migrate an Amazon ECS short service ARN to a long ARN</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p> <code>arn:aws:ecs:region:aws_account_id:service/service-name</code> </p> <p>After the migration is complete, the service has the long ARN format, as shown below. Use this ARN to tag the service.</p> <p> <code>arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name</code> </p> <p>If you try to tag a service with a short ARN, you receive an <code>InvalidParameterException</code> error.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
resourceArn: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The tags to add to the resource. A tag is an array of key-value pairs.</p> <p>The following basic restrictions apply to tags:</p> <ul> <li> <p>Maximum number of tags per resource - 50</p> </li> <li> <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p> </li> <li> <p>Maximum key length - 128 Unicode characters in UTF-8</p> </li> <li> <p>Maximum value length - 256 Unicode characters in UTF-8</p> </li> <li> <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p> </li> <li> <p>Tag keys and values are case-sensitive.</p> </li> <li> <p>Do not use <code>aws:</code>, <code>AWS:</code>, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.</p> </li> </ul>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
tags: Tag[] | undefined;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export interface TagResourceResponse {
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export interface DeleteTaskDefinitionsRequest {
|
|
42
|
+
/**
|
|
43
|
+
* <p>The <code>family</code> and <code>revision</code> (<code>family:revision</code>) or full Amazon Resource Name (ARN) of the task definition to delete. You must specify a <code>revision</code>.</p> <p>You can specify up to 10 task definitions as a comma separated list.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
taskDefinitions: string[] | undefined;
|
|
47
|
+
}
|
|
3
48
|
/**
|
|
4
49
|
* @public
|
|
5
50
|
*/
|
|
@@ -66,6 +66,8 @@ export declare var ContainerInstanceHealthStatus$: StaticStructureSchema;
|
|
|
66
66
|
export declare var ContainerOverride$: StaticStructureSchema;
|
|
67
67
|
export declare var ContainerRestartPolicy$: StaticStructureSchema;
|
|
68
68
|
export declare var ContainerStateChange$: StaticStructureSchema;
|
|
69
|
+
export declare var ContinueServiceDeploymentRequest$: StaticStructureSchema;
|
|
70
|
+
export declare var ContinueServiceDeploymentResponse$: StaticStructureSchema;
|
|
69
71
|
export declare var CreateCapacityProviderRequest$: StaticStructureSchema;
|
|
70
72
|
export declare var CreateCapacityProviderResponse$: StaticStructureSchema;
|
|
71
73
|
export declare var CreateClusterRequest$: StaticStructureSchema;
|
|
@@ -127,6 +129,8 @@ export declare var DeploymentConfiguration$: StaticStructureSchema;
|
|
|
127
129
|
export declare var DeploymentController$: StaticStructureSchema;
|
|
128
130
|
export declare var DeploymentEphemeralStorage$: StaticStructureSchema;
|
|
129
131
|
export declare var DeploymentLifecycleHook$: StaticStructureSchema;
|
|
132
|
+
export declare var DeploymentLifecycleHookDetail$: StaticStructureSchema;
|
|
133
|
+
export declare var DeploymentLifecycleHookTimeoutConfiguration$: StaticStructureSchema;
|
|
130
134
|
export declare var DeregisterContainerInstanceRequest$: StaticStructureSchema;
|
|
131
135
|
export declare var DeregisterContainerInstanceResponse$: StaticStructureSchema;
|
|
132
136
|
export declare var DeregisterTaskDefinitionRequest$: StaticStructureSchema;
|
|
@@ -376,6 +380,7 @@ export declare var VersionInfo$: StaticStructureSchema;
|
|
|
376
380
|
export declare var Volume$: StaticStructureSchema;
|
|
377
381
|
export declare var VolumeFrom$: StaticStructureSchema;
|
|
378
382
|
export declare var VpcLatticeConfiguration$: StaticStructureSchema;
|
|
383
|
+
export declare var ContinueServiceDeployment$: StaticOperationSchema;
|
|
379
384
|
export declare var CreateCapacityProvider$: StaticOperationSchema;
|
|
380
385
|
export declare var CreateCluster$: StaticOperationSchema;
|
|
381
386
|
export declare var CreateDaemon$: StaticOperationSchema;
|
|
@@ -5,6 +5,10 @@ import {
|
|
|
5
5
|
Paginator,
|
|
6
6
|
WaiterConfiguration,
|
|
7
7
|
} from "@smithy/types";
|
|
8
|
+
import {
|
|
9
|
+
ContinueServiceDeploymentCommandInput,
|
|
10
|
+
ContinueServiceDeploymentCommandOutput,
|
|
11
|
+
} from "./commands/ContinueServiceDeploymentCommand";
|
|
8
12
|
import {
|
|
9
13
|
CreateCapacityProviderCommandInput,
|
|
10
14
|
CreateCapacityProviderCommandOutput,
|
|
@@ -311,6 +315,19 @@ import {
|
|
|
311
315
|
} from "./commands/UpdateTaskSetCommand";
|
|
312
316
|
import { ECSClient } from "./ECSClient";
|
|
313
317
|
export interface ECS {
|
|
318
|
+
continueServiceDeployment(
|
|
319
|
+
args: ContinueServiceDeploymentCommandInput,
|
|
320
|
+
options?: __HttpHandlerOptions
|
|
321
|
+
): Promise<ContinueServiceDeploymentCommandOutput>;
|
|
322
|
+
continueServiceDeployment(
|
|
323
|
+
args: ContinueServiceDeploymentCommandInput,
|
|
324
|
+
cb: (err: any, data?: ContinueServiceDeploymentCommandOutput) => void
|
|
325
|
+
): void;
|
|
326
|
+
continueServiceDeployment(
|
|
327
|
+
args: ContinueServiceDeploymentCommandInput,
|
|
328
|
+
options: __HttpHandlerOptions,
|
|
329
|
+
cb: (err: any, data?: ContinueServiceDeploymentCommandOutput) => void
|
|
330
|
+
): void;
|
|
314
331
|
createCapacityProvider(
|
|
315
332
|
args: CreateCapacityProviderCommandInput,
|
|
316
333
|
options?: __HttpHandlerOptions
|
|
@@ -36,6 +36,10 @@ import {
|
|
|
36
36
|
HttpAuthSchemeInputConfig,
|
|
37
37
|
HttpAuthSchemeResolvedConfig,
|
|
38
38
|
} from "./auth/httpAuthSchemeProvider";
|
|
39
|
+
import {
|
|
40
|
+
ContinueServiceDeploymentCommandInput,
|
|
41
|
+
ContinueServiceDeploymentCommandOutput,
|
|
42
|
+
} from "./commands/ContinueServiceDeploymentCommand";
|
|
39
43
|
import {
|
|
40
44
|
CreateCapacityProviderCommandInput,
|
|
41
45
|
CreateCapacityProviderCommandOutput,
|
|
@@ -348,6 +352,7 @@ import {
|
|
|
348
352
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
349
353
|
export { __Client };
|
|
350
354
|
export type ServiceInputTypes =
|
|
355
|
+
| ContinueServiceDeploymentCommandInput
|
|
351
356
|
| CreateCapacityProviderCommandInput
|
|
352
357
|
| CreateClusterCommandInput
|
|
353
358
|
| CreateDaemonCommandInput
|
|
@@ -425,6 +430,7 @@ export type ServiceInputTypes =
|
|
|
425
430
|
| UpdateTaskProtectionCommandInput
|
|
426
431
|
| UpdateTaskSetCommandInput;
|
|
427
432
|
export type ServiceOutputTypes =
|
|
433
|
+
| ContinueServiceDeploymentCommandOutput
|
|
428
434
|
| CreateCapacityProviderCommandOutput
|
|
429
435
|
| CreateClusterCommandOutput
|
|
430
436
|
| CreateDaemonCommandOutput
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ECSClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ECSClient";
|
|
8
|
+
import {
|
|
9
|
+
ContinueServiceDeploymentRequest,
|
|
10
|
+
ContinueServiceDeploymentResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ContinueServiceDeploymentCommandInput
|
|
15
|
+
extends ContinueServiceDeploymentRequest {}
|
|
16
|
+
export interface ContinueServiceDeploymentCommandOutput
|
|
17
|
+
extends ContinueServiceDeploymentResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ContinueServiceDeploymentCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ContinueServiceDeploymentCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
ContinueServiceDeploymentCommandInput,
|
|
24
|
+
ContinueServiceDeploymentCommandOutput,
|
|
25
|
+
ECSClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: ContinueServiceDeploymentCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
ContinueServiceDeploymentCommandInput,
|
|
33
|
+
ContinueServiceDeploymentCommandOutput,
|
|
34
|
+
ECSClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class ContinueServiceDeploymentCommand extends ContinueServiceDeploymentCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: ContinueServiceDeploymentRequest;
|
|
46
|
+
output: ContinueServiceDeploymentResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: ContinueServiceDeploymentCommandInput;
|
|
50
|
+
output: ContinueServiceDeploymentCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ECSClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
DeleteTaskDefinitionsRequest,
|
|
10
|
+
DeleteTaskDefinitionsResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface DeleteTaskDefinitionsCommandInput
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ECSClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
DescribeServiceRevisionsResponse,
|
|
11
|
-
} from "../models/models_0";
|
|
8
|
+
import { DescribeServiceRevisionsRequest } from "../models/models_0";
|
|
9
|
+
import { DescribeServiceRevisionsResponse } from "../models/models_1";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface DescribeServiceRevisionsCommandInput
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ECSClient";
|
|
8
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/
|
|
8
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
@@ -250,6 +250,12 @@ export declare const PlatformDeviceType: {
|
|
|
250
250
|
};
|
|
251
251
|
export type PlatformDeviceType =
|
|
252
252
|
(typeof PlatformDeviceType)[keyof typeof PlatformDeviceType];
|
|
253
|
+
export declare const DeploymentLifecycleHookAction: {
|
|
254
|
+
readonly CONTINUE: "CONTINUE";
|
|
255
|
+
readonly ROLLBACK: "ROLLBACK";
|
|
256
|
+
};
|
|
257
|
+
export type DeploymentLifecycleHookAction =
|
|
258
|
+
(typeof DeploymentLifecycleHookAction)[keyof typeof DeploymentLifecycleHookAction];
|
|
253
259
|
export declare const DaemonDeploymentRollbackMonitorsStatus: {
|
|
254
260
|
readonly DISABLED: "DISABLED";
|
|
255
261
|
readonly MONITORING: "MONITORING";
|
|
@@ -499,6 +505,7 @@ export declare const DeploymentLifecycleHookStage: {
|
|
|
499
505
|
readonly POST_PRODUCTION_TRAFFIC_SHIFT: "POST_PRODUCTION_TRAFFIC_SHIFT";
|
|
500
506
|
readonly POST_SCALE_UP: "POST_SCALE_UP";
|
|
501
507
|
readonly POST_TEST_TRAFFIC_SHIFT: "POST_TEST_TRAFFIC_SHIFT";
|
|
508
|
+
readonly PRE_PRODUCTION_TRAFFIC_SHIFT: "PRE_PRODUCTION_TRAFFIC_SHIFT";
|
|
502
509
|
readonly PRE_SCALE_UP: "PRE_SCALE_UP";
|
|
503
510
|
readonly PRODUCTION_TRAFFIC_SHIFT: "PRODUCTION_TRAFFIC_SHIFT";
|
|
504
511
|
readonly RECONCILE_SERVICE: "RECONCILE_SERVICE";
|
|
@@ -506,6 +513,12 @@ export declare const DeploymentLifecycleHookStage: {
|
|
|
506
513
|
};
|
|
507
514
|
export type DeploymentLifecycleHookStage =
|
|
508
515
|
(typeof DeploymentLifecycleHookStage)[keyof typeof DeploymentLifecycleHookStage];
|
|
516
|
+
export declare const DeploymentLifecycleHookTargetType: {
|
|
517
|
+
readonly AWS_LAMBDA: "AWS_LAMBDA";
|
|
518
|
+
readonly PAUSE: "PAUSE";
|
|
519
|
+
};
|
|
520
|
+
export type DeploymentLifecycleHookTargetType =
|
|
521
|
+
(typeof DeploymentLifecycleHookTargetType)[keyof typeof DeploymentLifecycleHookTargetType];
|
|
509
522
|
export declare const DeploymentStrategy: {
|
|
510
523
|
readonly BLUE_GREEN: "BLUE_GREEN";
|
|
511
524
|
readonly CANARY: "CANARY";
|
|
@@ -514,6 +527,15 @@ export declare const DeploymentStrategy: {
|
|
|
514
527
|
};
|
|
515
528
|
export type DeploymentStrategy =
|
|
516
529
|
(typeof DeploymentStrategy)[keyof typeof DeploymentStrategy];
|
|
530
|
+
export declare const DeploymentLifecycleHookStatus: {
|
|
531
|
+
readonly AWAITING_ACTION: "AWAITING_ACTION";
|
|
532
|
+
readonly FAILED: "FAILED";
|
|
533
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
534
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
535
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
536
|
+
};
|
|
537
|
+
export type DeploymentLifecycleHookStatus =
|
|
538
|
+
(typeof DeploymentLifecycleHookStatus)[keyof typeof DeploymentLifecycleHookStatus];
|
|
517
539
|
export declare const ServiceDeploymentLifecycleStage: {
|
|
518
540
|
readonly BAKE_TIME: "BAKE_TIME";
|
|
519
541
|
readonly CLEAN_UP: "CLEAN_UP";
|
|
@@ -148,6 +148,16 @@ export declare class NoUpdateAvailableException extends __BaseException {
|
|
|
148
148
|
opts: __ExceptionOptionType<NoUpdateAvailableException, __BaseException>
|
|
149
149
|
);
|
|
150
150
|
}
|
|
151
|
+
export declare class ServiceDeploymentNotFoundException extends __BaseException {
|
|
152
|
+
readonly name: "ServiceDeploymentNotFoundException";
|
|
153
|
+
readonly $fault: "client";
|
|
154
|
+
constructor(
|
|
155
|
+
opts: __ExceptionOptionType<
|
|
156
|
+
ServiceDeploymentNotFoundException,
|
|
157
|
+
__BaseException
|
|
158
|
+
>
|
|
159
|
+
);
|
|
160
|
+
}
|
|
151
161
|
export declare class PlatformUnknownException extends __BaseException {
|
|
152
162
|
readonly name: "PlatformUnknownException";
|
|
153
163
|
readonly $fault: "client";
|
|
@@ -199,16 +209,6 @@ export declare class ConflictException extends __BaseException {
|
|
|
199
209
|
resourceIds?: string[] | undefined;
|
|
200
210
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
201
211
|
}
|
|
202
|
-
export declare class ServiceDeploymentNotFoundException extends __BaseException {
|
|
203
|
-
readonly name: "ServiceDeploymentNotFoundException";
|
|
204
|
-
readonly $fault: "client";
|
|
205
|
-
constructor(
|
|
206
|
-
opts: __ExceptionOptionType<
|
|
207
|
-
ServiceDeploymentNotFoundException,
|
|
208
|
-
__BaseException
|
|
209
|
-
>
|
|
210
|
-
);
|
|
211
|
-
}
|
|
212
212
|
export declare class TaskSetNotFoundException extends __BaseException {
|
|
213
213
|
readonly name: "TaskSetNotFoundException";
|
|
214
214
|
readonly $fault: "client";
|
|
@@ -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;
|
|
@@ -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.1050.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,8 +23,8 @@
|
|
|
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.
|
|
26
|
+
"@aws-sdk/core": "^3.974.12",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.43",
|
|
28
28
|
"@aws-sdk/types": "^3.973.8",
|
|
29
29
|
"@smithy/core": "^3.24.2",
|
|
30
30
|
"@smithy/fetch-http-handler": "^5.4.2",
|