@aws-sdk/client-ecs 3.202.0 → 3.208.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/dist-cjs/ECS.js +30 -0
- package/dist-cjs/commands/GetTaskProtectionCommand.js +46 -0
- package/dist-cjs/commands/UpdateTaskProtectionCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +37 -17
- package/dist-cjs/protocols/Aws_json1_1.js +173 -3
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/ECS.js +30 -0
- package/dist-es/commands/GetTaskProtectionCommand.js +42 -0
- package/dist-es/commands/UpdateTaskProtectionCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +27 -12
- package/dist-es/protocols/Aws_json1_1.js +166 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/ECS.d.ts +42 -2
- package/dist-types/ECSClient.d.ts +4 -2
- package/dist-types/commands/CreateServiceCommand.d.ts +3 -2
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +37 -0
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +62 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +151 -20
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/ECS.d.ts +34 -0
- package/dist-types/ts3.4/ECSClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetTaskProtectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +45 -7
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +36 -35
- package/CHANGELOG.md +0 -4366
|
@@ -1162,6 +1162,26 @@ export declare class TargetNotConnectedException extends __BaseException {
|
|
|
1162
1162
|
opts: __ExceptionOptionType<TargetNotConnectedException, __BaseException>
|
|
1163
1163
|
);
|
|
1164
1164
|
}
|
|
1165
|
+
export interface GetTaskProtectionRequest {
|
|
1166
|
+
cluster: string | undefined;
|
|
1167
|
+
tasks?: string[];
|
|
1168
|
+
}
|
|
1169
|
+
export interface ProtectedTask {
|
|
1170
|
+
taskArn?: string;
|
|
1171
|
+
protectionEnabled?: boolean;
|
|
1172
|
+
expirationDate?: Date;
|
|
1173
|
+
}
|
|
1174
|
+
export interface GetTaskProtectionResponse {
|
|
1175
|
+
protectedTasks?: ProtectedTask[];
|
|
1176
|
+
failures?: Failure[];
|
|
1177
|
+
}
|
|
1178
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
1179
|
+
readonly name: "ResourceNotFoundException";
|
|
1180
|
+
readonly $fault: "client";
|
|
1181
|
+
constructor(
|
|
1182
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
1183
|
+
);
|
|
1184
|
+
}
|
|
1165
1185
|
export interface ListAccountSettingsRequest {
|
|
1166
1186
|
name?: SettingName | string;
|
|
1167
1187
|
value?: string;
|
|
@@ -1478,13 +1498,6 @@ export interface SubmitTaskStateChangeRequest {
|
|
|
1478
1498
|
export interface SubmitTaskStateChangeResponse {
|
|
1479
1499
|
acknowledgment?: string;
|
|
1480
1500
|
}
|
|
1481
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
1482
|
-
readonly name: "ResourceNotFoundException";
|
|
1483
|
-
readonly $fault: "client";
|
|
1484
|
-
constructor(
|
|
1485
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
1486
|
-
);
|
|
1487
|
-
}
|
|
1488
1501
|
export interface TagResourceRequest {
|
|
1489
1502
|
resourceArn: string | undefined;
|
|
1490
1503
|
tags: Tag[] | undefined;
|
|
@@ -1581,6 +1594,16 @@ export interface UpdateServicePrimaryTaskSetRequest {
|
|
|
1581
1594
|
export interface UpdateServicePrimaryTaskSetResponse {
|
|
1582
1595
|
taskSet?: TaskSet;
|
|
1583
1596
|
}
|
|
1597
|
+
export interface UpdateTaskProtectionRequest {
|
|
1598
|
+
cluster: string | undefined;
|
|
1599
|
+
tasks: string[] | undefined;
|
|
1600
|
+
protectionEnabled: boolean | undefined;
|
|
1601
|
+
expiresInMinutes?: number;
|
|
1602
|
+
}
|
|
1603
|
+
export interface UpdateTaskProtectionResponse {
|
|
1604
|
+
protectedTasks?: ProtectedTask[];
|
|
1605
|
+
failures?: Failure[];
|
|
1606
|
+
}
|
|
1584
1607
|
export interface UpdateTaskSetRequest {
|
|
1585
1608
|
cluster: string | undefined;
|
|
1586
1609
|
service: string | undefined;
|
|
@@ -1881,6 +1904,15 @@ export declare const SessionFilterSensitiveLog: (obj: Session) => any;
|
|
|
1881
1904
|
export declare const ExecuteCommandResponseFilterSensitiveLog: (
|
|
1882
1905
|
obj: ExecuteCommandResponse
|
|
1883
1906
|
) => any;
|
|
1907
|
+
export declare const GetTaskProtectionRequestFilterSensitiveLog: (
|
|
1908
|
+
obj: GetTaskProtectionRequest
|
|
1909
|
+
) => any;
|
|
1910
|
+
export declare const ProtectedTaskFilterSensitiveLog: (
|
|
1911
|
+
obj: ProtectedTask
|
|
1912
|
+
) => any;
|
|
1913
|
+
export declare const GetTaskProtectionResponseFilterSensitiveLog: (
|
|
1914
|
+
obj: GetTaskProtectionResponse
|
|
1915
|
+
) => any;
|
|
1884
1916
|
export declare const ListAccountSettingsRequestFilterSensitiveLog: (
|
|
1885
1917
|
obj: ListAccountSettingsRequest
|
|
1886
1918
|
) => any;
|
|
@@ -2076,6 +2108,12 @@ export declare const UpdateServicePrimaryTaskSetRequestFilterSensitiveLog: (
|
|
|
2076
2108
|
export declare const UpdateServicePrimaryTaskSetResponseFilterSensitiveLog: (
|
|
2077
2109
|
obj: UpdateServicePrimaryTaskSetResponse
|
|
2078
2110
|
) => any;
|
|
2111
|
+
export declare const UpdateTaskProtectionRequestFilterSensitiveLog: (
|
|
2112
|
+
obj: UpdateTaskProtectionRequest
|
|
2113
|
+
) => any;
|
|
2114
|
+
export declare const UpdateTaskProtectionResponseFilterSensitiveLog: (
|
|
2115
|
+
obj: UpdateTaskProtectionResponse
|
|
2116
|
+
) => any;
|
|
2079
2117
|
export declare const UpdateTaskSetRequestFilterSensitiveLog: (
|
|
2080
2118
|
obj: UpdateTaskSetRequest
|
|
2081
2119
|
) => any;
|
|
@@ -87,6 +87,10 @@ import {
|
|
|
87
87
|
ExecuteCommandCommandInput,
|
|
88
88
|
ExecuteCommandCommandOutput,
|
|
89
89
|
} from "../commands/ExecuteCommandCommand";
|
|
90
|
+
import {
|
|
91
|
+
GetTaskProtectionCommandInput,
|
|
92
|
+
GetTaskProtectionCommandOutput,
|
|
93
|
+
} from "../commands/GetTaskProtectionCommand";
|
|
90
94
|
import {
|
|
91
95
|
ListAccountSettingsCommandInput,
|
|
92
96
|
ListAccountSettingsCommandOutput,
|
|
@@ -207,6 +211,10 @@ import {
|
|
|
207
211
|
UpdateServicePrimaryTaskSetCommandInput,
|
|
208
212
|
UpdateServicePrimaryTaskSetCommandOutput,
|
|
209
213
|
} from "../commands/UpdateServicePrimaryTaskSetCommand";
|
|
214
|
+
import {
|
|
215
|
+
UpdateTaskProtectionCommandInput,
|
|
216
|
+
UpdateTaskProtectionCommandOutput,
|
|
217
|
+
} from "../commands/UpdateTaskProtectionCommand";
|
|
210
218
|
import {
|
|
211
219
|
UpdateTaskSetCommandInput,
|
|
212
220
|
UpdateTaskSetCommandOutput,
|
|
@@ -295,6 +303,10 @@ export declare const serializeAws_json1_1ExecuteCommandCommand: (
|
|
|
295
303
|
input: ExecuteCommandCommandInput,
|
|
296
304
|
context: __SerdeContext
|
|
297
305
|
) => Promise<__HttpRequest>;
|
|
306
|
+
export declare const serializeAws_json1_1GetTaskProtectionCommand: (
|
|
307
|
+
input: GetTaskProtectionCommandInput,
|
|
308
|
+
context: __SerdeContext
|
|
309
|
+
) => Promise<__HttpRequest>;
|
|
298
310
|
export declare const serializeAws_json1_1ListAccountSettingsCommand: (
|
|
299
311
|
input: ListAccountSettingsCommandInput,
|
|
300
312
|
context: __SerdeContext
|
|
@@ -415,6 +427,10 @@ export declare const serializeAws_json1_1UpdateServicePrimaryTaskSetCommand: (
|
|
|
415
427
|
input: UpdateServicePrimaryTaskSetCommandInput,
|
|
416
428
|
context: __SerdeContext
|
|
417
429
|
) => Promise<__HttpRequest>;
|
|
430
|
+
export declare const serializeAws_json1_1UpdateTaskProtectionCommand: (
|
|
431
|
+
input: UpdateTaskProtectionCommandInput,
|
|
432
|
+
context: __SerdeContext
|
|
433
|
+
) => Promise<__HttpRequest>;
|
|
418
434
|
export declare const serializeAws_json1_1UpdateTaskSetCommand: (
|
|
419
435
|
input: UpdateTaskSetCommandInput,
|
|
420
436
|
context: __SerdeContext
|
|
@@ -503,6 +519,10 @@ export declare const deserializeAws_json1_1ExecuteCommandCommand: (
|
|
|
503
519
|
output: __HttpResponse,
|
|
504
520
|
context: __SerdeContext
|
|
505
521
|
) => Promise<ExecuteCommandCommandOutput>;
|
|
522
|
+
export declare const deserializeAws_json1_1GetTaskProtectionCommand: (
|
|
523
|
+
output: __HttpResponse,
|
|
524
|
+
context: __SerdeContext
|
|
525
|
+
) => Promise<GetTaskProtectionCommandOutput>;
|
|
506
526
|
export declare const deserializeAws_json1_1ListAccountSettingsCommand: (
|
|
507
527
|
output: __HttpResponse,
|
|
508
528
|
context: __SerdeContext
|
|
@@ -623,6 +643,10 @@ export declare const deserializeAws_json1_1UpdateServicePrimaryTaskSetCommand: (
|
|
|
623
643
|
output: __HttpResponse,
|
|
624
644
|
context: __SerdeContext
|
|
625
645
|
) => Promise<UpdateServicePrimaryTaskSetCommandOutput>;
|
|
646
|
+
export declare const deserializeAws_json1_1UpdateTaskProtectionCommand: (
|
|
647
|
+
output: __HttpResponse,
|
|
648
|
+
context: __SerdeContext
|
|
649
|
+
) => Promise<UpdateTaskProtectionCommandOutput>;
|
|
626
650
|
export declare const deserializeAws_json1_1UpdateTaskSetCommand: (
|
|
627
651
|
output: __HttpResponse,
|
|
628
652
|
context: __SerdeContext
|
|
@@ -5,8 +5,6 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
5
5
|
defaultsMode: import("@aws-sdk/types").Provider<
|
|
6
6
|
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider: (
|
|
12
10
|
input: any
|
|
@@ -33,6 +31,8 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
33
31
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
34
32
|
apiVersion: string;
|
|
35
33
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
34
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
@@ -5,8 +5,6 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
5
5
|
defaultsMode: import("@aws-sdk/types").Provider<
|
|
6
6
|
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider: (
|
|
12
10
|
input: any
|
|
@@ -33,6 +31,8 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
33
31
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
34
32
|
apiVersion: string;
|
|
35
33
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
34
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
@@ -2,6 +2,8 @@ import { Logger as __Logger } from "@aws-sdk/types";
|
|
|
2
2
|
import { ECSClientConfig } from "./ECSClient";
|
|
3
3
|
export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
4
4
|
apiVersion: string;
|
|
5
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
6
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
5
7
|
disableHostPrefix: boolean;
|
|
6
8
|
endpointProvider: (
|
|
7
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.208.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,46 +19,47 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64
|
|
45
|
-
"@aws-sdk/util-base64-
|
|
22
|
+
"@aws-sdk/client-sts": "3.208.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.208.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.208.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.208.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.208.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.208.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.208.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.208.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.208.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.208.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.208.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.208.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.208.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.208.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.208.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.208.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.208.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.208.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.208.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.208.0",
|
|
42
|
+
"@aws-sdk/types": "3.208.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.208.0",
|
|
44
|
+
"@aws-sdk/util-base64": "3.208.0",
|
|
45
|
+
"@aws-sdk/util-base64-browser": "3.208.0",
|
|
46
|
+
"@aws-sdk/util-base64-node": "3.208.0",
|
|
46
47
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.208.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.208.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.208.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.208.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.208.0",
|
|
53
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
54
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
55
|
-
"@aws-sdk/util-waiter": "3.
|
|
55
|
+
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
|
+
"@aws-sdk/util-waiter": "3.208.0",
|
|
56
57
|
"tslib": "^2.3.1"
|
|
57
58
|
},
|
|
58
59
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.208.0",
|
|
60
61
|
"@tsconfig/node14": "1.0.3",
|
|
61
|
-
"@types/node": "^
|
|
62
|
+
"@types/node": "^14.14.31",
|
|
62
63
|
"concurrently": "7.0.0",
|
|
63
64
|
"downlevel-dts": "0.10.1",
|
|
64
65
|
"rimraf": "3.0.2",
|