@aws-sdk/client-ecs 3.36.0 → 3.39.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/CHANGELOG.md +45 -0
- package/dist-cjs/ECS.js +0 -15
- package/dist-cjs/ECSClient.js +0 -20
- package/dist-cjs/commands/CreateCapacityProviderCommand.js +0 -30
- package/dist-cjs/commands/CreateClusterCommand.js +0 -35
- package/dist-cjs/commands/CreateServiceCommand.js +0 -129
- package/dist-cjs/commands/CreateTaskSetCommand.js +0 -27
- package/dist-cjs/commands/DeleteAccountSettingCommand.js +0 -25
- package/dist-cjs/commands/DeleteAttributesCommand.js +0 -24
- package/dist-cjs/commands/DeleteCapacityProviderCommand.js +0 -38
- package/dist-cjs/commands/DeleteClusterCommand.js +0 -30
- package/dist-cjs/commands/DeleteServiceCommand.js +0 -44
- package/dist-cjs/commands/DeleteTaskSetCommand.js +0 -25
- package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +0 -36
- package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +0 -39
- package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +0 -24
- package/dist-cjs/commands/DescribeClustersCommand.js +0 -24
- package/dist-cjs/commands/DescribeContainerInstancesCommand.js +0 -25
- package/dist-cjs/commands/DescribeServicesCommand.js +0 -24
- package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +0 -31
- package/dist-cjs/commands/DescribeTaskSetsCommand.js +0 -27
- package/dist-cjs/commands/DescribeTasksCommand.js +0 -24
- package/dist-cjs/commands/DiscoverPollEndpointCommand.js +0 -28
- package/dist-cjs/commands/ExecuteCommandCommand.js +0 -24
- package/dist-cjs/commands/ListAccountSettingsCommand.js +0 -24
- package/dist-cjs/commands/ListAttributesCommand.js +0 -30
- package/dist-cjs/commands/ListClustersCommand.js +0 -24
- package/dist-cjs/commands/ListContainerInstancesCommand.js +0 -27
- package/dist-cjs/commands/ListServicesCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +0 -30
- package/dist-cjs/commands/ListTaskDefinitionsCommand.js +0 -26
- package/dist-cjs/commands/ListTasksCommand.js +0 -28
- package/dist-cjs/commands/PutAccountSettingCommand.js +0 -47
- package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +0 -26
- package/dist-cjs/commands/PutAttributesCommand.js +0 -28
- package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +0 -37
- package/dist-cjs/commands/RegisterContainerInstanceCommand.js +0 -29
- package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +0 -41
- package/dist-cjs/commands/RunTaskCommand.js +0 -52
- package/dist-cjs/commands/StartTaskCommand.js +0 -28
- package/dist-cjs/commands/StopTaskCommand.js +0 -36
- package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +0 -28
- package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +0 -28
- package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +0 -28
- package/dist-cjs/commands/TagResourceCommand.js +0 -27
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateCapacityProviderCommand.js +0 -24
- package/dist-cjs/commands/UpdateClusterCommand.js +0 -24
- package/dist-cjs/commands/UpdateClusterSettingsCommand.js +0 -24
- package/dist-cjs/commands/UpdateContainerAgentCommand.js +0 -39
- package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +0 -72
- package/dist-cjs/commands/UpdateServiceCommand.js +0 -132
- package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +0 -28
- package/dist-cjs/commands/UpdateTaskSetCommand.js +0 -26
- package/dist-cjs/commands/index.js +55 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -66
- package/dist-cjs/models/models_0.js +26 -619
- package/dist-cjs/pagination/ListAccountSettingsPaginator.js +0 -10
- package/dist-cjs/pagination/ListAttributesPaginator.js +0 -10
- package/dist-cjs/pagination/ListClustersPaginator.js +0 -10
- package/dist-cjs/pagination/ListContainerInstancesPaginator.js +0 -10
- package/dist-cjs/pagination/ListServicesPaginator.js +0 -10
- package/dist-cjs/pagination/ListTaskDefinitionFamiliesPaginator.js +0 -10
- package/dist-cjs/pagination/ListTaskDefinitionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListTasksPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +12 -0
- package/dist-cjs/protocols/Aws_json1_1.js +25 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +6 -0
- package/dist-cjs/waiters/waitForServicesInactive.js +0 -9
- package/dist-cjs/waiters/waitForTasksRunning.js +0 -9
- package/dist-cjs/waiters/waitForTasksStopped.js +0 -9
- package/dist-es/commands/index.js +52 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -66
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/pagination/index.js +9 -0
- package/dist-es/protocols/Aws_json1_1.js +22 -1
- package/dist-es/waiters/index.js +3 -0
- package/dist-types/commands/index.d.ts +52 -0
- package/dist-types/index.d.ts +5 -66
- package/dist-types/models/models_0.d.ts +170 -25
- package/dist-types/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/ECS.d.ts +53 -702
- package/dist-types/ts3.4/ECSClient.d.ts +24 -101
- package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +2 -125
- package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +2 -68
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +2 -128
- package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/index.d.ts +52 -0
- package/dist-types/ts3.4/index.d.ts +5 -66
- package/dist-types/ts3.4/models/models_0.d.ts +1099 -6662
- package/dist-types/ts3.4/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForServicesInactive.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForTasksRunning.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForTasksStopped.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +3 -0
- package/package.json +33 -33
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListAccountSettingsPaginator";
|
|
3
|
+
export * from "./ListAttributesPaginator";
|
|
4
|
+
export * from "./ListClustersPaginator";
|
|
5
|
+
export * from "./ListContainerInstancesPaginator";
|
|
6
|
+
export * from "./ListServicesPaginator";
|
|
7
|
+
export * from "./ListTaskDefinitionFamiliesPaginator";
|
|
8
|
+
export * from "./ListTaskDefinitionsPaginator";
|
|
9
|
+
export * from "./ListTasksPaginator";
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { ECSClientConfig } from "./ECSClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { ECSClientConfig } from "./ECSClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
|
|
2
2
|
import { DescribeServicesCommandInput } from "../commands/DescribeServicesCommand";
|
|
3
3
|
import { ECSClient } from "../ECSClient";
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
* @deprecated Use waitUntilServicesInactive instead. waitForServicesInactive does not throw error in non-success cases.
|
|
7
|
-
*/
|
|
4
|
+
|
|
8
5
|
export declare const waitForServicesInactive: (params: WaiterConfiguration<ECSClient>, input: DescribeServicesCommandInput) => Promise<WaiterResult>;
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
* @param params - Waiter configuration options.
|
|
12
|
-
* @param input - The input to DescribeServicesCommand for polling.
|
|
13
|
-
*/
|
|
6
|
+
|
|
14
7
|
export declare const waitUntilServicesInactive: (params: WaiterConfiguration<ECSClient>, input: DescribeServicesCommandInput) => Promise<WaiterResult>;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
|
|
2
2
|
import { DescribeTasksCommandInput } from "../commands/DescribeTasksCommand";
|
|
3
3
|
import { ECSClient } from "../ECSClient";
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
* @deprecated Use waitUntilTasksRunning instead. waitForTasksRunning does not throw error in non-success cases.
|
|
7
|
-
*/
|
|
4
|
+
|
|
8
5
|
export declare const waitForTasksRunning: (params: WaiterConfiguration<ECSClient>, input: DescribeTasksCommandInput) => Promise<WaiterResult>;
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
* @param params - Waiter configuration options.
|
|
12
|
-
* @param input - The input to DescribeTasksCommand for polling.
|
|
13
|
-
*/
|
|
6
|
+
|
|
14
7
|
export declare const waitUntilTasksRunning: (params: WaiterConfiguration<ECSClient>, input: DescribeTasksCommandInput) => Promise<WaiterResult>;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
|
|
2
2
|
import { DescribeTasksCommandInput } from "../commands/DescribeTasksCommand";
|
|
3
3
|
import { ECSClient } from "../ECSClient";
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
* @deprecated Use waitUntilTasksStopped instead. waitForTasksStopped does not throw error in non-success cases.
|
|
7
|
-
*/
|
|
4
|
+
|
|
8
5
|
export declare const waitForTasksStopped: (params: WaiterConfiguration<ECSClient>, input: DescribeTasksCommandInput) => Promise<WaiterResult>;
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
* @param params - Waiter configuration options.
|
|
12
|
-
* @param input - The input to DescribeTasksCommand for polling.
|
|
13
|
-
*/
|
|
6
|
+
|
|
14
7
|
export declare const waitUntilTasksStopped: (params: WaiterConfiguration<ECSClient>, input: DescribeTasksCommandInput) => Promise<WaiterResult>;
|
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.39.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -19,41 +19,41 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-crypto/sha256-browser": "
|
|
23
|
-
"@aws-crypto/sha256-js": "
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "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-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
52
|
-
"@aws-sdk/util-waiter": "3.
|
|
22
|
+
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
|
+
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.39.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.39.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.39.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.38.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.38.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.38.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.38.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.38.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.38.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.39.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.38.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.39.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.38.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.38.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.39.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.38.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.38.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.38.0",
|
|
42
|
+
"@aws-sdk/types": "3.38.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.38.0",
|
|
44
|
+
"@aws-sdk/util-base64-browser": "3.37.0",
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.37.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.37.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.37.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.38.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.39.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.37.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.37.0",
|
|
52
|
+
"@aws-sdk/util-waiter": "3.38.0",
|
|
53
53
|
"tslib": "^2.3.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/service-client-documentation-generator": "3.38.0",
|
|
57
57
|
"@types/node": "^12.7.5",
|
|
58
58
|
"downlevel-dts": "0.7.0",
|
|
59
59
|
"jest": "^26.1.0",
|