@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,26 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import packageInfo from "../package.json";
3
+ import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
+ import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
9
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
15
+ export var getRuntimeConfig = function (config) {
16
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
+ var clientSharedValues = getSharedRuntimeConfig(config);
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
26
+ };
@@ -0,0 +1,30 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import packageInfo from "../package.json";
3
+ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
+ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
+ import { Hash } from "@aws-sdk/hash-node";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
+ import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
18
+ export var getRuntimeConfig = function (config) {
19
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ emitWarningIfUnsupportedVersion(process.version);
21
+ var defaultsMode = resolveDefaultsModeConfig(config);
22
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
23
+ var clientSharedValues = getSharedRuntimeConfig(config);
24
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
25
+ switch (_a.label) {
26
+ case 0: return [4, defaultConfigProvider()];
27
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
28
+ }
29
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
30
+ };
@@ -0,0 +1,8 @@
1
+ import { __assign } from "tslib";
2
+ import { Sha256 } from "@aws-crypto/sha256-js";
3
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
+ export var getRuntimeConfig = function (config) {
5
+ var _a;
6
+ var browserDefaults = getBrowserRuntimeConfig(config);
7
+ return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
+ };
@@ -0,0 +1,13 @@
1
+ import { parseUrl } from "@aws-sdk/url-parser";
2
+ import { defaultRegionInfoProvider } from "./endpoints";
3
+ export var getRuntimeConfig = function (config) {
4
+ var _a, _b, _c, _d, _e;
5
+ return ({
6
+ apiVersion: "2021-07-13",
7
+ disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
8
+ logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
9
+ regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : defaultRegionInfoProvider,
10
+ serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "EMR Serverless",
11
+ urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
+ });
13
+ };
@@ -0,0 +1,133 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CancelJobRunCommandInput, CancelJobRunCommandOutput } from "./commands/CancelJobRunCommand";
3
+ import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
4
+ import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
5
+ import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
6
+ import { GetJobRunCommandInput, GetJobRunCommandOutput } from "./commands/GetJobRunCommand";
7
+ import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
8
+ import { ListJobRunsCommandInput, ListJobRunsCommandOutput } from "./commands/ListJobRunsCommand";
9
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
10
+ import { StartApplicationCommandInput, StartApplicationCommandOutput } from "./commands/StartApplicationCommand";
11
+ import { StartJobRunCommandInput, StartJobRunCommandOutput } from "./commands/StartJobRunCommand";
12
+ import { StopApplicationCommandInput, StopApplicationCommandOutput } from "./commands/StopApplicationCommand";
13
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
14
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
15
+ import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
16
+ import { EMRServerlessClient } from "./EMRServerlessClient";
17
+ /**
18
+ * <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. EMR Serverless provides
19
+ * a serverless runtime environment that simplifies running analytics applications using the
20
+ * latest open source frameworks such as Apache Spark and Apache Hive. With EMR Serverless,
21
+ * you don’t have to configure, optimize, secure, or operate clusters to run applications with
22
+ * these frameworks.</p>
23
+ * <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The
24
+ * <code>emr-serverless</code> prefix is used in the following scenarios: </p>
25
+ * <ul>
26
+ * <li>
27
+ * <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For example,
28
+ * <code>aws emr-serverless start-job-run</code>.</p>
29
+ * </li>
30
+ * <li>
31
+ * <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For example,
32
+ * <code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information, see
33
+ * <a href="https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions">Policy actions for Amazon EMR Serverless</a>.</p>
34
+ * </li>
35
+ * <li>
36
+ * <p>It is the prefix used in Amazon EMR Serverless service endpoints. For example,
37
+ * <code>emr-serverless.us-east-2.amazonaws.com</code>.</p>
38
+ * </li>
39
+ * </ul>
40
+ */
41
+ export declare class EMRServerless extends EMRServerlessClient {
42
+ /**
43
+ * <p>Cancels a job run.</p>
44
+ */
45
+ cancelJobRun(args: CancelJobRunCommandInput, options?: __HttpHandlerOptions): Promise<CancelJobRunCommandOutput>;
46
+ cancelJobRun(args: CancelJobRunCommandInput, cb: (err: any, data?: CancelJobRunCommandOutput) => void): void;
47
+ cancelJobRun(args: CancelJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelJobRunCommandOutput) => void): void;
48
+ /**
49
+ * <p>Creates an application.</p>
50
+ */
51
+ createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
52
+ createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
53
+ createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
54
+ /**
55
+ * <p>Deletes an application. An application has to be in a stopped or created state in order
56
+ * to be deleted.</p>
57
+ */
58
+ deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
59
+ deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
60
+ deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
61
+ /**
62
+ * <p>Displays detailed information about a specified application.</p>
63
+ */
64
+ getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
65
+ getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
66
+ getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
67
+ /**
68
+ * <p>Displays detailed information about a job run.</p>
69
+ */
70
+ getJobRun(args: GetJobRunCommandInput, options?: __HttpHandlerOptions): Promise<GetJobRunCommandOutput>;
71
+ getJobRun(args: GetJobRunCommandInput, cb: (err: any, data?: GetJobRunCommandOutput) => void): void;
72
+ getJobRun(args: GetJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetJobRunCommandOutput) => void): void;
73
+ /**
74
+ * <p>Lists applications based on a set of parameters.</p>
75
+ */
76
+ listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
77
+ listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
78
+ listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
79
+ /**
80
+ * <p>Lists job runs based on a set of parameters.</p>
81
+ */
82
+ listJobRuns(args: ListJobRunsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobRunsCommandOutput>;
83
+ listJobRuns(args: ListJobRunsCommandInput, cb: (err: any, data?: ListJobRunsCommandOutput) => void): void;
84
+ listJobRuns(args: ListJobRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobRunsCommandOutput) => void): void;
85
+ /**
86
+ * <p>Lists the tags assigned to the resources.</p>
87
+ */
88
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
89
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
90
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
91
+ /**
92
+ * <p>Starts a specified application and initializes initial capacity if configured.</p>
93
+ */
94
+ startApplication(args: StartApplicationCommandInput, options?: __HttpHandlerOptions): Promise<StartApplicationCommandOutput>;
95
+ startApplication(args: StartApplicationCommandInput, cb: (err: any, data?: StartApplicationCommandOutput) => void): void;
96
+ startApplication(args: StartApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartApplicationCommandOutput) => void): void;
97
+ /**
98
+ * <p>Starts a job run.</p>
99
+ */
100
+ startJobRun(args: StartJobRunCommandInput, options?: __HttpHandlerOptions): Promise<StartJobRunCommandOutput>;
101
+ startJobRun(args: StartJobRunCommandInput, cb: (err: any, data?: StartJobRunCommandOutput) => void): void;
102
+ startJobRun(args: StartJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartJobRunCommandOutput) => void): void;
103
+ /**
104
+ * <p>Stops a specified application and releases initial capacity if configured. All scheduled
105
+ * and running jobs must be completed or cancelled before stopping an application.</p>
106
+ */
107
+ stopApplication(args: StopApplicationCommandInput, options?: __HttpHandlerOptions): Promise<StopApplicationCommandOutput>;
108
+ stopApplication(args: StopApplicationCommandInput, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
109
+ stopApplication(args: StopApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
110
+ /**
111
+ * <p>Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag
112
+ * consists of a key and an optional value, both of which you define. Tags enable you to
113
+ * categorize your AWS resources by attributes such as purpose, owner, or environment. When
114
+ * you have many resources of the same type, you can quickly identify a specific resource
115
+ * based on the tags you've assigned to it. </p>
116
+ */
117
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
118
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
119
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
120
+ /**
121
+ * <p>Removes tags from resources.</p>
122
+ */
123
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
124
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
125
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
126
+ /**
127
+ * <p>Updates a specified application. An application has to be in a stopped or created state
128
+ * in order to be updated.</p>
129
+ */
130
+ updateApplication(args: UpdateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationCommandOutput>;
131
+ updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
132
+ updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
133
+ }
@@ -0,0 +1,179 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { CancelJobRunCommandInput, CancelJobRunCommandOutput } from "./commands/CancelJobRunCommand";
10
+ import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
11
+ import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
12
+ import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
13
+ import { GetJobRunCommandInput, GetJobRunCommandOutput } from "./commands/GetJobRunCommand";
14
+ import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
15
+ import { ListJobRunsCommandInput, ListJobRunsCommandOutput } from "./commands/ListJobRunsCommand";
16
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
17
+ import { StartApplicationCommandInput, StartApplicationCommandOutput } from "./commands/StartApplicationCommand";
18
+ import { StartJobRunCommandInput, StartJobRunCommandOutput } from "./commands/StartJobRunCommand";
19
+ import { StopApplicationCommandInput, StopApplicationCommandOutput } from "./commands/StopApplicationCommand";
20
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
21
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
22
+ import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
23
+ export declare type ServiceInputTypes = CancelJobRunCommandInput | CreateApplicationCommandInput | DeleteApplicationCommandInput | GetApplicationCommandInput | GetJobRunCommandInput | ListApplicationsCommandInput | ListJobRunsCommandInput | ListTagsForResourceCommandInput | StartApplicationCommandInput | StartJobRunCommandInput | StopApplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput;
24
+ export declare type ServiceOutputTypes = CancelJobRunCommandOutput | CreateApplicationCommandOutput | DeleteApplicationCommandOutput | GetApplicationCommandOutput | GetJobRunCommandOutput | ListApplicationsCommandOutput | ListJobRunsCommandOutput | ListTagsForResourceCommandOutput | StartApplicationCommandOutput | StartJobRunCommandOutput | StopApplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput;
25
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
26
+ /**
27
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
28
+ */
29
+ requestHandler?: __HttpHandler;
30
+ /**
31
+ * A constructor for a class implementing the {@link __Hash} interface
32
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
33
+ * @internal
34
+ */
35
+ sha256?: __HashConstructor;
36
+ /**
37
+ * The function that will be used to convert strings into HTTP endpoints.
38
+ * @internal
39
+ */
40
+ urlParser?: __UrlParser;
41
+ /**
42
+ * A function that can calculate the length of a request body.
43
+ * @internal
44
+ */
45
+ bodyLengthChecker?: __BodyLengthCalculator;
46
+ /**
47
+ * A function that converts a stream into an array of bytes.
48
+ * @internal
49
+ */
50
+ streamCollector?: __StreamCollector;
51
+ /**
52
+ * The function that will be used to convert a base64-encoded string to a byte array.
53
+ * @internal
54
+ */
55
+ base64Decoder?: __Decoder;
56
+ /**
57
+ * The function that will be used to convert binary data to a base64-encoded string.
58
+ * @internal
59
+ */
60
+ base64Encoder?: __Encoder;
61
+ /**
62
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
63
+ * @internal
64
+ */
65
+ utf8Decoder?: __Decoder;
66
+ /**
67
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
68
+ * @internal
69
+ */
70
+ utf8Encoder?: __Encoder;
71
+ /**
72
+ * The runtime environment.
73
+ * @internal
74
+ */
75
+ runtime?: string;
76
+ /**
77
+ * Disable dyanamically changing the endpoint of the client based on the hostPrefix
78
+ * trait of an operation.
79
+ */
80
+ disableHostPrefix?: boolean;
81
+ /**
82
+ * Value for how many times a request will be made at most in case of retry.
83
+ */
84
+ maxAttempts?: number | __Provider<number>;
85
+ /**
86
+ * Specifies which retry algorithm to use.
87
+ */
88
+ retryMode?: string | __Provider<string>;
89
+ /**
90
+ * Optional logger for logging debug/info/warn/error.
91
+ */
92
+ logger?: __Logger;
93
+ /**
94
+ * Enables IPv6/IPv4 dualstack endpoint.
95
+ */
96
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
97
+ /**
98
+ * Enables FIPS compatible endpoints.
99
+ */
100
+ useFipsEndpoint?: boolean | __Provider<boolean>;
101
+ /**
102
+ * Unique service identifier.
103
+ * @internal
104
+ */
105
+ serviceId?: string;
106
+ /**
107
+ * The AWS region to which this client will send requests
108
+ */
109
+ region?: string | __Provider<string>;
110
+ /**
111
+ * Default credentials provider; Not available in browser runtime.
112
+ * @internal
113
+ */
114
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
115
+ /**
116
+ * Fetch related hostname, signing name or signing region with given region.
117
+ * @internal
118
+ */
119
+ regionInfoProvider?: RegionInfoProvider;
120
+ /**
121
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
122
+ * @internal
123
+ */
124
+ defaultUserAgentProvider?: Provider<__UserAgent>;
125
+ /**
126
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
127
+ */
128
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
129
+ }
130
+ declare type EMRServerlessClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
131
+ /**
132
+ * The configuration interface of EMRServerlessClient class constructor that set the region, credentials and other options.
133
+ */
134
+ export interface EMRServerlessClientConfig extends EMRServerlessClientConfigType {
135
+ }
136
+ declare type EMRServerlessClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
137
+ /**
138
+ * The resolved configuration interface of EMRServerlessClient class. This is resolved and normalized from the {@link EMRServerlessClientConfig | constructor configuration interface}.
139
+ */
140
+ export interface EMRServerlessClientResolvedConfig extends EMRServerlessClientResolvedConfigType {
141
+ }
142
+ /**
143
+ * <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. EMR Serverless provides
144
+ * a serverless runtime environment that simplifies running analytics applications using the
145
+ * latest open source frameworks such as Apache Spark and Apache Hive. With EMR Serverless,
146
+ * you don’t have to configure, optimize, secure, or operate clusters to run applications with
147
+ * these frameworks.</p>
148
+ * <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The
149
+ * <code>emr-serverless</code> prefix is used in the following scenarios: </p>
150
+ * <ul>
151
+ * <li>
152
+ * <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For example,
153
+ * <code>aws emr-serverless start-job-run</code>.</p>
154
+ * </li>
155
+ * <li>
156
+ * <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For example,
157
+ * <code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information, see
158
+ * <a href="https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions">Policy actions for Amazon EMR Serverless</a>.</p>
159
+ * </li>
160
+ * <li>
161
+ * <p>It is the prefix used in Amazon EMR Serverless service endpoints. For example,
162
+ * <code>emr-serverless.us-east-2.amazonaws.com</code>.</p>
163
+ * </li>
164
+ * </ul>
165
+ */
166
+ export declare class EMRServerlessClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EMRServerlessClientResolvedConfig> {
167
+ /**
168
+ * The resolved configuration of EMRServerlessClient class. This is resolved and normalized from the {@link EMRServerlessClientConfig | constructor configuration interface}.
169
+ */
170
+ readonly config: EMRServerlessClientResolvedConfig;
171
+ constructor(configuration: EMRServerlessClientConfig);
172
+ /**
173
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
174
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
175
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
176
+ */
177
+ destroy(): void;
178
+ }
179
+ export {};
@@ -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 { CancelJobRunRequest, CancelJobRunResponse } from "../models/models_0";
5
+ export interface CancelJobRunCommandInput extends CancelJobRunRequest {
6
+ }
7
+ export interface CancelJobRunCommandOutput extends CancelJobRunResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Cancels 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, CancelJobRunCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
15
+ * // const { EMRServerlessClient, CancelJobRunCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
16
+ * const client = new EMRServerlessClient(config);
17
+ * const command = new CancelJobRunCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link CancelJobRunCommandInput} for command's `input` shape.
22
+ * @see {@link CancelJobRunCommandOutput} for command's `response` shape.
23
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class CancelJobRunCommand extends $Command<CancelJobRunCommandInput, CancelJobRunCommandOutput, EMRServerlessClientResolvedConfig> {
27
+ readonly input: CancelJobRunCommandInput;
28
+ constructor(input: CancelJobRunCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelJobRunCommandInput, CancelJobRunCommandOutput>;
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 { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
5
+ export interface CreateApplicationCommandInput extends CreateApplicationRequest {
6
+ }
7
+ export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates an application.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { EMRServerlessClient, CreateApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
15
+ * // const { EMRServerlessClient, CreateApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
16
+ * const client = new EMRServerlessClient(config);
17
+ * const command = new CreateApplicationCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link CreateApplicationCommandInput} for command's `input` shape.
22
+ * @see {@link CreateApplicationCommandOutput} for command's `response` shape.
23
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class CreateApplicationCommand extends $Command<CreateApplicationCommandInput, CreateApplicationCommandOutput, EMRServerlessClientResolvedConfig> {
27
+ readonly input: CreateApplicationCommandInput;
28
+ constructor(input: CreateApplicationCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateApplicationCommandInput, CreateApplicationCommandOutput>;
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 { DeleteApplicationRequest, DeleteApplicationResponse } from "../models/models_0";
5
+ export interface DeleteApplicationCommandInput extends DeleteApplicationRequest {
6
+ }
7
+ export interface DeleteApplicationCommandOutput extends DeleteApplicationResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes an application. An application has to be in a stopped or created state in order
11
+ * to be deleted.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { EMRServerlessClient, DeleteApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
16
+ * // const { EMRServerlessClient, DeleteApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
17
+ * const client = new EMRServerlessClient(config);
18
+ * const command = new DeleteApplicationCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteApplicationCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
24
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteApplicationCommand extends $Command<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, EMRServerlessClientResolvedConfig> {
28
+ readonly input: DeleteApplicationCommandInput;
29
+ constructor(input: DeleteApplicationCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteApplicationCommandInput, DeleteApplicationCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -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 { GetApplicationRequest, GetApplicationResponse } from "../models/models_0";
5
+ export interface GetApplicationCommandInput extends GetApplicationRequest {
6
+ }
7
+ export interface GetApplicationCommandOutput extends GetApplicationResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Displays detailed information about a specified application.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { EMRServerlessClient, GetApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
15
+ * // const { EMRServerlessClient, GetApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
16
+ * const client = new EMRServerlessClient(config);
17
+ * const command = new GetApplicationCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetApplicationCommandInput} for command's `input` shape.
22
+ * @see {@link GetApplicationCommandOutput} for command's `response` shape.
23
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetApplicationCommand extends $Command<GetApplicationCommandInput, GetApplicationCommandOutput, EMRServerlessClientResolvedConfig> {
27
+ readonly input: GetApplicationCommandInput;
28
+ constructor(input: GetApplicationCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetApplicationCommandInput, GetApplicationCommandOutput>;
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 { GetJobRunRequest, GetJobRunResponse } from "../models/models_0";
5
+ export interface GetJobRunCommandInput extends GetJobRunRequest {
6
+ }
7
+ export interface GetJobRunCommandOutput extends GetJobRunResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Displays detailed information about 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, GetJobRunCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
15
+ * // const { EMRServerlessClient, GetJobRunCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
16
+ * const client = new EMRServerlessClient(config);
17
+ * const command = new GetJobRunCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetJobRunCommandInput} for command's `input` shape.
22
+ * @see {@link GetJobRunCommandOutput} for command's `response` shape.
23
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetJobRunCommand extends $Command<GetJobRunCommandInput, GetJobRunCommandOutput, EMRServerlessClientResolvedConfig> {
27
+ readonly input: GetJobRunCommandInput;
28
+ constructor(input: GetJobRunCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetJobRunCommandInput, GetJobRunCommandOutput>;
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 { ListApplicationsRequest, ListApplicationsResponse } from "../models/models_0";
5
+ export interface ListApplicationsCommandInput extends ListApplicationsRequest {
6
+ }
7
+ export interface ListApplicationsCommandOutput extends ListApplicationsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists applications 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, ListApplicationsCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
15
+ * // const { EMRServerlessClient, ListApplicationsCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
16
+ * const client = new EMRServerlessClient(config);
17
+ * const command = new ListApplicationsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListApplicationsCommandInput} for command's `input` shape.
22
+ * @see {@link ListApplicationsCommandOutput} for command's `response` shape.
23
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListApplicationsCommand extends $Command<ListApplicationsCommandInput, ListApplicationsCommandOutput, EMRServerlessClientResolvedConfig> {
27
+ readonly input: ListApplicationsCommandInput;
28
+ constructor(input: ListApplicationsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListApplicationsCommandInput, ListApplicationsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }