@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.
Files changed (156) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist-cjs/ECS.js +0 -15
  3. package/dist-cjs/ECSClient.js +0 -20
  4. package/dist-cjs/commands/CreateCapacityProviderCommand.js +0 -30
  5. package/dist-cjs/commands/CreateClusterCommand.js +0 -35
  6. package/dist-cjs/commands/CreateServiceCommand.js +0 -129
  7. package/dist-cjs/commands/CreateTaskSetCommand.js +0 -27
  8. package/dist-cjs/commands/DeleteAccountSettingCommand.js +0 -25
  9. package/dist-cjs/commands/DeleteAttributesCommand.js +0 -24
  10. package/dist-cjs/commands/DeleteCapacityProviderCommand.js +0 -38
  11. package/dist-cjs/commands/DeleteClusterCommand.js +0 -30
  12. package/dist-cjs/commands/DeleteServiceCommand.js +0 -44
  13. package/dist-cjs/commands/DeleteTaskSetCommand.js +0 -25
  14. package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +0 -36
  15. package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +0 -39
  16. package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +0 -24
  17. package/dist-cjs/commands/DescribeClustersCommand.js +0 -24
  18. package/dist-cjs/commands/DescribeContainerInstancesCommand.js +0 -25
  19. package/dist-cjs/commands/DescribeServicesCommand.js +0 -24
  20. package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +0 -31
  21. package/dist-cjs/commands/DescribeTaskSetsCommand.js +0 -27
  22. package/dist-cjs/commands/DescribeTasksCommand.js +0 -24
  23. package/dist-cjs/commands/DiscoverPollEndpointCommand.js +0 -28
  24. package/dist-cjs/commands/ExecuteCommandCommand.js +0 -24
  25. package/dist-cjs/commands/ListAccountSettingsCommand.js +0 -24
  26. package/dist-cjs/commands/ListAttributesCommand.js +0 -30
  27. package/dist-cjs/commands/ListClustersCommand.js +0 -24
  28. package/dist-cjs/commands/ListContainerInstancesCommand.js +0 -27
  29. package/dist-cjs/commands/ListServicesCommand.js +0 -25
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  31. package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +0 -30
  32. package/dist-cjs/commands/ListTaskDefinitionsCommand.js +0 -26
  33. package/dist-cjs/commands/ListTasksCommand.js +0 -28
  34. package/dist-cjs/commands/PutAccountSettingCommand.js +0 -47
  35. package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +0 -26
  36. package/dist-cjs/commands/PutAttributesCommand.js +0 -28
  37. package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +0 -37
  38. package/dist-cjs/commands/RegisterContainerInstanceCommand.js +0 -29
  39. package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +0 -41
  40. package/dist-cjs/commands/RunTaskCommand.js +0 -52
  41. package/dist-cjs/commands/StartTaskCommand.js +0 -28
  42. package/dist-cjs/commands/StopTaskCommand.js +0 -36
  43. package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +0 -28
  44. package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +0 -28
  45. package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +0 -28
  46. package/dist-cjs/commands/TagResourceCommand.js +0 -27
  47. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  48. package/dist-cjs/commands/UpdateCapacityProviderCommand.js +0 -24
  49. package/dist-cjs/commands/UpdateClusterCommand.js +0 -24
  50. package/dist-cjs/commands/UpdateClusterSettingsCommand.js +0 -24
  51. package/dist-cjs/commands/UpdateContainerAgentCommand.js +0 -39
  52. package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +0 -72
  53. package/dist-cjs/commands/UpdateServiceCommand.js +0 -132
  54. package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +0 -28
  55. package/dist-cjs/commands/UpdateTaskSetCommand.js +0 -26
  56. package/dist-cjs/commands/index.js +55 -0
  57. package/dist-cjs/endpoints.js +6 -1
  58. package/dist-cjs/index.js +5 -66
  59. package/dist-cjs/models/models_0.js +26 -619
  60. package/dist-cjs/pagination/ListAccountSettingsPaginator.js +0 -10
  61. package/dist-cjs/pagination/ListAttributesPaginator.js +0 -10
  62. package/dist-cjs/pagination/ListClustersPaginator.js +0 -10
  63. package/dist-cjs/pagination/ListContainerInstancesPaginator.js +0 -10
  64. package/dist-cjs/pagination/ListServicesPaginator.js +0 -10
  65. package/dist-cjs/pagination/ListTaskDefinitionFamiliesPaginator.js +0 -10
  66. package/dist-cjs/pagination/ListTaskDefinitionsPaginator.js +0 -10
  67. package/dist-cjs/pagination/ListTasksPaginator.js +0 -10
  68. package/dist-cjs/pagination/index.js +12 -0
  69. package/dist-cjs/protocols/Aws_json1_1.js +25 -5
  70. package/dist-cjs/runtimeConfig.browser.js +1 -5
  71. package/dist-cjs/runtimeConfig.js +1 -5
  72. package/dist-cjs/runtimeConfig.native.js +0 -3
  73. package/dist-cjs/runtimeConfig.shared.js +0 -3
  74. package/dist-cjs/waiters/index.js +6 -0
  75. package/dist-cjs/waiters/waitForServicesInactive.js +0 -9
  76. package/dist-cjs/waiters/waitForTasksRunning.js +0 -9
  77. package/dist-cjs/waiters/waitForTasksStopped.js +0 -9
  78. package/dist-es/commands/index.js +52 -0
  79. package/dist-es/endpoints.js +6 -1
  80. package/dist-es/index.js +5 -66
  81. package/dist-es/models/models_0.js +20 -0
  82. package/dist-es/pagination/index.js +9 -0
  83. package/dist-es/protocols/Aws_json1_1.js +22 -1
  84. package/dist-es/waiters/index.js +3 -0
  85. package/dist-types/commands/index.d.ts +52 -0
  86. package/dist-types/index.d.ts +5 -66
  87. package/dist-types/models/models_0.d.ts +170 -25
  88. package/dist-types/pagination/index.d.ts +9 -0
  89. package/dist-types/ts3.4/ECS.d.ts +53 -702
  90. package/dist-types/ts3.4/ECSClient.d.ts +24 -101
  91. package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +2 -26
  92. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -31
  93. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +2 -125
  94. package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +2 -23
  95. package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +2 -21
  96. package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +2 -20
  97. package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +2 -34
  98. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -26
  99. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +2 -40
  100. package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +2 -21
  101. package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +2 -32
  102. package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +2 -35
  103. package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +2 -21
  106. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +2 -27
  108. package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +2 -23
  109. package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +2 -24
  111. package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +2 -26
  114. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +2 -23
  116. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +2 -21
  117. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +2 -26
  119. package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +2 -22
  120. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +2 -24
  121. package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +2 -43
  122. package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +2 -22
  123. package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +2 -24
  124. package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +2 -33
  125. package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +2 -25
  126. package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +2 -37
  127. package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +2 -48
  128. package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +2 -24
  129. package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +2 -32
  130. package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +2 -24
  131. package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +2 -24
  132. package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +2 -24
  133. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
  134. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  135. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +2 -35
  139. package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +2 -68
  140. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +2 -128
  141. package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +2 -24
  142. package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +2 -22
  143. package/dist-types/ts3.4/commands/index.d.ts +52 -0
  144. package/dist-types/ts3.4/index.d.ts +5 -66
  145. package/dist-types/ts3.4/models/models_0.d.ts +1099 -6662
  146. package/dist-types/ts3.4/pagination/index.d.ts +9 -0
  147. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  148. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  149. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  150. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  151. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  152. package/dist-types/ts3.4/waiters/waitForServicesInactive.d.ts +2 -9
  153. package/dist-types/ts3.4/waiters/waitForTasksRunning.d.ts +2 -9
  154. package/dist-types/ts3.4/waiters/waitForTasksStopped.d.ts +2 -9
  155. package/dist-types/waiters/index.d.ts +3 -0
  156. 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,7 +1,5 @@
