@aws-sdk/client-mwaa-serverless 3.1077.0 → 3.1079.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/dist-cjs/index.js +23 -153
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateWorkflowCommand.js +2 -14
- package/dist-es/commands/DeleteWorkflowCommand.js +2 -14
- package/dist-es/commands/GetTaskInstanceCommand.js +2 -14
- package/dist-es/commands/GetWorkflowCommand.js +2 -14
- package/dist-es/commands/GetWorkflowRunCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListTaskInstancesCommand.js +2 -14
- package/dist-es/commands/ListWorkflowRunsCommand.js +2 -14
- package/dist-es/commands/ListWorkflowVersionsCommand.js +2 -14
- package/dist-es/commands/ListWorkflowsCommand.js +2 -14
- package/dist-es/commands/StartWorkflowRunCommand.js +2 -14
- package/dist-es/commands/StopWorkflowRunCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateWorkflowCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateWorkflowCommand.d.ts +3 -8
- package/dist-types/commands/DeleteWorkflowCommand.d.ts +3 -8
- package/dist-types/commands/GetTaskInstanceCommand.d.ts +3 -8
- package/dist-types/commands/GetWorkflowCommand.d.ts +3 -8
- package/dist-types/commands/GetWorkflowRunCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListTaskInstancesCommand.d.ts +3 -8
- package/dist-types/commands/ListWorkflowRunsCommand.d.ts +3 -8
- package/dist-types/commands/ListWorkflowVersionsCommand.d.ts +3 -8
- package/dist-types/commands/ListWorkflowsCommand.d.ts +3 -8
- package/dist-types/commands/StartWorkflowRunCommand.d.ts +3 -8
- package/dist-types/commands/StopWorkflowRunCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateWorkflowCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetTaskInstanceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetWorkflowRunCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTaskInstancesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWorkflowRunsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWorkflowVersionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartWorkflowRunCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StopWorkflowRunCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateWorkflowCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -66,7 +67,7 @@ const commonParams = {
|
|
|
66
67
|
Region: { type: "builtInParams", name: "region" },
|
|
67
68
|
};
|
|
68
69
|
|
|
69
|
-
var version = "3.
|
|
70
|
+
var version = "3.1078.0";
|
|
70
71
|
var packageInfo = {
|
|
71
72
|
version: version};
|
|
72
73
|
|
|
@@ -885,184 +886,53 @@ class MWAAServerlessClient extends Client {
|
|
|
885
886
|
}
|
|
886
887
|
}
|
|
887
888
|
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
})
|
|
894
|
-
.s("AmazonMWAAServerless", "CreateWorkflow", {})
|
|
895
|
-
.n("MWAAServerlessClient", "CreateWorkflowCommand")
|
|
896
|
-
.sc(CreateWorkflow$)
|
|
897
|
-
.build() {
|
|
889
|
+
const command = makeBuilder(commonParams, "AmazonMWAAServerless", "MWAAServerlessClient", getEndpointPlugin);
|
|
890
|
+
const _ep0 = {};
|
|
891
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
892
|
+
|
|
893
|
+
class CreateWorkflowCommand extends command(_ep0, _mw0, "CreateWorkflow", CreateWorkflow$) {
|
|
898
894
|
}
|
|
899
895
|
|
|
900
|
-
class DeleteWorkflowCommand extends
|
|
901
|
-
.classBuilder()
|
|
902
|
-
.ep(commonParams)
|
|
903
|
-
.m(function (Command, cs, config, o) {
|
|
904
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
905
|
-
})
|
|
906
|
-
.s("AmazonMWAAServerless", "DeleteWorkflow", {})
|
|
907
|
-
.n("MWAAServerlessClient", "DeleteWorkflowCommand")
|
|
908
|
-
.sc(DeleteWorkflow$)
|
|
909
|
-
.build() {
|
|
896
|
+
class DeleteWorkflowCommand extends command(_ep0, _mw0, "DeleteWorkflow", DeleteWorkflow$) {
|
|
910
897
|
}
|
|
911
898
|
|
|
912
|
-
class GetTaskInstanceCommand extends
|
|
913
|
-
.classBuilder()
|
|
914
|
-
.ep(commonParams)
|
|
915
|
-
.m(function (Command, cs, config, o) {
|
|
916
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
917
|
-
})
|
|
918
|
-
.s("AmazonMWAAServerless", "GetTaskInstance", {})
|
|
919
|
-
.n("MWAAServerlessClient", "GetTaskInstanceCommand")
|
|
920
|
-
.sc(GetTaskInstance$)
|
|
921
|
-
.build() {
|
|
899
|
+
class GetTaskInstanceCommand extends command(_ep0, _mw0, "GetTaskInstance", GetTaskInstance$) {
|
|
922
900
|
}
|
|
923
901
|
|
|
924
|
-
class GetWorkflowCommand extends
|
|
925
|
-
.classBuilder()
|
|
926
|
-
.ep(commonParams)
|
|
927
|
-
.m(function (Command, cs, config, o) {
|
|
928
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
929
|
-
})
|
|
930
|
-
.s("AmazonMWAAServerless", "GetWorkflow", {})
|
|
931
|
-
.n("MWAAServerlessClient", "GetWorkflowCommand")
|
|
932
|
-
.sc(GetWorkflow$)
|
|
933
|
-
.build() {
|
|
902
|
+
class GetWorkflowCommand extends command(_ep0, _mw0, "GetWorkflow", GetWorkflow$) {
|
|
934
903
|
}
|
|
935
904
|
|
|
936
|
-
class GetWorkflowRunCommand extends
|
|
937
|
-
.classBuilder()
|
|
938
|
-
.ep(commonParams)
|
|
939
|
-
.m(function (Command, cs, config, o) {
|
|
940
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
941
|
-
})
|
|
942
|
-
.s("AmazonMWAAServerless", "GetWorkflowRun", {})
|
|
943
|
-
.n("MWAAServerlessClient", "GetWorkflowRunCommand")
|
|
944
|
-
.sc(GetWorkflowRun$)
|
|
945
|
-
.build() {
|
|
905
|
+
class GetWorkflowRunCommand extends command(_ep0, _mw0, "GetWorkflowRun", GetWorkflowRun$) {
|
|
946
906
|
}
|
|
947
907
|
|
|
948
|
-
class ListTagsForResourceCommand extends
|
|
949
|
-
.classBuilder()
|
|
950
|
-
.ep(commonParams)
|
|
951
|
-
.m(function (Command, cs, config, o) {
|
|
952
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
953
|
-
})
|
|
954
|
-
.s("AmazonMWAAServerless", "ListTagsForResource", {})
|
|
955
|
-
.n("MWAAServerlessClient", "ListTagsForResourceCommand")
|
|
956
|
-
.sc(ListTagsForResource$)
|
|
957
|
-
.build() {
|
|
908
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
958
909
|
}
|
|
959
910
|
|
|
960
|
-
class ListTaskInstancesCommand extends
|
|
961
|
-
.classBuilder()
|
|
962
|
-
.ep(commonParams)
|
|
963
|
-
.m(function (Command, cs, config, o) {
|
|
964
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
965
|
-
})
|
|
966
|
-
.s("AmazonMWAAServerless", "ListTaskInstances", {})
|
|
967
|
-
.n("MWAAServerlessClient", "ListTaskInstancesCommand")
|
|
968
|
-
.sc(ListTaskInstances$)
|
|
969
|
-
.build() {
|
|
911
|
+
class ListTaskInstancesCommand extends command(_ep0, _mw0, "ListTaskInstances", ListTaskInstances$) {
|
|
970
912
|
}
|
|
971
913
|
|
|
972
|
-
class ListWorkflowRunsCommand extends
|
|
973
|
-
.classBuilder()
|
|
974
|
-
.ep(commonParams)
|
|
975
|
-
.m(function (Command, cs, config, o) {
|
|
976
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
977
|
-
})
|
|
978
|
-
.s("AmazonMWAAServerless", "ListWorkflowRuns", {})
|
|
979
|
-
.n("MWAAServerlessClient", "ListWorkflowRunsCommand")
|
|
980
|
-
.sc(ListWorkflowRuns$)
|
|
981
|
-
.build() {
|
|
914
|
+
class ListWorkflowRunsCommand extends command(_ep0, _mw0, "ListWorkflowRuns", ListWorkflowRuns$) {
|
|
982
915
|
}
|
|
983
916
|
|
|
984
|
-
class ListWorkflowsCommand extends
|
|
985
|
-
.classBuilder()
|
|
986
|
-
.ep(commonParams)
|
|
987
|
-
.m(function (Command, cs, config, o) {
|
|
988
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
989
|
-
})
|
|
990
|
-
.s("AmazonMWAAServerless", "ListWorkflows", {})
|
|
991
|
-
.n("MWAAServerlessClient", "ListWorkflowsCommand")
|
|
992
|
-
.sc(ListWorkflows$)
|
|
993
|
-
.build() {
|
|
917
|
+
class ListWorkflowsCommand extends command(_ep0, _mw0, "ListWorkflows", ListWorkflows$) {
|
|
994
918
|
}
|
|
995
919
|
|
|
996
|
-
class ListWorkflowVersionsCommand extends
|
|
997
|
-
.classBuilder()
|
|
998
|
-
.ep(commonParams)
|
|
999
|
-
.m(function (Command, cs, config, o) {
|
|
1000
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1001
|
-
})
|
|
1002
|
-
.s("AmazonMWAAServerless", "ListWorkflowVersions", {})
|
|
1003
|
-
.n("MWAAServerlessClient", "ListWorkflowVersionsCommand")
|
|
1004
|
-
.sc(ListWorkflowVersions$)
|
|
1005
|
-
.build() {
|
|
920
|
+
class ListWorkflowVersionsCommand extends command(_ep0, _mw0, "ListWorkflowVersions", ListWorkflowVersions$) {
|
|
1006
921
|
}
|
|
1007
922
|
|
|
1008
|
-
class StartWorkflowRunCommand extends
|
|
1009
|
-
.classBuilder()
|
|
1010
|
-
.ep(commonParams)
|
|
1011
|
-
.m(function (Command, cs, config, o) {
|
|
1012
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1013
|
-
})
|
|
1014
|
-
.s("AmazonMWAAServerless", "StartWorkflowRun", {})
|
|
1015
|
-
.n("MWAAServerlessClient", "StartWorkflowRunCommand")
|
|
1016
|
-
.sc(StartWorkflowRun$)
|
|
1017
|
-
.build() {
|
|
923
|
+
class StartWorkflowRunCommand extends command(_ep0, _mw0, "StartWorkflowRun", StartWorkflowRun$) {
|
|
1018
924
|
}
|
|
1019
925
|
|
|
1020
|
-
class StopWorkflowRunCommand extends
|
|
1021
|
-
.classBuilder()
|
|
1022
|
-
.ep(commonParams)
|
|
1023
|
-
.m(function (Command, cs, config, o) {
|
|
1024
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1025
|
-
})
|
|
1026
|
-
.s("AmazonMWAAServerless", "StopWorkflowRun", {})
|
|
1027
|
-
.n("MWAAServerlessClient", "StopWorkflowRunCommand")
|
|
1028
|
-
.sc(StopWorkflowRun$)
|
|
1029
|
-
.build() {
|
|
926
|
+
class StopWorkflowRunCommand extends command(_ep0, _mw0, "StopWorkflowRun", StopWorkflowRun$) {
|
|
1030
927
|
}
|
|
1031
928
|
|
|
1032
|
-
class TagResourceCommand extends
|
|
1033
|
-
.classBuilder()
|
|
1034
|
-
.ep(commonParams)
|
|
1035
|
-
.m(function (Command, cs, config, o) {
|
|
1036
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1037
|
-
})
|
|
1038
|
-
.s("AmazonMWAAServerless", "TagResource", {})
|
|
1039
|
-
.n("MWAAServerlessClient", "TagResourceCommand")
|
|
1040
|
-
.sc(TagResource$)
|
|
1041
|
-
.build() {
|
|
929
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1042
930
|
}
|
|
1043
931
|
|
|
1044
|
-
class UntagResourceCommand extends
|
|
1045
|
-
.classBuilder()
|
|
1046
|
-
.ep(commonParams)
|
|
1047
|
-
.m(function (Command, cs, config, o) {
|
|
1048
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1049
|
-
})
|
|
1050
|
-
.s("AmazonMWAAServerless", "UntagResource", {})
|
|
1051
|
-
.n("MWAAServerlessClient", "UntagResourceCommand")
|
|
1052
|
-
.sc(UntagResource$)
|
|
1053
|
-
.build() {
|
|
932
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1054
933
|
}
|
|
1055
934
|
|
|
1056
|
-
class UpdateWorkflowCommand extends
|
|
1057
|
-
.classBuilder()
|
|
1058
|
-
.ep(commonParams)
|
|
1059
|
-
.m(function (Command, cs, config, o) {
|
|
1060
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1061
|
-
})
|
|
1062
|
-
.s("AmazonMWAAServerless", "UpdateWorkflow", {})
|
|
1063
|
-
.n("MWAAServerlessClient", "UpdateWorkflowCommand")
|
|
1064
|
-
.sc(UpdateWorkflow$)
|
|
1065
|
-
.build() {
|
|
935
|
+
class UpdateWorkflowCommand extends command(_ep0, _mw0, "UpdateWorkflow", UpdateWorkflow$) {
|
|
1066
936
|
}
|
|
1067
937
|
|
|
1068
938
|
const paginateListTaskInstances = createPaginator(MWAAServerlessClient, ListTaskInstancesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "AmazonMWAAServerless", "MWAAServerlessClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateWorkflow$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateWorkflowCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "CreateWorkflow", {})
|
|
13
|
-
.n("MWAAServerlessClient", "CreateWorkflowCommand")
|
|
14
|
-
.sc(CreateWorkflow$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateWorkflowCommand extends command(_ep0, _mw0, "CreateWorkflow", CreateWorkflow$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteWorkflow$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteWorkflowCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "DeleteWorkflow", {})
|
|
13
|
-
.n("MWAAServerlessClient", "DeleteWorkflowCommand")
|
|
14
|
-
.sc(DeleteWorkflow$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteWorkflowCommand extends command(_ep0, _mw0, "DeleteWorkflow", DeleteWorkflow$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetTaskInstance$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetTaskInstanceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "GetTaskInstance", {})
|
|
13
|
-
.n("MWAAServerlessClient", "GetTaskInstanceCommand")
|
|
14
|
-
.sc(GetTaskInstance$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetTaskInstanceCommand extends command(_ep0, _mw0, "GetTaskInstance", GetTaskInstance$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetWorkflow$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetWorkflowCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "GetWorkflow", {})
|
|
13
|
-
.n("MWAAServerlessClient", "GetWorkflowCommand")
|
|
14
|
-
.sc(GetWorkflow$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetWorkflowCommand extends command(_ep0, _mw0, "GetWorkflow", GetWorkflow$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetWorkflowRun$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetWorkflowRunCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "GetWorkflowRun", {})
|
|
13
|
-
.n("MWAAServerlessClient", "GetWorkflowRunCommand")
|
|
14
|
-
.sc(GetWorkflowRun$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetWorkflowRunCommand extends command(_ep0, _mw0, "GetWorkflowRun", GetWorkflowRun$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "ListTagsForResource", {})
|
|
13
|
-
.n("MWAAServerlessClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTaskInstances$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTaskInstancesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "ListTaskInstances", {})
|
|
13
|
-
.n("MWAAServerlessClient", "ListTaskInstancesCommand")
|
|
14
|
-
.sc(ListTaskInstances$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTaskInstancesCommand extends command(_ep0, _mw0, "ListTaskInstances", ListTaskInstances$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListWorkflowRuns$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListWorkflowRunsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "ListWorkflowRuns", {})
|
|
13
|
-
.n("MWAAServerlessClient", "ListWorkflowRunsCommand")
|
|
14
|
-
.sc(ListWorkflowRuns$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListWorkflowRunsCommand extends command(_ep0, _mw0, "ListWorkflowRuns", ListWorkflowRuns$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListWorkflowVersions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListWorkflowVersionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "ListWorkflowVersions", {})
|
|
13
|
-
.n("MWAAServerlessClient", "ListWorkflowVersionsCommand")
|
|
14
|
-
.sc(ListWorkflowVersions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListWorkflowVersionsCommand extends command(_ep0, _mw0, "ListWorkflowVersions", ListWorkflowVersions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListWorkflows$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListWorkflowsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "ListWorkflows", {})
|
|
13
|
-
.n("MWAAServerlessClient", "ListWorkflowsCommand")
|
|
14
|
-
.sc(ListWorkflows$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListWorkflowsCommand extends command(_ep0, _mw0, "ListWorkflows", ListWorkflows$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartWorkflowRun$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartWorkflowRunCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "StartWorkflowRun", {})
|
|
13
|
-
.n("MWAAServerlessClient", "StartWorkflowRunCommand")
|
|
14
|
-
.sc(StartWorkflowRun$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartWorkflowRunCommand extends command(_ep0, _mw0, "StartWorkflowRun", StartWorkflowRun$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StopWorkflowRun$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StopWorkflowRunCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "StopWorkflowRun", {})
|
|
13
|
-
.n("MWAAServerlessClient", "StopWorkflowRunCommand")
|
|
14
|
-
.sc(StopWorkflowRun$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StopWorkflowRunCommand extends command(_ep0, _mw0, "StopWorkflowRun", StopWorkflowRun$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "TagResource", {})
|
|
13
|
-
.n("MWAAServerlessClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "UntagResource", {})
|
|
13
|
-
.n("MWAAServerlessClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateWorkflow$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateWorkflowCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonMWAAServerless", "UpdateWorkflow", {})
|
|
13
|
-
.n("MWAAServerlessClient", "UpdateWorkflowCommand")
|
|
14
|
-
.sc(UpdateWorkflow$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateWorkflowCommand extends command(_ep0, _mw0, "UpdateWorkflow", UpdateWorkflow$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./MWAAServerlessClient";
|
|
2
2
|
export * from "./MWAAServerless";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./MWAAServerlessClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateWorkflowRequest, CreateWorkflowResponse } from "../models/models_0";
|
|
4
|
-
import type { MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAServerlessClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateWorkflowCommandInput extends CreateWorkflowRequest {
|
|
|
22
19
|
export interface CreateWorkflowCommandOutput extends CreateWorkflowResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateWorkflowCommand_base: {
|
|
25
|
-
new (input: CreateWorkflowCommandInput): import("@smithy/core/client").CommandImpl<CreateWorkflowCommandInput, CreateWorkflowCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateWorkflowCommandInput): import("@smithy/core/client").CommandImpl<CreateWorkflowCommandInput, CreateWorkflowCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateWorkflowCommandInput): import("@smithy/core/client").CommandImpl<CreateWorkflowCommandInput, CreateWorkflowCommandOutput, import("..").MWAAServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateWorkflowCommandInput): import("@smithy/core/client").CommandImpl<CreateWorkflowCommandInput, CreateWorkflowCommandOutput, import("..").MWAAServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a new workflow in Amazon Managed Workflows for Apache Airflow Serverless. This operation initializes a workflow with the specified configuration including the workflow definition, execution role, and optional settings for encryption, logging, and networking. You must provide the workflow definition as a YAML file stored in Amazon S3 that defines the DAG structure using supported Amazon Web Services operators. Amazon Managed Workflows for Apache Airflow Serverless automatically creates the first version of the workflow and sets up the necessary execution environment with multi-tenant isolation and security controls.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { DeleteWorkflowRequest, DeleteWorkflowResponse } from "../models/models_0";
|
|
4
|
-
import type { MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAServerlessClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteWorkflowCommandInput extends DeleteWorkflowRequest {
|
|
|
22
19
|
export interface DeleteWorkflowCommandOutput extends DeleteWorkflowResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteWorkflowCommand_base: {
|
|
25
|
-
new (input: DeleteWorkflowCommandInput): import("@smithy/core/client").CommandImpl<DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteWorkflowCommandInput): import("@smithy/core/client").CommandImpl<DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput, MWAAServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteWorkflowCommandInput): import("@smithy/core/client").CommandImpl<DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput, import("..").MWAAServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteWorkflowCommandInput): import("@smithy/core/client").CommandImpl<DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput, import("..").MWAAServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Deletes a workflow and all its versions. This operation permanently removes the workflow and cannot be undone. Amazon Managed Workflows for Apache Airflow Serverless ensures that all associated resources are properly cleaned up, including stopping any running executions, removing scheduled triggers, and cleaning up execution history. The deletion process respects the multi-tenant isolation boundaries and ensures that no residual data or configurations remain that could affect other customers or workflows.</p>
|