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