@aws-sdk/client-emr-containers 3.34.0 → 3.37.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 (236) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/EMRContainers.js +1 -26
  3. package/dist-cjs/EMRContainersClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/CancelJobRunCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/CreateManagedEndpointCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/CreateVirtualClusterCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/DeleteManagedEndpointCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/DeleteVirtualClusterCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/DescribeJobRunCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/DescribeManagedEndpointCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/DescribeVirtualClusterCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/ListJobRunsCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/ListManagedEndpointsCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/ListVirtualClustersCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/StartJobRunCommand.js +2 -27
  17. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  18. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  20. package/{dist/cjs → dist-cjs}/index.js +0 -1
  21. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  22. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -139
  23. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  24. package/{dist/cjs → dist-cjs}/pagination/ListJobRunsPaginator.js +1 -12
  25. package/{dist/cjs → dist-cjs}/pagination/ListManagedEndpointsPaginator.js +1 -12
  26. package/{dist/cjs → dist-cjs}/pagination/ListVirtualClustersPaginator.js +1 -12
  27. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +3 -9
  28. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  29. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  30. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  31. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  32. package/{dist/es → dist-es}/EMRContainers.js +1 -2
  33. package/{dist/es → dist-es}/EMRContainersClient.js +1 -2
  34. package/{dist/es → dist-es}/commands/CancelJobRunCommand.js +2 -3
  35. package/{dist/es → dist-es}/commands/CreateManagedEndpointCommand.js +2 -3
  36. package/{dist/es → dist-es}/commands/CreateVirtualClusterCommand.js +2 -3
  37. package/{dist/es → dist-es}/commands/DeleteManagedEndpointCommand.js +2 -3
  38. package/{dist/es → dist-es}/commands/DeleteVirtualClusterCommand.js +2 -3
  39. package/{dist/es → dist-es}/commands/DescribeJobRunCommand.js +2 -3
  40. package/{dist/es → dist-es}/commands/DescribeManagedEndpointCommand.js +2 -3
  41. package/{dist/es → dist-es}/commands/DescribeVirtualClusterCommand.js +2 -3
  42. package/{dist/es → dist-es}/commands/ListJobRunsCommand.js +2 -3
  43. package/{dist/es → dist-es}/commands/ListManagedEndpointsCommand.js +2 -3
  44. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  45. package/{dist/es → dist-es}/commands/ListVirtualClustersCommand.js +2 -3
  46. package/{dist/es → dist-es}/commands/StartJobRunCommand.js +2 -3
  47. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  48. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  49. package/{dist/es → dist-es}/endpoints.js +1 -2
  50. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  51. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  52. package/{dist/es → dist-es}/models/models_0.js +0 -1
  53. package/dist-es/pagination/Interfaces.js +1 -0
  54. package/{dist/es → dist-es}/pagination/ListJobRunsPaginator.js +1 -2
  55. package/{dist/es → dist-es}/pagination/ListManagedEndpointsPaginator.js +1 -2
  56. package/{dist/es → dist-es}/pagination/ListVirtualClustersPaginator.js +1 -2
  57. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1 -2
  58. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  59. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  60. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  61. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  62. package/{dist/types → dist-types}/EMRContainers.d.ts +2 -2
  63. package/{dist/types → dist-types}/EMRContainersClient.d.ts +8 -8
  64. package/{dist/types → dist-types}/commands/CancelJobRunCommand.d.ts +2 -2
  65. package/{dist/types → dist-types}/commands/CreateManagedEndpointCommand.d.ts +2 -2
  66. package/{dist/types → dist-types}/commands/CreateVirtualClusterCommand.d.ts +2 -2
  67. package/{dist/types → dist-types}/commands/DeleteManagedEndpointCommand.d.ts +2 -2
  68. package/{dist/types → dist-types}/commands/DeleteVirtualClusterCommand.d.ts +2 -2
  69. package/{dist/types → dist-types}/commands/DescribeJobRunCommand.d.ts +2 -2
  70. package/{dist/types → dist-types}/commands/DescribeManagedEndpointCommand.d.ts +2 -2
  71. package/{dist/types → dist-types}/commands/DescribeVirtualClusterCommand.d.ts +2 -2
  72. package/{dist/types → dist-types}/commands/ListJobRunsCommand.d.ts +2 -2
  73. package/{dist/types → dist-types}/commands/ListManagedEndpointsCommand.d.ts +2 -2
  74. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  75. package/{dist/types → dist-types}/commands/ListVirtualClustersCommand.d.ts +2 -2
  76. package/{dist/types → dist-types}/commands/StartJobRunCommand.d.ts +2 -2
  77. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  78. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  79. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  80. package/{index.ts → dist-types/index.d.ts} +0 -0
  81. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  82. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  83. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  84. package/{dist/types → dist-types}/pagination/ListJobRunsPaginator.d.ts +1 -1
  85. package/{dist/types → dist-types}/pagination/ListManagedEndpointsPaginator.d.ts +1 -1
  86. package/{dist/types → dist-types}/pagination/ListVirtualClustersPaginator.d.ts +1 -1
  87. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  88. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  89. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  90. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  91. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  92. package/{dist/types → dist-types}/ts3.4/EMRContainers.d.ts +18 -71
  93. package/{dist/types → dist-types}/ts3.4/EMRContainersClient.d.ts +32 -118
  94. package/dist-types/ts3.4/commands/CancelJobRunCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/CreateManagedEndpointCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/CreateVirtualClusterCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/DeleteManagedEndpointCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/DeleteVirtualClusterCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/DescribeJobRunCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/DescribeManagedEndpointCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/DescribeVirtualClusterCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/ListJobRunsCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/ListManagedEndpointsCommand.d.ts +17 -0
  104. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
  105. package/dist-types/ts3.4/commands/ListVirtualClustersCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  109. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  110. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  111. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  112. package/dist-types/ts3.4/models/models_0.d.ts +655 -0
  113. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  114. package/{dist/types → dist-types}/ts3.4/pagination/ListJobRunsPaginator.d.ts +1 -1
  115. package/{dist/types → dist-types}/ts3.4/pagination/ListManagedEndpointsPaginator.d.ts +1 -1
  116. package/{dist/types → dist-types}/ts3.4/pagination/ListVirtualClustersPaginator.d.ts +1 -1
  117. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  118. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  119. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  120. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  121. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  122. package/package.json +45 -42
  123. package/EMRContainers.ts +0 -550
  124. package/EMRContainersClient.ts +0 -328
  125. package/commands/CancelJobRunCommand.ts +0 -94
  126. package/commands/CreateManagedEndpointCommand.ts +0 -94
  127. package/commands/CreateVirtualClusterCommand.ts +0 -94
  128. package/commands/DeleteManagedEndpointCommand.ts +0 -94
  129. package/commands/DeleteVirtualClusterCommand.ts +0 -94
  130. package/commands/DescribeJobRunCommand.ts +0 -94
  131. package/commands/DescribeManagedEndpointCommand.ts +0 -94
  132. package/commands/DescribeVirtualClusterCommand.ts +0 -94
  133. package/commands/ListJobRunsCommand.ts +0 -94
  134. package/commands/ListManagedEndpointsCommand.ts +0 -94
  135. package/commands/ListTagsForResourceCommand.ts +0 -94
  136. package/commands/ListVirtualClustersCommand.ts +0 -94
  137. package/commands/StartJobRunCommand.ts +0 -94
  138. package/commands/TagResourceCommand.ts +0 -94
  139. package/commands/UntagResourceCommand.ts +0 -94
  140. package/dist/cjs/EMRContainers.js.map +0 -1
  141. package/dist/cjs/EMRContainersClient.js +0 -65
  142. package/dist/cjs/EMRContainersClient.js.map +0 -1
  143. package/dist/cjs/commands/CancelJobRunCommand.js.map +0 -1
  144. package/dist/cjs/commands/CreateManagedEndpointCommand.js.map +0 -1
  145. package/dist/cjs/commands/CreateVirtualClusterCommand.js.map +0 -1
  146. package/dist/cjs/commands/DeleteManagedEndpointCommand.js.map +0 -1
  147. package/dist/cjs/commands/DeleteVirtualClusterCommand.js.map +0 -1
  148. package/dist/cjs/commands/DescribeJobRunCommand.js.map +0 -1
  149. package/dist/cjs/commands/DescribeManagedEndpointCommand.js.map +0 -1
  150. package/dist/cjs/commands/DescribeVirtualClusterCommand.js.map +0 -1
  151. package/dist/cjs/commands/ListJobRunsCommand.js.map +0 -1
  152. package/dist/cjs/commands/ListManagedEndpointsCommand.js.map +0 -1
  153. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  154. package/dist/cjs/commands/ListVirtualClustersCommand.js.map +0 -1
  155. package/dist/cjs/commands/StartJobRunCommand.js.map +0 -1
  156. package/dist/cjs/commands/TagResourceCommand.js +0 -61
  157. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  158. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  159. package/dist/cjs/endpoints.js.map +0 -1
  160. package/dist/cjs/index.js.map +0 -1
  161. package/dist/cjs/models/index.js.map +0 -1
  162. package/dist/cjs/models/models_0.js.map +0 -1
  163. package/dist/cjs/package.json +0 -93
  164. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  165. package/dist/cjs/pagination/ListJobRunsPaginator.js.map +0 -1
  166. package/dist/cjs/pagination/ListManagedEndpointsPaginator.js.map +0 -1
  167. package/dist/cjs/pagination/ListVirtualClustersPaginator.js.map +0 -1
  168. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  169. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  170. package/dist/cjs/runtimeConfig.js.map +0 -1
  171. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  172. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  173. package/dist/es/EMRContainers.js.map +0 -1
  174. package/dist/es/EMRContainersClient.js.map +0 -1
  175. package/dist/es/commands/CancelJobRunCommand.js.map +0 -1
  176. package/dist/es/commands/CreateManagedEndpointCommand.js.map +0 -1
  177. package/dist/es/commands/CreateVirtualClusterCommand.js.map +0 -1
  178. package/dist/es/commands/DeleteManagedEndpointCommand.js.map +0 -1
  179. package/dist/es/commands/DeleteVirtualClusterCommand.js.map +0 -1
  180. package/dist/es/commands/DescribeJobRunCommand.js.map +0 -1
  181. package/dist/es/commands/DescribeManagedEndpointCommand.js.map +0 -1
  182. package/dist/es/commands/DescribeVirtualClusterCommand.js.map +0 -1
  183. package/dist/es/commands/ListJobRunsCommand.js.map +0 -1
  184. package/dist/es/commands/ListManagedEndpointsCommand.js.map +0 -1
  185. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  186. package/dist/es/commands/ListVirtualClustersCommand.js.map +0 -1
  187. package/dist/es/commands/StartJobRunCommand.js.map +0 -1
  188. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  189. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  190. package/dist/es/endpoints.js.map +0 -1
  191. package/dist/es/index.js +0 -23
  192. package/dist/es/index.js.map +0 -1
  193. package/dist/es/models/index.js +0 -2
  194. package/dist/es/models/index.js.map +0 -1
  195. package/dist/es/models/models_0.js.map +0 -1
  196. package/dist/es/package.json +0 -93
  197. package/dist/es/pagination/Interfaces.js +0 -2
  198. package/dist/es/pagination/Interfaces.js.map +0 -1
  199. package/dist/es/pagination/ListJobRunsPaginator.js.map +0 -1
  200. package/dist/es/pagination/ListManagedEndpointsPaginator.js.map +0 -1
  201. package/dist/es/pagination/ListVirtualClustersPaginator.js.map +0 -1
  202. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  203. package/dist/es/runtimeConfig.browser.js.map +0 -1
  204. package/dist/es/runtimeConfig.js.map +0 -1
  205. package/dist/es/runtimeConfig.native.js.map +0 -1
  206. package/dist/es/runtimeConfig.shared.js.map +0 -1
  207. package/dist/types/ts3.4/commands/CancelJobRunCommand.d.ts +0 -35
  208. package/dist/types/ts3.4/commands/CreateManagedEndpointCommand.d.ts +0 -35
  209. package/dist/types/ts3.4/commands/CreateVirtualClusterCommand.d.ts +0 -35
  210. package/dist/types/ts3.4/commands/DeleteManagedEndpointCommand.d.ts +0 -35
  211. package/dist/types/ts3.4/commands/DeleteVirtualClusterCommand.d.ts +0 -35
  212. package/dist/types/ts3.4/commands/DescribeJobRunCommand.d.ts +0 -35
  213. package/dist/types/ts3.4/commands/DescribeManagedEndpointCommand.d.ts +0 -35
  214. package/dist/types/ts3.4/commands/DescribeVirtualClusterCommand.d.ts +0 -35
  215. package/dist/types/ts3.4/commands/ListJobRunsCommand.d.ts +0 -35
  216. package/dist/types/ts3.4/commands/ListManagedEndpointsCommand.d.ts +0 -35
  217. package/dist/types/ts3.4/commands/ListVirtualClustersCommand.d.ts +0 -35
  218. package/dist/types/ts3.4/commands/StartJobRunCommand.d.ts +0 -35
  219. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
  220. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  221. package/dist/types/ts3.4/models/models_0.d.ts +0 -1073
  222. package/endpoints.ts +0 -83
  223. package/jest.config.js +0 -4
  224. package/models/models_0.ts +0 -1388
  225. package/pagination/Interfaces.ts +0 -7
  226. package/pagination/ListJobRunsPaginator.ts +0 -54
  227. package/pagination/ListManagedEndpointsPaginator.ts +0 -58
  228. package/pagination/ListVirtualClustersPaginator.ts +0 -58
  229. package/protocols/Aws_restJson1.ts +0 -2264
  230. package/runtimeConfig.browser.ts +0 -40
  231. package/runtimeConfig.native.ts +0 -16
  232. package/runtimeConfig.shared.ts +0 -16
  233. package/runtimeConfig.ts +0 -45
  234. package/tsconfig.es.json +0 -10
  235. package/tsconfig.json +0 -31
  236. package/tsconfig.types.json +0 -8
package/EMRContainers.ts DELETED
@@ -1,550 +0,0 @@
1
- import { EMRContainersClient } from "./EMRContainersClient";
2
- import {
3
- CancelJobRunCommand,
4
- CancelJobRunCommandInput,
5
- CancelJobRunCommandOutput,
6
- } from "./commands/CancelJobRunCommand";
7
- import {
8
- CreateManagedEndpointCommand,
9
- CreateManagedEndpointCommandInput,
10
- CreateManagedEndpointCommandOutput,
11
- } from "./commands/CreateManagedEndpointCommand";
12
- import {
13
- CreateVirtualClusterCommand,
14
- CreateVirtualClusterCommandInput,
15
- CreateVirtualClusterCommandOutput,
16
- } from "./commands/CreateVirtualClusterCommand";
17
- import {
18
- DeleteManagedEndpointCommand,
19
- DeleteManagedEndpointCommandInput,
20
- DeleteManagedEndpointCommandOutput,
21
- } from "./commands/DeleteManagedEndpointCommand";
22
- import {
23
- DeleteVirtualClusterCommand,
24
- DeleteVirtualClusterCommandInput,
25
- DeleteVirtualClusterCommandOutput,
26
- } from "./commands/DeleteVirtualClusterCommand";
27
- import {
28
- DescribeJobRunCommand,
29
- DescribeJobRunCommandInput,
30
- DescribeJobRunCommandOutput,
31
- } from "./commands/DescribeJobRunCommand";
32
- import {
33
- DescribeManagedEndpointCommand,
34
- DescribeManagedEndpointCommandInput,
35
- DescribeManagedEndpointCommandOutput,
36
- } from "./commands/DescribeManagedEndpointCommand";
37
- import {
38
- DescribeVirtualClusterCommand,
39
- DescribeVirtualClusterCommandInput,
40
- DescribeVirtualClusterCommandOutput,
41
- } from "./commands/DescribeVirtualClusterCommand";
42
- import { ListJobRunsCommand, ListJobRunsCommandInput, ListJobRunsCommandOutput } from "./commands/ListJobRunsCommand";
43
- import {
44
- ListManagedEndpointsCommand,
45
- ListManagedEndpointsCommandInput,
46
- ListManagedEndpointsCommandOutput,
47
- } from "./commands/ListManagedEndpointsCommand";
48
- import {
49
- ListTagsForResourceCommand,
50
- ListTagsForResourceCommandInput,
51
- ListTagsForResourceCommandOutput,
52
- } from "./commands/ListTagsForResourceCommand";
53
- import {
54
- ListVirtualClustersCommand,
55
- ListVirtualClustersCommandInput,
56
- ListVirtualClustersCommandOutput,
57
- } from "./commands/ListVirtualClustersCommand";
58
- import { StartJobRunCommand, StartJobRunCommandInput, StartJobRunCommandOutput } from "./commands/StartJobRunCommand";
59
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
60
- import {
61
- UntagResourceCommand,
62
- UntagResourceCommandInput,
63
- UntagResourceCommandOutput,
64
- } from "./commands/UntagResourceCommand";
65
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
66
-
67
- /**
68
- * <p>Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run
69
- * open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With
70
- * this deployment option, you can focus on running analytics workloads while Amazon EMR on
71
- * EKS builds, configures, and manages containers for open-source applications. For more
72
- * information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is Amazon EMR on EKS</a>.</p>
73
- * <p>
74
- * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The
75
- * <code>emr-containers</code> prefix is used in the following scenarios: </p>
76
- * <ul>
77
- * <li>
78
- * <p>It is the prefix in the CLI commands for Amazon EMR on EKS. For example, <code>aws
79
- * emr-containers start-job-run</code>.</p>
80
- * </li>
81
- * <li>
82
- * <p>It is the prefix before IAM policy actions for Amazon EMR on EKS. For example, <code>"Action": [
83
- * "emr-containers:StartJobRun"]</code>. For more information, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions">Policy actions for Amazon EMR on EKS</a>.</p>
84
- * </li>
85
- * <li>
86
- * <p>It is the prefix used in Amazon EMR on EKS service endpoints. For example, <code>emr-containers.us-east-2.amazonaws.com</code>. For more
87
- * information, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/service-quotas.html#service-endpoints">Amazon EMR on EKS Service Endpoints</a>.</p>
88
- * </li>
89
- * </ul>
90
- */
91
- export class EMRContainers extends EMRContainersClient {
92
- /**
93
- * <p>Cancels a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.</p>
94
- */
95
- public cancelJobRun(
96
- args: CancelJobRunCommandInput,
97
- options?: __HttpHandlerOptions
98
- ): Promise<CancelJobRunCommandOutput>;
99
- public cancelJobRun(args: CancelJobRunCommandInput, cb: (err: any, data?: CancelJobRunCommandOutput) => void): void;
100
- public cancelJobRun(
101
- args: CancelJobRunCommandInput,
102
- options: __HttpHandlerOptions,
103
- cb: (err: any, data?: CancelJobRunCommandOutput) => void
104
- ): void;
105
- public cancelJobRun(
106
- args: CancelJobRunCommandInput,
107
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CancelJobRunCommandOutput) => void),
108
- cb?: (err: any, data?: CancelJobRunCommandOutput) => void
109
- ): Promise<CancelJobRunCommandOutput> | void {
110
- const command = new CancelJobRunCommand(args);
111
- if (typeof optionsOrCb === "function") {
112
- this.send(command, optionsOrCb);
113
- } else if (typeof cb === "function") {
114
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
115
- this.send(command, optionsOrCb || {}, cb);
116
- } else {
117
- return this.send(command, optionsOrCb);
118
- }
119
- }
120
-
121
- /**
122
- * <p>Creates a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.</p>
123
- */
124
- public createManagedEndpoint(
125
- args: CreateManagedEndpointCommandInput,
126
- options?: __HttpHandlerOptions
127
- ): Promise<CreateManagedEndpointCommandOutput>;
128
- public createManagedEndpoint(
129
- args: CreateManagedEndpointCommandInput,
130
- cb: (err: any, data?: CreateManagedEndpointCommandOutput) => void
131
- ): void;
132
- public createManagedEndpoint(
133
- args: CreateManagedEndpointCommandInput,
134
- options: __HttpHandlerOptions,
135
- cb: (err: any, data?: CreateManagedEndpointCommandOutput) => void
136
- ): void;
137
- public createManagedEndpoint(
138
- args: CreateManagedEndpointCommandInput,
139
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateManagedEndpointCommandOutput) => void),
140
- cb?: (err: any, data?: CreateManagedEndpointCommandOutput) => void
141
- ): Promise<CreateManagedEndpointCommandOutput> | void {
142
- const command = new CreateManagedEndpointCommand(args);
143
- if (typeof optionsOrCb === "function") {
144
- this.send(command, optionsOrCb);
145
- } else if (typeof cb === "function") {
146
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
147
- this.send(command, optionsOrCb || {}, cb);
148
- } else {
149
- return this.send(command, optionsOrCb);
150
- }
151
- }
152
-
153
- /**
154
- * <p>Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.</p>
155
- */
156
- public createVirtualCluster(
157
- args: CreateVirtualClusterCommandInput,
158
- options?: __HttpHandlerOptions
159
- ): Promise<CreateVirtualClusterCommandOutput>;
160
- public createVirtualCluster(
161
- args: CreateVirtualClusterCommandInput,
162
- cb: (err: any, data?: CreateVirtualClusterCommandOutput) => void
163
- ): void;
164
- public createVirtualCluster(
165
- args: CreateVirtualClusterCommandInput,
166
- options: __HttpHandlerOptions,
167
- cb: (err: any, data?: CreateVirtualClusterCommandOutput) => void
168
- ): void;
169
- public createVirtualCluster(
170
- args: CreateVirtualClusterCommandInput,
171
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateVirtualClusterCommandOutput) => void),
172
- cb?: (err: any, data?: CreateVirtualClusterCommandOutput) => void
173
- ): Promise<CreateVirtualClusterCommandOutput> | void {
174
- const command = new CreateVirtualClusterCommand(args);
175
- if (typeof optionsOrCb === "function") {
176
- this.send(command, optionsOrCb);
177
- } else if (typeof cb === "function") {
178
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
179
- this.send(command, optionsOrCb || {}, cb);
180
- } else {
181
- return this.send(command, optionsOrCb);
182
- }
183
- }
184
-
185
- /**
186
- * <p>Deletes a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.</p>
187
- */
188
- public deleteManagedEndpoint(
189
- args: DeleteManagedEndpointCommandInput,
190
- options?: __HttpHandlerOptions
191
- ): Promise<DeleteManagedEndpointCommandOutput>;
192
- public deleteManagedEndpoint(
193
- args: DeleteManagedEndpointCommandInput,
194
- cb: (err: any, data?: DeleteManagedEndpointCommandOutput) => void
195
- ): void;
196
- public deleteManagedEndpoint(
197
- args: DeleteManagedEndpointCommandInput,
198
- options: __HttpHandlerOptions,
199
- cb: (err: any, data?: DeleteManagedEndpointCommandOutput) => void
200
- ): void;
201
- public deleteManagedEndpoint(
202
- args: DeleteManagedEndpointCommandInput,
203
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteManagedEndpointCommandOutput) => void),
204
- cb?: (err: any, data?: DeleteManagedEndpointCommandOutput) => void
205
- ): Promise<DeleteManagedEndpointCommandOutput> | void {
206
- const command = new DeleteManagedEndpointCommand(args);
207
- if (typeof optionsOrCb === "function") {
208
- this.send(command, optionsOrCb);
209
- } else if (typeof cb === "function") {
210
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
211
- this.send(command, optionsOrCb || {}, cb);
212
- } else {
213
- return this.send(command, optionsOrCb);
214
- }
215
- }
216
-
217
- /**
218
- * <p>Deletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.</p>
219
- */
220
- public deleteVirtualCluster(
221
- args: DeleteVirtualClusterCommandInput,
222
- options?: __HttpHandlerOptions
223
- ): Promise<DeleteVirtualClusterCommandOutput>;
224
- public deleteVirtualCluster(
225
- args: DeleteVirtualClusterCommandInput,
226
- cb: (err: any, data?: DeleteVirtualClusterCommandOutput) => void
227
- ): void;
228
- public deleteVirtualCluster(
229
- args: DeleteVirtualClusterCommandInput,
230
- options: __HttpHandlerOptions,
231
- cb: (err: any, data?: DeleteVirtualClusterCommandOutput) => void
232
- ): void;
233
- public deleteVirtualCluster(
234
- args: DeleteVirtualClusterCommandInput,
235
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteVirtualClusterCommandOutput) => void),
236
- cb?: (err: any, data?: DeleteVirtualClusterCommandOutput) => void
237
- ): Promise<DeleteVirtualClusterCommandOutput> | void {
238
- const command = new DeleteVirtualClusterCommand(args);
239
- if (typeof optionsOrCb === "function") {
240
- this.send(command, optionsOrCb);
241
- } else if (typeof cb === "function") {
242
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
243
- this.send(command, optionsOrCb || {}, cb);
244
- } else {
245
- return this.send(command, optionsOrCb);
246
- }
247
- }
248
-
249
- /**
250
- * <p>Displays detailed information about a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.</p>
251
- */
252
- public describeJobRun(
253
- args: DescribeJobRunCommandInput,
254
- options?: __HttpHandlerOptions
255
- ): Promise<DescribeJobRunCommandOutput>;
256
- public describeJobRun(
257
- args: DescribeJobRunCommandInput,
258
- cb: (err: any, data?: DescribeJobRunCommandOutput) => void
259
- ): void;
260
- public describeJobRun(
261
- args: DescribeJobRunCommandInput,
262
- options: __HttpHandlerOptions,
263
- cb: (err: any, data?: DescribeJobRunCommandOutput) => void
264
- ): void;
265
- public describeJobRun(
266
- args: DescribeJobRunCommandInput,
267
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeJobRunCommandOutput) => void),
268
- cb?: (err: any, data?: DescribeJobRunCommandOutput) => void
269
- ): Promise<DescribeJobRunCommandOutput> | void {
270
- const command = new DescribeJobRunCommand(args);
271
- if (typeof optionsOrCb === "function") {
272
- this.send(command, optionsOrCb);
273
- } else if (typeof cb === "function") {
274
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
275
- this.send(command, optionsOrCb || {}, cb);
276
- } else {
277
- return this.send(command, optionsOrCb);
278
- }
279
- }
280
-
281
- /**
282
- * <p>Displays detailed information about a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.</p>
283
- */
284
- public describeManagedEndpoint(
285
- args: DescribeManagedEndpointCommandInput,
286
- options?: __HttpHandlerOptions
287
- ): Promise<DescribeManagedEndpointCommandOutput>;
288
- public describeManagedEndpoint(
289
- args: DescribeManagedEndpointCommandInput,
290
- cb: (err: any, data?: DescribeManagedEndpointCommandOutput) => void
291
- ): void;
292
- public describeManagedEndpoint(
293
- args: DescribeManagedEndpointCommandInput,
294
- options: __HttpHandlerOptions,
295
- cb: (err: any, data?: DescribeManagedEndpointCommandOutput) => void
296
- ): void;
297
- public describeManagedEndpoint(
298
- args: DescribeManagedEndpointCommandInput,
299
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeManagedEndpointCommandOutput) => void),
300
- cb?: (err: any, data?: DescribeManagedEndpointCommandOutput) => void
301
- ): Promise<DescribeManagedEndpointCommandOutput> | void {
302
- const command = new DescribeManagedEndpointCommand(args);
303
- if (typeof optionsOrCb === "function") {
304
- this.send(command, optionsOrCb);
305
- } else if (typeof cb === "function") {
306
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
307
- this.send(command, optionsOrCb || {}, cb);
308
- } else {
309
- return this.send(command, optionsOrCb);
310
- }
311
- }
312
-
313
- /**
314
- * <p>Displays detailed information about a specified virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.</p>
315
- */
316
- public describeVirtualCluster(
317
- args: DescribeVirtualClusterCommandInput,
318
- options?: __HttpHandlerOptions
319
- ): Promise<DescribeVirtualClusterCommandOutput>;
320
- public describeVirtualCluster(
321
- args: DescribeVirtualClusterCommandInput,
322
- cb: (err: any, data?: DescribeVirtualClusterCommandOutput) => void
323
- ): void;
324
- public describeVirtualCluster(
325
- args: DescribeVirtualClusterCommandInput,
326
- options: __HttpHandlerOptions,
327
- cb: (err: any, data?: DescribeVirtualClusterCommandOutput) => void
328
- ): void;
329
- public describeVirtualCluster(
330
- args: DescribeVirtualClusterCommandInput,
331
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeVirtualClusterCommandOutput) => void),
332
- cb?: (err: any, data?: DescribeVirtualClusterCommandOutput) => void
333
- ): Promise<DescribeVirtualClusterCommandOutput> | void {
334
- const command = new DescribeVirtualClusterCommand(args);
335
- if (typeof optionsOrCb === "function") {
336
- this.send(command, optionsOrCb);
337
- } else if (typeof cb === "function") {
338
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
339
- this.send(command, optionsOrCb || {}, cb);
340
- } else {
341
- return this.send(command, optionsOrCb);
342
- }
343
- }
344
-
345
- /**
346
- * <p>Lists job runs based on a set of parameters. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.</p>
347
- */
348
- public listJobRuns(args: ListJobRunsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobRunsCommandOutput>;
349
- public listJobRuns(args: ListJobRunsCommandInput, cb: (err: any, data?: ListJobRunsCommandOutput) => void): void;
350
- public listJobRuns(
351
- args: ListJobRunsCommandInput,
352
- options: __HttpHandlerOptions,
353
- cb: (err: any, data?: ListJobRunsCommandOutput) => void
354
- ): void;
355
- public listJobRuns(
356
- args: ListJobRunsCommandInput,
357
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListJobRunsCommandOutput) => void),
358
- cb?: (err: any, data?: ListJobRunsCommandOutput) => void
359
- ): Promise<ListJobRunsCommandOutput> | void {
360
- const command = new ListJobRunsCommand(args);
361
- if (typeof optionsOrCb === "function") {
362
- this.send(command, optionsOrCb);
363
- } else if (typeof cb === "function") {
364
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
365
- this.send(command, optionsOrCb || {}, cb);
366
- } else {
367
- return this.send(command, optionsOrCb);
368
- }
369
- }
370
-
371
- /**
372
- * <p>Lists managed endpoints based on a set of parameters. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.</p>
373
- */
374
- public listManagedEndpoints(
375
- args: ListManagedEndpointsCommandInput,
376
- options?: __HttpHandlerOptions
377
- ): Promise<ListManagedEndpointsCommandOutput>;
378
- public listManagedEndpoints(
379
- args: ListManagedEndpointsCommandInput,
380
- cb: (err: any, data?: ListManagedEndpointsCommandOutput) => void
381
- ): void;
382
- public listManagedEndpoints(
383
- args: ListManagedEndpointsCommandInput,
384
- options: __HttpHandlerOptions,
385
- cb: (err: any, data?: ListManagedEndpointsCommandOutput) => void
386
- ): void;
387
- public listManagedEndpoints(
388
- args: ListManagedEndpointsCommandInput,
389
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListManagedEndpointsCommandOutput) => void),
390
- cb?: (err: any, data?: ListManagedEndpointsCommandOutput) => void
391
- ): Promise<ListManagedEndpointsCommandOutput> | void {
392
- const command = new ListManagedEndpointsCommand(args);
393
- if (typeof optionsOrCb === "function") {
394
- this.send(command, optionsOrCb);
395
- } else if (typeof cb === "function") {
396
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
397
- this.send(command, optionsOrCb || {}, cb);
398
- } else {
399
- return this.send(command, optionsOrCb);
400
- }
401
- }
402
-
403
- /**
404
- * <p>Lists the tags assigned to the resources.</p>
405
- */
406
- public listTagsForResource(
407
- args: ListTagsForResourceCommandInput,
408
- options?: __HttpHandlerOptions
409
- ): Promise<ListTagsForResourceCommandOutput>;
410
- public listTagsForResource(
411
- args: ListTagsForResourceCommandInput,
412
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
413
- ): void;
414
- public listTagsForResource(
415
- args: ListTagsForResourceCommandInput,
416
- options: __HttpHandlerOptions,
417
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
418
- ): void;
419
- public listTagsForResource(
420
- args: ListTagsForResourceCommandInput,
421
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
422
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
423
- ): Promise<ListTagsForResourceCommandOutput> | void {
424
- const command = new ListTagsForResourceCommand(args);
425
- if (typeof optionsOrCb === "function") {
426
- this.send(command, optionsOrCb);
427
- } else if (typeof cb === "function") {
428
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
429
- this.send(command, optionsOrCb || {}, cb);
430
- } else {
431
- return this.send(command, optionsOrCb);
432
- }
433
- }
434
-
435
- /**
436
- * <p>Lists information about the specified virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.</p>
437
- */
438
- public listVirtualClusters(
439
- args: ListVirtualClustersCommandInput,
440
- options?: __HttpHandlerOptions
441
- ): Promise<ListVirtualClustersCommandOutput>;
442
- public listVirtualClusters(
443
- args: ListVirtualClustersCommandInput,
444
- cb: (err: any, data?: ListVirtualClustersCommandOutput) => void
445
- ): void;
446
- public listVirtualClusters(
447
- args: ListVirtualClustersCommandInput,
448
- options: __HttpHandlerOptions,
449
- cb: (err: any, data?: ListVirtualClustersCommandOutput) => void
450
- ): void;
451
- public listVirtualClusters(
452
- args: ListVirtualClustersCommandInput,
453
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListVirtualClustersCommandOutput) => void),
454
- cb?: (err: any, data?: ListVirtualClustersCommandOutput) => void
455
- ): Promise<ListVirtualClustersCommandOutput> | void {
456
- const command = new ListVirtualClustersCommand(args);
457
- if (typeof optionsOrCb === "function") {
458
- this.send(command, optionsOrCb);
459
- } else if (typeof cb === "function") {
460
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
461
- this.send(command, optionsOrCb || {}, cb);
462
- } else {
463
- return this.send(command, optionsOrCb);
464
- }
465
- }
466
-
467
- /**
468
- * <p>Starts a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.</p>
469
- */
470
- public startJobRun(args: StartJobRunCommandInput, options?: __HttpHandlerOptions): Promise<StartJobRunCommandOutput>;
471
- public startJobRun(args: StartJobRunCommandInput, cb: (err: any, data?: StartJobRunCommandOutput) => void): void;
472
- public startJobRun(
473
- args: StartJobRunCommandInput,
474
- options: __HttpHandlerOptions,
475
- cb: (err: any, data?: StartJobRunCommandOutput) => void
476
- ): void;
477
- public startJobRun(
478
- args: StartJobRunCommandInput,
479
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartJobRunCommandOutput) => void),
480
- cb?: (err: any, data?: StartJobRunCommandOutput) => void
481
- ): Promise<StartJobRunCommandOutput> | void {
482
- const command = new StartJobRunCommand(args);
483
- if (typeof optionsOrCb === "function") {
484
- this.send(command, optionsOrCb);
485
- } else if (typeof cb === "function") {
486
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
487
- this.send(command, optionsOrCb || {}, cb);
488
- } else {
489
- return this.send(command, optionsOrCb);
490
- }
491
- }
492
-
493
- /**
494
- * <p>Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize your AWS resources by attributes such as purpose, owner, or environment. When you have many resources of the same type, you can quickly identify a specific resource based on the tags you've assigned to it. For example, you can define a set of tags for your Amazon EMR on EKS clusters to help you track each cluster's owner and stack level. We recommend that you devise a consistent set of tag keys for each resource type. You can then search and filter the resources based on the tags that you add.</p>
495
- */
496
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
497
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
498
- public tagResource(
499
- args: TagResourceCommandInput,
500
- options: __HttpHandlerOptions,
501
- cb: (err: any, data?: TagResourceCommandOutput) => void
502
- ): void;
503
- public tagResource(
504
- args: TagResourceCommandInput,
505
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
506
- cb?: (err: any, data?: TagResourceCommandOutput) => void
507
- ): Promise<TagResourceCommandOutput> | void {
508
- const command = new TagResourceCommand(args);
509
- if (typeof optionsOrCb === "function") {
510
- this.send(command, optionsOrCb);
511
- } else if (typeof cb === "function") {
512
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
513
- this.send(command, optionsOrCb || {}, cb);
514
- } else {
515
- return this.send(command, optionsOrCb);
516
- }
517
- }
518
-
519
- /**
520
- * <p>Removes tags from resources.</p>
521
- */
522
- public untagResource(
523
- args: UntagResourceCommandInput,
524
- options?: __HttpHandlerOptions
525
- ): Promise<UntagResourceCommandOutput>;
526
- public untagResource(
527
- args: UntagResourceCommandInput,
528
- cb: (err: any, data?: UntagResourceCommandOutput) => void
529
- ): void;
530
- public untagResource(
531
- args: UntagResourceCommandInput,
532
- options: __HttpHandlerOptions,
533
- cb: (err: any, data?: UntagResourceCommandOutput) => void
534
- ): void;
535
- public untagResource(
536
- args: UntagResourceCommandInput,
537
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
538
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
539
- ): Promise<UntagResourceCommandOutput> | void {
540
- const command = new UntagResourceCommand(args);
541
- if (typeof optionsOrCb === "function") {
542
- this.send(command, optionsOrCb);
543
- } else if (typeof cb === "function") {
544
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
545
- this.send(command, optionsOrCb || {}, cb);
546
- } else {
547
- return this.send(command, optionsOrCb);
548
- }
549
- }
550
- }