@aws-sdk/client-glue 3.183.0 → 3.186.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 +24 -0
- package/dist-cjs/Glue.js +30 -0
- package/dist-cjs/commands/CreateWorkflowCommand.js +2 -1
- package/dist-cjs/commands/DeleteBlueprintCommand.js +3 -3
- package/dist-cjs/commands/QuerySchemaVersionMetadataCommand.js +1 -2
- package/dist-cjs/commands/UpdateJobFromSourceControlCommand.js +36 -0
- package/dist-cjs/commands/UpdateSourceControlFromJobCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +20 -18
- package/dist-cjs/models/models_1.js +18 -18
- package/dist-cjs/models/models_2.js +31 -3
- package/dist-cjs/protocols/Aws_json1_1.js +200 -7
- package/dist-es/Glue.js +775 -738
- package/dist-es/GlueClient.js +28 -22
- package/dist-es/commands/BatchCreatePartitionCommand.js +28 -21
- package/dist-es/commands/BatchDeleteConnectionCommand.js +28 -21
- package/dist-es/commands/BatchDeletePartitionCommand.js +28 -21
- package/dist-es/commands/BatchDeleteTableCommand.js +28 -21
- package/dist-es/commands/BatchDeleteTableVersionCommand.js +28 -21
- package/dist-es/commands/BatchGetBlueprintsCommand.js +28 -21
- package/dist-es/commands/BatchGetCrawlersCommand.js +28 -21
- package/dist-es/commands/BatchGetCustomEntityTypesCommand.js +28 -21
- package/dist-es/commands/BatchGetDevEndpointsCommand.js +28 -21
- package/dist-es/commands/BatchGetJobsCommand.js +28 -21
- package/dist-es/commands/BatchGetPartitionCommand.js +28 -21
- package/dist-es/commands/BatchGetTriggersCommand.js +28 -21
- package/dist-es/commands/BatchGetWorkflowsCommand.js +28 -21
- package/dist-es/commands/BatchStopJobRunCommand.js +28 -21
- package/dist-es/commands/BatchUpdatePartitionCommand.js +28 -21
- package/dist-es/commands/CancelMLTaskRunCommand.js +28 -21
- package/dist-es/commands/CancelStatementCommand.js +28 -21
- package/dist-es/commands/CheckSchemaVersionValidityCommand.js +28 -21
- package/dist-es/commands/CreateBlueprintCommand.js +28 -21
- package/dist-es/commands/CreateClassifierCommand.js +28 -21
- package/dist-es/commands/CreateConnectionCommand.js +28 -21
- package/dist-es/commands/CreateCrawlerCommand.js +28 -21
- package/dist-es/commands/CreateCustomEntityTypeCommand.js +28 -21
- package/dist-es/commands/CreateDatabaseCommand.js +28 -21
- package/dist-es/commands/CreateDevEndpointCommand.js +28 -21
- package/dist-es/commands/CreateJobCommand.js +28 -21
- package/dist-es/commands/CreateMLTransformCommand.js +28 -21
- package/dist-es/commands/CreatePartitionCommand.js +28 -21
- package/dist-es/commands/CreatePartitionIndexCommand.js +28 -21
- package/dist-es/commands/CreateRegistryCommand.js +28 -21
- package/dist-es/commands/CreateSchemaCommand.js +28 -21
- package/dist-es/commands/CreateScriptCommand.js +28 -21
- package/dist-es/commands/CreateSecurityConfigurationCommand.js +28 -21
- package/dist-es/commands/CreateSessionCommand.js +28 -21
- package/dist-es/commands/CreateTableCommand.js +28 -21
- package/dist-es/commands/CreateTriggerCommand.js +28 -21
- package/dist-es/commands/CreateUserDefinedFunctionCommand.js +28 -21
- package/dist-es/commands/CreateWorkflowCommand.js +30 -22
- package/dist-es/commands/DeleteBlueprintCommand.js +29 -22
- package/dist-es/commands/DeleteClassifierCommand.js +28 -21
- package/dist-es/commands/DeleteColumnStatisticsForPartitionCommand.js +28 -21
- package/dist-es/commands/DeleteColumnStatisticsForTableCommand.js +28 -21
- package/dist-es/commands/DeleteConnectionCommand.js +28 -21
- package/dist-es/commands/DeleteCrawlerCommand.js +28 -21
- package/dist-es/commands/DeleteCustomEntityTypeCommand.js +28 -21
- package/dist-es/commands/DeleteDatabaseCommand.js +28 -21
- package/dist-es/commands/DeleteDevEndpointCommand.js +28 -21
- package/dist-es/commands/DeleteJobCommand.js +28 -21
- package/dist-es/commands/DeleteMLTransformCommand.js +28 -21
- package/dist-es/commands/DeletePartitionCommand.js +28 -21
- package/dist-es/commands/DeletePartitionIndexCommand.js +28 -21
- package/dist-es/commands/DeleteRegistryCommand.js +28 -21
- package/dist-es/commands/DeleteResourcePolicyCommand.js +28 -21
- package/dist-es/commands/DeleteSchemaCommand.js +28 -21
- package/dist-es/commands/DeleteSchemaVersionsCommand.js +28 -21
- package/dist-es/commands/DeleteSecurityConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteSessionCommand.js +28 -21
- package/dist-es/commands/DeleteTableCommand.js +28 -21
- package/dist-es/commands/DeleteTableVersionCommand.js +28 -21
- package/dist-es/commands/DeleteTriggerCommand.js +28 -21
- package/dist-es/commands/DeleteUserDefinedFunctionCommand.js +28 -21
- package/dist-es/commands/DeleteWorkflowCommand.js +28 -21
- package/dist-es/commands/GetBlueprintCommand.js +28 -21
- package/dist-es/commands/GetBlueprintRunCommand.js +28 -21
- package/dist-es/commands/GetBlueprintRunsCommand.js +28 -21
- package/dist-es/commands/GetCatalogImportStatusCommand.js +28 -21
- package/dist-es/commands/GetClassifierCommand.js +28 -21
- package/dist-es/commands/GetClassifiersCommand.js +28 -21
- package/dist-es/commands/GetColumnStatisticsForPartitionCommand.js +28 -21
- package/dist-es/commands/GetColumnStatisticsForTableCommand.js +28 -21
- package/dist-es/commands/GetConnectionCommand.js +28 -21
- package/dist-es/commands/GetConnectionsCommand.js +28 -21
- package/dist-es/commands/GetCrawlerCommand.js +28 -21
- package/dist-es/commands/GetCrawlerMetricsCommand.js +28 -21
- package/dist-es/commands/GetCrawlersCommand.js +28 -21
- package/dist-es/commands/GetCustomEntityTypeCommand.js +28 -21
- package/dist-es/commands/GetDataCatalogEncryptionSettingsCommand.js +28 -21
- package/dist-es/commands/GetDatabaseCommand.js +28 -21
- package/dist-es/commands/GetDatabasesCommand.js +28 -21
- package/dist-es/commands/GetDataflowGraphCommand.js +28 -21
- package/dist-es/commands/GetDevEndpointCommand.js +28 -21
- package/dist-es/commands/GetDevEndpointsCommand.js +28 -21
- package/dist-es/commands/GetJobBookmarkCommand.js +28 -21
- package/dist-es/commands/GetJobCommand.js +28 -21
- package/dist-es/commands/GetJobRunCommand.js +28 -21
- package/dist-es/commands/GetJobRunsCommand.js +28 -21
- package/dist-es/commands/GetJobsCommand.js +28 -21
- package/dist-es/commands/GetMLTaskRunCommand.js +28 -21
- package/dist-es/commands/GetMLTaskRunsCommand.js +28 -21
- package/dist-es/commands/GetMLTransformCommand.js +28 -21
- package/dist-es/commands/GetMLTransformsCommand.js +28 -21
- package/dist-es/commands/GetMappingCommand.js +28 -21
- package/dist-es/commands/GetPartitionCommand.js +28 -21
- package/dist-es/commands/GetPartitionIndexesCommand.js +28 -21
- package/dist-es/commands/GetPartitionsCommand.js +28 -21
- package/dist-es/commands/GetPlanCommand.js +28 -21
- package/dist-es/commands/GetRegistryCommand.js +28 -21
- package/dist-es/commands/GetResourcePoliciesCommand.js +28 -21
- package/dist-es/commands/GetResourcePolicyCommand.js +28 -21
- package/dist-es/commands/GetSchemaByDefinitionCommand.js +28 -21
- package/dist-es/commands/GetSchemaCommand.js +28 -21
- package/dist-es/commands/GetSchemaVersionCommand.js +28 -21
- package/dist-es/commands/GetSchemaVersionsDiffCommand.js +28 -21
- package/dist-es/commands/GetSecurityConfigurationCommand.js +28 -21
- package/dist-es/commands/GetSecurityConfigurationsCommand.js +28 -21
- package/dist-es/commands/GetSessionCommand.js +28 -21
- package/dist-es/commands/GetStatementCommand.js +28 -21
- package/dist-es/commands/GetTableCommand.js +28 -21
- package/dist-es/commands/GetTableVersionCommand.js +28 -21
- package/dist-es/commands/GetTableVersionsCommand.js +28 -21
- package/dist-es/commands/GetTablesCommand.js +28 -21
- package/dist-es/commands/GetTagsCommand.js +28 -21
- package/dist-es/commands/GetTriggerCommand.js +28 -21
- package/dist-es/commands/GetTriggersCommand.js +28 -21
- package/dist-es/commands/GetUnfilteredPartitionMetadataCommand.js +28 -21
- package/dist-es/commands/GetUnfilteredPartitionsMetadataCommand.js +28 -21
- package/dist-es/commands/GetUnfilteredTableMetadataCommand.js +28 -21
- package/dist-es/commands/GetUserDefinedFunctionCommand.js +28 -21
- package/dist-es/commands/GetUserDefinedFunctionsCommand.js +28 -21
- package/dist-es/commands/GetWorkflowCommand.js +28 -21
- package/dist-es/commands/GetWorkflowRunCommand.js +28 -21
- package/dist-es/commands/GetWorkflowRunPropertiesCommand.js +28 -21
- package/dist-es/commands/GetWorkflowRunsCommand.js +28 -21
- package/dist-es/commands/ImportCatalogToGlueCommand.js +28 -21
- package/dist-es/commands/ListBlueprintsCommand.js +28 -21
- package/dist-es/commands/ListCrawlersCommand.js +28 -21
- package/dist-es/commands/ListCrawlsCommand.js +28 -21
- package/dist-es/commands/ListCustomEntityTypesCommand.js +28 -21
- package/dist-es/commands/ListDevEndpointsCommand.js +28 -21
- package/dist-es/commands/ListJobsCommand.js +28 -21
- package/dist-es/commands/ListMLTransformsCommand.js +28 -21
- package/dist-es/commands/ListRegistriesCommand.js +28 -21
- package/dist-es/commands/ListSchemaVersionsCommand.js +28 -21
- package/dist-es/commands/ListSchemasCommand.js +28 -21
- package/dist-es/commands/ListSessionsCommand.js +28 -21
- package/dist-es/commands/ListStatementsCommand.js +28 -21
- package/dist-es/commands/ListTriggersCommand.js +28 -21
- package/dist-es/commands/ListWorkflowsCommand.js +28 -21
- package/dist-es/commands/PutDataCatalogEncryptionSettingsCommand.js +28 -21
- package/dist-es/commands/PutResourcePolicyCommand.js +28 -21
- package/dist-es/commands/PutSchemaVersionMetadataCommand.js +28 -21
- package/dist-es/commands/PutWorkflowRunPropertiesCommand.js +28 -21
- package/dist-es/commands/QuerySchemaVersionMetadataCommand.js +29 -23
- package/dist-es/commands/RegisterSchemaVersionCommand.js +28 -21
- package/dist-es/commands/RemoveSchemaVersionMetadataCommand.js +28 -21
- package/dist-es/commands/ResetJobBookmarkCommand.js +28 -21
- package/dist-es/commands/ResumeWorkflowRunCommand.js +28 -21
- package/dist-es/commands/RunStatementCommand.js +28 -21
- package/dist-es/commands/SearchTablesCommand.js +28 -21
- package/dist-es/commands/StartBlueprintRunCommand.js +28 -21
- package/dist-es/commands/StartCrawlerCommand.js +28 -21
- package/dist-es/commands/StartCrawlerScheduleCommand.js +28 -21
- package/dist-es/commands/StartExportLabelsTaskRunCommand.js +28 -21
- package/dist-es/commands/StartImportLabelsTaskRunCommand.js +28 -21
- package/dist-es/commands/StartJobRunCommand.js +28 -21
- package/dist-es/commands/StartMLEvaluationTaskRunCommand.js +28 -21
- package/dist-es/commands/StartMLLabelingSetGenerationTaskRunCommand.js +28 -21
- package/dist-es/commands/StartTriggerCommand.js +28 -21
- package/dist-es/commands/StartWorkflowRunCommand.js +28 -21
- package/dist-es/commands/StopCrawlerCommand.js +28 -21
- package/dist-es/commands/StopCrawlerScheduleCommand.js +28 -21
- package/dist-es/commands/StopSessionCommand.js +28 -21
- package/dist-es/commands/StopTriggerCommand.js +28 -21
- package/dist-es/commands/StopWorkflowRunCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateBlueprintCommand.js +28 -21
- package/dist-es/commands/UpdateClassifierCommand.js +28 -21
- package/dist-es/commands/UpdateColumnStatisticsForPartitionCommand.js +28 -21
- package/dist-es/commands/UpdateColumnStatisticsForTableCommand.js +28 -21
- package/dist-es/commands/UpdateConnectionCommand.js +28 -21
- package/dist-es/commands/UpdateCrawlerCommand.js +28 -21
- package/dist-es/commands/UpdateCrawlerScheduleCommand.js +28 -21
- package/dist-es/commands/UpdateDatabaseCommand.js +28 -21
- package/dist-es/commands/UpdateDevEndpointCommand.js +28 -21
- package/dist-es/commands/UpdateJobCommand.js +28 -21
- package/dist-es/commands/UpdateJobFromSourceControlCommand.js +39 -0
- package/dist-es/commands/UpdateMLTransformCommand.js +28 -21
- package/dist-es/commands/UpdatePartitionCommand.js +28 -21
- package/dist-es/commands/UpdateRegistryCommand.js +28 -21
- package/dist-es/commands/UpdateSchemaCommand.js +28 -21
- package/dist-es/commands/UpdateSourceControlFromJobCommand.js +39 -0
- package/dist-es/commands/UpdateTableCommand.js +28 -21
- package/dist-es/commands/UpdateTriggerCommand.js +28 -21
- package/dist-es/commands/UpdateUserDefinedFunctionCommand.js +28 -21
- package/dist-es/commands/UpdateWorkflowCommand.js +28 -21
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/GlueServiceException.js +10 -5
- package/dist-es/models/models_0.js +411 -870
- package/dist-es/models/models_1.js +336 -885
- package/dist-es/models/models_2.js +229 -430
- package/dist-es/pagination/GetBlueprintRunsPaginator.js +68 -25
- package/dist-es/pagination/GetClassifiersPaginator.js +68 -25
- package/dist-es/pagination/GetConnectionsPaginator.js +68 -25
- package/dist-es/pagination/GetCrawlerMetricsPaginator.js +68 -25
- package/dist-es/pagination/GetCrawlersPaginator.js +68 -25
- package/dist-es/pagination/GetDatabasesPaginator.js +68 -25
- package/dist-es/pagination/GetDevEndpointsPaginator.js +68 -25
- package/dist-es/pagination/GetJobRunsPaginator.js +68 -25
- package/dist-es/pagination/GetJobsPaginator.js +68 -25
- package/dist-es/pagination/GetMLTaskRunsPaginator.js +68 -25
- package/dist-es/pagination/GetMLTransformsPaginator.js +68 -25
- package/dist-es/pagination/GetPartitionIndexesPaginator.js +67 -24
- package/dist-es/pagination/GetPartitionsPaginator.js +68 -25
- package/dist-es/pagination/GetResourcePoliciesPaginator.js +68 -25
- package/dist-es/pagination/GetSecurityConfigurationsPaginator.js +68 -25
- package/dist-es/pagination/GetTableVersionsPaginator.js +68 -25
- package/dist-es/pagination/GetTablesPaginator.js +68 -25
- package/dist-es/pagination/GetTriggersPaginator.js +68 -25
- package/dist-es/pagination/GetUnfilteredPartitionsMetadataPaginator.js +68 -25
- package/dist-es/pagination/GetUserDefinedFunctionsPaginator.js +68 -25
- package/dist-es/pagination/GetWorkflowRunsPaginator.js +68 -25
- package/dist-es/pagination/ListBlueprintsPaginator.js +68 -25
- package/dist-es/pagination/ListCrawlersPaginator.js +68 -25
- package/dist-es/pagination/ListCustomEntityTypesPaginator.js +68 -25
- package/dist-es/pagination/ListDevEndpointsPaginator.js +68 -25
- package/dist-es/pagination/ListJobsPaginator.js +68 -25
- package/dist-es/pagination/ListMLTransformsPaginator.js +68 -25
- package/dist-es/pagination/ListRegistriesPaginator.js +68 -25
- package/dist-es/pagination/ListSchemaVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListSchemasPaginator.js +68 -25
- package/dist-es/pagination/ListSessionsPaginator.js +68 -25
- package/dist-es/pagination/ListTriggersPaginator.js +68 -25
- package/dist-es/pagination/ListWorkflowsPaginator.js +68 -25
- package/dist-es/pagination/SearchTablesPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +17005 -14179
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-types/Glue.d.ts +18 -0
- package/dist-types/GlueClient.d.ts +4 -2
- package/dist-types/commands/CreateWorkflowCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBlueprintCommand.d.ts +1 -1
- package/dist-types/commands/QuerySchemaVersionMetadataCommand.d.ts +1 -2
- package/dist-types/commands/UpdateJobFromSourceControlCommand.d.ts +37 -0
- package/dist-types/commands/UpdateSourceControlFromJobCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +49 -30
- package/dist-types/models/models_1.d.ts +26 -64
- package/dist-types/models/models_2.d.ts +186 -2
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/Glue.d.ts +34 -0
- package/dist-types/ts3.4/GlueClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteBlueprintCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/QuerySchemaVersionMetadataCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateJobFromSourceControlCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateSourceControlFromJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +21 -18
- package/dist-types/ts3.4/models/models_1.d.ts +18 -24
- package/dist-types/ts3.4/models/models_2.d.ts +70 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +33 -33
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import packageInfo from "../package.json";
|
|
2
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
@@ -11,30 +12,15 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
|
11
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
13
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
13
14
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
29
|
-
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
30
|
-
region: config?.region ?? invalidProvider("Region is missing"),
|
|
31
|
-
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
32
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
33
|
-
sha256: config?.sha256 ?? Sha256,
|
|
34
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
35
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
36
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
37
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
38
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
39
|
-
};
|
|
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 });
|
|
40
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import packageInfo from "../package.json";
|
|
2
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
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";
|
|
@@ -14,35 +15,16 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar
|
|
|
14
15
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
15
16
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
|
-
export
|
|
18
|
+
export var getRuntimeConfig = function (config) {
|
|
19
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
20
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
29
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
31
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
|
-
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
-
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
34
|
-
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
35
|
-
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
36
|
-
retryMode: config?.retryMode ??
|
|
37
|
-
loadNodeConfig({
|
|
38
|
-
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
39
|
-
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
40
|
-
}),
|
|
41
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
42
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
43
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
46
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
47
|
-
};
|
|
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 });
|
|
48
30
|
};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
+
import { __assign } from "tslib";
|
|
1
2
|
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
3
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
...config,
|
|
8
|
-
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
|
-
};
|
|
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 });
|
|
11
8
|
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
2
|
import { defaultRegionInfoProvider } from "./endpoints";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
export var getRuntimeConfig = function (config) {
|
|
4
|
+
var _a, _b, _c, _d, _e;
|
|
5
|
+
return ({
|
|
6
|
+
apiVersion: "2017-03-31",
|
|
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 : "Glue",
|
|
11
|
+
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
12
|
+
});
|
|
13
|
+
};
|
package/dist-types/Glue.d.ts
CHANGED
|
@@ -175,10 +175,12 @@ import { UpdateCrawlerScheduleCommandInput, UpdateCrawlerScheduleCommandOutput }
|
|
|
175
175
|
import { UpdateDatabaseCommandInput, UpdateDatabaseCommandOutput } from "./commands/UpdateDatabaseCommand";
|
|
176
176
|
import { UpdateDevEndpointCommandInput, UpdateDevEndpointCommandOutput } from "./commands/UpdateDevEndpointCommand";
|
|
177
177
|
import { UpdateJobCommandInput, UpdateJobCommandOutput } from "./commands/UpdateJobCommand";
|
|
178
|
+
import { UpdateJobFromSourceControlCommandInput, UpdateJobFromSourceControlCommandOutput } from "./commands/UpdateJobFromSourceControlCommand";
|
|
178
179
|
import { UpdateMLTransformCommandInput, UpdateMLTransformCommandOutput } from "./commands/UpdateMLTransformCommand";
|
|
179
180
|
import { UpdatePartitionCommandInput, UpdatePartitionCommandOutput } from "./commands/UpdatePartitionCommand";
|
|
180
181
|
import { UpdateRegistryCommandInput, UpdateRegistryCommandOutput } from "./commands/UpdateRegistryCommand";
|
|
181
182
|
import { UpdateSchemaCommandInput, UpdateSchemaCommandOutput } from "./commands/UpdateSchemaCommand";
|
|
183
|
+
import { UpdateSourceControlFromJobCommandInput, UpdateSourceControlFromJobCommandOutput } from "./commands/UpdateSourceControlFromJobCommand";
|
|
182
184
|
import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
|
|
183
185
|
import { UpdateTriggerCommandInput, UpdateTriggerCommandOutput } from "./commands/UpdateTriggerCommand";
|
|
184
186
|
import { UpdateUserDefinedFunctionCommandInput, UpdateUserDefinedFunctionCommandOutput } from "./commands/UpdateUserDefinedFunctionCommand";
|
|
@@ -1466,6 +1468,14 @@ export declare class Glue extends GlueClient {
|
|
|
1466
1468
|
updateJob(args: UpdateJobCommandInput, options?: __HttpHandlerOptions): Promise<UpdateJobCommandOutput>;
|
|
1467
1469
|
updateJob(args: UpdateJobCommandInput, cb: (err: any, data?: UpdateJobCommandOutput) => void): void;
|
|
1468
1470
|
updateJob(args: UpdateJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateJobCommandOutput) => void): void;
|
|
1471
|
+
/**
|
|
1472
|
+
* <p>Synchronizes a job from the source control repository. This operation takes the job artifacts that are located in the remote repository and updates the Glue internal stores with these artifacts.</p>
|
|
1473
|
+
*
|
|
1474
|
+
* <p>This API supports optional parameters which take in the repository information.</p>
|
|
1475
|
+
*/
|
|
1476
|
+
updateJobFromSourceControl(args: UpdateJobFromSourceControlCommandInput, options?: __HttpHandlerOptions): Promise<UpdateJobFromSourceControlCommandOutput>;
|
|
1477
|
+
updateJobFromSourceControl(args: UpdateJobFromSourceControlCommandInput, cb: (err: any, data?: UpdateJobFromSourceControlCommandOutput) => void): void;
|
|
1478
|
+
updateJobFromSourceControl(args: UpdateJobFromSourceControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateJobFromSourceControlCommandOutput) => void): void;
|
|
1469
1479
|
/**
|
|
1470
1480
|
* <p>Updates an existing machine learning transform. Call this operation to tune the algorithm parameters to achieve better results.</p>
|
|
1471
1481
|
*
|
|
@@ -1497,6 +1507,14 @@ export declare class Glue extends GlueClient {
|
|
|
1497
1507
|
updateSchema(args: UpdateSchemaCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSchemaCommandOutput>;
|
|
1498
1508
|
updateSchema(args: UpdateSchemaCommandInput, cb: (err: any, data?: UpdateSchemaCommandOutput) => void): void;
|
|
1499
1509
|
updateSchema(args: UpdateSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSchemaCommandOutput) => void): void;
|
|
1510
|
+
/**
|
|
1511
|
+
* <p>Synchronizes a job to the source control repository. This operation takes the job artifacts from the Glue internal stores and makes a commit to the remote repository that is configured on the job.</p>
|
|
1512
|
+
*
|
|
1513
|
+
* <p>This API supports optional parameters which take in the repository information.</p>
|
|
1514
|
+
*/
|
|
1515
|
+
updateSourceControlFromJob(args: UpdateSourceControlFromJobCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSourceControlFromJobCommandOutput>;
|
|
1516
|
+
updateSourceControlFromJob(args: UpdateSourceControlFromJobCommandInput, cb: (err: any, data?: UpdateSourceControlFromJobCommandOutput) => void): void;
|
|
1517
|
+
updateSourceControlFromJob(args: UpdateSourceControlFromJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSourceControlFromJobCommandOutput) => void): void;
|
|
1500
1518
|
/**
|
|
1501
1519
|
* <p>Updates a metadata table in the Data Catalog.</p>
|
|
1502
1520
|
*/
|
|
@@ -182,16 +182,18 @@ import { UpdateCrawlerScheduleCommandInput, UpdateCrawlerScheduleCommandOutput }
|
|
|
182
182
|
import { UpdateDatabaseCommandInput, UpdateDatabaseCommandOutput } from "./commands/UpdateDatabaseCommand";
|
|
183
183
|
import { UpdateDevEndpointCommandInput, UpdateDevEndpointCommandOutput } from "./commands/UpdateDevEndpointCommand";
|
|
184
184
|
import { UpdateJobCommandInput, UpdateJobCommandOutput } from "./commands/UpdateJobCommand";
|
|
185
|
+
import { UpdateJobFromSourceControlCommandInput, UpdateJobFromSourceControlCommandOutput } from "./commands/UpdateJobFromSourceControlCommand";
|
|
185
186
|
import { UpdateMLTransformCommandInput, UpdateMLTransformCommandOutput } from "./commands/UpdateMLTransformCommand";
|
|
186
187
|
import { UpdatePartitionCommandInput, UpdatePartitionCommandOutput } from "./commands/UpdatePartitionCommand";
|
|
187
188
|
import { UpdateRegistryCommandInput, UpdateRegistryCommandOutput } from "./commands/UpdateRegistryCommand";
|
|
188
189
|
import { UpdateSchemaCommandInput, UpdateSchemaCommandOutput } from "./commands/UpdateSchemaCommand";
|
|
190
|
+
import { UpdateSourceControlFromJobCommandInput, UpdateSourceControlFromJobCommandOutput } from "./commands/UpdateSourceControlFromJobCommand";
|
|
189
191
|
import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
|
|
190
192
|
import { UpdateTriggerCommandInput, UpdateTriggerCommandOutput } from "./commands/UpdateTriggerCommand";
|
|
191
193
|
import { UpdateUserDefinedFunctionCommandInput, UpdateUserDefinedFunctionCommandOutput } from "./commands/UpdateUserDefinedFunctionCommand";
|
|
192
194
|
import { UpdateWorkflowCommandInput, UpdateWorkflowCommandOutput } from "./commands/UpdateWorkflowCommand";
|
|
193
|
-
export declare type ServiceInputTypes = BatchCreatePartitionCommandInput | BatchDeleteConnectionCommandInput | BatchDeletePartitionCommandInput | BatchDeleteTableCommandInput | BatchDeleteTableVersionCommandInput | BatchGetBlueprintsCommandInput | BatchGetCrawlersCommandInput | BatchGetCustomEntityTypesCommandInput | BatchGetDevEndpointsCommandInput | BatchGetJobsCommandInput | BatchGetPartitionCommandInput | BatchGetTriggersCommandInput | BatchGetWorkflowsCommandInput | BatchStopJobRunCommandInput | BatchUpdatePartitionCommandInput | CancelMLTaskRunCommandInput | CancelStatementCommandInput | CheckSchemaVersionValidityCommandInput | CreateBlueprintCommandInput | CreateClassifierCommandInput | CreateConnectionCommandInput | CreateCrawlerCommandInput | CreateCustomEntityTypeCommandInput | CreateDatabaseCommandInput | CreateDevEndpointCommandInput | CreateJobCommandInput | CreateMLTransformCommandInput | CreatePartitionCommandInput | CreatePartitionIndexCommandInput | CreateRegistryCommandInput | CreateSchemaCommandInput | CreateScriptCommandInput | CreateSecurityConfigurationCommandInput | CreateSessionCommandInput | CreateTableCommandInput | CreateTriggerCommandInput | CreateUserDefinedFunctionCommandInput | CreateWorkflowCommandInput | DeleteBlueprintCommandInput | DeleteClassifierCommandInput | DeleteColumnStatisticsForPartitionCommandInput | DeleteColumnStatisticsForTableCommandInput | DeleteConnectionCommandInput | DeleteCrawlerCommandInput | DeleteCustomEntityTypeCommandInput | DeleteDatabaseCommandInput | DeleteDevEndpointCommandInput | DeleteJobCommandInput | DeleteMLTransformCommandInput | DeletePartitionCommandInput | DeletePartitionIndexCommandInput | DeleteRegistryCommandInput | DeleteResourcePolicyCommandInput | DeleteSchemaCommandInput | DeleteSchemaVersionsCommandInput | DeleteSecurityConfigurationCommandInput | DeleteSessionCommandInput | DeleteTableCommandInput | DeleteTableVersionCommandInput | DeleteTriggerCommandInput | DeleteUserDefinedFunctionCommandInput | DeleteWorkflowCommandInput | GetBlueprintCommandInput | GetBlueprintRunCommandInput | GetBlueprintRunsCommandInput | GetCatalogImportStatusCommandInput | GetClassifierCommandInput | GetClassifiersCommandInput | GetColumnStatisticsForPartitionCommandInput | GetColumnStatisticsForTableCommandInput | GetConnectionCommandInput | GetConnectionsCommandInput | GetCrawlerCommandInput | GetCrawlerMetricsCommandInput | GetCrawlersCommandInput | GetCustomEntityTypeCommandInput | GetDataCatalogEncryptionSettingsCommandInput | GetDatabaseCommandInput | GetDatabasesCommandInput | GetDataflowGraphCommandInput | GetDevEndpointCommandInput | GetDevEndpointsCommandInput | GetJobBookmarkCommandInput | GetJobCommandInput | GetJobRunCommandInput | GetJobRunsCommandInput | GetJobsCommandInput | GetMLTaskRunCommandInput | GetMLTaskRunsCommandInput | GetMLTransformCommandInput | GetMLTransformsCommandInput | GetMappingCommandInput | GetPartitionCommandInput | GetPartitionIndexesCommandInput | GetPartitionsCommandInput | GetPlanCommandInput | GetRegistryCommandInput | GetResourcePoliciesCommandInput | GetResourcePolicyCommandInput | GetSchemaByDefinitionCommandInput | GetSchemaCommandInput | GetSchemaVersionCommandInput | GetSchemaVersionsDiffCommandInput | GetSecurityConfigurationCommandInput | GetSecurityConfigurationsCommandInput | GetSessionCommandInput | GetStatementCommandInput | GetTableCommandInput | GetTableVersionCommandInput | GetTableVersionsCommandInput | GetTablesCommandInput | GetTagsCommandInput | GetTriggerCommandInput | GetTriggersCommandInput | GetUnfilteredPartitionMetadataCommandInput | GetUnfilteredPartitionsMetadataCommandInput | GetUnfilteredTableMetadataCommandInput | GetUserDefinedFunctionCommandInput | GetUserDefinedFunctionsCommandInput | GetWorkflowCommandInput | GetWorkflowRunCommandInput | GetWorkflowRunPropertiesCommandInput | GetWorkflowRunsCommandInput | ImportCatalogToGlueCommandInput | ListBlueprintsCommandInput | ListCrawlersCommandInput | ListCrawlsCommandInput | ListCustomEntityTypesCommandInput | ListDevEndpointsCommandInput | ListJobsCommandInput | ListMLTransformsCommandInput | ListRegistriesCommandInput | ListSchemaVersionsCommandInput | ListSchemasCommandInput | ListSessionsCommandInput | ListStatementsCommandInput | ListTriggersCommandInput | ListWorkflowsCommandInput | PutDataCatalogEncryptionSettingsCommandInput | PutResourcePolicyCommandInput | PutSchemaVersionMetadataCommandInput | PutWorkflowRunPropertiesCommandInput | QuerySchemaVersionMetadataCommandInput | RegisterSchemaVersionCommandInput | RemoveSchemaVersionMetadataCommandInput | ResetJobBookmarkCommandInput | ResumeWorkflowRunCommandInput | RunStatementCommandInput | SearchTablesCommandInput | StartBlueprintRunCommandInput | StartCrawlerCommandInput | StartCrawlerScheduleCommandInput | StartExportLabelsTaskRunCommandInput | StartImportLabelsTaskRunCommandInput | StartJobRunCommandInput | StartMLEvaluationTaskRunCommandInput | StartMLLabelingSetGenerationTaskRunCommandInput | StartTriggerCommandInput | StartWorkflowRunCommandInput | StopCrawlerCommandInput | StopCrawlerScheduleCommandInput | StopSessionCommandInput | StopTriggerCommandInput | StopWorkflowRunCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBlueprintCommandInput | UpdateClassifierCommandInput | UpdateColumnStatisticsForPartitionCommandInput | UpdateColumnStatisticsForTableCommandInput | UpdateConnectionCommandInput | UpdateCrawlerCommandInput | UpdateCrawlerScheduleCommandInput | UpdateDatabaseCommandInput | UpdateDevEndpointCommandInput | UpdateJobCommandInput | UpdateMLTransformCommandInput | UpdatePartitionCommandInput | UpdateRegistryCommandInput | UpdateSchemaCommandInput | UpdateTableCommandInput | UpdateTriggerCommandInput | UpdateUserDefinedFunctionCommandInput | UpdateWorkflowCommandInput;
|
|
194
|
-
export declare type ServiceOutputTypes = BatchCreatePartitionCommandOutput | BatchDeleteConnectionCommandOutput | BatchDeletePartitionCommandOutput | BatchDeleteTableCommandOutput | BatchDeleteTableVersionCommandOutput | BatchGetBlueprintsCommandOutput | BatchGetCrawlersCommandOutput | BatchGetCustomEntityTypesCommandOutput | BatchGetDevEndpointsCommandOutput | BatchGetJobsCommandOutput | BatchGetPartitionCommandOutput | BatchGetTriggersCommandOutput | BatchGetWorkflowsCommandOutput | BatchStopJobRunCommandOutput | BatchUpdatePartitionCommandOutput | CancelMLTaskRunCommandOutput | CancelStatementCommandOutput | CheckSchemaVersionValidityCommandOutput | CreateBlueprintCommandOutput | CreateClassifierCommandOutput | CreateConnectionCommandOutput | CreateCrawlerCommandOutput | CreateCustomEntityTypeCommandOutput | CreateDatabaseCommandOutput | CreateDevEndpointCommandOutput | CreateJobCommandOutput | CreateMLTransformCommandOutput | CreatePartitionCommandOutput | CreatePartitionIndexCommandOutput | CreateRegistryCommandOutput | CreateSchemaCommandOutput | CreateScriptCommandOutput | CreateSecurityConfigurationCommandOutput | CreateSessionCommandOutput | CreateTableCommandOutput | CreateTriggerCommandOutput | CreateUserDefinedFunctionCommandOutput | CreateWorkflowCommandOutput | DeleteBlueprintCommandOutput | DeleteClassifierCommandOutput | DeleteColumnStatisticsForPartitionCommandOutput | DeleteColumnStatisticsForTableCommandOutput | DeleteConnectionCommandOutput | DeleteCrawlerCommandOutput | DeleteCustomEntityTypeCommandOutput | DeleteDatabaseCommandOutput | DeleteDevEndpointCommandOutput | DeleteJobCommandOutput | DeleteMLTransformCommandOutput | DeletePartitionCommandOutput | DeletePartitionIndexCommandOutput | DeleteRegistryCommandOutput | DeleteResourcePolicyCommandOutput | DeleteSchemaCommandOutput | DeleteSchemaVersionsCommandOutput | DeleteSecurityConfigurationCommandOutput | DeleteSessionCommandOutput | DeleteTableCommandOutput | DeleteTableVersionCommandOutput | DeleteTriggerCommandOutput | DeleteUserDefinedFunctionCommandOutput | DeleteWorkflowCommandOutput | GetBlueprintCommandOutput | GetBlueprintRunCommandOutput | GetBlueprintRunsCommandOutput | GetCatalogImportStatusCommandOutput | GetClassifierCommandOutput | GetClassifiersCommandOutput | GetColumnStatisticsForPartitionCommandOutput | GetColumnStatisticsForTableCommandOutput | GetConnectionCommandOutput | GetConnectionsCommandOutput | GetCrawlerCommandOutput | GetCrawlerMetricsCommandOutput | GetCrawlersCommandOutput | GetCustomEntityTypeCommandOutput | GetDataCatalogEncryptionSettingsCommandOutput | GetDatabaseCommandOutput | GetDatabasesCommandOutput | GetDataflowGraphCommandOutput | GetDevEndpointCommandOutput | GetDevEndpointsCommandOutput | GetJobBookmarkCommandOutput | GetJobCommandOutput | GetJobRunCommandOutput | GetJobRunsCommandOutput | GetJobsCommandOutput | GetMLTaskRunCommandOutput | GetMLTaskRunsCommandOutput | GetMLTransformCommandOutput | GetMLTransformsCommandOutput | GetMappingCommandOutput | GetPartitionCommandOutput | GetPartitionIndexesCommandOutput | GetPartitionsCommandOutput | GetPlanCommandOutput | GetRegistryCommandOutput | GetResourcePoliciesCommandOutput | GetResourcePolicyCommandOutput | GetSchemaByDefinitionCommandOutput | GetSchemaCommandOutput | GetSchemaVersionCommandOutput | GetSchemaVersionsDiffCommandOutput | GetSecurityConfigurationCommandOutput | GetSecurityConfigurationsCommandOutput | GetSessionCommandOutput | GetStatementCommandOutput | GetTableCommandOutput | GetTableVersionCommandOutput | GetTableVersionsCommandOutput | GetTablesCommandOutput | GetTagsCommandOutput | GetTriggerCommandOutput | GetTriggersCommandOutput | GetUnfilteredPartitionMetadataCommandOutput | GetUnfilteredPartitionsMetadataCommandOutput | GetUnfilteredTableMetadataCommandOutput | GetUserDefinedFunctionCommandOutput | GetUserDefinedFunctionsCommandOutput | GetWorkflowCommandOutput | GetWorkflowRunCommandOutput | GetWorkflowRunPropertiesCommandOutput | GetWorkflowRunsCommandOutput | ImportCatalogToGlueCommandOutput | ListBlueprintsCommandOutput | ListCrawlersCommandOutput | ListCrawlsCommandOutput | ListCustomEntityTypesCommandOutput | ListDevEndpointsCommandOutput | ListJobsCommandOutput | ListMLTransformsCommandOutput | ListRegistriesCommandOutput | ListSchemaVersionsCommandOutput | ListSchemasCommandOutput | ListSessionsCommandOutput | ListStatementsCommandOutput | ListTriggersCommandOutput | ListWorkflowsCommandOutput | PutDataCatalogEncryptionSettingsCommandOutput | PutResourcePolicyCommandOutput | PutSchemaVersionMetadataCommandOutput | PutWorkflowRunPropertiesCommandOutput | QuerySchemaVersionMetadataCommandOutput | RegisterSchemaVersionCommandOutput | RemoveSchemaVersionMetadataCommandOutput | ResetJobBookmarkCommandOutput | ResumeWorkflowRunCommandOutput | RunStatementCommandOutput | SearchTablesCommandOutput | StartBlueprintRunCommandOutput | StartCrawlerCommandOutput | StartCrawlerScheduleCommandOutput | StartExportLabelsTaskRunCommandOutput | StartImportLabelsTaskRunCommandOutput | StartJobRunCommandOutput | StartMLEvaluationTaskRunCommandOutput | StartMLLabelingSetGenerationTaskRunCommandOutput | StartTriggerCommandOutput | StartWorkflowRunCommandOutput | StopCrawlerCommandOutput | StopCrawlerScheduleCommandOutput | StopSessionCommandOutput | StopTriggerCommandOutput | StopWorkflowRunCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBlueprintCommandOutput | UpdateClassifierCommandOutput | UpdateColumnStatisticsForPartitionCommandOutput | UpdateColumnStatisticsForTableCommandOutput | UpdateConnectionCommandOutput | UpdateCrawlerCommandOutput | UpdateCrawlerScheduleCommandOutput | UpdateDatabaseCommandOutput | UpdateDevEndpointCommandOutput | UpdateJobCommandOutput | UpdateMLTransformCommandOutput | UpdatePartitionCommandOutput | UpdateRegistryCommandOutput | UpdateSchemaCommandOutput | UpdateTableCommandOutput | UpdateTriggerCommandOutput | UpdateUserDefinedFunctionCommandOutput | UpdateWorkflowCommandOutput;
|
|
195
|
+
export declare type ServiceInputTypes = BatchCreatePartitionCommandInput | BatchDeleteConnectionCommandInput | BatchDeletePartitionCommandInput | BatchDeleteTableCommandInput | BatchDeleteTableVersionCommandInput | BatchGetBlueprintsCommandInput | BatchGetCrawlersCommandInput | BatchGetCustomEntityTypesCommandInput | BatchGetDevEndpointsCommandInput | BatchGetJobsCommandInput | BatchGetPartitionCommandInput | BatchGetTriggersCommandInput | BatchGetWorkflowsCommandInput | BatchStopJobRunCommandInput | BatchUpdatePartitionCommandInput | CancelMLTaskRunCommandInput | CancelStatementCommandInput | CheckSchemaVersionValidityCommandInput | CreateBlueprintCommandInput | CreateClassifierCommandInput | CreateConnectionCommandInput | CreateCrawlerCommandInput | CreateCustomEntityTypeCommandInput | CreateDatabaseCommandInput | CreateDevEndpointCommandInput | CreateJobCommandInput | CreateMLTransformCommandInput | CreatePartitionCommandInput | CreatePartitionIndexCommandInput | CreateRegistryCommandInput | CreateSchemaCommandInput | CreateScriptCommandInput | CreateSecurityConfigurationCommandInput | CreateSessionCommandInput | CreateTableCommandInput | CreateTriggerCommandInput | CreateUserDefinedFunctionCommandInput | CreateWorkflowCommandInput | DeleteBlueprintCommandInput | DeleteClassifierCommandInput | DeleteColumnStatisticsForPartitionCommandInput | DeleteColumnStatisticsForTableCommandInput | DeleteConnectionCommandInput | DeleteCrawlerCommandInput | DeleteCustomEntityTypeCommandInput | DeleteDatabaseCommandInput | DeleteDevEndpointCommandInput | DeleteJobCommandInput | DeleteMLTransformCommandInput | DeletePartitionCommandInput | DeletePartitionIndexCommandInput | DeleteRegistryCommandInput | DeleteResourcePolicyCommandInput | DeleteSchemaCommandInput | DeleteSchemaVersionsCommandInput | DeleteSecurityConfigurationCommandInput | DeleteSessionCommandInput | DeleteTableCommandInput | DeleteTableVersionCommandInput | DeleteTriggerCommandInput | DeleteUserDefinedFunctionCommandInput | DeleteWorkflowCommandInput | GetBlueprintCommandInput | GetBlueprintRunCommandInput | GetBlueprintRunsCommandInput | GetCatalogImportStatusCommandInput | GetClassifierCommandInput | GetClassifiersCommandInput | GetColumnStatisticsForPartitionCommandInput | GetColumnStatisticsForTableCommandInput | GetConnectionCommandInput | GetConnectionsCommandInput | GetCrawlerCommandInput | GetCrawlerMetricsCommandInput | GetCrawlersCommandInput | GetCustomEntityTypeCommandInput | GetDataCatalogEncryptionSettingsCommandInput | GetDatabaseCommandInput | GetDatabasesCommandInput | GetDataflowGraphCommandInput | GetDevEndpointCommandInput | GetDevEndpointsCommandInput | GetJobBookmarkCommandInput | GetJobCommandInput | GetJobRunCommandInput | GetJobRunsCommandInput | GetJobsCommandInput | GetMLTaskRunCommandInput | GetMLTaskRunsCommandInput | GetMLTransformCommandInput | GetMLTransformsCommandInput | GetMappingCommandInput | GetPartitionCommandInput | GetPartitionIndexesCommandInput | GetPartitionsCommandInput | GetPlanCommandInput | GetRegistryCommandInput | GetResourcePoliciesCommandInput | GetResourcePolicyCommandInput | GetSchemaByDefinitionCommandInput | GetSchemaCommandInput | GetSchemaVersionCommandInput | GetSchemaVersionsDiffCommandInput | GetSecurityConfigurationCommandInput | GetSecurityConfigurationsCommandInput | GetSessionCommandInput | GetStatementCommandInput | GetTableCommandInput | GetTableVersionCommandInput | GetTableVersionsCommandInput | GetTablesCommandInput | GetTagsCommandInput | GetTriggerCommandInput | GetTriggersCommandInput | GetUnfilteredPartitionMetadataCommandInput | GetUnfilteredPartitionsMetadataCommandInput | GetUnfilteredTableMetadataCommandInput | GetUserDefinedFunctionCommandInput | GetUserDefinedFunctionsCommandInput | GetWorkflowCommandInput | GetWorkflowRunCommandInput | GetWorkflowRunPropertiesCommandInput | GetWorkflowRunsCommandInput | ImportCatalogToGlueCommandInput | ListBlueprintsCommandInput | ListCrawlersCommandInput | ListCrawlsCommandInput | ListCustomEntityTypesCommandInput | ListDevEndpointsCommandInput | ListJobsCommandInput | ListMLTransformsCommandInput | ListRegistriesCommandInput | ListSchemaVersionsCommandInput | ListSchemasCommandInput | ListSessionsCommandInput | ListStatementsCommandInput | ListTriggersCommandInput | ListWorkflowsCommandInput | PutDataCatalogEncryptionSettingsCommandInput | PutResourcePolicyCommandInput | PutSchemaVersionMetadataCommandInput | PutWorkflowRunPropertiesCommandInput | QuerySchemaVersionMetadataCommandInput | RegisterSchemaVersionCommandInput | RemoveSchemaVersionMetadataCommandInput | ResetJobBookmarkCommandInput | ResumeWorkflowRunCommandInput | RunStatementCommandInput | SearchTablesCommandInput | StartBlueprintRunCommandInput | StartCrawlerCommandInput | StartCrawlerScheduleCommandInput | StartExportLabelsTaskRunCommandInput | StartImportLabelsTaskRunCommandInput | StartJobRunCommandInput | StartMLEvaluationTaskRunCommandInput | StartMLLabelingSetGenerationTaskRunCommandInput | StartTriggerCommandInput | StartWorkflowRunCommandInput | StopCrawlerCommandInput | StopCrawlerScheduleCommandInput | StopSessionCommandInput | StopTriggerCommandInput | StopWorkflowRunCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBlueprintCommandInput | UpdateClassifierCommandInput | UpdateColumnStatisticsForPartitionCommandInput | UpdateColumnStatisticsForTableCommandInput | UpdateConnectionCommandInput | UpdateCrawlerCommandInput | UpdateCrawlerScheduleCommandInput | UpdateDatabaseCommandInput | UpdateDevEndpointCommandInput | UpdateJobCommandInput | UpdateJobFromSourceControlCommandInput | UpdateMLTransformCommandInput | UpdatePartitionCommandInput | UpdateRegistryCommandInput | UpdateSchemaCommandInput | UpdateSourceControlFromJobCommandInput | UpdateTableCommandInput | UpdateTriggerCommandInput | UpdateUserDefinedFunctionCommandInput | UpdateWorkflowCommandInput;
|
|
196
|
+
export declare type ServiceOutputTypes = BatchCreatePartitionCommandOutput | BatchDeleteConnectionCommandOutput | BatchDeletePartitionCommandOutput | BatchDeleteTableCommandOutput | BatchDeleteTableVersionCommandOutput | BatchGetBlueprintsCommandOutput | BatchGetCrawlersCommandOutput | BatchGetCustomEntityTypesCommandOutput | BatchGetDevEndpointsCommandOutput | BatchGetJobsCommandOutput | BatchGetPartitionCommandOutput | BatchGetTriggersCommandOutput | BatchGetWorkflowsCommandOutput | BatchStopJobRunCommandOutput | BatchUpdatePartitionCommandOutput | CancelMLTaskRunCommandOutput | CancelStatementCommandOutput | CheckSchemaVersionValidityCommandOutput | CreateBlueprintCommandOutput | CreateClassifierCommandOutput | CreateConnectionCommandOutput | CreateCrawlerCommandOutput | CreateCustomEntityTypeCommandOutput | CreateDatabaseCommandOutput | CreateDevEndpointCommandOutput | CreateJobCommandOutput | CreateMLTransformCommandOutput | CreatePartitionCommandOutput | CreatePartitionIndexCommandOutput | CreateRegistryCommandOutput | CreateSchemaCommandOutput | CreateScriptCommandOutput | CreateSecurityConfigurationCommandOutput | CreateSessionCommandOutput | CreateTableCommandOutput | CreateTriggerCommandOutput | CreateUserDefinedFunctionCommandOutput | CreateWorkflowCommandOutput | DeleteBlueprintCommandOutput | DeleteClassifierCommandOutput | DeleteColumnStatisticsForPartitionCommandOutput | DeleteColumnStatisticsForTableCommandOutput | DeleteConnectionCommandOutput | DeleteCrawlerCommandOutput | DeleteCustomEntityTypeCommandOutput | DeleteDatabaseCommandOutput | DeleteDevEndpointCommandOutput | DeleteJobCommandOutput | DeleteMLTransformCommandOutput | DeletePartitionCommandOutput | DeletePartitionIndexCommandOutput | DeleteRegistryCommandOutput | DeleteResourcePolicyCommandOutput | DeleteSchemaCommandOutput | DeleteSchemaVersionsCommandOutput | DeleteSecurityConfigurationCommandOutput | DeleteSessionCommandOutput | DeleteTableCommandOutput | DeleteTableVersionCommandOutput | DeleteTriggerCommandOutput | DeleteUserDefinedFunctionCommandOutput | DeleteWorkflowCommandOutput | GetBlueprintCommandOutput | GetBlueprintRunCommandOutput | GetBlueprintRunsCommandOutput | GetCatalogImportStatusCommandOutput | GetClassifierCommandOutput | GetClassifiersCommandOutput | GetColumnStatisticsForPartitionCommandOutput | GetColumnStatisticsForTableCommandOutput | GetConnectionCommandOutput | GetConnectionsCommandOutput | GetCrawlerCommandOutput | GetCrawlerMetricsCommandOutput | GetCrawlersCommandOutput | GetCustomEntityTypeCommandOutput | GetDataCatalogEncryptionSettingsCommandOutput | GetDatabaseCommandOutput | GetDatabasesCommandOutput | GetDataflowGraphCommandOutput | GetDevEndpointCommandOutput | GetDevEndpointsCommandOutput | GetJobBookmarkCommandOutput | GetJobCommandOutput | GetJobRunCommandOutput | GetJobRunsCommandOutput | GetJobsCommandOutput | GetMLTaskRunCommandOutput | GetMLTaskRunsCommandOutput | GetMLTransformCommandOutput | GetMLTransformsCommandOutput | GetMappingCommandOutput | GetPartitionCommandOutput | GetPartitionIndexesCommandOutput | GetPartitionsCommandOutput | GetPlanCommandOutput | GetRegistryCommandOutput | GetResourcePoliciesCommandOutput | GetResourcePolicyCommandOutput | GetSchemaByDefinitionCommandOutput | GetSchemaCommandOutput | GetSchemaVersionCommandOutput | GetSchemaVersionsDiffCommandOutput | GetSecurityConfigurationCommandOutput | GetSecurityConfigurationsCommandOutput | GetSessionCommandOutput | GetStatementCommandOutput | GetTableCommandOutput | GetTableVersionCommandOutput | GetTableVersionsCommandOutput | GetTablesCommandOutput | GetTagsCommandOutput | GetTriggerCommandOutput | GetTriggersCommandOutput | GetUnfilteredPartitionMetadataCommandOutput | GetUnfilteredPartitionsMetadataCommandOutput | GetUnfilteredTableMetadataCommandOutput | GetUserDefinedFunctionCommandOutput | GetUserDefinedFunctionsCommandOutput | GetWorkflowCommandOutput | GetWorkflowRunCommandOutput | GetWorkflowRunPropertiesCommandOutput | GetWorkflowRunsCommandOutput | ImportCatalogToGlueCommandOutput | ListBlueprintsCommandOutput | ListCrawlersCommandOutput | ListCrawlsCommandOutput | ListCustomEntityTypesCommandOutput | ListDevEndpointsCommandOutput | ListJobsCommandOutput | ListMLTransformsCommandOutput | ListRegistriesCommandOutput | ListSchemaVersionsCommandOutput | ListSchemasCommandOutput | ListSessionsCommandOutput | ListStatementsCommandOutput | ListTriggersCommandOutput | ListWorkflowsCommandOutput | PutDataCatalogEncryptionSettingsCommandOutput | PutResourcePolicyCommandOutput | PutSchemaVersionMetadataCommandOutput | PutWorkflowRunPropertiesCommandOutput | QuerySchemaVersionMetadataCommandOutput | RegisterSchemaVersionCommandOutput | RemoveSchemaVersionMetadataCommandOutput | ResetJobBookmarkCommandOutput | ResumeWorkflowRunCommandOutput | RunStatementCommandOutput | SearchTablesCommandOutput | StartBlueprintRunCommandOutput | StartCrawlerCommandOutput | StartCrawlerScheduleCommandOutput | StartExportLabelsTaskRunCommandOutput | StartImportLabelsTaskRunCommandOutput | StartJobRunCommandOutput | StartMLEvaluationTaskRunCommandOutput | StartMLLabelingSetGenerationTaskRunCommandOutput | StartTriggerCommandOutput | StartWorkflowRunCommandOutput | StopCrawlerCommandOutput | StopCrawlerScheduleCommandOutput | StopSessionCommandOutput | StopTriggerCommandOutput | StopWorkflowRunCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBlueprintCommandOutput | UpdateClassifierCommandOutput | UpdateColumnStatisticsForPartitionCommandOutput | UpdateColumnStatisticsForTableCommandOutput | UpdateConnectionCommandOutput | UpdateCrawlerCommandOutput | UpdateCrawlerScheduleCommandOutput | UpdateDatabaseCommandOutput | UpdateDevEndpointCommandOutput | UpdateJobCommandOutput | UpdateJobFromSourceControlCommandOutput | UpdateMLTransformCommandOutput | UpdatePartitionCommandOutput | UpdateRegistryCommandOutput | UpdateSchemaCommandOutput | UpdateSourceControlFromJobCommandOutput | UpdateTableCommandOutput | UpdateTriggerCommandOutput | UpdateUserDefinedFunctionCommandOutput | UpdateWorkflowCommandOutput;
|
|
195
197
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
196
198
|
/**
|
|
197
199
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
-
import { CreateWorkflowRequest
|
|
4
|
+
import { CreateWorkflowRequest } from "../models/models_0";
|
|
5
|
+
import { CreateWorkflowResponse } from "../models/models_1";
|
|
5
6
|
export interface CreateWorkflowCommandInput extends CreateWorkflowRequest {
|
|
6
7
|
}
|
|
7
8
|
export interface CreateWorkflowCommandOutput extends CreateWorkflowResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
-
import { DeleteBlueprintRequest, DeleteBlueprintResponse } from "../models/
|
|
4
|
+
import { DeleteBlueprintRequest, DeleteBlueprintResponse } from "../models/models_1";
|
|
5
5
|
export interface DeleteBlueprintCommandInput extends DeleteBlueprintRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteBlueprintCommandOutput extends DeleteBlueprintResponse, __MetadataBearer {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
-
import { QuerySchemaVersionMetadataInput } from "../models/
|
|
5
|
-
import { QuerySchemaVersionMetadataResponse } from "../models/models_2";
|
|
4
|
+
import { QuerySchemaVersionMetadataInput, QuerySchemaVersionMetadataResponse } from "../models/models_2";
|
|
6
5
|
export interface QuerySchemaVersionMetadataCommandInput extends QuerySchemaVersionMetadataInput {
|
|
7
6
|
}
|
|
8
7
|
export interface QuerySchemaVersionMetadataCommandOutput extends QuerySchemaVersionMetadataResponse, __MetadataBearer {
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
+
import { UpdateJobFromSourceControlRequest, UpdateJobFromSourceControlResponse } from "../models/models_2";
|
|
5
|
+
export interface UpdateJobFromSourceControlCommandInput extends UpdateJobFromSourceControlRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateJobFromSourceControlCommandOutput extends UpdateJobFromSourceControlResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Synchronizes a job from the source control repository. This operation takes the job artifacts that are located in the remote repository and updates the Glue internal stores with these artifacts.</p>
|
|
11
|
+
*
|
|
12
|
+
* <p>This API supports optional parameters which take in the repository information.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { GlueClient, UpdateJobFromSourceControlCommand } from "@aws-sdk/client-glue"; // ES Modules import
|
|
17
|
+
* // const { GlueClient, UpdateJobFromSourceControlCommand } = require("@aws-sdk/client-glue"); // CommonJS import
|
|
18
|
+
* const client = new GlueClient(config);
|
|
19
|
+
* const command = new UpdateJobFromSourceControlCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link UpdateJobFromSourceControlCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link UpdateJobFromSourceControlCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class UpdateJobFromSourceControlCommand extends $Command<UpdateJobFromSourceControlCommandInput, UpdateJobFromSourceControlCommandOutput, GlueClientResolvedConfig> {
|
|
29
|
+
readonly input: UpdateJobFromSourceControlCommandInput;
|
|
30
|
+
constructor(input: UpdateJobFromSourceControlCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateJobFromSourceControlCommandInput, UpdateJobFromSourceControlCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
|
|
4
|
+
import { UpdateSourceControlFromJobRequest, UpdateSourceControlFromJobResponse } from "../models/models_2";
|
|
5
|
+
export interface UpdateSourceControlFromJobCommandInput extends UpdateSourceControlFromJobRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateSourceControlFromJobCommandOutput extends UpdateSourceControlFromJobResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Synchronizes a job to the source control repository. This operation takes the job artifacts from the Glue internal stores and makes a commit to the remote repository that is configured on the job.</p>
|
|
11
|
+
*
|
|
12
|
+
* <p>This API supports optional parameters which take in the repository information.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { GlueClient, UpdateSourceControlFromJobCommand } from "@aws-sdk/client-glue"; // ES Modules import
|
|
17
|
+
* // const { GlueClient, UpdateSourceControlFromJobCommand } = require("@aws-sdk/client-glue"); // CommonJS import
|
|
18
|
+
* const client = new GlueClient(config);
|
|
19
|
+
* const command = new UpdateSourceControlFromJobCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link UpdateSourceControlFromJobCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link UpdateSourceControlFromJobCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class UpdateSourceControlFromJobCommand extends $Command<UpdateSourceControlFromJobCommandInput, UpdateSourceControlFromJobCommandOutput, GlueClientResolvedConfig> {
|
|
29
|
+
readonly input: UpdateSourceControlFromJobCommandInput;
|
|
30
|
+
constructor(input: UpdateSourceControlFromJobCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSourceControlFromJobCommandInput, UpdateSourceControlFromJobCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -174,10 +174,12 @@ export * from "./UpdateCrawlerScheduleCommand";
|
|
|
174
174
|
export * from "./UpdateDatabaseCommand";
|
|
175
175
|
export * from "./UpdateDevEndpointCommand";
|
|
176
176
|
export * from "./UpdateJobCommand";
|
|
177
|
+
export * from "./UpdateJobFromSourceControlCommand";
|
|
177
178
|
export * from "./UpdateMLTransformCommand";
|
|
178
179
|
export * from "./UpdatePartitionCommand";
|
|
179
180
|
export * from "./UpdateRegistryCommand";
|
|
180
181
|
export * from "./UpdateSchemaCommand";
|
|
182
|
+
export * from "./UpdateSourceControlFromJobCommand";
|
|
181
183
|
export * from "./UpdateTableCommand";
|
|
182
184
|
export * from "./UpdateTriggerCommand";
|
|
183
185
|
export * from "./UpdateUserDefinedFunctionCommand";
|
|
@@ -3266,6 +3266,51 @@ export interface ExecutionProperty {
|
|
|
3266
3266
|
*/
|
|
3267
3267
|
MaxConcurrentRuns?: number;
|
|
3268
3268
|
}
|
|
3269
|
+
export declare enum SourceControlAuthStrategy {
|
|
3270
|
+
AWS_SECRETS_MANAGER = "AWS_SECRETS_MANAGER",
|
|
3271
|
+
PERSONAL_ACCESS_TOKEN = "PERSONAL_ACCESS_TOKEN"
|
|
3272
|
+
}
|
|
3273
|
+
export declare enum SourceControlProvider {
|
|
3274
|
+
AWS_CODE_COMMIT = "AWS_CODE_COMMIT",
|
|
3275
|
+
GITHUB = "GITHUB"
|
|
3276
|
+
}
|
|
3277
|
+
/**
|
|
3278
|
+
* <p>The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.</p>
|
|
3279
|
+
*/
|
|
3280
|
+
export interface SourceControlDetails {
|
|
3281
|
+
/**
|
|
3282
|
+
* <p>The provider for the remote repository.</p>
|
|
3283
|
+
*/
|
|
3284
|
+
Provider?: SourceControlProvider | string;
|
|
3285
|
+
/**
|
|
3286
|
+
* <p>The name of the remote repository that contains the job artifacts.</p>
|
|
3287
|
+
*/
|
|
3288
|
+
Repository?: string;
|
|
3289
|
+
/**
|
|
3290
|
+
* <p>The owner of the remote repository that contains the job artifacts.</p>
|
|
3291
|
+
*/
|
|
3292
|
+
Owner?: string;
|
|
3293
|
+
/**
|
|
3294
|
+
* <p>An optional branch in the remote repository.</p>
|
|
3295
|
+
*/
|
|
3296
|
+
Branch?: string;
|
|
3297
|
+
/**
|
|
3298
|
+
* <p>An optional folder in the remote repository.</p>
|
|
3299
|
+
*/
|
|
3300
|
+
Folder?: string;
|
|
3301
|
+
/**
|
|
3302
|
+
* <p>The last commit ID for a commit in the remote repository.</p>
|
|
3303
|
+
*/
|
|
3304
|
+
LastCommitId?: string;
|
|
3305
|
+
/**
|
|
3306
|
+
* <p>The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.</p>
|
|
3307
|
+
*/
|
|
3308
|
+
AuthStrategy?: SourceControlAuthStrategy | string;
|
|
3309
|
+
/**
|
|
3310
|
+
* <p>The value of an authorization token.</p>
|
|
3311
|
+
*/
|
|
3312
|
+
AuthToken?: string;
|
|
3313
|
+
}
|
|
3269
3314
|
export interface BatchGetPartitionRequest {
|
|
3270
3315
|
/**
|
|
3271
3316
|
* <p>The ID of the Data Catalog where the partitions in question reside.
|
|
@@ -5998,24 +6043,6 @@ export interface CreateWorkflowRequest {
|
|
|
5998
6043
|
*/
|
|
5999
6044
|
MaxConcurrentRuns?: number;
|
|
6000
6045
|
}
|
|
6001
|
-
export interface CreateWorkflowResponse {
|
|
6002
|
-
/**
|
|
6003
|
-
* <p>The name of the workflow which was provided as part of the request.</p>
|
|
6004
|
-
*/
|
|
6005
|
-
Name?: string;
|
|
6006
|
-
}
|
|
6007
|
-
export interface DeleteBlueprintRequest {
|
|
6008
|
-
/**
|
|
6009
|
-
* <p>The name of the blueprint to delete.</p>
|
|
6010
|
-
*/
|
|
6011
|
-
Name: string | undefined;
|
|
6012
|
-
}
|
|
6013
|
-
export interface DeleteBlueprintResponse {
|
|
6014
|
-
/**
|
|
6015
|
-
* <p>Returns the name of the blueprint that was deleted.</p>
|
|
6016
|
-
*/
|
|
6017
|
-
Name?: string;
|
|
6018
|
-
}
|
|
6019
6046
|
/**
|
|
6020
6047
|
* @internal
|
|
6021
6048
|
*/
|
|
@@ -6512,6 +6539,10 @@ export declare const ConnectionsListFilterSensitiveLog: (obj: ConnectionsList) =
|
|
|
6512
6539
|
* @internal
|
|
6513
6540
|
*/
|
|
6514
6541
|
export declare const ExecutionPropertyFilterSensitiveLog: (obj: ExecutionProperty) => any;
|
|
6542
|
+
/**
|
|
6543
|
+
* @internal
|
|
6544
|
+
*/
|
|
6545
|
+
export declare const SourceControlDetailsFilterSensitiveLog: (obj: SourceControlDetails) => any;
|
|
6515
6546
|
/**
|
|
6516
6547
|
* @internal
|
|
6517
6548
|
*/
|
|
@@ -6940,15 +6971,3 @@ export declare const CreateUserDefinedFunctionResponseFilterSensitiveLog: (obj:
|
|
|
6940
6971
|
* @internal
|
|
6941
6972
|
*/
|
|
6942
6973
|
export declare const CreateWorkflowRequestFilterSensitiveLog: (obj: CreateWorkflowRequest) => any;
|
|
6943
|
-
/**
|
|
6944
|
-
* @internal
|
|
6945
|
-
*/
|
|
6946
|
-
export declare const CreateWorkflowResponseFilterSensitiveLog: (obj: CreateWorkflowResponse) => any;
|
|
6947
|
-
/**
|
|
6948
|
-
* @internal
|
|
6949
|
-
*/
|
|
6950
|
-
export declare const DeleteBlueprintRequestFilterSensitiveLog: (obj: DeleteBlueprintRequest) => any;
|
|
6951
|
-
/**
|
|
6952
|
-
* @internal
|
|
6953
|
-
*/
|
|
6954
|
-
export declare const DeleteBlueprintResponseFilterSensitiveLog: (obj: DeleteBlueprintResponse) => any;
|
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
3
3
|
import { AuditContext, Blueprint, CodeGenEdge, CodeGenNode, CodeGenNodeArg, Column, Compatibility, ConnectionType, Crawler, CsvHeaderOption, CustomEntityType, DatabaseIdentifier, DataFormat, DevEndpoint, EncryptionConfiguration, ErrorDetail, GlueTable, JobRun, Language, Partition, PartitionValueList, PhysicalConnectionRequirements, PrincipalPermissions, PrincipalType, RegistryId, ResourceUri, SchemaId, SchemaStatus, SchemaVersionStatus, Session, StorageDescriptor, TableIdentifier, TaskStatusType, TransformEncryption, TransformParameters, TransformType, Trigger, WorkerType, Workflow, WorkflowRun } from "./models_0";
|
|
4
|
+
export interface CreateWorkflowResponse {
|
|
5
|
+
/**
|
|
6
|
+
* <p>The name of the workflow which was provided as part of the request.</p>
|
|
7
|
+
*/
|
|
8
|
+
Name?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface DeleteBlueprintRequest {
|
|
11
|
+
/**
|
|
12
|
+
* <p>The name of the blueprint to delete.</p>
|
|
13
|
+
*/
|
|
14
|
+
Name: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface DeleteBlueprintResponse {
|
|
17
|
+
/**
|
|
18
|
+
* <p>Returns the name of the blueprint that was deleted.</p>
|
|
19
|
+
*/
|
|
20
|
+
Name?: string;
|
|
21
|
+
}
|
|
4
22
|
export interface DeleteClassifierRequest {
|
|
5
23
|
/**
|
|
6
24
|
* <p>Name of the classifier to remove.</p>
|
|
@@ -4781,62 +4799,18 @@ export interface PutWorkflowRunPropertiesRequest {
|
|
|
4781
4799
|
}
|
|
4782
4800
|
export interface PutWorkflowRunPropertiesResponse {
|
|
4783
4801
|
}
|
|
4784
|
-
export interface QuerySchemaVersionMetadataInput {
|
|
4785
|
-
/**
|
|
4786
|
-
* <p>A wrapper structure that may contain the schema name and Amazon Resource Name (ARN).</p>
|
|
4787
|
-
*/
|
|
4788
|
-
SchemaId?: SchemaId;
|
|
4789
|
-
/**
|
|
4790
|
-
* <p>The version number of the schema.</p>
|
|
4791
|
-
*/
|
|
4792
|
-
SchemaVersionNumber?: SchemaVersionNumber;
|
|
4793
|
-
/**
|
|
4794
|
-
* <p>The unique version ID of the schema version.</p>
|
|
4795
|
-
*/
|
|
4796
|
-
SchemaVersionId?: string;
|
|
4797
|
-
/**
|
|
4798
|
-
* <p>Search key-value pairs for metadata, if they are not provided all the metadata information will be fetched.</p>
|
|
4799
|
-
*/
|
|
4800
|
-
MetadataList?: MetadataKeyValuePair[];
|
|
4801
|
-
/**
|
|
4802
|
-
* <p>Maximum number of results required per page. If the value is not supplied, this will be defaulted to 25 per page.</p>
|
|
4803
|
-
*/
|
|
4804
|
-
MaxResults?: number;
|
|
4805
|
-
/**
|
|
4806
|
-
* <p>A continuation token, if this is a continuation call.</p>
|
|
4807
|
-
*/
|
|
4808
|
-
NextToken?: string;
|
|
4809
|
-
}
|
|
4810
4802
|
/**
|
|
4811
|
-
*
|
|
4803
|
+
* @internal
|
|
4812
4804
|
*/
|
|
4813
|
-
export
|
|
4814
|
-
/**
|
|
4815
|
-
* <p>The metadata key’s corresponding value for the other metadata belonging to the same metadata key.</p>
|
|
4816
|
-
*/
|
|
4817
|
-
MetadataValue?: string;
|
|
4818
|
-
/**
|
|
4819
|
-
* <p>The time at which the entry was created.</p>
|
|
4820
|
-
*/
|
|
4821
|
-
CreatedTime?: string;
|
|
4822
|
-
}
|
|
4805
|
+
export declare const CreateWorkflowResponseFilterSensitiveLog: (obj: CreateWorkflowResponse) => any;
|
|
4823
4806
|
/**
|
|
4824
|
-
*
|
|
4807
|
+
* @internal
|
|
4825
4808
|
*/
|
|
4826
|
-
export
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
/**
|
|
4832
|
-
* <p>The time at which the entry was created.</p>
|
|
4833
|
-
*/
|
|
4834
|
-
CreatedTime?: string;
|
|
4835
|
-
/**
|
|
4836
|
-
* <p>Other metadata belonging to the same metadata key.</p>
|
|
4837
|
-
*/
|
|
4838
|
-
OtherMetadataValueList?: OtherMetadataValueListItem[];
|
|
4839
|
-
}
|
|
4809
|
+
export declare const DeleteBlueprintRequestFilterSensitiveLog: (obj: DeleteBlueprintRequest) => any;
|
|
4810
|
+
/**
|
|
4811
|
+
* @internal
|
|
4812
|
+
*/
|
|
4813
|
+
export declare const DeleteBlueprintResponseFilterSensitiveLog: (obj: DeleteBlueprintResponse) => any;
|
|
4840
4814
|
/**
|
|
4841
4815
|
* @internal
|
|
4842
4816
|
*/
|
|
@@ -5925,15 +5899,3 @@ export declare const PutWorkflowRunPropertiesRequestFilterSensitiveLog: (obj: Pu
|
|
|
5925
5899
|
* @internal
|
|
5926
5900
|
*/
|
|
5927
5901
|
export declare const PutWorkflowRunPropertiesResponseFilterSensitiveLog: (obj: PutWorkflowRunPropertiesResponse) => any;
|
|
5928
|
-
/**
|
|
5929
|
-
* @internal
|
|
5930
|
-
*/
|
|
5931
|
-
export declare const QuerySchemaVersionMetadataInputFilterSensitiveLog: (obj: QuerySchemaVersionMetadataInput) => any;
|
|
5932
|
-
/**
|
|
5933
|
-
* @internal
|
|
5934
|
-
*/
|
|
5935
|
-
export declare const OtherMetadataValueListItemFilterSensitiveLog: (obj: OtherMetadataValueListItem) => any;
|
|
5936
|
-
/**
|
|
5937
|
-
* @internal
|
|
5938
|
-
*/
|
|
5939
|
-
export declare const MetadataInfoFilterSensitiveLog: (obj: MetadataInfo) => any;
|