@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,1388 +0,0 @@
1
- import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
3
-
4
- export interface CancelJobRunRequest {
5
- /**
6
- * <p>The ID of the job run to cancel.</p>
7
- */
8
- id: string | undefined;
9
-
10
- /**
11
- * <p>The ID of the virtual cluster for which the job run will be canceled.</p>
12
- */
13
- virtualClusterId: string | undefined;
14
- }
15
-
16
- export namespace CancelJobRunRequest {
17
- /**
18
- * @internal
19
- */
20
- export const filterSensitiveLog = (obj: CancelJobRunRequest): any => ({
21
- ...obj,
22
- });
23
- }
24
-
25
- export interface CancelJobRunResponse {
26
- /**
27
- * <p>The output contains the ID of the cancelled job run.</p>
28
- */
29
- id?: string;
30
-
31
- /**
32
- * <p>The output contains the virtual cluster ID for which the job run is cancelled.</p>
33
- */
34
- virtualClusterId?: string;
35
- }
36
-
37
- export namespace CancelJobRunResponse {
38
- /**
39
- * @internal
40
- */
41
- export const filterSensitiveLog = (obj: CancelJobRunResponse): any => ({
42
- ...obj,
43
- });
44
- }
45
-
46
- /**
47
- * <p>This is an internal server exception.</p>
48
- */
49
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
50
- name: "InternalServerException";
51
- $fault: "server";
52
- message?: string;
53
- }
54
-
55
- export namespace InternalServerException {
56
- /**
57
- * @internal
58
- */
59
- export const filterSensitiveLog = (obj: InternalServerException): any => ({
60
- ...obj,
61
- });
62
- }
63
-
64
- /**
65
- * <p>There are invalid parameters in the client request.</p>
66
- */
67
- export interface ValidationException extends __SmithyException, $MetadataBearer {
68
- name: "ValidationException";
69
- $fault: "client";
70
- message?: string;
71
- }
72
-
73
- export namespace ValidationException {
74
- /**
75
- * @internal
76
- */
77
- export const filterSensitiveLog = (obj: ValidationException): any => ({
78
- ...obj,
79
- });
80
- }
81
-
82
- /**
83
- * <p>A configuration for CloudWatch monitoring. You can configure your jobs to send log information to CloudWatch Logs.</p>
84
- */
85
- export interface CloudWatchMonitoringConfiguration {
86
- /**
87
- * <p>The name of the log group for log publishing.</p>
88
- */
89
- logGroupName: string | undefined;
90
-
91
- /**
92
- * <p>The specified name prefix for log streams.</p>
93
- */
94
- logStreamNamePrefix?: string;
95
- }
96
-
97
- export namespace CloudWatchMonitoringConfiguration {
98
- /**
99
- * @internal
100
- */
101
- export const filterSensitiveLog = (obj: CloudWatchMonitoringConfiguration): any => ({
102
- ...obj,
103
- });
104
- }
105
-
106
- export enum PersistentAppUI {
107
- DISABLED = "DISABLED",
108
- ENABLED = "ENABLED",
109
- }
110
-
111
- /**
112
- * <p> Amazon S3 configuration for monitoring log publishing. You can configure your jobs to send log information to Amazon S3.</p>
113
- */
114
- export interface S3MonitoringConfiguration {
115
- /**
116
- * <p>Amazon S3 destination URI for log publishing.</p>
117
- */
118
- logUri: string | undefined;
119
- }
120
-
121
- export namespace S3MonitoringConfiguration {
122
- /**
123
- * @internal
124
- */
125
- export const filterSensitiveLog = (obj: S3MonitoringConfiguration): any => ({
126
- ...obj,
127
- });
128
- }
129
-
130
- /**
131
- * <p>Configuration setting for monitoring.</p>
132
- */
133
- export interface MonitoringConfiguration {
134
- /**
135
- * <p>Monitoring configurations for the persistent application UI. </p>
136
- */
137
- persistentAppUI?: PersistentAppUI | string;
138
-
139
- /**
140
- * <p>Monitoring configurations for CloudWatch.</p>
141
- */
142
- cloudWatchMonitoringConfiguration?: CloudWatchMonitoringConfiguration;
143
-
144
- /**
145
- * <p>Amazon S3 configuration for monitoring log publishing.</p>
146
- */
147
- s3MonitoringConfiguration?: S3MonitoringConfiguration;
148
- }
149
-
150
- export namespace MonitoringConfiguration {
151
- /**
152
- * @internal
153
- */
154
- export const filterSensitiveLog = (obj: MonitoringConfiguration): any => ({
155
- ...obj,
156
- });
157
- }
158
-
159
- export interface CreateManagedEndpointResponse {
160
- /**
161
- * <p>The output contains the ID of the managed endpoint.</p>
162
- */
163
- id?: string;
164
-
165
- /**
166
- * <p>The output contains the name of the managed endpoint.</p>
167
- */
168
- name?: string;
169
-
170
- /**
171
- * <p>The output contains the ARN of the managed endpoint.</p>
172
- */
173
- arn?: string;
174
-
175
- /**
176
- * <p>The output contains the ID of the virtual cluster.</p>
177
- */
178
- virtualClusterId?: string;
179
- }
180
-
181
- export namespace CreateManagedEndpointResponse {
182
- /**
183
- * @internal
184
- */
185
- export const filterSensitiveLog = (obj: CreateManagedEndpointResponse): any => ({
186
- ...obj,
187
- });
188
- }
189
-
190
- /**
191
- * <p>The specified resource was not found.</p>
192
- */
193
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
194
- name: "ResourceNotFoundException";
195
- $fault: "client";
196
- message?: string;
197
- }
198
-
199
- export namespace ResourceNotFoundException {
200
- /**
201
- * @internal
202
- */
203
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
204
- ...obj,
205
- });
206
- }
207
-
208
- /**
209
- * <p>The information about the EKS cluster.</p>
210
- */
211
- export interface EksInfo {
212
- /**
213
- * <p>The namespaces of the EKS cluster.</p>
214
- */
215
- namespace?: string;
216
- }
217
-
218
- export namespace EksInfo {
219
- /**
220
- * @internal
221
- */
222
- export const filterSensitiveLog = (obj: EksInfo): any => ({
223
- ...obj,
224
- });
225
- }
226
-
227
- /**
228
- * <p>The information about the container used for a job run or a managed endpoint.</p>
229
- */
230
- export type ContainerInfo = ContainerInfo.EksInfoMember | ContainerInfo.$UnknownMember;
231
-
232
- export namespace ContainerInfo {
233
- /**
234
- * <p>The information about the EKS cluster.</p>
235
- */
236
- export interface EksInfoMember {
237
- eksInfo: EksInfo;
238
- $unknown?: never;
239
- }
240
-
241
- export interface $UnknownMember {
242
- eksInfo?: never;
243
- $unknown: [string, any];
244
- }
245
-
246
- export interface Visitor<T> {
247
- eksInfo: (value: EksInfo) => T;
248
- _: (name: string, value: any) => T;
249
- }
250
-
251
- export const visit = <T>(value: ContainerInfo, visitor: Visitor<T>): T => {
252
- if (value.eksInfo !== undefined) return visitor.eksInfo(value.eksInfo);
253
- return visitor._(value.$unknown[0], value.$unknown[1]);
254
- };
255
-
256
- /**
257
- * @internal
258
- */
259
- export const filterSensitiveLog = (obj: ContainerInfo): any => {
260
- if (obj.eksInfo !== undefined) return { eksInfo: EksInfo.filterSensitiveLog(obj.eksInfo) };
261
- if (obj.$unknown !== undefined) return { [obj.$unknown[0]]: "UNKNOWN" };
262
- };
263
- }
264
-
265
- export enum ContainerProviderType {
266
- EKS = "EKS",
267
- }
268
-
269
- /**
270
- * <p>The information about the container provider.</p>
271
- */
272
- export interface ContainerProvider {
273
- /**
274
- * <p>The type of the container provider. EKS is the only supported type as of now.</p>
275
- */
276
- type: ContainerProviderType | string | undefined;
277
-
278
- /**
279
- * <p>The ID of the container cluster.</p>
280
- */
281
- id: string | undefined;
282
-
283
- /**
284
- * <p>The information about the container cluster.</p>
285
- */
286
- info?: ContainerInfo;
287
- }
288
-
289
- export namespace ContainerProvider {
290
- /**
291
- * @internal
292
- */
293
- export const filterSensitiveLog = (obj: ContainerProvider): any => ({
294
- ...obj,
295
- ...(obj.info && { info: ContainerInfo.filterSensitiveLog(obj.info) }),
296
- });
297
- }
298
-
299
- export interface CreateVirtualClusterRequest {
300
- /**
301
- * <p>The specified name of the virtual cluster.</p>
302
- */
303
- name: string | undefined;
304
-
305
- /**
306
- * <p>The container provider of the virtual cluster.</p>
307
- */
308
- containerProvider: ContainerProvider | undefined;
309
-
310
- /**
311
- * <p>The client token of the virtual cluster.</p>
312
- */
313
- clientToken?: string;
314
-
315
- /**
316
- * <p>The tags assigned to the virtual cluster.</p>
317
- */
318
- tags?: { [key: string]: string };
319
- }
320
-
321
- export namespace CreateVirtualClusterRequest {
322
- /**
323
- * @internal
324
- */
325
- export const filterSensitiveLog = (obj: CreateVirtualClusterRequest): any => ({
326
- ...obj,
327
- ...(obj.containerProvider && { containerProvider: ContainerProvider.filterSensitiveLog(obj.containerProvider) }),
328
- });
329
- }
330
-
331
- export interface CreateVirtualClusterResponse {
332
- /**
333
- * <p>This output contains the virtual cluster ID.</p>
334
- */
335
- id?: string;
336
-
337
- /**
338
- * <p>This output contains the name of the virtual cluster.</p>
339
- */
340
- name?: string;
341
-
342
- /**
343
- * <p>This output contains the ARN of virtual cluster.</p>
344
- */
345
- arn?: string;
346
- }
347
-
348
- export namespace CreateVirtualClusterResponse {
349
- /**
350
- * @internal
351
- */
352
- export const filterSensitiveLog = (obj: CreateVirtualClusterResponse): any => ({
353
- ...obj,
354
- });
355
- }
356
-
357
- export interface DeleteManagedEndpointRequest {
358
- /**
359
- * <p>The ID of the managed endpoint.</p>
360
- */
361
- id: string | undefined;
362
-
363
- /**
364
- * <p>The ID of the endpoint's virtual cluster.</p>
365
- */
366
- virtualClusterId: string | undefined;
367
- }
368
-
369
- export namespace DeleteManagedEndpointRequest {
370
- /**
371
- * @internal
372
- */
373
- export const filterSensitiveLog = (obj: DeleteManagedEndpointRequest): any => ({
374
- ...obj,
375
- });
376
- }
377
-
378
- export interface DeleteManagedEndpointResponse {
379
- /**
380
- * <p>The output displays the ID of the managed endpoint.</p>
381
- */
382
- id?: string;
383
-
384
- /**
385
- * <p>The output displays the ID of the endpoint's virtual cluster.</p>
386
- */
387
- virtualClusterId?: string;
388
- }
389
-
390
- export namespace DeleteManagedEndpointResponse {
391
- /**
392
- * @internal
393
- */
394
- export const filterSensitiveLog = (obj: DeleteManagedEndpointResponse): any => ({
395
- ...obj,
396
- });
397
- }
398
-
399
- export interface DeleteVirtualClusterRequest {
400
- /**
401
- * <p>The ID of the virtual cluster that will be deleted.</p>
402
- */
403
- id: string | undefined;
404
- }
405
-
406
- export namespace DeleteVirtualClusterRequest {
407
- /**
408
- * @internal
409
- */
410
- export const filterSensitiveLog = (obj: DeleteVirtualClusterRequest): any => ({
411
- ...obj,
412
- });
413
- }
414
-
415
- export interface DeleteVirtualClusterResponse {
416
- /**
417
- * <p>This output contains the ID of the virtual cluster that will be deleted. </p>
418
- */
419
- id?: string;
420
- }
421
-
422
- export namespace DeleteVirtualClusterResponse {
423
- /**
424
- * @internal
425
- */
426
- export const filterSensitiveLog = (obj: DeleteVirtualClusterResponse): any => ({
427
- ...obj,
428
- });
429
- }
430
-
431
- export interface DescribeJobRunRequest {
432
- /**
433
- * <p>The ID of the job run request. </p>
434
- */
435
- id: string | undefined;
436
-
437
- /**
438
- * <p>The ID of the virtual cluster for which the job run is submitted.</p>
439
- */
440
- virtualClusterId: string | undefined;
441
- }
442
-
443
- export namespace DescribeJobRunRequest {
444
- /**
445
- * @internal
446
- */
447
- export const filterSensitiveLog = (obj: DescribeJobRunRequest): any => ({
448
- ...obj,
449
- });
450
- }
451
-
452
- export enum FailureReason {
453
- CLUSTER_UNAVAILABLE = "CLUSTER_UNAVAILABLE",
454
- INTERNAL_ERROR = "INTERNAL_ERROR",
455
- USER_ERROR = "USER_ERROR",
456
- VALIDATION_ERROR = "VALIDATION_ERROR",
457
- }
458
-
459
- /**
460
- * <p>The information about job driver for Spark submit.</p>
461
- */
462
- export interface SparkSubmitJobDriver {
463
- /**
464
- * <p>The entry point of job application.</p>
465
- */
466
- entryPoint: string | undefined;
467
-
468
- /**
469
- * <p>The arguments for job application.</p>
470
- */
471
- entryPointArguments?: string[];
472
-
473
- /**
474
- * <p>The Spark submit parameters that are used for job runs.</p>
475
- */
476
- sparkSubmitParameters?: string;
477
- }
478
-
479
- export namespace SparkSubmitJobDriver {
480
- /**
481
- * @internal
482
- */
483
- export const filterSensitiveLog = (obj: SparkSubmitJobDriver): any => ({
484
- ...obj,
485
- ...(obj.entryPoint && { entryPoint: SENSITIVE_STRING }),
486
- ...(obj.entryPointArguments && { entryPointArguments: SENSITIVE_STRING }),
487
- ...(obj.sparkSubmitParameters && { sparkSubmitParameters: SENSITIVE_STRING }),
488
- });
489
- }
490
-
491
- /**
492
- * <p>Specify the driver that the job runs on.</p>
493
- */
494
- export interface JobDriver {
495
- /**
496
- * <p>The job driver parameters specified for spark submit.</p>
497
- */
498
- sparkSubmitJobDriver?: SparkSubmitJobDriver;
499
- }
500
-
501
- export namespace JobDriver {
502
- /**
503
- * @internal
504
- */
505
- export const filterSensitiveLog = (obj: JobDriver): any => ({
506
- ...obj,
507
- ...(obj.sparkSubmitJobDriver && {
508
- sparkSubmitJobDriver: SparkSubmitJobDriver.filterSensitiveLog(obj.sparkSubmitJobDriver),
509
- }),
510
- });
511
- }
512
-
513
- export enum JobRunState {
514
- CANCELLED = "CANCELLED",
515
- CANCEL_PENDING = "CANCEL_PENDING",
516
- COMPLETED = "COMPLETED",
517
- FAILED = "FAILED",
518
- PENDING = "PENDING",
519
- RUNNING = "RUNNING",
520
- SUBMITTED = "SUBMITTED",
521
- }
522
-
523
- export interface DescribeManagedEndpointRequest {
524
- /**
525
- * <p>This output displays ID of the managed endpoint.</p>
526
- */
527
- id: string | undefined;
528
-
529
- /**
530
- * <p>The ID of the endpoint's virtual cluster.</p>
531
- */
532
- virtualClusterId: string | undefined;
533
- }
534
-
535
- export namespace DescribeManagedEndpointRequest {
536
- /**
537
- * @internal
538
- */
539
- export const filterSensitiveLog = (obj: DescribeManagedEndpointRequest): any => ({
540
- ...obj,
541
- });
542
- }
543
-
544
- export enum EndpointState {
545
- ACTIVE = "ACTIVE",
546
- CREATING = "CREATING",
547
- TERMINATED = "TERMINATED",
548
- TERMINATED_WITH_ERRORS = "TERMINATED_WITH_ERRORS",
549
- TERMINATING = "TERMINATING",
550
- }
551
-
552
- export interface DescribeVirtualClusterRequest {
553
- /**
554
- * <p>The ID of the virtual cluster that will be described.</p>
555
- */
556
- id: string | undefined;
557
- }
558
-
559
- export namespace DescribeVirtualClusterRequest {
560
- /**
561
- * @internal
562
- */
563
- export const filterSensitiveLog = (obj: DescribeVirtualClusterRequest): any => ({
564
- ...obj,
565
- });
566
- }
567
-
568
- export enum VirtualClusterState {
569
- ARRESTED = "ARRESTED",
570
- RUNNING = "RUNNING",
571
- TERMINATED = "TERMINATED",
572
- TERMINATING = "TERMINATING",
573
- }
574
-
575
- /**
576
- * <p>This entity describes a virtual cluster. A virtual cluster is a Kubernetes namespace that Amazon EMR is registered with. Amazon EMR uses virtual clusters to run jobs and host endpoints. Multiple virtual clusters can be backed by the same physical cluster. However, each virtual cluster maps to one namespace on an EKS cluster. Virtual clusters do not create any active resources that contribute to your bill or that require lifecycle management outside the service.</p>
577
- */
578
- export interface VirtualCluster {
579
- /**
580
- * <p>The ID of the virtual cluster.</p>
581
- */
582
- id?: string;
583
-
584
- /**
585
- * <p>The name of the virtual cluster.</p>
586
- */
587
- name?: string;
588
-
589
- /**
590
- * <p>The ARN of the virtual cluster.</p>
591
- */
592
- arn?: string;
593
-
594
- /**
595
- * <p>The state of the virtual cluster.</p>
596
- */
597
- state?: VirtualClusterState | string;
598
-
599
- /**
600
- * <p>The container provider of the virtual cluster.</p>
601
- */
602
- containerProvider?: ContainerProvider;
603
-
604
- /**
605
- * <p>The date and time when the virtual cluster is created.</p>
606
- */
607
- createdAt?: Date;
608
-
609
- /**
610
- * <p>The assigned tags of the virtual cluster.</p>
611
- */
612
- tags?: { [key: string]: string };
613
- }
614
-
615
- export namespace VirtualCluster {
616
- /**
617
- * @internal
618
- */
619
- export const filterSensitiveLog = (obj: VirtualCluster): any => ({
620
- ...obj,
621
- ...(obj.containerProvider && { containerProvider: ContainerProvider.filterSensitiveLog(obj.containerProvider) }),
622
- });
623
- }
624
-
625
- export interface DescribeVirtualClusterResponse {
626
- /**
627
- * <p>This output displays information about the specified virtual cluster.</p>
628
- */
629
- virtualCluster?: VirtualCluster;
630
- }
631
-
632
- export namespace DescribeVirtualClusterResponse {
633
- /**
634
- * @internal
635
- */
636
- export const filterSensitiveLog = (obj: DescribeVirtualClusterResponse): any => ({
637
- ...obj,
638
- ...(obj.virtualCluster && { virtualCluster: VirtualCluster.filterSensitiveLog(obj.virtualCluster) }),
639
- });
640
- }
641
-
642
- export interface ListJobRunsRequest {
643
- /**
644
- * <p>The ID of the virtual cluster for which to list the job run. </p>
645
- */
646
- virtualClusterId: string | undefined;
647
-
648
- /**
649
- * <p>The date and time before which the job runs were submitted.</p>
650
- */
651
- createdBefore?: Date;
652
-
653
- /**
654
- * <p>The date and time after which the job runs were submitted.</p>
655
- */
656
- createdAfter?: Date;
657
-
658
- /**
659
- * <p>The name of the job run.</p>
660
- */
661
- name?: string;
662
-
663
- /**
664
- * <p>The states of the job run.</p>
665
- */
666
- states?: (JobRunState | string)[];
667
-
668
- /**
669
- * <p>The maximum number of job runs that can be listed.</p>
670
- */
671
- maxResults?: number;
672
-
673
- /**
674
- * <p>The token for the next set of job runs to return.</p>
675
- */
676
- nextToken?: string;
677
- }
678
-
679
- export namespace ListJobRunsRequest {
680
- /**
681
- * @internal
682
- */
683
- export const filterSensitiveLog = (obj: ListJobRunsRequest): any => ({
684
- ...obj,
685
- });
686
- }
687
-
688
- export interface ListManagedEndpointsRequest {
689
- /**
690
- * <p>The ID of the virtual cluster.</p>
691
- */
692
- virtualClusterId: string | undefined;
693
-
694
- /**
695
- * <p>The date and time before which the endpoints are created.</p>
696
- */
697
- createdBefore?: Date;
698
-
699
- /**
700
- * <p> The date and time after which the endpoints are created.</p>
701
- */
702
- createdAfter?: Date;
703
-
704
- /**
705
- * <p>The types of the managed endpoints.</p>
706
- */
707
- types?: string[];
708
-
709
- /**
710
- * <p>The states of the managed endpoints.</p>
711
- */
712
- states?: (EndpointState | string)[];
713
-
714
- /**
715
- * <p>The maximum number of managed endpoints that can be listed.</p>
716
- */
717
- maxResults?: number;
718
-
719
- /**
720
- * <p> The token for the next set of managed endpoints to return. </p>
721
- */
722
- nextToken?: string;
723
- }
724
-
725
- export namespace ListManagedEndpointsRequest {
726
- /**
727
- * @internal
728
- */
729
- export const filterSensitiveLog = (obj: ListManagedEndpointsRequest): any => ({
730
- ...obj,
731
- });
732
- }
733
-
734
- export interface ListTagsForResourceRequest {
735
- /**
736
- * <p>The ARN of tagged resources.</p>
737
- */
738
- resourceArn: string | undefined;
739
- }
740
-
741
- export namespace ListTagsForResourceRequest {
742
- /**
743
- * @internal
744
- */
745
- export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
746
- ...obj,
747
- });
748
- }
749
-
750
- export interface ListTagsForResourceResponse {
751
- /**
752
- * <p>The tags assigned to resources.</p>
753
- */
754
- tags?: { [key: string]: string };
755
- }
756
-
757
- export namespace ListTagsForResourceResponse {
758
- /**
759
- * @internal
760
- */
761
- export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
762
- ...obj,
763
- });
764
- }
765
-
766
- export interface ListVirtualClustersRequest {
767
- /**
768
- * <p>The container provider ID of the virtual cluster.</p>
769
- */
770
- containerProviderId?: string;
771
-
772
- /**
773
- * <p>The container provider type of the virtual cluster. EKS is the only supported type as of now.</p>
774
- */
775
- containerProviderType?: ContainerProviderType | string;
776
-
777
- /**
778
- * <p>The date and time after which the virtual clusters are created.</p>
779
- */
780
- createdAfter?: Date;
781
-
782
- /**
783
- * <p>The date and time before which the virtual clusters are created.</p>
784
- */
785
- createdBefore?: Date;
786
-
787
- /**
788
- * <p>The states of the requested virtual clusters.</p>
789
- */
790
- states?: (VirtualClusterState | string)[];
791
-
792
- /**
793
- * <p>The maximum number of virtual clusters that can be listed.</p>
794
- */
795
- maxResults?: number;
796
-
797
- /**
798
- * <p>The token for the next set of virtual clusters to return. </p>
799
- */
800
- nextToken?: string;
801
- }
802
-
803
- export namespace ListVirtualClustersRequest {
804
- /**
805
- * @internal
806
- */
807
- export const filterSensitiveLog = (obj: ListVirtualClustersRequest): any => ({
808
- ...obj,
809
- });
810
- }
811
-
812
- export interface ListVirtualClustersResponse {
813
- /**
814
- * <p>This output lists the specified virtual clusters.</p>
815
- */
816
- virtualClusters?: VirtualCluster[];
817
-
818
- /**
819
- * <p>This output displays the token for the next set of virtual clusters.</p>
820
- */
821
- nextToken?: string;
822
- }
823
-
824
- export namespace ListVirtualClustersResponse {
825
- /**
826
- * @internal
827
- */
828
- export const filterSensitiveLog = (obj: ListVirtualClustersResponse): any => ({
829
- ...obj,
830
- ...(obj.virtualClusters && {
831
- virtualClusters: obj.virtualClusters.map((item) => VirtualCluster.filterSensitiveLog(item)),
832
- }),
833
- });
834
- }
835
-
836
- export interface StartJobRunResponse {
837
- /**
838
- * <p>This output displays the started job run ID.</p>
839
- */
840
- id?: string;
841
-
842
- /**
843
- * <p>This output displays the name of the started job run.</p>
844
- */
845
- name?: string;
846
-
847
- /**
848
- * <p>This output lists the ARN of job run.</p>
849
- */
850
- arn?: string;
851
-
852
- /**
853
- * <p>This output displays the virtual cluster ID for which the job run was submitted.</p>
854
- */
855
- virtualClusterId?: string;
856
- }
857
-
858
- export namespace StartJobRunResponse {
859
- /**
860
- * @internal
861
- */
862
- export const filterSensitiveLog = (obj: StartJobRunResponse): any => ({
863
- ...obj,
864
- });
865
- }
866
-
867
- export interface TagResourceRequest {
868
- /**
869
- * <p>The ARN of resources.</p>
870
- */
871
- resourceArn: string | undefined;
872
-
873
- /**
874
- * <p>The tags assigned to resources.</p>
875
- */
876
- tags: { [key: string]: string } | undefined;
877
- }
878
-
879
- export namespace TagResourceRequest {
880
- /**
881
- * @internal
882
- */
883
- export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
884
- ...obj,
885
- });
886
- }
887
-
888
- export interface TagResourceResponse {}
889
-
890
- export namespace TagResourceResponse {
891
- /**
892
- * @internal
893
- */
894
- export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
895
- ...obj,
896
- });
897
- }
898
-
899
- export interface UntagResourceRequest {
900
- /**
901
- * <p>The ARN of resources.</p>
902
- */
903
- resourceArn: string | undefined;
904
-
905
- /**
906
- * <p>The tag keys of the resources.</p>
907
- */
908
- tagKeys: string[] | undefined;
909
- }
910
-
911
- export namespace UntagResourceRequest {
912
- /**
913
- * @internal
914
- */
915
- export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
916
- ...obj,
917
- });
918
- }
919
-
920
- export interface UntagResourceResponse {}
921
-
922
- export namespace UntagResourceResponse {
923
- /**
924
- * @internal
925
- */
926
- export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
927
- ...obj,
928
- });
929
- }
930
-
931
- /**
932
- * <p>A configuration specification to be used when provisioning virtual clusters, which can include configurations for applications and software bundled with Amazon EMR on EKS. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.</p>
933
- */
934
- export interface Configuration {
935
- /**
936
- * <p>The classification within a configuration.</p>
937
- */
938
- classification: string | undefined;
939
-
940
- /**
941
- * <p>A set of properties specified within a configuration classification.</p>
942
- */
943
- properties?: { [key: string]: string };
944
-
945
- /**
946
- * <p>A list of additional configurations to apply within a configuration object.</p>
947
- */
948
- configurations?: Configuration[];
949
- }
950
-
951
- export namespace Configuration {
952
- /**
953
- * @internal
954
- */
955
- export const filterSensitiveLog = (obj: Configuration): any => ({
956
- ...obj,
957
- ...(obj.properties && { properties: SENSITIVE_STRING }),
958
- ...(obj.configurations && {
959
- configurations: obj.configurations.map((item) => Configuration.filterSensitiveLog(item)),
960
- }),
961
- });
962
- }
963
-
964
- /**
965
- * <p>A configuration specification to be used to override existing configurations.</p>
966
- */
967
- export interface ConfigurationOverrides {
968
- /**
969
- * <p>The configurations for the application running by the job run. </p>
970
- */
971
- applicationConfiguration?: Configuration[];
972
-
973
- /**
974
- * <p>The configurations for monitoring.</p>
975
- */
976
- monitoringConfiguration?: MonitoringConfiguration;
977
- }
978
-
979
- export namespace ConfigurationOverrides {
980
- /**
981
- * @internal
982
- */
983
- export const filterSensitiveLog = (obj: ConfigurationOverrides): any => ({
984
- ...obj,
985
- ...(obj.applicationConfiguration && {
986
- applicationConfiguration: obj.applicationConfiguration.map((item) => Configuration.filterSensitiveLog(item)),
987
- }),
988
- });
989
- }
990
-
991
- export interface CreateManagedEndpointRequest {
992
- /**
993
- * <p>The name of the managed endpoint.</p>
994
- */
995
- name: string | undefined;
996
-
997
- /**
998
- * <p>The ID of the virtual cluster for which a managed endpoint is created.</p>
999
- */
1000
- virtualClusterId: string | undefined;
1001
-
1002
- /**
1003
- * <p>The type of the managed endpoint.</p>
1004
- */
1005
- type: string | undefined;
1006
-
1007
- /**
1008
- * <p>The Amazon EMR release version.</p>
1009
- */
1010
- releaseLabel: string | undefined;
1011
-
1012
- /**
1013
- * <p>The ARN of the execution role.</p>
1014
- */
1015
- executionRoleArn: string | undefined;
1016
-
1017
- /**
1018
- * <p>The certificate ARN of the managed endpoint.</p>
1019
- */
1020
- certificateArn: string | undefined;
1021
-
1022
- /**
1023
- * <p>The configuration settings that will be used to override existing configurations.</p>
1024
- */
1025
- configurationOverrides?: ConfigurationOverrides;
1026
-
1027
- /**
1028
- * <p>The client idempotency token for this create call.</p>
1029
- */
1030
- clientToken?: string;
1031
-
1032
- /**
1033
- * <p>The tags of the managed endpoint.
1034
- * </p>
1035
- */
1036
- tags?: { [key: string]: string };
1037
- }
1038
-
1039
- export namespace CreateManagedEndpointRequest {
1040
- /**
1041
- * @internal
1042
- */
1043
- export const filterSensitiveLog = (obj: CreateManagedEndpointRequest): any => ({
1044
- ...obj,
1045
- ...(obj.configurationOverrides && {
1046
- configurationOverrides: ConfigurationOverrides.filterSensitiveLog(obj.configurationOverrides),
1047
- }),
1048
- });
1049
- }
1050
-
1051
- /**
1052
- * <p>This entity represents the endpoint that is managed by Amazon EMR on EKS.</p>
1053
- */
1054
- export interface Endpoint {
1055
- /**
1056
- * <p>The ID of the endpoint.</p>
1057
- */
1058
- id?: string;
1059
-
1060
- /**
1061
- * <p>The name of the endpoint.</p>
1062
- */
1063
- name?: string;
1064
-
1065
- /**
1066
- * <p>The ARN of the endpoint.</p>
1067
- */
1068
- arn?: string;
1069
-
1070
- /**
1071
- * <p>The ID of the endpoint's virtual cluster.</p>
1072
- */
1073
- virtualClusterId?: string;
1074
-
1075
- /**
1076
- * <p>The type of the endpoint.</p>
1077
- */
1078
- type?: string;
1079
-
1080
- /**
1081
- * <p>The state of the endpoint.</p>
1082
- */
1083
- state?: EndpointState | string;
1084
-
1085
- /**
1086
- * <p>The EMR release version to be used for the endpoint.</p>
1087
- */
1088
- releaseLabel?: string;
1089
-
1090
- /**
1091
- * <p>The execution role ARN of the endpoint.</p>
1092
- */
1093
- executionRoleArn?: string;
1094
-
1095
- /**
1096
- * <p>The certificate ARN of the endpoint.</p>
1097
- */
1098
- certificateArn?: string;
1099
-
1100
- /**
1101
- * <p>The configuration settings that are used to override existing configurations for endpoints.</p>
1102
- */
1103
- configurationOverrides?: ConfigurationOverrides;
1104
-
1105
- /**
1106
- * <p>The server URL of the endpoint.</p>
1107
- */
1108
- serverUrl?: string;
1109
-
1110
- /**
1111
- * <p>The date and time when the endpoint was created.</p>
1112
- */
1113
- createdAt?: Date;
1114
-
1115
- /**
1116
- * <p>The security group configuration of the endpoint.
1117
- * </p>
1118
- */
1119
- securityGroup?: string;
1120
-
1121
- /**
1122
- * <p>The subnet IDs of the endpoint.
1123
- * </p>
1124
- */
1125
- subnetIds?: string[];
1126
-
1127
- /**
1128
- * <p>
1129
- * Additional details of the endpoint state.
1130
- * </p>
1131
- */
1132
- stateDetails?: string;
1133
-
1134
- /**
1135
- * <p>
1136
- * The reasons why the endpoint has failed.
1137
- * </p>
1138
- */
1139
- failureReason?: FailureReason | string;
1140
-
1141
- /**
1142
- * <p>The tags of the endpoint.
1143
- * </p>
1144
- */
1145
- tags?: { [key: string]: string };
1146
- }
1147
-
1148
- export namespace Endpoint {
1149
- /**
1150
- * @internal
1151
- */
1152
- export const filterSensitiveLog = (obj: Endpoint): any => ({
1153
- ...obj,
1154
- ...(obj.configurationOverrides && {
1155
- configurationOverrides: ConfigurationOverrides.filterSensitiveLog(obj.configurationOverrides),
1156
- }),
1157
- });
1158
- }
1159
-
1160
- /**
1161
- * <p>This entity describes 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>
1162
- */
1163
- export interface JobRun {
1164
- /**
1165
- * <p>The ID of the job run.</p>
1166
- */
1167
- id?: string;
1168
-
1169
- /**
1170
- * <p>The name of the job run.</p>
1171
- */
1172
- name?: string;
1173
-
1174
- /**
1175
- * <p>The ID of the job run's virtual cluster.</p>
1176
- */
1177
- virtualClusterId?: string;
1178
-
1179
- /**
1180
- * <p>The ARN of job run.</p>
1181
- */
1182
- arn?: string;
1183
-
1184
- /**
1185
- * <p>The state of the job run. </p>
1186
- */
1187
- state?: JobRunState | string;
1188
-
1189
- /**
1190
- * <p>The client token used to start a job run.</p>
1191
- */
1192
- clientToken?: string;
1193
-
1194
- /**
1195
- * <p>The execution role ARN of the job run.</p>
1196
- */
1197
- executionRoleArn?: string;
1198
-
1199
- /**
1200
- * <p>The release version of Amazon EMR.</p>
1201
- */
1202
- releaseLabel?: string;
1203
-
1204
- /**
1205
- * <p>The configuration settings that are used to override default configuration.</p>
1206
- */
1207
- configurationOverrides?: ConfigurationOverrides;
1208
-
1209
- /**
1210
- * <p>Parameters of job driver for the job run.</p>
1211
- */
1212
- jobDriver?: JobDriver;
1213
-
1214
- /**
1215
- * <p>The date and time when the job run was created.</p>
1216
- */
1217
- createdAt?: Date;
1218
-
1219
- /**
1220
- * <p>The user who created the job run.</p>
1221
- */
1222
- createdBy?: string;
1223
-
1224
- /**
1225
- * <p>The date and time when the job run has finished.</p>
1226
- */
1227
- finishedAt?: Date;
1228
-
1229
- /**
1230
- * <p>Additional details of the job run state.</p>
1231
- */
1232
- stateDetails?: string;
1233
-
1234
- /**
1235
- * <p>The reasons why the job run has failed.</p>
1236
- */
1237
- failureReason?: FailureReason | string;
1238
-
1239
- /**
1240
- * <p>The assigned tags of the job run.</p>
1241
- */
1242
- tags?: { [key: string]: string };
1243
- }
1244
-
1245
- export namespace JobRun {
1246
- /**
1247
- * @internal
1248
- */
1249
- export const filterSensitiveLog = (obj: JobRun): any => ({
1250
- ...obj,
1251
- ...(obj.configurationOverrides && {
1252
- configurationOverrides: ConfigurationOverrides.filterSensitiveLog(obj.configurationOverrides),
1253
- }),
1254
- ...(obj.jobDriver && { jobDriver: JobDriver.filterSensitiveLog(obj.jobDriver) }),
1255
- });
1256
- }
1257
-
1258
- export interface StartJobRunRequest {
1259
- /**
1260
- * <p>The name of the job run.</p>
1261
- */
1262
- name?: string;
1263
-
1264
- /**
1265
- * <p>The virtual cluster ID for which the job run request is submitted.</p>
1266
- */
1267
- virtualClusterId: string | undefined;
1268
-
1269
- /**
1270
- * <p>The client idempotency token of the job run request. </p>
1271
- */
1272
- clientToken?: string;
1273
-
1274
- /**
1275
- * <p>The execution role ARN for the job run.</p>
1276
- */
1277
- executionRoleArn: string | undefined;
1278
-
1279
- /**
1280
- * <p>The Amazon EMR release version to use for the job run.</p>
1281
- */
1282
- releaseLabel: string | undefined;
1283
-
1284
- /**
1285
- * <p>The job driver for the job run.</p>
1286
- */
1287
- jobDriver: JobDriver | undefined;
1288
-
1289
- /**
1290
- * <p>The configuration overrides for the job run.</p>
1291
- */
1292
- configurationOverrides?: ConfigurationOverrides;
1293
-
1294
- /**
1295
- * <p>The tags assigned to job runs.</p>
1296
- */
1297
- tags?: { [key: string]: string };
1298
- }
1299
-
1300
- export namespace StartJobRunRequest {
1301
- /**
1302
- * @internal
1303
- */
1304
- export const filterSensitiveLog = (obj: StartJobRunRequest): any => ({
1305
- ...obj,
1306
- ...(obj.jobDriver && { jobDriver: JobDriver.filterSensitiveLog(obj.jobDriver) }),
1307
- ...(obj.configurationOverrides && {
1308
- configurationOverrides: ConfigurationOverrides.filterSensitiveLog(obj.configurationOverrides),
1309
- }),
1310
- });
1311
- }
1312
-
1313
- export interface DescribeJobRunResponse {
1314
- /**
1315
- * <p>The output displays information about a job run.</p>
1316
- */
1317
- jobRun?: JobRun;
1318
- }
1319
-
1320
- export namespace DescribeJobRunResponse {
1321
- /**
1322
- * @internal
1323
- */
1324
- export const filterSensitiveLog = (obj: DescribeJobRunResponse): any => ({
1325
- ...obj,
1326
- ...(obj.jobRun && { jobRun: JobRun.filterSensitiveLog(obj.jobRun) }),
1327
- });
1328
- }
1329
-
1330
- export interface DescribeManagedEndpointResponse {
1331
- /**
1332
- * <p>This output displays information about a managed endpoint.</p>
1333
- */
1334
- endpoint?: Endpoint;
1335
- }
1336
-
1337
- export namespace DescribeManagedEndpointResponse {
1338
- /**
1339
- * @internal
1340
- */
1341
- export const filterSensitiveLog = (obj: DescribeManagedEndpointResponse): any => ({
1342
- ...obj,
1343
- ...(obj.endpoint && { endpoint: Endpoint.filterSensitiveLog(obj.endpoint) }),
1344
- });
1345
- }
1346
-
1347
- export interface ListJobRunsResponse {
1348
- /**
1349
- * <p>This output lists information about the specified job runs.</p>
1350
- */
1351
- jobRuns?: JobRun[];
1352
-
1353
- /**
1354
- * <p>This output displays the token for the next set of job runs.</p>
1355
- */
1356
- nextToken?: string;
1357
- }
1358
-
1359
- export namespace ListJobRunsResponse {
1360
- /**
1361
- * @internal
1362
- */
1363
- export const filterSensitiveLog = (obj: ListJobRunsResponse): any => ({
1364
- ...obj,
1365
- ...(obj.jobRuns && { jobRuns: obj.jobRuns.map((item) => JobRun.filterSensitiveLog(item)) }),
1366
- });
1367
- }
1368
-
1369
- export interface ListManagedEndpointsResponse {
1370
- /**
1371
- * <p>The managed endpoints to be listed.</p>
1372
- */
1373
- endpoints?: Endpoint[];
1374
-
1375
- /**
1376
- * <p> The token for the next set of endpoints to return. </p>
1377
- */
1378
- nextToken?: string;
1379
- }
1380
-
1381
- export namespace ListManagedEndpointsResponse {
1382
- /**
1383
- * @internal
1384
- */
1385
- export const filterSensitiveLog = (obj: ListManagedEndpointsResponse): any => ({
1386
- ...obj,
1387
- });
1388
- }