@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,329 +0,0 @@
1
- import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
- RegionInputConfig,
5
- RegionResolvedConfig,
6
- resolveEndpointsConfig,
7
- resolveRegionConfig,
8
- } from "@aws-sdk/config-resolver";
9
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
- import {
11
- getHostHeaderPlugin,
12
- HostHeaderInputConfig,
13
- HostHeaderResolvedConfig,
14
- resolveHostHeaderConfig,
15
- } from "@aws-sdk/middleware-host-header";
16
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
- import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
- import {
19
- AwsAuthInputConfig,
20
- AwsAuthResolvedConfig,
21
- getAwsAuthPlugin,
22
- resolveAwsAuthConfig,
23
- } from "@aws-sdk/middleware-signing";
24
- import {
25
- getUserAgentPlugin,
26
- resolveUserAgentConfig,
27
- UserAgentInputConfig,
28
- UserAgentResolvedConfig,
29
- } from "@aws-sdk/middleware-user-agent";
30
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
- import {
32
- Client as __Client,
33
- SmithyConfiguration as __SmithyConfiguration,
34
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
- } from "@aws-sdk/smithy-client";
36
- import {
37
- Credentials as __Credentials,
38
- Decoder as __Decoder,
39
- Encoder as __Encoder,
40
- Hash as __Hash,
41
- HashConstructor as __HashConstructor,
42
- HttpHandlerOptions as __HttpHandlerOptions,
43
- Logger as __Logger,
44
- Provider as __Provider,
45
- Provider,
46
- RegionInfoProvider,
47
- StreamCollector as __StreamCollector,
48
- UrlParser as __UrlParser,
49
- UserAgent as __UserAgent,
50
- } from "@aws-sdk/types";
51
-
52
- import { CancelJobRunCommandInput, CancelJobRunCommandOutput } from "./commands/CancelJobRunCommand";
53
- import {
54
- CreateManagedEndpointCommandInput,
55
- CreateManagedEndpointCommandOutput,
56
- } from "./commands/CreateManagedEndpointCommand";
57
- import {
58
- CreateVirtualClusterCommandInput,
59
- CreateVirtualClusterCommandOutput,
60
- } from "./commands/CreateVirtualClusterCommand";
61
- import {
62
- DeleteManagedEndpointCommandInput,
63
- DeleteManagedEndpointCommandOutput,
64
- } from "./commands/DeleteManagedEndpointCommand";
65
- import {
66
- DeleteVirtualClusterCommandInput,
67
- DeleteVirtualClusterCommandOutput,
68
- } from "./commands/DeleteVirtualClusterCommand";
69
- import { DescribeJobRunCommandInput, DescribeJobRunCommandOutput } from "./commands/DescribeJobRunCommand";
70
- import {
71
- DescribeManagedEndpointCommandInput,
72
- DescribeManagedEndpointCommandOutput,
73
- } from "./commands/DescribeManagedEndpointCommand";
74
- import {
75
- DescribeVirtualClusterCommandInput,
76
- DescribeVirtualClusterCommandOutput,
77
- } from "./commands/DescribeVirtualClusterCommand";
78
- import { ListJobRunsCommandInput, ListJobRunsCommandOutput } from "./commands/ListJobRunsCommand";
79
- import {
80
- ListManagedEndpointsCommandInput,
81
- ListManagedEndpointsCommandOutput,
82
- } from "./commands/ListManagedEndpointsCommand";
83
- import {
84
- ListTagsForResourceCommandInput,
85
- ListTagsForResourceCommandOutput,
86
- } from "./commands/ListTagsForResourceCommand";
87
- import {
88
- ListVirtualClustersCommandInput,
89
- ListVirtualClustersCommandOutput,
90
- } from "./commands/ListVirtualClustersCommand";
91
- import { StartJobRunCommandInput, StartJobRunCommandOutput } from "./commands/StartJobRunCommand";
92
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
93
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
94
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
95
-
96
- export type ServiceInputTypes =
97
- | CancelJobRunCommandInput
98
- | CreateManagedEndpointCommandInput
99
- | CreateVirtualClusterCommandInput
100
- | DeleteManagedEndpointCommandInput
101
- | DeleteVirtualClusterCommandInput
102
- | DescribeJobRunCommandInput
103
- | DescribeManagedEndpointCommandInput
104
- | DescribeVirtualClusterCommandInput
105
- | ListJobRunsCommandInput
106
- | ListManagedEndpointsCommandInput
107
- | ListTagsForResourceCommandInput
108
- | ListVirtualClustersCommandInput
109
- | StartJobRunCommandInput
110
- | TagResourceCommandInput
111
- | UntagResourceCommandInput;
112
-
113
- export type ServiceOutputTypes =
114
- | CancelJobRunCommandOutput
115
- | CreateManagedEndpointCommandOutput
116
- | CreateVirtualClusterCommandOutput
117
- | DeleteManagedEndpointCommandOutput
118
- | DeleteVirtualClusterCommandOutput
119
- | DescribeJobRunCommandOutput
120
- | DescribeManagedEndpointCommandOutput
121
- | DescribeVirtualClusterCommandOutput
122
- | ListJobRunsCommandOutput
123
- | ListManagedEndpointsCommandOutput
124
- | ListTagsForResourceCommandOutput
125
- | ListVirtualClustersCommandOutput
126
- | StartJobRunCommandOutput
127
- | TagResourceCommandOutput
128
- | UntagResourceCommandOutput;
129
-
130
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
131
- /**
132
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
133
- */
134
- requestHandler?: __HttpHandler;
135
-
136
- /**
137
- * A constructor for a class implementing the {@link __Hash} interface
138
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
139
- * @internal
140
- */
141
- sha256?: __HashConstructor;
142
-
143
- /**
144
- * The function that will be used to convert strings into HTTP endpoints.
145
- * @internal
146
- */
147
- urlParser?: __UrlParser;
148
-
149
- /**
150
- * A function that can calculate the length of a request body.
151
- * @internal
152
- */
153
- bodyLengthChecker?: (body: any) => number | undefined;
154
-
155
- /**
156
- * A function that converts a stream into an array of bytes.
157
- * @internal
158
- */
159
- streamCollector?: __StreamCollector;
160
-
161
- /**
162
- * The function that will be used to convert a base64-encoded string to a byte array.
163
- * @internal
164
- */
165
- base64Decoder?: __Decoder;
166
-
167
- /**
168
- * The function that will be used to convert binary data to a base64-encoded string.
169
- * @internal
170
- */
171
- base64Encoder?: __Encoder;
172
-
173
- /**
174
- * The function that will be used to convert a UTF8-encoded string to a byte array.
175
- * @internal
176
- */
177
- utf8Decoder?: __Decoder;
178
-
179
- /**
180
- * The function that will be used to convert binary data to a UTF-8 encoded string.
181
- * @internal
182
- */
183
- utf8Encoder?: __Encoder;
184
-
185
- /**
186
- * The runtime environment.
187
- * @internal
188
- */
189
- runtime?: string;
190
-
191
- /**
192
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
193
- * trait of an operation.
194
- */
195
- disableHostPrefix?: boolean;
196
-
197
- /**
198
- * Value for how many times a request will be made at most in case of retry.
199
- */
200
- maxAttempts?: number | __Provider<number>;
201
-
202
- /**
203
- * Specifies which retry algorithm to use.
204
- */
205
- retryMode?: string | __Provider<string>;
206
-
207
- /**
208
- * Optional logger for logging debug/info/warn/error.
209
- */
210
- logger?: __Logger;
211
-
212
- /**
213
- * Unique service identifier.
214
- * @internal
215
- */
216
- serviceId?: string;
217
-
218
- /**
219
- * The AWS region to which this client will send requests
220
- */
221
- region?: string | __Provider<string>;
222
-
223
- /**
224
- * Default credentials provider; Not available in browser runtime.
225
- * @internal
226
- */
227
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
228
-
229
- /**
230
- * Fetch related hostname, signing name or signing region with given region.
231
- * @internal
232
- */
233
- regionInfoProvider?: RegionInfoProvider;
234
-
235
- /**
236
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
237
- * @internal
238
- */
239
- defaultUserAgentProvider?: Provider<__UserAgent>;
240
- }
241
-
242
- type EMRContainersClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
243
- ClientDefaults &
244
- RegionInputConfig &
245
- EndpointsInputConfig &
246
- RetryInputConfig &
247
- HostHeaderInputConfig &
248
- AwsAuthInputConfig &
249
- UserAgentInputConfig;
250
- /**
251
- * The configuration interface of EMRContainersClient class constructor that set the region, credentials and other options.
252
- */
253
- export interface EMRContainersClientConfig extends EMRContainersClientConfigType {}
254
-
255
- type EMRContainersClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
256
- Required<ClientDefaults> &
257
- RegionResolvedConfig &
258
- EndpointsResolvedConfig &
259
- RetryResolvedConfig &
260
- HostHeaderResolvedConfig &
261
- AwsAuthResolvedConfig &
262
- UserAgentResolvedConfig;
263
- /**
264
- * The resolved configuration interface of EMRContainersClient class. This is resolved and normalized from the {@link EMRContainersClientConfig | constructor configuration interface}.
265
- */
266
- export interface EMRContainersClientResolvedConfig extends EMRContainersClientResolvedConfigType {}
267
-
268
- /**
269
- * <p>Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run
270
- * open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With
271
- * this deployment option, you can focus on running analytics workloads while Amazon EMR on
272
- * EKS builds, configures, and manages containers for open-source applications. For more
273
- * 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>
274
- * <p>
275
- * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The
276
- * <code>emr-containers</code> prefix is used in the following scenarios: </p>
277
- * <ul>
278
- * <li>
279
- * <p>It is the prefix in the CLI commands for Amazon EMR on EKS. For example, <code>aws
280
- * emr-containers start-job-run</code>.</p>
281
- * </li>
282
- * <li>
283
- * <p>It is the prefix before IAM policy actions for Amazon EMR on EKS. For example, <code>"Action": [
284
- * "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>
285
- * </li>
286
- * <li>
287
- * <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
288
- * 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>
289
- * </li>
290
- * </ul>
291
- */
292
- export class EMRContainersClient extends __Client<
293
- __HttpHandlerOptions,
294
- ServiceInputTypes,
295
- ServiceOutputTypes,
296
- EMRContainersClientResolvedConfig
297
- > {
298
- /**
299
- * The resolved configuration of EMRContainersClient class. This is resolved and normalized from the {@link EMRContainersClientConfig | constructor configuration interface}.
300
- */
301
- readonly config: EMRContainersClientResolvedConfig;
302
-
303
- constructor(configuration: EMRContainersClientConfig) {
304
- const _config_0 = __getRuntimeConfig(configuration);
305
- const _config_1 = resolveRegionConfig(_config_0);
306
- const _config_2 = resolveEndpointsConfig(_config_1);
307
- const _config_3 = resolveRetryConfig(_config_2);
308
- const _config_4 = resolveHostHeaderConfig(_config_3);
309
- const _config_5 = resolveAwsAuthConfig(_config_4);
310
- const _config_6 = resolveUserAgentConfig(_config_5);
311
- super(_config_6);
312
- this.config = _config_6;
313
- this.middlewareStack.use(getRetryPlugin(this.config));
314
- this.middlewareStack.use(getContentLengthPlugin(this.config));
315
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
316
- this.middlewareStack.use(getLoggerPlugin(this.config));
317
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
318
- this.middlewareStack.use(getUserAgentPlugin(this.config));
319
- }
320
-
321
- /**
322
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
323
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
324
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
325
- */
326
- destroy(): void {
327
- super.destroy();
328
- }
329
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { EMRContainersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRContainersClient";
15
- import { CancelJobRunRequest, CancelJobRunResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CancelJobRunCommand,
18
- serializeAws_restJson1CancelJobRunCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CancelJobRunCommandInput extends CancelJobRunRequest {}
22
- export interface CancelJobRunCommandOutput extends CancelJobRunResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <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>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { EMRContainersClient, CancelJobRunCommand } from "@aws-sdk/client-emr-containers"; // ES Modules import
30
- * // const { EMRContainersClient, CancelJobRunCommand } = require("@aws-sdk/client-emr-containers"); // CommonJS import
31
- * const client = new EMRContainersClient(config);
32
- * const command = new CancelJobRunCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CancelJobRunCommandInput} for command's `input` shape.
37
- * @see {@link CancelJobRunCommandOutput} for command's `response` shape.
38
- * @see {@link EMRContainersClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CancelJobRunCommand extends $Command<
42
- CancelJobRunCommandInput,
43
- CancelJobRunCommandOutput,
44
- EMRContainersClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CancelJobRunCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: EMRContainersClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CancelJobRunCommandInput, CancelJobRunCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "EMRContainersClient";
69
- const commandName = "CancelJobRunCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CancelJobRunRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CancelJobRunResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CancelJobRunCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1CancelJobRunCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CancelJobRunCommandOutput> {
90
- return deserializeAws_restJson1CancelJobRunCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { EMRContainersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRContainersClient";
15
- import { CreateManagedEndpointRequest, CreateManagedEndpointResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateManagedEndpointCommand,
18
- serializeAws_restJson1CreateManagedEndpointCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateManagedEndpointCommandInput extends CreateManagedEndpointRequest {}
22
- export interface CreateManagedEndpointCommandOutput extends CreateManagedEndpointResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <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>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { EMRContainersClient, CreateManagedEndpointCommand } from "@aws-sdk/client-emr-containers"; // ES Modules import
30
- * // const { EMRContainersClient, CreateManagedEndpointCommand } = require("@aws-sdk/client-emr-containers"); // CommonJS import
31
- * const client = new EMRContainersClient(config);
32
- * const command = new CreateManagedEndpointCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CreateManagedEndpointCommandInput} for command's `input` shape.
37
- * @see {@link CreateManagedEndpointCommandOutput} for command's `response` shape.
38
- * @see {@link EMRContainersClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CreateManagedEndpointCommand extends $Command<
42
- CreateManagedEndpointCommandInput,
43
- CreateManagedEndpointCommandOutput,
44
- EMRContainersClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CreateManagedEndpointCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: EMRContainersClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CreateManagedEndpointCommandInput, CreateManagedEndpointCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "EMRContainersClient";
69
- const commandName = "CreateManagedEndpointCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CreateManagedEndpointRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CreateManagedEndpointResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CreateManagedEndpointCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1CreateManagedEndpointCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateManagedEndpointCommandOutput> {
90
- return deserializeAws_restJson1CreateManagedEndpointCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { EMRContainersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRContainersClient";
15
- import { CreateVirtualClusterRequest, CreateVirtualClusterResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateVirtualClusterCommand,
18
- serializeAws_restJson1CreateVirtualClusterCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateVirtualClusterCommandInput extends CreateVirtualClusterRequest {}
22
- export interface CreateVirtualClusterCommandOutput extends CreateVirtualClusterResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <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>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { EMRContainersClient, CreateVirtualClusterCommand } from "@aws-sdk/client-emr-containers"; // ES Modules import
30
- * // const { EMRContainersClient, CreateVirtualClusterCommand } = require("@aws-sdk/client-emr-containers"); // CommonJS import
31
- * const client = new EMRContainersClient(config);
32
- * const command = new CreateVirtualClusterCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CreateVirtualClusterCommandInput} for command's `input` shape.
37
- * @see {@link CreateVirtualClusterCommandOutput} for command's `response` shape.
38
- * @see {@link EMRContainersClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CreateVirtualClusterCommand extends $Command<
42
- CreateVirtualClusterCommandInput,
43
- CreateVirtualClusterCommandOutput,
44
- EMRContainersClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CreateVirtualClusterCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: EMRContainersClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CreateVirtualClusterCommandInput, CreateVirtualClusterCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "EMRContainersClient";
69
- const commandName = "CreateVirtualClusterCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CreateVirtualClusterRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CreateVirtualClusterResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CreateVirtualClusterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1CreateVirtualClusterCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateVirtualClusterCommandOutput> {
90
- return deserializeAws_restJson1CreateVirtualClusterCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }