@aws-sdk/client-m2 3.107.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.
- package/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +209 -0
- package/dist-cjs/M2.js +487 -0
- package/dist-cjs/M2Client.js +37 -0
- package/dist-cjs/commands/CancelBatchJobExecutionCommand.js +36 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +36 -0
- package/dist-cjs/commands/CreateDataSetImportTaskCommand.js +36 -0
- package/dist-cjs/commands/CreateDeploymentCommand.js +36 -0
- package/dist-cjs/commands/CreateEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/DeleteApplicationCommand.js +36 -0
- package/dist-cjs/commands/DeleteApplicationFromEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/GetApplicationCommand.js +36 -0
- package/dist-cjs/commands/GetApplicationVersionCommand.js +36 -0
- package/dist-cjs/commands/GetBatchJobExecutionCommand.js +36 -0
- package/dist-cjs/commands/GetDataSetDetailsCommand.js +36 -0
- package/dist-cjs/commands/GetDataSetImportTaskCommand.js +36 -0
- package/dist-cjs/commands/GetDeploymentCommand.js +36 -0
- package/dist-cjs/commands/GetEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/ListApplicationVersionsCommand.js +36 -0
- package/dist-cjs/commands/ListApplicationsCommand.js +36 -0
- package/dist-cjs/commands/ListBatchJobDefinitionsCommand.js +36 -0
- package/dist-cjs/commands/ListBatchJobExecutionsCommand.js +36 -0
- package/dist-cjs/commands/ListDataSetImportHistoryCommand.js +36 -0
- package/dist-cjs/commands/ListDataSetsCommand.js +36 -0
- package/dist-cjs/commands/ListDeploymentsCommand.js +36 -0
- package/dist-cjs/commands/ListEngineVersionsCommand.js +36 -0
- package/dist-cjs/commands/ListEnvironmentsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/StartApplicationCommand.js +36 -0
- package/dist-cjs/commands/StartBatchJobCommand.js +36 -0
- package/dist-cjs/commands/StopApplicationCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateApplicationCommand.js +36 -0
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +36 -0
- package/dist-cjs/commands/index.js +35 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/M2ServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +911 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApplicationVersionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js +36 -0
- package/dist-cjs/pagination/ListBatchJobDefinitionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListBatchJobExecutionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListDataSetImportHistoryPaginator.js +36 -0
- package/dist-cjs/pagination/ListDataSetsPaginator.js +36 -0
- package/dist-cjs/pagination/ListDeploymentsPaginator.js +36 -0
- package/dist-cjs/pagination/ListEngineVersionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +13 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3744 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/M2.js +490 -0
- package/dist-es/M2Client.js +39 -0
- package/dist-es/commands/CancelBatchJobExecutionCommand.js +39 -0
- package/dist-es/commands/CreateApplicationCommand.js +39 -0
- package/dist-es/commands/CreateDataSetImportTaskCommand.js +39 -0
- package/dist-es/commands/CreateDeploymentCommand.js +39 -0
- package/dist-es/commands/CreateEnvironmentCommand.js +39 -0
- package/dist-es/commands/DeleteApplicationCommand.js +39 -0
- package/dist-es/commands/DeleteApplicationFromEnvironmentCommand.js +39 -0
- package/dist-es/commands/DeleteEnvironmentCommand.js +39 -0
- package/dist-es/commands/GetApplicationCommand.js +39 -0
- package/dist-es/commands/GetApplicationVersionCommand.js +39 -0
- package/dist-es/commands/GetBatchJobExecutionCommand.js +39 -0
- package/dist-es/commands/GetDataSetDetailsCommand.js +39 -0
- package/dist-es/commands/GetDataSetImportTaskCommand.js +39 -0
- package/dist-es/commands/GetDeploymentCommand.js +39 -0
- package/dist-es/commands/GetEnvironmentCommand.js +39 -0
- package/dist-es/commands/ListApplicationVersionsCommand.js +39 -0
- package/dist-es/commands/ListApplicationsCommand.js +39 -0
- package/dist-es/commands/ListBatchJobDefinitionsCommand.js +39 -0
- package/dist-es/commands/ListBatchJobExecutionsCommand.js +39 -0
- package/dist-es/commands/ListDataSetImportHistoryCommand.js +39 -0
- package/dist-es/commands/ListDataSetsCommand.js +39 -0
- package/dist-es/commands/ListDeploymentsCommand.js +39 -0
- package/dist-es/commands/ListEngineVersionsCommand.js +39 -0
- package/dist-es/commands/ListEnvironmentsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/StartApplicationCommand.js +39 -0
- package/dist-es/commands/StartBatchJobCommand.js +39 -0
- package/dist-es/commands/StopApplicationCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateApplicationCommand.js +39 -0
- package/dist-es/commands/UpdateEnvironmentCommand.js +39 -0
- package/dist-es/commands/index.js +32 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/M2ServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +709 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApplicationVersionsPaginator.js +75 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +75 -0
- package/dist-es/pagination/ListBatchJobDefinitionsPaginator.js +75 -0
- package/dist-es/pagination/ListBatchJobExecutionsPaginator.js +75 -0
- package/dist-es/pagination/ListDataSetImportHistoryPaginator.js +75 -0
- package/dist-es/pagination/ListDataSetsPaginator.js +75 -0
- package/dist-es/pagination/ListDeploymentsPaginator.js +75 -0
- package/dist-es/pagination/ListEngineVersionsPaginator.js +75 -0
- package/dist-es/pagination/ListEnvironmentsPaginator.js +75 -0
- package/dist-es/pagination/index.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +4508 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +30 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/M2.d.ts +250 -0
- package/dist-types/M2Client.d.ts +180 -0
- package/dist-types/commands/CancelBatchJobExecutionCommand.d.ts +35 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +36 -0
- package/dist-types/commands/CreateDataSetImportTaskCommand.d.ts +35 -0
- package/dist-types/commands/CreateDeploymentCommand.d.ts +35 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +35 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +35 -0
- package/dist-types/commands/DeleteApplicationFromEnvironmentCommand.d.ts +38 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +36 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +35 -0
- package/dist-types/commands/GetApplicationVersionCommand.d.ts +35 -0
- package/dist-types/commands/GetBatchJobExecutionCommand.d.ts +35 -0
- package/dist-types/commands/GetDataSetDetailsCommand.d.ts +35 -0
- package/dist-types/commands/GetDataSetImportTaskCommand.d.ts +35 -0
- package/dist-types/commands/GetDeploymentCommand.d.ts +35 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +35 -0
- package/dist-types/commands/ListApplicationVersionsCommand.d.ts +35 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +37 -0
- package/dist-types/commands/ListBatchJobDefinitionsCommand.d.ts +37 -0
- package/dist-types/commands/ListBatchJobExecutionsCommand.d.ts +36 -0
- package/dist-types/commands/ListDataSetImportHistoryCommand.d.ts +35 -0
- package/dist-types/commands/ListDataSetsCommand.d.ts +37 -0
- package/dist-types/commands/ListDeploymentsCommand.d.ts +37 -0
- package/dist-types/commands/ListEngineVersionsCommand.d.ts +35 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/StartApplicationCommand.d.ts +35 -0
- package/dist-types/commands/StartBatchJobCommand.d.ts +36 -0
- package/dist-types/commands/StopApplicationCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +32 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/M2ServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2682 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListApplicationVersionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListBatchJobDefinitionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListBatchJobExecutionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDataSetImportHistoryPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDataSetsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDeploymentsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEngineVersionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +98 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/M2.d.ts +165 -0
- package/dist-types/ts3.4/M2Client.d.ts +105 -0
- package/dist-types/ts3.4/commands/CancelBatchJobExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDataSetImportTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteApplicationFromEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApplicationVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBatchJobExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDataSetDetailsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDataSetImportTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListApplicationVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBatchJobDefinitionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBatchJobExecutionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDataSetImportHistoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDataSetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEngineVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartBatchJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +32 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/M2ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1609 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListApplicationVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListBatchJobDefinitionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListBatchJobExecutionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDataSetImportHistoryPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDataSetsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEngineVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +98 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +96 -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-04-28",
|
|
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 : "m2",
|
|
11
|
+
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
12
|
+
});
|
|
13
|
+
};
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { CancelBatchJobExecutionCommandInput, CancelBatchJobExecutionCommandOutput } from "./commands/CancelBatchJobExecutionCommand";
|
|
3
|
+
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
4
|
+
import { CreateDataSetImportTaskCommandInput, CreateDataSetImportTaskCommandOutput } from "./commands/CreateDataSetImportTaskCommand";
|
|
5
|
+
import { CreateDeploymentCommandInput, CreateDeploymentCommandOutput } from "./commands/CreateDeploymentCommand";
|
|
6
|
+
import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
7
|
+
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
8
|
+
import { DeleteApplicationFromEnvironmentCommandInput, DeleteApplicationFromEnvironmentCommandOutput } from "./commands/DeleteApplicationFromEnvironmentCommand";
|
|
9
|
+
import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
|
|
10
|
+
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
11
|
+
import { GetApplicationVersionCommandInput, GetApplicationVersionCommandOutput } from "./commands/GetApplicationVersionCommand";
|
|
12
|
+
import { GetBatchJobExecutionCommandInput, GetBatchJobExecutionCommandOutput } from "./commands/GetBatchJobExecutionCommand";
|
|
13
|
+
import { GetDataSetDetailsCommandInput, GetDataSetDetailsCommandOutput } from "./commands/GetDataSetDetailsCommand";
|
|
14
|
+
import { GetDataSetImportTaskCommandInput, GetDataSetImportTaskCommandOutput } from "./commands/GetDataSetImportTaskCommand";
|
|
15
|
+
import { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "./commands/GetDeploymentCommand";
|
|
16
|
+
import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
|
|
17
|
+
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
18
|
+
import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutput } from "./commands/ListApplicationVersionsCommand";
|
|
19
|
+
import { ListBatchJobDefinitionsCommandInput, ListBatchJobDefinitionsCommandOutput } from "./commands/ListBatchJobDefinitionsCommand";
|
|
20
|
+
import { ListBatchJobExecutionsCommandInput, ListBatchJobExecutionsCommandOutput } from "./commands/ListBatchJobExecutionsCommand";
|
|
21
|
+
import { ListDataSetImportHistoryCommandInput, ListDataSetImportHistoryCommandOutput } from "./commands/ListDataSetImportHistoryCommand";
|
|
22
|
+
import { ListDataSetsCommandInput, ListDataSetsCommandOutput } from "./commands/ListDataSetsCommand";
|
|
23
|
+
import { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "./commands/ListDeploymentsCommand";
|
|
24
|
+
import { ListEngineVersionsCommandInput, ListEngineVersionsCommandOutput } from "./commands/ListEngineVersionsCommand";
|
|
25
|
+
import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
|
|
26
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
27
|
+
import { StartApplicationCommandInput, StartApplicationCommandOutput } from "./commands/StartApplicationCommand";
|
|
28
|
+
import { StartBatchJobCommandInput, StartBatchJobCommandOutput } from "./commands/StartBatchJobCommand";
|
|
29
|
+
import { StopApplicationCommandInput, StopApplicationCommandOutput } from "./commands/StopApplicationCommand";
|
|
30
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
31
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
32
|
+
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
33
|
+
import { UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput } from "./commands/UpdateEnvironmentCommand";
|
|
34
|
+
import { M2Client } from "./M2Client";
|
|
35
|
+
/**
|
|
36
|
+
* <p>Amazon Web Services Mainframe Modernization provides tools and resources to help you plan and implement migration and
|
|
37
|
+
* modernization from mainframes to Amazon Web Services managed runtime environments. It provides tools for
|
|
38
|
+
* analyzing existing mainframe applications, developing or updating mainframe applications
|
|
39
|
+
* using COBOL or PL/I, and implementing an automated pipeline for continuous integration and
|
|
40
|
+
* continuous delivery (CI/CD) of the applications.</p>
|
|
41
|
+
*/
|
|
42
|
+
export declare class M2 extends M2Client {
|
|
43
|
+
/**
|
|
44
|
+
* <p>Cancels the running of a specific batch job execution.</p>
|
|
45
|
+
*/
|
|
46
|
+
cancelBatchJobExecution(args: CancelBatchJobExecutionCommandInput, options?: __HttpHandlerOptions): Promise<CancelBatchJobExecutionCommandOutput>;
|
|
47
|
+
cancelBatchJobExecution(args: CancelBatchJobExecutionCommandInput, cb: (err: any, data?: CancelBatchJobExecutionCommandOutput) => void): void;
|
|
48
|
+
cancelBatchJobExecution(args: CancelBatchJobExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelBatchJobExecutionCommandOutput) => void): void;
|
|
49
|
+
/**
|
|
50
|
+
* <p>Creates a new application with given parameters. Requires an existing environment and
|
|
51
|
+
* application definition file.</p>
|
|
52
|
+
*/
|
|
53
|
+
createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
|
|
54
|
+
createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
55
|
+
createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
56
|
+
/**
|
|
57
|
+
* <p>Starts a data set import task for a specific application.</p>
|
|
58
|
+
*/
|
|
59
|
+
createDataSetImportTask(args: CreateDataSetImportTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataSetImportTaskCommandOutput>;
|
|
60
|
+
createDataSetImportTask(args: CreateDataSetImportTaskCommandInput, cb: (err: any, data?: CreateDataSetImportTaskCommandOutput) => void): void;
|
|
61
|
+
createDataSetImportTask(args: CreateDataSetImportTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataSetImportTaskCommandOutput) => void): void;
|
|
62
|
+
/**
|
|
63
|
+
* <p>Creates and starts a deployment to deploy an application into an environment.</p>
|
|
64
|
+
*/
|
|
65
|
+
createDeployment(args: CreateDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<CreateDeploymentCommandOutput>;
|
|
66
|
+
createDeployment(args: CreateDeploymentCommandInput, cb: (err: any, data?: CreateDeploymentCommandOutput) => void): void;
|
|
67
|
+
createDeployment(args: CreateDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDeploymentCommandOutput) => void): void;
|
|
68
|
+
/**
|
|
69
|
+
* <p>Creates a runtime environment for a given runtime engine.</p>
|
|
70
|
+
*/
|
|
71
|
+
createEnvironment(args: CreateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentCommandOutput>;
|
|
72
|
+
createEnvironment(args: CreateEnvironmentCommandInput, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
|
|
73
|
+
createEnvironment(args: CreateEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
|
|
74
|
+
/**
|
|
75
|
+
* <p>Deletes a specific application. You cannot delete a running application.</p>
|
|
76
|
+
*/
|
|
77
|
+
deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
|
|
78
|
+
deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
79
|
+
deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
80
|
+
/**
|
|
81
|
+
* <p>Deletes a specific application from a specified environment where it has been previously
|
|
82
|
+
* deployed. You cannot delete an environment using DeleteEnvironment, if any application has
|
|
83
|
+
* ever been deployed to it. This API removes the association of the application with the
|
|
84
|
+
* environment so you can delete the environment smoothly.</p>
|
|
85
|
+
*/
|
|
86
|
+
deleteApplicationFromEnvironment(args: DeleteApplicationFromEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationFromEnvironmentCommandOutput>;
|
|
87
|
+
deleteApplicationFromEnvironment(args: DeleteApplicationFromEnvironmentCommandInput, cb: (err: any, data?: DeleteApplicationFromEnvironmentCommandOutput) => void): void;
|
|
88
|
+
deleteApplicationFromEnvironment(args: DeleteApplicationFromEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationFromEnvironmentCommandOutput) => void): void;
|
|
89
|
+
/**
|
|
90
|
+
* <p>Deletes a specific environment. The environment cannot contain deployed applications. If
|
|
91
|
+
* it does, you must delete those applications before you delete the environment.</p>
|
|
92
|
+
*/
|
|
93
|
+
deleteEnvironment(args: DeleteEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentCommandOutput>;
|
|
94
|
+
deleteEnvironment(args: DeleteEnvironmentCommandInput, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
|
|
95
|
+
deleteEnvironment(args: DeleteEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
|
|
96
|
+
/**
|
|
97
|
+
* <p>Describes the details of a specific application.</p>
|
|
98
|
+
*/
|
|
99
|
+
getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
|
|
100
|
+
getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
|
|
101
|
+
getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
|
|
102
|
+
/**
|
|
103
|
+
* <p>Returns details about a specific version of a specific application.</p>
|
|
104
|
+
*/
|
|
105
|
+
getApplicationVersion(args: GetApplicationVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationVersionCommandOutput>;
|
|
106
|
+
getApplicationVersion(args: GetApplicationVersionCommandInput, cb: (err: any, data?: GetApplicationVersionCommandOutput) => void): void;
|
|
107
|
+
getApplicationVersion(args: GetApplicationVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationVersionCommandOutput) => void): void;
|
|
108
|
+
/**
|
|
109
|
+
* <p>Gets the details of a specific batch job execution for a specific application.</p>
|
|
110
|
+
*/
|
|
111
|
+
getBatchJobExecution(args: GetBatchJobExecutionCommandInput, options?: __HttpHandlerOptions): Promise<GetBatchJobExecutionCommandOutput>;
|
|
112
|
+
getBatchJobExecution(args: GetBatchJobExecutionCommandInput, cb: (err: any, data?: GetBatchJobExecutionCommandOutput) => void): void;
|
|
113
|
+
getBatchJobExecution(args: GetBatchJobExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBatchJobExecutionCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* <p>Gets the details of a specific data set.</p>
|
|
116
|
+
*/
|
|
117
|
+
getDataSetDetails(args: GetDataSetDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetDataSetDetailsCommandOutput>;
|
|
118
|
+
getDataSetDetails(args: GetDataSetDetailsCommandInput, cb: (err: any, data?: GetDataSetDetailsCommandOutput) => void): void;
|
|
119
|
+
getDataSetDetails(args: GetDataSetDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataSetDetailsCommandOutput) => void): void;
|
|
120
|
+
/**
|
|
121
|
+
* <p>Gets the status of a data set import task initiated with the <a>CreateDataSetImportTask</a> operation.</p>
|
|
122
|
+
*/
|
|
123
|
+
getDataSetImportTask(args: GetDataSetImportTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetDataSetImportTaskCommandOutput>;
|
|
124
|
+
getDataSetImportTask(args: GetDataSetImportTaskCommandInput, cb: (err: any, data?: GetDataSetImportTaskCommandOutput) => void): void;
|
|
125
|
+
getDataSetImportTask(args: GetDataSetImportTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataSetImportTaskCommandOutput) => void): void;
|
|
126
|
+
/**
|
|
127
|
+
* <p>Gets details of a specific deployment with a given deployment identifier.</p>
|
|
128
|
+
*/
|
|
129
|
+
getDeployment(args: GetDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<GetDeploymentCommandOutput>;
|
|
130
|
+
getDeployment(args: GetDeploymentCommandInput, cb: (err: any, data?: GetDeploymentCommandOutput) => void): void;
|
|
131
|
+
getDeployment(args: GetDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDeploymentCommandOutput) => void): void;
|
|
132
|
+
/**
|
|
133
|
+
* <p>Describes a specific runtime environment.</p>
|
|
134
|
+
*/
|
|
135
|
+
getEnvironment(args: GetEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<GetEnvironmentCommandOutput>;
|
|
136
|
+
getEnvironment(args: GetEnvironmentCommandInput, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
|
|
137
|
+
getEnvironment(args: GetEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
|
|
138
|
+
/**
|
|
139
|
+
* <p>Lists the applications associated with a specific Amazon Web Services account. You can provide the
|
|
140
|
+
* unique identifier of a specific environment in a query parameter to see all applications
|
|
141
|
+
* associated with that environment.</p>
|
|
142
|
+
*/
|
|
143
|
+
listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
|
|
144
|
+
listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
145
|
+
listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
146
|
+
/**
|
|
147
|
+
* <p>Returns a list of the application versions for a specific application.</p>
|
|
148
|
+
*/
|
|
149
|
+
listApplicationVersions(args: ListApplicationVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationVersionsCommandOutput>;
|
|
150
|
+
listApplicationVersions(args: ListApplicationVersionsCommandInput, cb: (err: any, data?: ListApplicationVersionsCommandOutput) => void): void;
|
|
151
|
+
listApplicationVersions(args: ListApplicationVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationVersionsCommandOutput) => void): void;
|
|
152
|
+
/**
|
|
153
|
+
* <p>Lists all the available batch job definitions based on the batch job resources uploaded
|
|
154
|
+
* during the application creation. The listed batch job definitions can then be used to start
|
|
155
|
+
* a batch job.</p>
|
|
156
|
+
*/
|
|
157
|
+
listBatchJobDefinitions(args: ListBatchJobDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListBatchJobDefinitionsCommandOutput>;
|
|
158
|
+
listBatchJobDefinitions(args: ListBatchJobDefinitionsCommandInput, cb: (err: any, data?: ListBatchJobDefinitionsCommandOutput) => void): void;
|
|
159
|
+
listBatchJobDefinitions(args: ListBatchJobDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBatchJobDefinitionsCommandOutput) => void): void;
|
|
160
|
+
/**
|
|
161
|
+
* <p>Lists historical, current, and scheduled batch job executions for a specific
|
|
162
|
+
* application.</p>
|
|
163
|
+
*/
|
|
164
|
+
listBatchJobExecutions(args: ListBatchJobExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListBatchJobExecutionsCommandOutput>;
|
|
165
|
+
listBatchJobExecutions(args: ListBatchJobExecutionsCommandInput, cb: (err: any, data?: ListBatchJobExecutionsCommandOutput) => void): void;
|
|
166
|
+
listBatchJobExecutions(args: ListBatchJobExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBatchJobExecutionsCommandOutput) => void): void;
|
|
167
|
+
/**
|
|
168
|
+
* <p>Lists the data set imports for the specified application.</p>
|
|
169
|
+
*/
|
|
170
|
+
listDataSetImportHistory(args: ListDataSetImportHistoryCommandInput, options?: __HttpHandlerOptions): Promise<ListDataSetImportHistoryCommandOutput>;
|
|
171
|
+
listDataSetImportHistory(args: ListDataSetImportHistoryCommandInput, cb: (err: any, data?: ListDataSetImportHistoryCommandOutput) => void): void;
|
|
172
|
+
listDataSetImportHistory(args: ListDataSetImportHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataSetImportHistoryCommandOutput) => void): void;
|
|
173
|
+
/**
|
|
174
|
+
* <p>Lists the data sets imported for a specific application. In Amazon Web Services Mainframe Modernization, data sets are
|
|
175
|
+
* associated with applications deployed on environments. This is known as importing data
|
|
176
|
+
* sets. Currently, Amazon Web Services Mainframe Modernization can import data sets into catalogs using <a href="https://docs.aws.amazon.com/m2/latest/APIReference/API_CreateDataSetImportTask.html">CreateDataSetImportTask</a>.</p>
|
|
177
|
+
*/
|
|
178
|
+
listDataSets(args: ListDataSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListDataSetsCommandOutput>;
|
|
179
|
+
listDataSets(args: ListDataSetsCommandInput, cb: (err: any, data?: ListDataSetsCommandOutput) => void): void;
|
|
180
|
+
listDataSets(args: ListDataSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataSetsCommandOutput) => void): void;
|
|
181
|
+
/**
|
|
182
|
+
* <p>Returns a list of all deployments of a specific application. A deployment is a
|
|
183
|
+
* combination of a specific application and a specific version of that application. Each
|
|
184
|
+
* deployment is mapped to a particular application version.</p>
|
|
185
|
+
*/
|
|
186
|
+
listDeployments(args: ListDeploymentsCommandInput, options?: __HttpHandlerOptions): Promise<ListDeploymentsCommandOutput>;
|
|
187
|
+
listDeployments(args: ListDeploymentsCommandInput, cb: (err: any, data?: ListDeploymentsCommandOutput) => void): void;
|
|
188
|
+
listDeployments(args: ListDeploymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDeploymentsCommandOutput) => void): void;
|
|
189
|
+
/**
|
|
190
|
+
* <p>Lists the available engine versions.</p>
|
|
191
|
+
*/
|
|
192
|
+
listEngineVersions(args: ListEngineVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListEngineVersionsCommandOutput>;
|
|
193
|
+
listEngineVersions(args: ListEngineVersionsCommandInput, cb: (err: any, data?: ListEngineVersionsCommandOutput) => void): void;
|
|
194
|
+
listEngineVersions(args: ListEngineVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEngineVersionsCommandOutput) => void): void;
|
|
195
|
+
/**
|
|
196
|
+
* <p>Lists the runtime environments.</p>
|
|
197
|
+
*/
|
|
198
|
+
listEnvironments(args: ListEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentsCommandOutput>;
|
|
199
|
+
listEnvironments(args: ListEnvironmentsCommandInput, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
|
|
200
|
+
listEnvironments(args: ListEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
|
|
201
|
+
/**
|
|
202
|
+
* <p>Lists the tags for the specified resource.</p>
|
|
203
|
+
*/
|
|
204
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
205
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
206
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
207
|
+
/**
|
|
208
|
+
* <p>Starts an application that is currently stopped.</p>
|
|
209
|
+
*/
|
|
210
|
+
startApplication(args: StartApplicationCommandInput, options?: __HttpHandlerOptions): Promise<StartApplicationCommandOutput>;
|
|
211
|
+
startApplication(args: StartApplicationCommandInput, cb: (err: any, data?: StartApplicationCommandOutput) => void): void;
|
|
212
|
+
startApplication(args: StartApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartApplicationCommandOutput) => void): void;
|
|
213
|
+
/**
|
|
214
|
+
* <p>Starts a batch job and returns the unique identifier of this execution of the batch job.
|
|
215
|
+
* The associated application must be running in order to start the batch job.</p>
|
|
216
|
+
*/
|
|
217
|
+
startBatchJob(args: StartBatchJobCommandInput, options?: __HttpHandlerOptions): Promise<StartBatchJobCommandOutput>;
|
|
218
|
+
startBatchJob(args: StartBatchJobCommandInput, cb: (err: any, data?: StartBatchJobCommandOutput) => void): void;
|
|
219
|
+
startBatchJob(args: StartBatchJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartBatchJobCommandOutput) => void): void;
|
|
220
|
+
/**
|
|
221
|
+
* <p>Stops a running application.</p>
|
|
222
|
+
*/
|
|
223
|
+
stopApplication(args: StopApplicationCommandInput, options?: __HttpHandlerOptions): Promise<StopApplicationCommandOutput>;
|
|
224
|
+
stopApplication(args: StopApplicationCommandInput, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
|
|
225
|
+
stopApplication(args: StopApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
|
|
226
|
+
/**
|
|
227
|
+
* <p>Adds one or more tags to the specified resource.</p>
|
|
228
|
+
*/
|
|
229
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
230
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
231
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
232
|
+
/**
|
|
233
|
+
* <p>Removes one or more tags from the specified resource.</p>
|
|
234
|
+
*/
|
|
235
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
236
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
237
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
238
|
+
/**
|
|
239
|
+
* <p>Updates an application and creates a new version.</p>
|
|
240
|
+
*/
|
|
241
|
+
updateApplication(args: UpdateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationCommandOutput>;
|
|
242
|
+
updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|
|
243
|
+
updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|
|
244
|
+
/**
|
|
245
|
+
* <p>Updates the configuration details for a specific environment.</p>
|
|
246
|
+
*/
|
|
247
|
+
updateEnvironment(args: UpdateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEnvironmentCommandOutput>;
|
|
248
|
+
updateEnvironment(args: UpdateEnvironmentCommandInput, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
|
|
249
|
+
updateEnvironment(args: UpdateEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
|
|
250
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
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 { CancelBatchJobExecutionCommandInput, CancelBatchJobExecutionCommandOutput } from "./commands/CancelBatchJobExecutionCommand";
|
|
10
|
+
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
11
|
+
import { CreateDataSetImportTaskCommandInput, CreateDataSetImportTaskCommandOutput } from "./commands/CreateDataSetImportTaskCommand";
|
|
12
|
+
import { CreateDeploymentCommandInput, CreateDeploymentCommandOutput } from "./commands/CreateDeploymentCommand";
|
|
13
|
+
import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
14
|
+
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
15
|
+
import { DeleteApplicationFromEnvironmentCommandInput, DeleteApplicationFromEnvironmentCommandOutput } from "./commands/DeleteApplicationFromEnvironmentCommand";
|
|
16
|
+
import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
|
|
17
|
+
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
18
|
+
import { GetApplicationVersionCommandInput, GetApplicationVersionCommandOutput } from "./commands/GetApplicationVersionCommand";
|
|
19
|
+
import { GetBatchJobExecutionCommandInput, GetBatchJobExecutionCommandOutput } from "./commands/GetBatchJobExecutionCommand";
|
|
20
|
+
import { GetDataSetDetailsCommandInput, GetDataSetDetailsCommandOutput } from "./commands/GetDataSetDetailsCommand";
|
|
21
|
+
import { GetDataSetImportTaskCommandInput, GetDataSetImportTaskCommandOutput } from "./commands/GetDataSetImportTaskCommand";
|
|
22
|
+
import { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "./commands/GetDeploymentCommand";
|
|
23
|
+
import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
|
|
24
|
+
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
25
|
+
import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutput } from "./commands/ListApplicationVersionsCommand";
|
|
26
|
+
import { ListBatchJobDefinitionsCommandInput, ListBatchJobDefinitionsCommandOutput } from "./commands/ListBatchJobDefinitionsCommand";
|
|
27
|
+
import { ListBatchJobExecutionsCommandInput, ListBatchJobExecutionsCommandOutput } from "./commands/ListBatchJobExecutionsCommand";
|
|
28
|
+
import { ListDataSetImportHistoryCommandInput, ListDataSetImportHistoryCommandOutput } from "./commands/ListDataSetImportHistoryCommand";
|
|
29
|
+
import { ListDataSetsCommandInput, ListDataSetsCommandOutput } from "./commands/ListDataSetsCommand";
|
|
30
|
+
import { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "./commands/ListDeploymentsCommand";
|
|
31
|
+
import { ListEngineVersionsCommandInput, ListEngineVersionsCommandOutput } from "./commands/ListEngineVersionsCommand";
|
|
32
|
+
import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
|
|
33
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
34
|
+
import { StartApplicationCommandInput, StartApplicationCommandOutput } from "./commands/StartApplicationCommand";
|
|
35
|
+
import { StartBatchJobCommandInput, StartBatchJobCommandOutput } from "./commands/StartBatchJobCommand";
|
|
36
|
+
import { StopApplicationCommandInput, StopApplicationCommandOutput } from "./commands/StopApplicationCommand";
|
|
37
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
38
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
39
|
+
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
40
|
+
import { UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput } from "./commands/UpdateEnvironmentCommand";
|
|
41
|
+
export declare type ServiceInputTypes = CancelBatchJobExecutionCommandInput | CreateApplicationCommandInput | CreateDataSetImportTaskCommandInput | CreateDeploymentCommandInput | CreateEnvironmentCommandInput | DeleteApplicationCommandInput | DeleteApplicationFromEnvironmentCommandInput | DeleteEnvironmentCommandInput | GetApplicationCommandInput | GetApplicationVersionCommandInput | GetBatchJobExecutionCommandInput | GetDataSetDetailsCommandInput | GetDataSetImportTaskCommandInput | GetDeploymentCommandInput | GetEnvironmentCommandInput | ListApplicationVersionsCommandInput | ListApplicationsCommandInput | ListBatchJobDefinitionsCommandInput | ListBatchJobExecutionsCommandInput | ListDataSetImportHistoryCommandInput | ListDataSetsCommandInput | ListDeploymentsCommandInput | ListEngineVersionsCommandInput | ListEnvironmentsCommandInput | ListTagsForResourceCommandInput | StartApplicationCommandInput | StartBatchJobCommandInput | StopApplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateEnvironmentCommandInput;
|
|
42
|
+
export declare type ServiceOutputTypes = CancelBatchJobExecutionCommandOutput | CreateApplicationCommandOutput | CreateDataSetImportTaskCommandOutput | CreateDeploymentCommandOutput | CreateEnvironmentCommandOutput | DeleteApplicationCommandOutput | DeleteApplicationFromEnvironmentCommandOutput | DeleteEnvironmentCommandOutput | GetApplicationCommandOutput | GetApplicationVersionCommandOutput | GetBatchJobExecutionCommandOutput | GetDataSetDetailsCommandOutput | GetDataSetImportTaskCommandOutput | GetDeploymentCommandOutput | GetEnvironmentCommandOutput | ListApplicationVersionsCommandOutput | ListApplicationsCommandOutput | ListBatchJobDefinitionsCommandOutput | ListBatchJobExecutionsCommandOutput | ListDataSetImportHistoryCommandOutput | ListDataSetsCommandOutput | ListDeploymentsCommandOutput | ListEngineVersionsCommandOutput | ListEnvironmentsCommandOutput | ListTagsForResourceCommandOutput | StartApplicationCommandOutput | StartBatchJobCommandOutput | StopApplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateEnvironmentCommandOutput;
|
|
43
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
44
|
+
/**
|
|
45
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
46
|
+
*/
|
|
47
|
+
requestHandler?: __HttpHandler;
|
|
48
|
+
/**
|
|
49
|
+
* A constructor for a class implementing the {@link __Hash} interface
|
|
50
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
sha256?: __HashConstructor;
|
|
54
|
+
/**
|
|
55
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
urlParser?: __UrlParser;
|
|
59
|
+
/**
|
|
60
|
+
* A function that can calculate the length of a request body.
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
64
|
+
/**
|
|
65
|
+
* A function that converts a stream into an array of bytes.
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
streamCollector?: __StreamCollector;
|
|
69
|
+
/**
|
|
70
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
base64Decoder?: __Decoder;
|
|
74
|
+
/**
|
|
75
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
base64Encoder?: __Encoder;
|
|
79
|
+
/**
|
|
80
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
utf8Decoder?: __Decoder;
|
|
84
|
+
/**
|
|
85
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
utf8Encoder?: __Encoder;
|
|
89
|
+
/**
|
|
90
|
+
* The runtime environment.
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
runtime?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
96
|
+
* trait of an operation.
|
|
97
|
+
*/
|
|
98
|
+
disableHostPrefix?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
101
|
+
*/
|
|
102
|
+
maxAttempts?: number | __Provider<number>;
|
|
103
|
+
/**
|
|
104
|
+
* Specifies which retry algorithm to use.
|
|
105
|
+
*/
|
|
106
|
+
retryMode?: string | __Provider<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Optional logger for logging debug/info/warn/error.
|
|
109
|
+
*/
|
|
110
|
+
logger?: __Logger;
|
|
111
|
+
/**
|
|
112
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
113
|
+
*/
|
|
114
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
115
|
+
/**
|
|
116
|
+
* Enables FIPS compatible endpoints.
|
|
117
|
+
*/
|
|
118
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
119
|
+
/**
|
|
120
|
+
* Unique service identifier.
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
serviceId?: string;
|
|
124
|
+
/**
|
|
125
|
+
* The AWS region to which this client will send requests
|
|
126
|
+
*/
|
|
127
|
+
region?: string | __Provider<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Default credentials provider; Not available in browser runtime.
|
|
130
|
+
* @internal
|
|
131
|
+
*/
|
|
132
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
133
|
+
/**
|
|
134
|
+
* Fetch related hostname, signing name or signing region with given region.
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
137
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
138
|
+
/**
|
|
139
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
142
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
143
|
+
/**
|
|
144
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
145
|
+
*/
|
|
146
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
147
|
+
}
|
|
148
|
+
declare type M2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
149
|
+
/**
|
|
150
|
+
* The configuration interface of M2Client class constructor that set the region, credentials and other options.
|
|
151
|
+
*/
|
|
152
|
+
export interface M2ClientConfig extends M2ClientConfigType {
|
|
153
|
+
}
|
|
154
|
+
declare type M2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
155
|
+
/**
|
|
156
|
+
* The resolved configuration interface of M2Client class. This is resolved and normalized from the {@link M2ClientConfig | constructor configuration interface}.
|
|
157
|
+
*/
|
|
158
|
+
export interface M2ClientResolvedConfig extends M2ClientResolvedConfigType {
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* <p>Amazon Web Services Mainframe Modernization provides tools and resources to help you plan and implement migration and
|
|
162
|
+
* modernization from mainframes to Amazon Web Services managed runtime environments. It provides tools for
|
|
163
|
+
* analyzing existing mainframe applications, developing or updating mainframe applications
|
|
164
|
+
* using COBOL or PL/I, and implementing an automated pipeline for continuous integration and
|
|
165
|
+
* continuous delivery (CI/CD) of the applications.</p>
|
|
166
|
+
*/
|
|
167
|
+
export declare class M2Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, M2ClientResolvedConfig> {
|
|
168
|
+
/**
|
|
169
|
+
* The resolved configuration of M2Client class. This is resolved and normalized from the {@link M2ClientConfig | constructor configuration interface}.
|
|
170
|
+
*/
|
|
171
|
+
readonly config: M2ClientResolvedConfig;
|
|
172
|
+
constructor(configuration: M2ClientConfig);
|
|
173
|
+
/**
|
|
174
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
175
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
176
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
177
|
+
*/
|
|
178
|
+
destroy(): void;
|
|
179
|
+
}
|
|
180
|
+
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 { M2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../M2Client";
|
|
4
|
+
import { CancelBatchJobExecutionRequest, CancelBatchJobExecutionResponse } from "../models/models_0";
|
|
5
|
+
export interface CancelBatchJobExecutionCommandInput extends CancelBatchJobExecutionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CancelBatchJobExecutionCommandOutput extends CancelBatchJobExecutionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Cancels the running of a specific batch job execution.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { M2Client, CancelBatchJobExecutionCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
15
|
+
* // const { M2Client, CancelBatchJobExecutionCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
16
|
+
* const client = new M2Client(config);
|
|
17
|
+
* const command = new CancelBatchJobExecutionCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link CancelBatchJobExecutionCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link CancelBatchJobExecutionCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link M2ClientResolvedConfig | config} for M2Client's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class CancelBatchJobExecutionCommand extends $Command<CancelBatchJobExecutionCommandInput, CancelBatchJobExecutionCommandOutput, M2ClientResolvedConfig> {
|
|
27
|
+
readonly input: CancelBatchJobExecutionCommandInput;
|
|
28
|
+
constructor(input: CancelBatchJobExecutionCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: M2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelBatchJobExecutionCommandInput, CancelBatchJobExecutionCommandOutput>;
|
|
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 { M2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../M2Client";
|
|
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 a new application with given parameters. Requires an existing environment and
|
|
11
|
+
* application definition file.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { M2Client, CreateApplicationCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
16
|
+
* // const { M2Client, CreateApplicationCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
17
|
+
* const client = new M2Client(config);
|
|
18
|
+
* const command = new CreateApplicationCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link CreateApplicationCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link CreateApplicationCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link M2ClientResolvedConfig | config} for M2Client's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class CreateApplicationCommand extends $Command<CreateApplicationCommandInput, CreateApplicationCommandOutput, M2ClientResolvedConfig> {
|
|
28
|
+
readonly input: CreateApplicationCommandInput;
|
|
29
|
+
constructor(input: CreateApplicationCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: M2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateApplicationCommandInput, CreateApplicationCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|