1
1
  import { ECSClientConfig } from "./ECSClient";
2
- /**
3
- * @internal
4
- */
2
+
5
3
  export declare const getRuntimeConfig: (config: ECSClientConfig) => {
6
4
  runtime: string;
7
5
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -1,8 +1,6 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { ECSClientConfig } from "./ECSClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: ECSClientConfig) => {
7
5
  apiVersion: string;
8
6
  disableHostPrefix: boolean;
@@ -0,0 +1,3 @@
1
+ export * from "./waitForServicesInactive";
2
+ export * from "./waitForTasksRunning";
3
+ export * from "./waitForTasksStopped";
@@ -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>;
@@ -0,0 +1,3 @@
1
+ export * from "./waitForServicesInactive";
2
+ export * from "./waitForTasksRunning";
3
+ export * from "./waitForTasksStopped";
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.36.0",
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": "^1.0.0",
23
- "@aws-crypto/sha256-js": "^1.0.0",
24
- "@aws-sdk/client-sts": "3.36.0",
25
- "@aws-sdk/config-resolver": "3.36.0",
26
- "@aws-sdk/credential-provider-node": "3.36.0",
27
- "@aws-sdk/fetch-http-handler": "3.36.0",
28
- "@aws-sdk/hash-node": "3.36.0",
29
- "@aws-sdk/invalid-dependency": "3.36.0",
30
- "@aws-sdk/middleware-content-length": "3.36.0",
31
- "@aws-sdk/middleware-host-header": "3.36.0",
32
- "@aws-sdk/middleware-logger": "3.36.0",
33
- "@aws-sdk/middleware-retry": "3.36.0",
34
- "@aws-sdk/middleware-serde": "3.36.0",
35
- "@aws-sdk/middleware-signing": "3.36.0",
36
- "@aws-sdk/middleware-stack": "3.36.0",
37
- "@aws-sdk/middleware-user-agent": "3.36.0",
38
- "@aws-sdk/node-config-provider": "3.36.0",
39
- "@aws-sdk/node-http-handler": "3.36.0",
40
- "@aws-sdk/protocol-http": "3.36.0",
41
- "@aws-sdk/smithy-client": "3.36.0",
42
- "@aws-sdk/types": "3.36.0",
43
- "@aws-sdk/url-parser": "3.36.0",
44
- "@aws-sdk/util-base64-browser": "3.36.0",
45
- "@aws-sdk/util-base64-node": "3.36.0",
46
- "@aws-sdk/util-body-length-browser": "3.36.0",
47
- "@aws-sdk/util-body-length-node": "3.36.0",
48
- "@aws-sdk/util-user-agent-browser": "3.36.0",
49
- "@aws-sdk/util-user-agent-node": "3.36.0",
50
- "@aws-sdk/util-utf8-browser": "3.36.0",
51
- "@aws-sdk/util-utf8-node": "3.36.0",
52
- "@aws-sdk/util-waiter": "3.36.0",
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.36.0",
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",