@aws-sdk/client-ecs 3.787.0 → 3.795.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 +8 -0
- package/dist-cjs/index.js +77 -0
- package/dist-es/ECS.js +2 -0
- package/dist-es/commands/StopServiceDeploymentCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +18 -0
- package/dist-es/protocols/Aws_json1_1.js +32 -1
- package/dist-types/ECS.d.ts +7 -0
- package/dist-types/ECSClient.d.ts +3 -2
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +2 -2
- package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +2 -3
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +2 -2
- package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +2 -2
- package/dist-types/commands/PutAccountSettingCommand.d.ts +2 -2
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +2 -2
- package/dist-types/commands/StopServiceDeploymentCommand.d.ts +149 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +147 -144
- package/dist-types/models/models_1.d.ts +88 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -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/StopServiceDeploymentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +25 -10
- package/dist-types/ts3.4/models/models_1.d.ts +11 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +1 -1
|
@@ -221,6 +221,10 @@ import {
|
|
|
221
221
|
StartTaskCommandInput,
|
|
222
222
|
StartTaskCommandOutput,
|
|
223
223
|
} from "./commands/StartTaskCommand";
|
|
224
|
+
import {
|
|
225
|
+
StopServiceDeploymentCommandInput,
|
|
226
|
+
StopServiceDeploymentCommandOutput,
|
|
227
|
+
} from "./commands/StopServiceDeploymentCommand";
|
|
224
228
|
import {
|
|
225
229
|
StopTaskCommandInput,
|
|
226
230
|
StopTaskCommandOutput,
|
|
@@ -333,6 +337,7 @@ export type ServiceInputTypes =
|
|
|
333
337
|
| RegisterTaskDefinitionCommandInput
|
|
334
338
|
| RunTaskCommandInput
|
|
335
339
|
| StartTaskCommandInput
|
|
340
|
+
| StopServiceDeploymentCommandInput
|
|
336
341
|
| StopTaskCommandInput
|
|
337
342
|
| SubmitAttachmentStateChangesCommandInput
|
|
338
343
|
| SubmitContainerStateChangeCommandInput
|
|
@@ -393,6 +398,7 @@ export type ServiceOutputTypes =
|
|
|
393
398
|
| RegisterTaskDefinitionCommandOutput
|
|
394
399
|
| RunTaskCommandOutput
|
|
395
400
|
| StartTaskCommandOutput
|
|
401
|
+
| StopServiceDeploymentCommandOutput
|
|
396
402
|
| StopTaskCommandOutput
|
|
397
403
|
| SubmitAttachmentStateChangesCommandOutput
|
|
398
404
|
| SubmitContainerStateChangeCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ECSClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ECSClient";
|
|
8
|
+
import {
|
|
9
|
+
StopServiceDeploymentRequest,
|
|
10
|
+
StopServiceDeploymentResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface StopServiceDeploymentCommandInput
|
|
15
|
+
extends StopServiceDeploymentRequest {}
|
|
16
|
+
export interface StopServiceDeploymentCommandOutput
|
|
17
|
+
extends StopServiceDeploymentResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const StopServiceDeploymentCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: StopServiceDeploymentCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
StopServiceDeploymentCommandInput,
|
|
24
|
+
StopServiceDeploymentCommandOutput,
|
|
25
|
+
ECSClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: StopServiceDeploymentCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
StopServiceDeploymentCommandInput,
|
|
33
|
+
StopServiceDeploymentCommandOutput,
|
|
34
|
+
ECSClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class StopServiceDeploymentCommand extends StopServiceDeploymentCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: StopServiceDeploymentRequest;
|
|
44
|
+
output: StopServiceDeploymentResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: StopServiceDeploymentCommandInput;
|
|
48
|
+
output: StopServiceDeploymentCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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 {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
UntagResourceRequest,
|
|
10
10
|
UntagResourceResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
@@ -42,6 +42,7 @@ export * from "./RegisterContainerInstanceCommand";
|
|
|
42
42
|
export * from "./RegisterTaskDefinitionCommand";
|
|
43
43
|
export * from "./RunTaskCommand";
|
|
44
44
|
export * from "./StartTaskCommand";
|
|
45
|
+
export * from "./StopServiceDeploymentCommand";
|
|
45
46
|
export * from "./StopTaskCommand";
|
|
46
47
|
export * from "./SubmitAttachmentStateChangesCommand";
|
|
47
48
|
export * from "./SubmitContainerStateChangeCommand";
|
|
@@ -610,6 +610,7 @@ export declare const SettingName: {
|
|
|
610
610
|
readonly AWSVPC_TRUNKING: "awsvpcTrunking";
|
|
611
611
|
readonly CONTAINER_INSIGHTS: "containerInsights";
|
|
612
612
|
readonly CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat";
|
|
613
|
+
readonly DEFAULT_LOG_DRIVER_MODE: "defaultLogDriverMode";
|
|
613
614
|
readonly FARGATE_FIPS_MODE: "fargateFIPSMode";
|
|
614
615
|
readonly FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod";
|
|
615
616
|
readonly GUARD_DUTY_ACTIVATE: "guardDutyActivate";
|
|
@@ -1247,6 +1248,7 @@ export declare const ServiceDeploymentStatus: {
|
|
|
1247
1248
|
readonly PENDING: "PENDING";
|
|
1248
1249
|
readonly ROLLBACK_FAILED: "ROLLBACK_FAILED";
|
|
1249
1250
|
readonly ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS";
|
|
1251
|
+
readonly ROLLBACK_REQUESTED: "ROLLBACK_REQUESTED";
|
|
1250
1252
|
readonly ROLLBACK_SUCCESSFUL: "ROLLBACK_SUCCESSFUL";
|
|
1251
1253
|
readonly STOPPED: "STOPPED";
|
|
1252
1254
|
readonly STOP_REQUESTED: "STOP_REQUESTED";
|
|
@@ -1874,6 +1876,29 @@ export interface StartTaskResponse {
|
|
|
1874
1876
|
tasks?: Task[] | undefined;
|
|
1875
1877
|
failures?: Failure[] | undefined;
|
|
1876
1878
|
}
|
|
1879
|
+
export declare class ServiceDeploymentNotFoundException extends __BaseException {
|
|
1880
|
+
readonly name: "ServiceDeploymentNotFoundException";
|
|
1881
|
+
readonly $fault: "client";
|
|
1882
|
+
constructor(
|
|
1883
|
+
opts: __ExceptionOptionType<
|
|
1884
|
+
ServiceDeploymentNotFoundException,
|
|
1885
|
+
__BaseException
|
|
1886
|
+
>
|
|
1887
|
+
);
|
|
1888
|
+
}
|
|
1889
|
+
export declare const StopServiceDeploymentStopType: {
|
|
1890
|
+
readonly ABORT: "ABORT";
|
|
1891
|
+
readonly ROLLBACK: "ROLLBACK";
|
|
1892
|
+
};
|
|
1893
|
+
export type StopServiceDeploymentStopType =
|
|
1894
|
+
(typeof StopServiceDeploymentStopType)[keyof typeof StopServiceDeploymentStopType];
|
|
1895
|
+
export interface StopServiceDeploymentRequest {
|
|
1896
|
+
serviceDeploymentArn: string | undefined;
|
|
1897
|
+
stopType?: StopServiceDeploymentStopType | undefined;
|
|
1898
|
+
}
|
|
1899
|
+
export interface StopServiceDeploymentResponse {
|
|
1900
|
+
serviceDeploymentArn?: string | undefined;
|
|
1901
|
+
}
|
|
1877
1902
|
export interface StopTaskRequest {
|
|
1878
1903
|
cluster?: string | undefined;
|
|
1879
1904
|
task: string | undefined;
|
|
@@ -1936,16 +1961,6 @@ export interface SubmitTaskStateChangeRequest {
|
|
|
1936
1961
|
export interface SubmitTaskStateChangeResponse {
|
|
1937
1962
|
acknowledgment?: string | undefined;
|
|
1938
1963
|
}
|
|
1939
|
-
export interface TagResourceRequest {
|
|
1940
|
-
resourceArn: string | undefined;
|
|
1941
|
-
tags: Tag[] | undefined;
|
|
1942
|
-
}
|
|
1943
|
-
export interface TagResourceResponse {}
|
|
1944
|
-
export interface UntagResourceRequest {
|
|
1945
|
-
resourceArn: string | undefined;
|
|
1946
|
-
tagKeys: string[] | undefined;
|
|
1947
|
-
}
|
|
1948
|
-
export interface UntagResourceResponse {}
|
|
1949
1964
|
export declare const SessionFilterSensitiveLog: (obj: Session) => any;
|
|
1950
1965
|
export declare const ExecuteCommandResponseFilterSensitiveLog: (
|
|
1951
1966
|
obj: ExecuteCommandResponse
|
|
@@ -26,9 +26,20 @@ import {
|
|
|
26
26
|
ServiceConnectConfiguration,
|
|
27
27
|
ServiceRegistry,
|
|
28
28
|
ServiceVolumeConfiguration,
|
|
29
|
+
Tag,
|
|
29
30
|
TaskSet,
|
|
30
31
|
VpcLatticeConfiguration,
|
|
31
32
|
} from "./models_0";
|
|
33
|
+
export interface TagResourceRequest {
|
|
34
|
+
resourceArn: string | undefined;
|
|
35
|
+
tags: Tag[] | undefined;
|
|
36
|
+
}
|
|
37
|
+
export interface TagResourceResponse {}
|
|
38
|
+
export interface UntagResourceRequest {
|
|
39
|
+
resourceArn: string | undefined;
|
|
40
|
+
tagKeys: string[] | undefined;
|
|
41
|
+
}
|
|
42
|
+
export interface UntagResourceResponse {}
|
|
32
43
|
export interface AutoScalingGroupProviderUpdate {
|
|
33
44
|
managedScaling?: ManagedScaling | undefined;
|
|
34
45
|
managedTerminationProtection?: ManagedTerminationProtection | undefined;
|
|
@@ -179,6 +179,10 @@ import {
|
|
|
179
179
|
StartTaskCommandInput,
|
|
180
180
|
StartTaskCommandOutput,
|
|
181
181
|
} from "../commands/StartTaskCommand";
|
|
182
|
+
import {
|
|
183
|
+
StopServiceDeploymentCommandInput,
|
|
184
|
+
StopServiceDeploymentCommandOutput,
|
|
185
|
+
} from "../commands/StopServiceDeploymentCommand";
|
|
182
186
|
import {
|
|
183
187
|
StopTaskCommandInput,
|
|
184
188
|
StopTaskCommandOutput,
|
|
@@ -415,6 +419,10 @@ export declare const se_StartTaskCommand: (
|
|
|
415
419
|
input: StartTaskCommandInput,
|
|
416
420
|
context: __SerdeContext
|
|
417
421
|
) => Promise<__HttpRequest>;
|
|
422
|
+
export declare const se_StopServiceDeploymentCommand: (
|
|
423
|
+
input: StopServiceDeploymentCommandInput,
|
|
424
|
+
context: __SerdeContext
|
|
425
|
+
) => Promise<__HttpRequest>;
|
|
418
426
|
export declare const se_StopTaskCommand: (
|
|
419
427
|
input: StopTaskCommandInput,
|
|
420
428
|
context: __SerdeContext
|
|
@@ -651,6 +659,10 @@ export declare const de_StartTaskCommand: (
|
|
|
651
659
|
output: __HttpResponse,
|
|
652
660
|
context: __SerdeContext
|
|
653
661
|
) => Promise<StartTaskCommandOutput>;
|
|
662
|
+
export declare const de_StopServiceDeploymentCommand: (
|
|
663
|
+
output: __HttpResponse,
|
|
664
|
+
context: __SerdeContext
|
|
665
|
+
) => Promise<StopServiceDeploymentCommandOutput>;
|
|
654
666
|
export declare const de_StopTaskCommand: (
|
|
655
667
|
output: __HttpResponse,
|
|
656
668
|
context: __SerdeContext
|
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.795.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ecs",
|