@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,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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListTagsForResourceCommand,
18
- serializeAws_restJson1ListTagsForResourceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
22
- export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists the tags assigned to the resources.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { EMRContainersClient, ListTagsForResourceCommand } from "@aws-sdk/client-emr-containers"; // ES Modules import
30
- * // const { EMRContainersClient, ListTagsForResourceCommand } = require("@aws-sdk/client-emr-containers"); // CommonJS import
31
- * const client = new EMRContainersClient(config);
32
- * const command = new ListTagsForResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
37
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
38
- * @see {@link EMRContainersClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListTagsForResourceCommand extends $Command<
42
- ListTagsForResourceCommandInput,
43
- ListTagsForResourceCommandOutput,
44
- EMRContainersClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListTagsForResourceCommandInput) {
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<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
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 = "ListTagsForResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListTagsForResourceResponse.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: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListTagsForResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
90
- return deserializeAws_restJson1ListTagsForResourceCommand(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 { ListVirtualClustersRequest, ListVirtualClustersResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListVirtualClustersCommand,
18
- serializeAws_restJson1ListVirtualClustersCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListVirtualClustersCommandInput extends ListVirtualClustersRequest {}
22
- export interface ListVirtualClustersCommandOutput extends ListVirtualClustersResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <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>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { EMRContainersClient, ListVirtualClustersCommand } from "@aws-sdk/client-emr-containers"; // ES Modules import
30
- * // const { EMRContainersClient, ListVirtualClustersCommand } = require("@aws-sdk/client-emr-containers"); // CommonJS import
31
- * const client = new EMRContainersClient(config);
32
- * const command = new ListVirtualClustersCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListVirtualClustersCommandInput} for command's `input` shape.
37
- * @see {@link ListVirtualClustersCommandOutput} for command's `response` shape.
38
- * @see {@link EMRContainersClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListVirtualClustersCommand extends $Command<
42
- ListVirtualClustersCommandInput,
43
- ListVirtualClustersCommandOutput,
44
- EMRContainersClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListVirtualClustersCommandInput) {
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<ListVirtualClustersCommandInput, ListVirtualClustersCommandOutput> {
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 = "ListVirtualClustersCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListVirtualClustersRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListVirtualClustersResponse.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: ListVirtualClustersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListVirtualClustersCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListVirtualClustersCommandOutput> {
90
- return deserializeAws_restJson1ListVirtualClustersCommand(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 { StartJobRunRequest, StartJobRunResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1StartJobRunCommand,
18
- serializeAws_restJson1StartJobRunCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface StartJobRunCommandInput extends StartJobRunRequest {}
22
- export interface StartJobRunCommandOutput extends StartJobRunResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <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>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { EMRContainersClient, StartJobRunCommand } from "@aws-sdk/client-emr-containers"; // ES Modules import
30
- * // const { EMRContainersClient, StartJobRunCommand } = require("@aws-sdk/client-emr-containers"); // CommonJS import
31
- * const client = new EMRContainersClient(config);
32
- * const command = new StartJobRunCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link StartJobRunCommandInput} for command's `input` shape.
37
- * @see {@link StartJobRunCommandOutput} for command's `response` shape.
38
- * @see {@link EMRContainersClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class StartJobRunCommand extends $Command<
42
- StartJobRunCommandInput,
43
- StartJobRunCommandOutput,
44
- EMRContainersClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: StartJobRunCommandInput) {
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<StartJobRunCommandInput, StartJobRunCommandOutput> {
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 = "StartJobRunCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: StartJobRunRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: StartJobRunResponse.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: StartJobRunCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1StartJobRunCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartJobRunCommandOutput> {
90
- return deserializeAws_restJson1StartJobRunCommand(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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1TagResourceCommand,
18
- serializeAws_restJson1TagResourceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface TagResourceCommandInput extends TagResourceRequest {}
22
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <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>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { EMRContainersClient, TagResourceCommand } from "@aws-sdk/client-emr-containers"; // ES Modules import
30
- * // const { EMRContainersClient, TagResourceCommand } = require("@aws-sdk/client-emr-containers"); // CommonJS import
31
- * const client = new EMRContainersClient(config);
32
- * const command = new TagResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link TagResourceCommandInput} for command's `input` shape.
37
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
38
- * @see {@link EMRContainersClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class TagResourceCommand extends $Command<
42
- TagResourceCommandInput,
43
- TagResourceCommandOutput,
44
- EMRContainersClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: TagResourceCommandInput) {
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<TagResourceCommandInput, TagResourceCommandOutput> {
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 = "TagResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: TagResourceResponse.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: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1TagResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
90
- return deserializeAws_restJson1TagResourceCommand(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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1UntagResourceCommand,
18
- serializeAws_restJson1UntagResourceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
22
- export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Removes tags from resources.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { EMRContainersClient, UntagResourceCommand } from "@aws-sdk/client-emr-containers"; // ES Modules import
30
- * // const { EMRContainersClient, UntagResourceCommand } = require("@aws-sdk/client-emr-containers"); // CommonJS import
31
- * const client = new EMRContainersClient(config);
32
- * const command = new UntagResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
37
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
38
- * @see {@link EMRContainersClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UntagResourceCommand extends $Command<
42
- UntagResourceCommandInput,
43
- UntagResourceCommandOutput,
44
- EMRContainersClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UntagResourceCommandInput) {
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<UntagResourceCommandInput, UntagResourceCommandOutput> {
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 = "UntagResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UntagResourceResponse.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: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1UntagResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
90
- return deserializeAws_restJson1UntagResourceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
package/src/endpoints.ts DELETED
@@ -1,83 +0,0 @@
1
- import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
- import { RegionInfoProvider } from "@aws-sdk/types";
3
-
4
- const regionHash: RegionHash = {
5
- "fips-ca-central-1": {
6
- hostname: "emr-containers-fips.ca-central-1.amazonaws.com",
7
- signingRegion: "ca-central-1",
8
- },
9
- "fips-us-east-1": {
10
- hostname: "emr-containers-fips.us-east-1.amazonaws.com",
11
- signingRegion: "us-east-1",
12
- },
13
- "fips-us-east-2": {
14
- hostname: "emr-containers-fips.us-east-2.amazonaws.com",
15
- signingRegion: "us-east-2",
16
- },
17
- "fips-us-west-1": {
18
- hostname: "emr-containers-fips.us-west-1.amazonaws.com",
19
- signingRegion: "us-west-1",
20
- },
21
- "fips-us-west-2": {
22
- hostname: "emr-containers-fips.us-west-2.amazonaws.com",
23
- signingRegion: "us-west-2",
24
- },
25
- };
26
-
27
- const partitionHash: PartitionHash = {
28
- aws: {
29
- regions: [
30
- "af-south-1",
31
- "ap-east-1",
32
- "ap-northeast-1",
33
- "ap-northeast-2",
34
- "ap-northeast-3",
35
- "ap-south-1",
36
- "ap-southeast-1",
37
- "ap-southeast-2",
38
- "ca-central-1",
39
- "eu-central-1",
40
- "eu-north-1",
41
- "eu-south-1",
42
- "eu-west-1",
43
- "eu-west-2",
44
- "eu-west-3",
45
- "fips-ca-central-1",
46
- "fips-us-east-1",
47
- "fips-us-east-2",
48
- "fips-us-west-1",
49
- "fips-us-west-2",
50
- "me-south-1",
51
- "sa-east-1",
52
- "us-east-1",
53
- "us-east-2",
54
- "us-west-1",
55
- "us-west-2",
56
- ],
57
- hostname: "emr-containers.{region}.amazonaws.com",
58
- },
59
- "aws-cn": {
60
- regions: ["cn-north-1", "cn-northwest-1"],
61
- hostname: "emr-containers.{region}.amazonaws.com.cn",
62
- },
63
- "aws-iso": {
64
- regions: ["us-iso-east-1"],
65
- hostname: "emr-containers.{region}.c2s.ic.gov",
66
- },
67
- "aws-iso-b": {
68
- regions: ["us-isob-east-1"],
69
- hostname: "emr-containers.{region}.sc2s.sgov.gov",
70
- },
71
- "aws-us-gov": {
72
- regions: ["us-gov-east-1", "us-gov-west-1"],
73
- hostname: "emr-containers.{region}.amazonaws.com",
74
- },
75
- };
76
-
77
- export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
78
- getRegionInfo(region, {
79
- ...options,
80
- signingService: "emr-containers",
81
- regionHash,
82
- partitionHash,
83
- });
package/src/index.ts DELETED
@@ -1,22 +0,0 @@
1
- export * from "./EMRContainersClient";
2
- export * from "./EMRContainers";
3
- export * from "./commands/CancelJobRunCommand";
4
- export * from "./commands/CreateManagedEndpointCommand";
5
- export * from "./commands/CreateVirtualClusterCommand";
6
- export * from "./commands/DeleteManagedEndpointCommand";
7
- export * from "./commands/DeleteVirtualClusterCommand";
8
- export * from "./commands/DescribeJobRunCommand";
9
- export * from "./commands/DescribeManagedEndpointCommand";
10
- export * from "./commands/DescribeVirtualClusterCommand";
11
- export * from "./commands/ListJobRunsCommand";
12
- export * from "./pagination/ListJobRunsPaginator";
13
- export * from "./commands/ListManagedEndpointsCommand";
14
- export * from "./pagination/ListManagedEndpointsPaginator";
15
- export * from "./commands/ListTagsForResourceCommand";
16
- export * from "./commands/ListVirtualClustersCommand";
17
- export * from "./pagination/ListVirtualClustersPaginator";
18
- export * from "./commands/StartJobRunCommand";
19
- export * from "./commands/TagResourceCommand";
20
- export * from "./commands/UntagResourceCommand";
21
- export * from "./pagination/Interfaces";
22
- export * from "./models/index";
@@ -1 +0,0 @@
1
- export * from "./models_0";