@aws-sdk/client-emr-serverless 3.100.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 (128) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +226 -0
  4. package/dist-cjs/EMRServerless.js +217 -0
  5. package/dist-cjs/EMRServerlessClient.js +35 -0
  6. package/dist-cjs/commands/CancelJobRunCommand.js +36 -0
  7. package/dist-cjs/commands/CreateApplicationCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteApplicationCommand.js +36 -0
  9. package/dist-cjs/commands/GetApplicationCommand.js +36 -0
  10. package/dist-cjs/commands/GetJobRunCommand.js +36 -0
  11. package/dist-cjs/commands/ListApplicationsCommand.js +36 -0
  12. package/dist-cjs/commands/ListJobRunsCommand.js +36 -0
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  14. package/dist-cjs/commands/StartApplicationCommand.js +36 -0
  15. package/dist-cjs/commands/StartJobRunCommand.js +36 -0
  16. package/dist-cjs/commands/StopApplicationCommand.js +36 -0
  17. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  18. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  19. package/dist-cjs/commands/UpdateApplicationCommand.js +36 -0
  20. package/dist-cjs/commands/index.js +17 -0
  21. package/dist-cjs/endpoints.js +150 -0
  22. package/dist-cjs/index.js +11 -0
  23. package/dist-cjs/models/EMRServerlessServiceException.js +11 -0
  24. package/dist-cjs/models/index.js +4 -0
  25. package/dist-cjs/models/models_0.js +408 -0
  26. package/dist-cjs/pagination/Interfaces.js +2 -0
  27. package/dist-cjs/pagination/ListApplicationsPaginator.js +36 -0
  28. package/dist-cjs/pagination/ListJobRunsPaginator.js +36 -0
  29. package/dist-cjs/pagination/index.js +6 -0
  30. package/dist-cjs/protocols/Aws_restJson1.js +1724 -0
  31. package/dist-cjs/runtimeConfig.browser.js +45 -0
  32. package/dist-cjs/runtimeConfig.js +52 -0
  33. package/dist-cjs/runtimeConfig.native.js +16 -0
  34. package/dist-cjs/runtimeConfig.shared.js +17 -0
  35. package/dist-es/EMRServerless.js +220 -0
  36. package/dist-es/EMRServerlessClient.js +37 -0
  37. package/dist-es/commands/CancelJobRunCommand.js +39 -0
  38. package/dist-es/commands/CreateApplicationCommand.js +39 -0
  39. package/dist-es/commands/DeleteApplicationCommand.js +39 -0
  40. package/dist-es/commands/GetApplicationCommand.js +39 -0
  41. package/dist-es/commands/GetJobRunCommand.js +39 -0
  42. package/dist-es/commands/ListApplicationsCommand.js +39 -0
  43. package/dist-es/commands/ListJobRunsCommand.js +39 -0
  44. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  45. package/dist-es/commands/StartApplicationCommand.js +39 -0
  46. package/dist-es/commands/StartJobRunCommand.js +39 -0
  47. package/dist-es/commands/StopApplicationCommand.js +39 -0
  48. package/dist-es/commands/TagResourceCommand.js +39 -0
  49. package/dist-es/commands/UntagResourceCommand.js +39 -0
  50. package/dist-es/commands/UpdateApplicationCommand.js +39 -0
  51. package/dist-es/commands/index.js +14 -0
  52. package/dist-es/endpoints.js +146 -0
  53. package/dist-es/index.js +6 -0
  54. package/dist-es/models/EMRServerlessServiceException.js +12 -0
  55. package/dist-es/models/index.js +1 -0
  56. package/dist-es/models/models_0.js +295 -0
  57. package/dist-es/pagination/Interfaces.js +1 -0
  58. package/dist-es/pagination/ListApplicationsPaginator.js +75 -0
  59. package/dist-es/pagination/ListJobRunsPaginator.js +75 -0
  60. package/dist-es/pagination/index.js +3 -0
  61. package/dist-es/protocols/Aws_restJson1.js +1994 -0
  62. package/dist-es/runtimeConfig.browser.js +26 -0
  63. package/dist-es/runtimeConfig.js +30 -0
  64. package/dist-es/runtimeConfig.native.js +8 -0
  65. package/dist-es/runtimeConfig.shared.js +13 -0
  66. package/dist-types/EMRServerless.d.ts +133 -0
  67. package/dist-types/EMRServerlessClient.d.ts +179 -0
  68. package/dist-types/commands/CancelJobRunCommand.d.ts +35 -0
  69. package/dist-types/commands/CreateApplicationCommand.d.ts +35 -0
  70. package/dist-types/commands/DeleteApplicationCommand.d.ts +36 -0
  71. package/dist-types/commands/GetApplicationCommand.d.ts +35 -0
  72. package/dist-types/commands/GetJobRunCommand.d.ts +35 -0
  73. package/dist-types/commands/ListApplicationsCommand.d.ts +35 -0
  74. package/dist-types/commands/ListJobRunsCommand.d.ts +35 -0
  75. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  76. package/dist-types/commands/StartApplicationCommand.d.ts +35 -0
  77. package/dist-types/commands/StartJobRunCommand.d.ts +35 -0
  78. package/dist-types/commands/StopApplicationCommand.d.ts +36 -0
  79. package/dist-types/commands/TagResourceCommand.d.ts +39 -0
  80. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  81. package/dist-types/commands/UpdateApplicationCommand.d.ts +36 -0
  82. package/dist-types/commands/index.d.ts +14 -0
  83. package/dist-types/endpoints.d.ts +2 -0
  84. package/dist-types/index.d.ts +6 -0
  85. package/dist-types/models/EMRServerlessServiceException.d.ts +10 -0
  86. package/dist-types/models/index.d.ts +1 -0
  87. package/dist-types/models/models_0.d.ts +1172 -0
  88. package/dist-types/pagination/Interfaces.d.ts +6 -0
  89. package/dist-types/pagination/ListApplicationsPaginator.d.ts +4 -0
  90. package/dist-types/pagination/ListJobRunsPaginator.d.ts +4 -0
  91. package/dist-types/pagination/index.d.ts +3 -0
  92. package/dist-types/protocols/Aws_restJson1.d.ts +44 -0
  93. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  94. package/dist-types/runtimeConfig.d.ts +40 -0
  95. package/dist-types/runtimeConfig.native.d.ts +39 -0
  96. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  97. package/dist-types/ts3.4/EMRServerless.d.ts +75 -0
  98. package/dist-types/ts3.4/EMRServerlessClient.d.ts +87 -0
  99. package/dist-types/ts3.4/commands/CancelJobRunCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/GetJobRunCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/ListJobRunsCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  111. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  112. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +17 -0
  113. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  114. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  115. package/dist-types/ts3.4/index.d.ts +6 -0
  116. package/dist-types/ts3.4/models/EMRServerlessServiceException.d.ts +6 -0
  117. package/dist-types/ts3.4/models/index.d.ts +1 -0
  118. package/dist-types/ts3.4/models/models_0.d.ts +700 -0
  119. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  120. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +4 -0
  121. package/dist-types/ts3.4/pagination/ListJobRunsPaginator.d.ts +4 -0
  122. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  123. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +44 -0
  124. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  125. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  126. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  127. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  128. package/package.json +95 -0
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { EMRServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRServerlessClient";
4
+ import { ListJobRunsRequest, ListJobRunsResponse } from "../models/models_0";
5
+ export interface ListJobRunsCommandInput extends ListJobRunsRequest {
6
+ }
7
+ export interface ListJobRunsCommandOutput extends ListJobRunsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists job runs based on a set of parameters.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { EMRServerlessClient, ListJobRunsCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
15
+ * // const { EMRServerlessClient, ListJobRunsCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
16
+ * const client = new EMRServerlessClient(config);
17
+ * const command = new ListJobRunsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListJobRunsCommandInput} for command's `input` shape.
22
+ * @see {@link ListJobRunsCommandOutput} for command's `response` shape.
23
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListJobRunsCommand extends $Command<ListJobRunsCommandInput, ListJobRunsCommandOutput, EMRServerlessClientResolvedConfig> {
27
+ readonly input: ListJobRunsCommandInput;
28
+ constructor(input: ListJobRunsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListJobRunsCommandInput, ListJobRunsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { EMRServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRServerlessClient";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
6
+ }
7
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists the tags assigned to the resources.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { EMRServerlessClient, ListTagsForResourceCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
15
+ * // const { EMRServerlessClient, ListTagsForResourceCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
16
+ * const client = new EMRServerlessClient(config);
17
+ * const command = new ListTagsForResourceCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
22
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
23
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, EMRServerlessClientResolvedConfig> {
27
+ readonly input: ListTagsForResourceCommandInput;
28
+ constructor(input: ListTagsForResourceCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { EMRServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRServerlessClient";
4
+ import { StartApplicationRequest, StartApplicationResponse } from "../models/models_0";
5
+ export interface StartApplicationCommandInput extends StartApplicationRequest {
6
+ }
7
+ export interface StartApplicationCommandOutput extends StartApplicationResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Starts a specified application and initializes initial capacity if configured.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { EMRServerlessClient, StartApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
15
+ * // const { EMRServerlessClient, StartApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
16
+ * const client = new EMRServerlessClient(config);
17
+ * const command = new StartApplicationCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link StartApplicationCommandInput} for command's `input` shape.
22
+ * @see {@link StartApplicationCommandOutput} for command's `response` shape.
23
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class StartApplicationCommand extends $Command<StartApplicationCommandInput, StartApplicationCommandOutput, EMRServerlessClientResolvedConfig> {
27
+ readonly input: StartApplicationCommandInput;
28
+ constructor(input: StartApplicationCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartApplicationCommandInput, StartApplicationCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { EMRServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRServerlessClient";
4
+ import { StartJobRunRequest, StartJobRunResponse } from "../models/models_0";
5
+ export interface StartJobRunCommandInput extends StartJobRunRequest {
6
+ }
7
+ export interface StartJobRunCommandOutput extends StartJobRunResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Starts a job run.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { EMRServerlessClient, StartJobRunCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
15
+ * // const { EMRServerlessClient, StartJobRunCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
16
+ * const client = new EMRServerlessClient(config);
17
+ * const command = new StartJobRunCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link StartJobRunCommandInput} for command's `input` shape.
22
+ * @see {@link StartJobRunCommandOutput} for command's `response` shape.
23
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class StartJobRunCommand extends $Command<StartJobRunCommandInput, StartJobRunCommandOutput, EMRServerlessClientResolvedConfig> {
27
+ readonly input: StartJobRunCommandInput;
28
+ constructor(input: StartJobRunCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartJobRunCommandInput, StartJobRunCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { EMRServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRServerlessClient";
4
+ import { StopApplicationRequest, StopApplicationResponse } from "../models/models_0";
5
+ export interface StopApplicationCommandInput extends StopApplicationRequest {
6
+ }
7
+ export interface StopApplicationCommandOutput extends StopApplicationResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Stops a specified application and releases initial capacity if configured. All scheduled
11
+ * and running jobs must be completed or cancelled before stopping an application.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { EMRServerlessClient, StopApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
16
+ * // const { EMRServerlessClient, StopApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
17
+ * const client = new EMRServerlessClient(config);
18
+ * const command = new StopApplicationCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link StopApplicationCommandInput} for command's `input` shape.
23
+ * @see {@link StopApplicationCommandOutput} for command's `response` shape.
24
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class StopApplicationCommand extends $Command<StopApplicationCommandInput, StopApplicationCommandOutput, EMRServerlessClientResolvedConfig> {
28
+ readonly input: StopApplicationCommandInput;
29
+ constructor(input: StopApplicationCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopApplicationCommandInput, StopApplicationCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { EMRServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRServerlessClient";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ export interface TagResourceCommandInput extends TagResourceRequest {
6
+ }
7
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag
11
+ * consists of a key and an optional value, both of which you define. Tags enable you to
12
+ * categorize your AWS resources by attributes such as purpose, owner, or environment. When
13
+ * you have many resources of the same type, you can quickly identify a specific resource
14
+ * based on the tags you've assigned to it. </p>
15
+ * @example
16
+ * Use a bare-bones client and the command you need to make an API call.
17
+ * ```javascript
18
+ * import { EMRServerlessClient, TagResourceCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
19
+ * // const { EMRServerlessClient, TagResourceCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
20
+ * const client = new EMRServerlessClient(config);
21
+ * const command = new TagResourceCommand(input);
22
+ * const response = await client.send(command);
23
+ * ```
24
+ *
25
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
26
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
27
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
28
+ *
29
+ */
30
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, EMRServerlessClientResolvedConfig> {
31
+ readonly input: TagResourceCommandInput;
32
+ constructor(input: TagResourceCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { EMRServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRServerlessClient";
4
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
6
+ }
7
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Removes tags from resources.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { EMRServerlessClient, UntagResourceCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
15
+ * // const { EMRServerlessClient, UntagResourceCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
16
+ * const client = new EMRServerlessClient(config);
17
+ * const command = new UntagResourceCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
22
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
23
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, EMRServerlessClientResolvedConfig> {
27
+ readonly input: UntagResourceCommandInput;
28
+ constructor(input: UntagResourceCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { EMRServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRServerlessClient";
4
+ import { UpdateApplicationRequest, UpdateApplicationResponse } from "../models/models_0";
5
+ export interface UpdateApplicationCommandInput extends UpdateApplicationRequest {
6
+ }
7
+ export interface UpdateApplicationCommandOutput extends UpdateApplicationResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates a specified application. An application has to be in a stopped or created state
11
+ * in order to be updated.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { EMRServerlessClient, UpdateApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
16
+ * // const { EMRServerlessClient, UpdateApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
17
+ * const client = new EMRServerlessClient(config);
18
+ * const command = new UpdateApplicationCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link UpdateApplicationCommandInput} for command's `input` shape.
23
+ * @see {@link UpdateApplicationCommandOutput} for command's `response` shape.
24
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class UpdateApplicationCommand extends $Command<UpdateApplicationCommandInput, UpdateApplicationCommandOutput, EMRServerlessClientResolvedConfig> {
28
+ readonly input: UpdateApplicationCommandInput;
29
+ constructor(input: UpdateApplicationCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateApplicationCommandInput, UpdateApplicationCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,14 @@
1
+ export * from "./CancelJobRunCommand";
2
+ export * from "./CreateApplicationCommand";
3
+ export * from "./DeleteApplicationCommand";
4
+ export * from "./GetApplicationCommand";
5
+ export * from "./GetJobRunCommand";
6
+ export * from "./ListApplicationsCommand";
7
+ export * from "./ListJobRunsCommand";
8
+ export * from "./ListTagsForResourceCommand";
9
+ export * from "./StartApplicationCommand";
10
+ export * from "./StartJobRunCommand";
11
+ export * from "./StopApplicationCommand";
12
+ export * from "./TagResourceCommand";
13
+ export * from "./UntagResourceCommand";
14
+ export * from "./UpdateApplicationCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,6 @@
1
+ export * from "./EMRServerless";
2
+ export * from "./EMRServerlessClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { EMRServerlessServiceException } from "./models/EMRServerlessServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from EMRServerless service.
4
+ */
5
+ export declare class EMRServerlessServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";