@aws-sdk/client-mwaa-serverless 3.986.0 → 3.988.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MWAAServerlessServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class MWAAServerlessServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, MWAAServerlessServiceException.prototype);
10
+ }
11
+ }
12
+ exports.MWAAServerlessServiceException = MWAAServerlessServiceException;
@@ -0,0 +1,156 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServiceQuotaExceededException = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.OperationTimeoutException = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
+ const MWAAServerlessServiceException_1 = require("./MWAAServerlessServiceException");
5
+ class AccessDeniedException extends MWAAServerlessServiceException_1.MWAAServerlessServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "AccessDeniedException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.AccessDeniedException = AccessDeniedException;
20
+ class InternalServerException extends MWAAServerlessServiceException_1.MWAAServerlessServiceException {
21
+ name = "InternalServerException";
22
+ $fault = "server";
23
+ $retryable = {};
24
+ Message;
25
+ RetryAfterSeconds;
26
+ constructor(opts) {
27
+ super({
28
+ name: "InternalServerException",
29
+ $fault: "server",
30
+ ...opts,
31
+ });
32
+ Object.setPrototypeOf(this, InternalServerException.prototype);
33
+ this.Message = opts.Message;
34
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
35
+ }
36
+ }
37
+ exports.InternalServerException = InternalServerException;
38
+ class OperationTimeoutException extends MWAAServerlessServiceException_1.MWAAServerlessServiceException {
39
+ name = "OperationTimeoutException";
40
+ $fault = "server";
41
+ Message;
42
+ constructor(opts) {
43
+ super({
44
+ name: "OperationTimeoutException",
45
+ $fault: "server",
46
+ ...opts,
47
+ });
48
+ Object.setPrototypeOf(this, OperationTimeoutException.prototype);
49
+ this.Message = opts.Message;
50
+ }
51
+ }
52
+ exports.OperationTimeoutException = OperationTimeoutException;
53
+ class ResourceNotFoundException extends MWAAServerlessServiceException_1.MWAAServerlessServiceException {
54
+ name = "ResourceNotFoundException";
55
+ $fault = "client";
56
+ Message;
57
+ ResourceId;
58
+ ResourceType;
59
+ constructor(opts) {
60
+ super({
61
+ name: "ResourceNotFoundException",
62
+ $fault: "client",
63
+ ...opts,
64
+ });
65
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
66
+ this.Message = opts.Message;
67
+ this.ResourceId = opts.ResourceId;
68
+ this.ResourceType = opts.ResourceType;
69
+ }
70
+ }
71
+ exports.ResourceNotFoundException = ResourceNotFoundException;
72
+ class ThrottlingException extends MWAAServerlessServiceException_1.MWAAServerlessServiceException {
73
+ name = "ThrottlingException";
74
+ $fault = "client";
75
+ $retryable = {
76
+ throttling: true,
77
+ };
78
+ Message;
79
+ ServiceCode;
80
+ QuotaCode;
81
+ RetryAfterSeconds;
82
+ constructor(opts) {
83
+ super({
84
+ name: "ThrottlingException",
85
+ $fault: "client",
86
+ ...opts,
87
+ });
88
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
89
+ this.Message = opts.Message;
90
+ this.ServiceCode = opts.ServiceCode;
91
+ this.QuotaCode = opts.QuotaCode;
92
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
93
+ }
94
+ }
95
+ exports.ThrottlingException = ThrottlingException;
96
+ class ValidationException extends MWAAServerlessServiceException_1.MWAAServerlessServiceException {
97
+ name = "ValidationException";
98
+ $fault = "client";
99
+ Message;
100
+ Reason;
101
+ FieldList;
102
+ constructor(opts) {
103
+ super({
104
+ name: "ValidationException",
105
+ $fault: "client",
106
+ ...opts,
107
+ });
108
+ Object.setPrototypeOf(this, ValidationException.prototype);
109
+ this.Message = opts.Message;
110
+ this.Reason = opts.Reason;
111
+ this.FieldList = opts.FieldList;
112
+ }
113
+ }
114
+ exports.ValidationException = ValidationException;
115
+ class ConflictException extends MWAAServerlessServiceException_1.MWAAServerlessServiceException {
116
+ name = "ConflictException";
117
+ $fault = "client";
118
+ Message;
119
+ ResourceId;
120
+ ResourceType;
121
+ constructor(opts) {
122
+ super({
123
+ name: "ConflictException",
124
+ $fault: "client",
125
+ ...opts,
126
+ });
127
+ Object.setPrototypeOf(this, ConflictException.prototype);
128
+ this.Message = opts.Message;
129
+ this.ResourceId = opts.ResourceId;
130
+ this.ResourceType = opts.ResourceType;
131
+ }
132
+ }
133
+ exports.ConflictException = ConflictException;
134
+ class ServiceQuotaExceededException extends MWAAServerlessServiceException_1.MWAAServerlessServiceException {
135
+ name = "ServiceQuotaExceededException";
136
+ $fault = "client";
137
+ Message;
138
+ ResourceId;
139
+ ResourceType;
140
+ ServiceCode;
141
+ QuotaCode;
142
+ constructor(opts) {
143
+ super({
144
+ name: "ServiceQuotaExceededException",
145
+ $fault: "client",
146
+ ...opts,
147
+ });
148
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
149
+ this.Message = opts.Message;
150
+ this.ResourceId = opts.ResourceId;
151
+ this.ResourceType = opts.ResourceType;
152
+ this.ServiceCode = opts.ServiceCode;
153
+ this.QuotaCode = opts.QuotaCode;
154
+ }
155
+ }
156
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2024-07-26",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.mwaaserverless",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2024-07-26",
33
35
  serviceTarget: "AmazonMWAAServerless",
34
36
  },
@@ -0,0 +1,489 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WorkflowRunSummary$ = exports.WorkflowRunDetail$ = exports.ValidationExceptionField$ = exports.UpdateWorkflowResponse$ = exports.UpdateWorkflowRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TaskInstanceSummary$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.StopWorkflowRunResponse$ = exports.StopWorkflowRunRequest$ = exports.StartWorkflowRunResponse$ = exports.StartWorkflowRunRequest$ = exports.ScheduleConfiguration$ = exports.RunDetailSummary$ = exports.NetworkConfiguration$ = exports.LoggingConfiguration$ = exports.ListWorkflowVersionsResponse$ = exports.ListWorkflowVersionsRequest$ = exports.ListWorkflowsResponse$ = exports.ListWorkflowsRequest$ = exports.ListWorkflowRunsResponse$ = exports.ListWorkflowRunsRequest$ = exports.ListTaskInstancesResponse$ = exports.ListTaskInstancesRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.GetWorkflowRunResponse$ = exports.GetWorkflowRunRequest$ = exports.GetWorkflowResponse$ = exports.GetWorkflowRequest$ = exports.GetTaskInstanceResponse$ = exports.GetTaskInstanceRequest$ = exports.EncryptionConfiguration$ = exports.DeleteWorkflowResponse$ = exports.DeleteWorkflowRequest$ = exports.DefinitionS3Location$ = exports.CreateWorkflowResponse$ = exports.CreateWorkflowRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.OperationTimeoutException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.MWAAServerlessServiceException$ = void 0;
4
+ exports.UpdateWorkflow$ = exports.UntagResource$ = exports.TagResource$ = exports.StopWorkflowRun$ = exports.StartWorkflowRun$ = exports.ListWorkflowVersions$ = exports.ListWorkflows$ = exports.ListWorkflowRuns$ = exports.ListTaskInstances$ = exports.ListTagsForResource$ = exports.GetWorkflowRun$ = exports.GetWorkflow$ = exports.GetTaskInstance$ = exports.DeleteWorkflow$ = exports.CreateWorkflow$ = exports.WorkflowVersionSummary$ = exports.WorkflowSummary$ = void 0;
5
+ const _ADE = "AccessDeniedException";
6
+ const _AN = "AttemptNumber";
7
+ const _B = "Bucket";
8
+ const _CA = "CreatedAt";
9
+ const _CE = "ConflictException";
10
+ const _CEr = "CronExpression";
11
+ const _CO = "CreatedOn";
12
+ const _COo = "CompletedOn";
13
+ const _CT = "ClientToken";
14
+ const _CW = "CreateWorkflow";
15
+ const _CWR = "CreateWorkflowRequest";
16
+ const _CWRr = "CreateWorkflowResponse";
17
+ const _D = "Description";
18
+ const _DIS = "DurationInSeconds";
19
+ const _DSL = "DefinitionS3Location";
20
+ const _DW = "DeleteWorkflow";
21
+ const _DWR = "DeleteWorkflowRequest";
22
+ const _DWRe = "DeleteWorkflowResponse";
23
+ const _Du = "Duration";
24
+ const _EA = "EndedAt";
25
+ const _EC = "EncryptionConfiguration";
26
+ const _EM = "ErrorMessage";
27
+ const _EV = "EngineVersion";
28
+ const _FL = "FieldList";
29
+ const _GTI = "GetTaskInstance";
30
+ const _GTIR = "GetTaskInstanceRequest";
31
+ const _GTIRe = "GetTaskInstanceResponse";
32
+ const _GW = "GetWorkflow";
33
+ const _GWR = "GetWorkflowRequest";
34
+ const _GWRR = "GetWorkflowRunRequest";
35
+ const _GWRRe = "GetWorkflowRunResponse";
36
+ const _GWRe = "GetWorkflowResponse";
37
+ const _GWRet = "GetWorkflowRun";
38
+ const _ILV = "IsLatestVersion";
39
+ const _ISE = "InternalServerException";
40
+ const _KKI = "KmsKeyId";
41
+ const _LC = "LoggingConfiguration";
42
+ const _LGN = "LogGroupName";
43
+ const _LS = "LogStream";
44
+ const _LTFR = "ListTagsForResource";
45
+ const _LTFRR = "ListTagsForResourceRequest";
46
+ const _LTFRRi = "ListTagsForResourceResponse";
47
+ const _LTI = "ListTaskInstances";
48
+ const _LTIR = "ListTaskInstancesRequest";
49
+ const _LTIRi = "ListTaskInstancesResponse";
50
+ const _LW = "ListWorkflows";
51
+ const _LWR = "ListWorkflowsRequest";
52
+ const _LWRR = "ListWorkflowRunsRequest";
53
+ const _LWRRi = "ListWorkflowRunsResponse";
54
+ const _LWRi = "ListWorkflowsResponse";
55
+ const _LWRis = "ListWorkflowRuns";
56
+ const _LWV = "ListWorkflowVersions";
57
+ const _LWVR = "ListWorkflowVersionsRequest";
58
+ const _LWVRi = "ListWorkflowVersionsResponse";
59
+ const _M = "Message";
60
+ const _MA = "ModifiedAt";
61
+ const _MR = "MaxResults";
62
+ const _N = "Name";
63
+ const _NC = "NetworkConfiguration";
64
+ const _NT = "NextToken";
65
+ const _OK = "ObjectKey";
66
+ const _OM = "ObjectMap";
67
+ const _ON = "OperatorName";
68
+ const _OP = "OverrideParameters";
69
+ const _OTE = "OperationTimeoutException";
70
+ const _QC = "QuotaCode";
71
+ const _R = "Reason";
72
+ const _RA = "Retry-After";
73
+ const _RAS = "RetryAfterSeconds";
74
+ const _RAe = "ResourceArn";
75
+ const _RAo = "RoleArn";
76
+ const _RD = "RunDetail";
77
+ const _RDS = "RunDetailSummary";
78
+ const _RI = "ResourceId";
79
+ const _RIe = "RevisionId";
80
+ const _RIu = "RunId";
81
+ const _RNFE = "ResourceNotFoundException";
82
+ const _RS = "RunState";
83
+ const _RT = "ResourceType";
84
+ const _RTu = "RunType";
85
+ const _S = "Status";
86
+ const _SA = "StartedAt";
87
+ const _SC = "ServiceCode";
88
+ const _SCc = "ScheduleConfiguration";
89
+ const _SGI = "SecurityGroupIds";
90
+ const _SI = "SubnetIds";
91
+ const _SO = "StartedOn";
92
+ const _SQEE = "ServiceQuotaExceededException";
93
+ const _SWR = "StartWorkflowRun";
94
+ const _SWRR = "StartWorkflowRunRequest";
95
+ const _SWRRt = "StartWorkflowRunResponse";
96
+ const _SWRRto = "StopWorkflowRunRequest";
97
+ const _SWRRtop = "StopWorkflowRunResponse";
98
+ const _SWRt = "StopWorkflowRun";
99
+ const _T = "Tags";
100
+ const _TE = "ThrottlingException";
101
+ const _TI = "TaskId";
102
+ const _TII = "TaskInstanceId";
103
+ const _TIS = "TaskInstanceSummary";
104
+ const _TISa = "TaskInstanceSummaries";
105
+ const _TIa = "TaskInstances";
106
+ const _TK = "TagKeys";
107
+ const _TM = "TriggerMode";
108
+ const _TR = "TagResource";
109
+ const _TRR = "TagResourceRequest";
110
+ const _TRRa = "TagResourceResponse";
111
+ const _Ty = "Type";
112
+ const _UR = "UntagResource";
113
+ const _URR = "UntagResourceRequest";
114
+ const _URRn = "UntagResourceResponse";
115
+ const _UW = "UpdateWorkflow";
116
+ const _UWR = "UpdateWorkflowRequest";
117
+ const _UWRp = "UpdateWorkflowResponse";
118
+ const _VE = "ValidationException";
119
+ const _VEF = "ValidationExceptionField";
120
+ const _VEFa = "ValidationExceptionFields";
121
+ const _VI = "VersionId";
122
+ const _W = "Warnings";
123
+ const _WA = "WorkflowArn";
124
+ const _WD = "WorkflowDefinition";
125
+ const _WR = "WorkflowRuns";
126
+ const _WRD = "WorkflowRunDetail";
127
+ const _WRS = "WorkflowRunSummary";
128
+ const _WRSo = "WorkflowRunSummaries";
129
+ const _WS = "WorkflowStatus";
130
+ const _WSo = "WorkflowSummary";
131
+ const _WSor = "WorkflowSummaries";
132
+ const _WV = "WorkflowVersion";
133
+ const _WVS = "WorkflowVersionSummary";
134
+ const _WVSo = "WorkflowVersionSummaries";
135
+ const _WVo = "WorkflowVersions";
136
+ const _Wo = "Workflows";
137
+ const _X = "Xcom";
138
+ const _c = "client";
139
+ const _e = "error";
140
+ const _h = "http";
141
+ const _hE = "httpError";
142
+ const _hH = "httpHeader";
143
+ const _hQ = "httpQuery";
144
+ const _mR = "maxResults";
145
+ const _nT = "nextToken";
146
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.mwaaserverless";
147
+ const _se = "server";
148
+ const _tK = "tagKeys";
149
+ const _wV = "workflowVersion";
150
+ const n0 = "com.amazonaws.mwaaserverless";
151
+ const schema_1 = require("@smithy/core/schema");
152
+ const errors_1 = require("../models/errors");
153
+ const MWAAServerlessServiceException_1 = require("../models/MWAAServerlessServiceException");
154
+ const _s_registry = schema_1.TypeRegistry.for(_s);
155
+ exports.MWAAServerlessServiceException$ = [-3, _s, "MWAAServerlessServiceException", 0, [], []];
156
+ _s_registry.registerError(exports.MWAAServerlessServiceException$, MWAAServerlessServiceException_1.MWAAServerlessServiceException);
157
+ const n0_registry = schema_1.TypeRegistry.for(n0);
158
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
159
+ { [_e]: _c, [_hE]: 403 },
160
+ [_M],
161
+ [0], 1
162
+ ];
163
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
164
+ exports.ConflictException$ = [-3, n0, _CE,
165
+ { [_e]: _c, [_hE]: 409 },
166
+ [_M, _RI, _RT],
167
+ [0, 0, 0], 3
168
+ ];
169
+ n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
170
+ exports.InternalServerException$ = [-3, n0, _ISE,
171
+ { [_e]: _se, [_hE]: 500 },
172
+ [_M, _RAS],
173
+ [0, [1, { [_hH]: _RA }]], 1
174
+ ];
175
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
176
+ exports.OperationTimeoutException$ = [-3, n0, _OTE,
177
+ { [_e]: _se, [_hE]: 504 },
178
+ [_M],
179
+ [0]
180
+ ];
181
+ n0_registry.registerError(exports.OperationTimeoutException$, errors_1.OperationTimeoutException);
182
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
183
+ { [_e]: _c, [_hE]: 404 },
184
+ [_M, _RI, _RT],
185
+ [0, 0, 0], 3
186
+ ];
187
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
188
+ exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
189
+ { [_e]: _c, [_hE]: 402 },
190
+ [_M, _RI, _RT, _SC, _QC],
191
+ [0, 0, 0, 0, 0], 5
192
+ ];
193
+ n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
194
+ exports.ThrottlingException$ = [-3, n0, _TE,
195
+ { [_e]: _c, [_hE]: 429 },
196
+ [_M, _SC, _QC, _RAS],
197
+ [0, 0, 0, [1, { [_hH]: _RA }]], 3
198
+ ];
199
+ n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
200
+ exports.ValidationException$ = [-3, n0, _VE,
201
+ { [_e]: _c, [_hE]: 400 },
202
+ [_M, _R, _FL],
203
+ [0, 0, () => ValidationExceptionFields], 2
204
+ ];
205
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
206
+ exports.errorTypeRegistries = [
207
+ _s_registry,
208
+ n0_registry,
209
+ ];
210
+ exports.CreateWorkflowRequest$ = [3, n0, _CWR,
211
+ 0,
212
+ [_N, _DSL, _RAo, _CT, _D, _EC, _LC, _EV, _NC, _T, _TM],
213
+ [0, () => exports.DefinitionS3Location$, 0, [0, 4], 0, () => exports.EncryptionConfiguration$, () => exports.LoggingConfiguration$, 1, () => exports.NetworkConfiguration$, 128 | 0, 0], 3
214
+ ];
215
+ exports.CreateWorkflowResponse$ = [3, n0, _CWRr,
216
+ 0,
217
+ [_WA, _CA, _RIe, _WS, _WV, _ILV, _W],
218
+ [0, 5, 0, 0, 0, 2, 64 | 0], 1
219
+ ];
220
+ exports.DefinitionS3Location$ = [3, n0, _DSL,
221
+ 0,
222
+ [_B, _OK, _VI],
223
+ [0, 0, 0], 2
224
+ ];
225
+ exports.DeleteWorkflowRequest$ = [3, n0, _DWR,
226
+ 0,
227
+ [_WA, _WV],
228
+ [[0, 1], [0, { [_hQ]: _wV }]], 1
229
+ ];
230
+ exports.DeleteWorkflowResponse$ = [3, n0, _DWRe,
231
+ 0,
232
+ [_WA, _WV],
233
+ [0, 0], 1
234
+ ];
235
+ exports.EncryptionConfiguration$ = [3, n0, _EC,
236
+ 0,
237
+ [_Ty, _KKI],
238
+ [0, 0], 1
239
+ ];
240
+ exports.GetTaskInstanceRequest$ = [3, n0, _GTIR,
241
+ 0,
242
+ [_WA, _TII, _RIu],
243
+ [[0, 1], [0, 1], [0, 1]], 3
244
+ ];
245
+ exports.GetTaskInstanceResponse$ = [3, n0, _GTIRe,
246
+ 0,
247
+ [_WA, _RIu, _TII, _WV, _S, _DIS, _ON, _MA, _EA, _SA, _AN, _EM, _TI, _LS, _X],
248
+ [0, 0, 0, 0, 0, 1, 0, 5, 5, 5, 1, 0, 0, 0, 128 | 0], 3
249
+ ];
250
+ exports.GetWorkflowRequest$ = [3, n0, _GWR,
251
+ 0,
252
+ [_WA, _WV],
253
+ [[0, 1], [0, { [_hQ]: _wV }]], 1
254
+ ];
255
+ exports.GetWorkflowResponse$ = [3, n0, _GWRe,
256
+ 0,
257
+ [_WA, _WV, _N, _D, _CA, _MA, _EC, _LC, _EV, _WS, _DSL, _SCc, _RAo, _NC, _TM, _WD],
258
+ [0, 0, 0, 0, 5, 5, () => exports.EncryptionConfiguration$, () => exports.LoggingConfiguration$, 1, 0, () => exports.DefinitionS3Location$, () => exports.ScheduleConfiguration$, 0, () => exports.NetworkConfiguration$, 0, 0], 1
259
+ ];
260
+ exports.GetWorkflowRunRequest$ = [3, n0, _GWRR,
261
+ 0,
262
+ [_WA, _RIu],
263
+ [[0, 1], [0, 1]], 2
264
+ ];
265
+ exports.GetWorkflowRunResponse$ = [3, n0, _GWRRe,
266
+ 0,
267
+ [_WA, _WV, _RIu, _RTu, _OP, _RD],
268
+ [0, 0, 0, 0, [() => ObjectMap, 0], () => exports.WorkflowRunDetail$]
269
+ ];
270
+ exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
271
+ 0,
272
+ [_RAe],
273
+ [[0, 1]], 1
274
+ ];
275
+ exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
276
+ 0,
277
+ [_T],
278
+ [128 | 0]
279
+ ];
280
+ exports.ListTaskInstancesRequest$ = [3, n0, _LTIR,
281
+ 0,
282
+ [_WA, _RIu, _MR, _NT],
283
+ [[0, 1], [0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 2
284
+ ];
285
+ exports.ListTaskInstancesResponse$ = [3, n0, _LTIRi,
286
+ 0,
287
+ [_TIa, _NT],
288
+ [() => TaskInstanceSummaries, 0]
289
+ ];
290
+ exports.ListWorkflowRunsRequest$ = [3, n0, _LWRR,
291
+ 0,
292
+ [_WA, _MR, _NT, _WV],
293
+ [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _wV }]], 1
294
+ ];
295
+ exports.ListWorkflowRunsResponse$ = [3, n0, _LWRRi,
296
+ 0,
297
+ [_WR, _NT],
298
+ [() => WorkflowRunSummaries, 0]
299
+ ];
300
+ exports.ListWorkflowsRequest$ = [3, n0, _LWR,
301
+ 0,
302
+ [_MR, _NT],
303
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
304
+ ];
305
+ exports.ListWorkflowsResponse$ = [3, n0, _LWRi,
306
+ 0,
307
+ [_Wo, _NT],
308
+ [() => WorkflowSummaries, 0], 1
309
+ ];
310
+ exports.ListWorkflowVersionsRequest$ = [3, n0, _LWVR,
311
+ 0,
312
+ [_WA, _MR, _NT],
313
+ [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
314
+ ];
315
+ exports.ListWorkflowVersionsResponse$ = [3, n0, _LWVRi,
316
+ 0,
317
+ [_WVo, _NT],
318
+ [() => WorkflowVersionSummaries, 0]
319
+ ];
320
+ exports.LoggingConfiguration$ = [3, n0, _LC,
321
+ 0,
322
+ [_LGN],
323
+ [0], 1
324
+ ];
325
+ exports.NetworkConfiguration$ = [3, n0, _NC,
326
+ 0,
327
+ [_SGI, _SI],
328
+ [64 | 0, 64 | 0]
329
+ ];
330
+ exports.RunDetailSummary$ = [3, n0, _RDS,
331
+ 0,
332
+ [_S, _CO, _SA, _EA],
333
+ [0, 5, 5, 5]
334
+ ];
335
+ exports.ScheduleConfiguration$ = [3, n0, _SCc,
336
+ 0,
337
+ [_CEr],
338
+ [0]
339
+ ];
340
+ exports.StartWorkflowRunRequest$ = [3, n0, _SWRR,
341
+ 0,
342
+ [_WA, _CT, _OP, _WV],
343
+ [[0, 1], [0, 4], [() => ObjectMap, 0], 0], 1
344
+ ];
345
+ exports.StartWorkflowRunResponse$ = [3, n0, _SWRRt,
346
+ 0,
347
+ [_RIu, _S, _SA],
348
+ [0, 0, 5]
349
+ ];
350
+ exports.StopWorkflowRunRequest$ = [3, n0, _SWRRto,
351
+ 0,
352
+ [_WA, _RIu],
353
+ [[0, 1], [0, 1]], 2
354
+ ];
355
+ exports.StopWorkflowRunResponse$ = [3, n0, _SWRRtop,
356
+ 0,
357
+ [_WA, _WV, _RIu, _S],
358
+ [0, 0, 0, 0]
359
+ ];
360
+ exports.TagResourceRequest$ = [3, n0, _TRR,
361
+ 0,
362
+ [_RAe, _T],
363
+ [[0, 1], 128 | 0], 2
364
+ ];
365
+ exports.TagResourceResponse$ = [3, n0, _TRRa,
366
+ 0,
367
+ [],
368
+ []
369
+ ];
370
+ exports.TaskInstanceSummary$ = [3, n0, _TIS,
371
+ 0,
372
+ [_WA, _WV, _RIu, _TII, _S, _DIS, _ON],
373
+ [0, 0, 0, 0, 0, 1, 0]
374
+ ];
375
+ exports.UntagResourceRequest$ = [3, n0, _URR,
376
+ 0,
377
+ [_RAe, _TK],
378
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
379
+ ];
380
+ exports.UntagResourceResponse$ = [3, n0, _URRn,
381
+ 0,
382
+ [],
383
+ []
384
+ ];
385
+ exports.UpdateWorkflowRequest$ = [3, n0, _UWR,
386
+ 0,
387
+ [_WA, _DSL, _RAo, _D, _LC, _EV, _NC, _TM],
388
+ [[0, 1], () => exports.DefinitionS3Location$, 0, 0, () => exports.LoggingConfiguration$, 1, () => exports.NetworkConfiguration$, 0], 3
389
+ ];
390
+ exports.UpdateWorkflowResponse$ = [3, n0, _UWRp,
391
+ 0,
392
+ [_WA, _MA, _WV, _W],
393
+ [0, 5, 0, 64 | 0], 1
394
+ ];
395
+ exports.ValidationExceptionField$ = [3, n0, _VEF,
396
+ 0,
397
+ [_N, _M],
398
+ [0, 0], 2
399
+ ];
400
+ exports.WorkflowRunDetail$ = [3, n0, _WRD,
401
+ 0,
402
+ [_WA, _WV, _RIu, _RTu, _SO, _CA, _COo, _MA, _Du, _EM, _TIa, _RS],
403
+ [0, 0, 0, 0, 5, 5, 5, 5, 1, 0, 64 | 0, 0]
404
+ ];
405
+ exports.WorkflowRunSummary$ = [3, n0, _WRS,
406
+ 0,
407
+ [_RIu, _WA, _WV, _RTu, _RDS],
408
+ [0, 0, 0, 0, () => exports.RunDetailSummary$]
409
+ ];
410
+ exports.WorkflowSummary$ = [3, n0, _WSo,
411
+ 0,
412
+ [_WA, _WV, _N, _D, _CA, _MA, _WS, _TM],
413
+ [0, 0, 0, 0, 5, 5, 0, 0], 1
414
+ ];
415
+ exports.WorkflowVersionSummary$ = [3, n0, _WVS,
416
+ 0,
417
+ [_WV, _WA, _ILV, _CA, _MA, _DSL, _SCc, _TM],
418
+ [0, 0, 2, 5, 5, () => exports.DefinitionS3Location$, () => exports.ScheduleConfiguration$, 0], 2
419
+ ];
420
+ var SecurityGroupIds = 64 | 0;
421
+ var SubnetIds = 64 | 0;
422
+ var TagKeys = 64 | 0;
423
+ var TaskInstanceIds = 64 | 0;
424
+ var TaskInstanceSummaries = [1, n0, _TISa,
425
+ 0, () => exports.TaskInstanceSummary$
426
+ ];
427
+ var ValidationExceptionFields = [1, n0, _VEFa,
428
+ 0, () => exports.ValidationExceptionField$
429
+ ];
430
+ var WarningMessages = 64 | 0;
431
+ var WorkflowRunSummaries = [1, n0, _WRSo,
432
+ 0, () => exports.WorkflowRunSummary$
433
+ ];
434
+ var WorkflowSummaries = [1, n0, _WSor,
435
+ 0, () => exports.WorkflowSummary$
436
+ ];
437
+ var WorkflowVersionSummaries = [1, n0, _WVSo,
438
+ 0, () => exports.WorkflowVersionSummary$
439
+ ];
440
+ var GenericMap = 128 | 0;
441
+ var ObjectMap = [2, n0, _OM,
442
+ 8, 0, 15
443
+ ];
444
+ var Tags = 128 | 0;
445
+ exports.CreateWorkflow$ = [9, n0, _CW,
446
+ { [_h]: ["POST", "/workflows", 200] }, () => exports.CreateWorkflowRequest$, () => exports.CreateWorkflowResponse$
447
+ ];
448
+ exports.DeleteWorkflow$ = [9, n0, _DW,
449
+ { [_h]: ["DELETE", "/workflows/{WorkflowArn}", 200] }, () => exports.DeleteWorkflowRequest$, () => exports.DeleteWorkflowResponse$
450
+ ];
451
+ exports.GetTaskInstance$ = [9, n0, _GTI,
452
+ { [_h]: ["GET", "/workflows/{WorkflowArn}/runs/{RunId}/tasks/{TaskInstanceId}", 200] }, () => exports.GetTaskInstanceRequest$, () => exports.GetTaskInstanceResponse$
453
+ ];
454
+ exports.GetWorkflow$ = [9, n0, _GW,
455
+ { [_h]: ["GET", "/workflows/{WorkflowArn}", 200] }, () => exports.GetWorkflowRequest$, () => exports.GetWorkflowResponse$
456
+ ];
457
+ exports.GetWorkflowRun$ = [9, n0, _GWRet,
458
+ { [_h]: ["GET", "/workflows/{WorkflowArn}/runs/{RunId}", 200] }, () => exports.GetWorkflowRunRequest$, () => exports.GetWorkflowRunResponse$
459
+ ];
460
+ exports.ListTagsForResource$ = [9, n0, _LTFR,
461
+ { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
462
+ ];
463
+ exports.ListTaskInstances$ = [9, n0, _LTI,
464
+ { [_h]: ["GET", "/workflows/{WorkflowArn}/runs/{RunId}/tasks", 200] }, () => exports.ListTaskInstancesRequest$, () => exports.ListTaskInstancesResponse$
465
+ ];
466
+ exports.ListWorkflowRuns$ = [9, n0, _LWRis,
467
+ { [_h]: ["GET", "/workflows/{WorkflowArn}/runs", 200] }, () => exports.ListWorkflowRunsRequest$, () => exports.ListWorkflowRunsResponse$
468
+ ];
469
+ exports.ListWorkflows$ = [9, n0, _LW,
470
+ { [_h]: ["GET", "/workflows", 200] }, () => exports.ListWorkflowsRequest$, () => exports.ListWorkflowsResponse$
471
+ ];
472
+ exports.ListWorkflowVersions$ = [9, n0, _LWV,
473
+ { [_h]: ["GET", "/workflows/{WorkflowArn}/versions", 200] }, () => exports.ListWorkflowVersionsRequest$, () => exports.ListWorkflowVersionsResponse$
474
+ ];
475
+ exports.StartWorkflowRun$ = [9, n0, _SWR,
476
+ { [_h]: ["POST", "/workflows/{WorkflowArn}/runs", 200] }, () => exports.StartWorkflowRunRequest$, () => exports.StartWorkflowRunResponse$
477
+ ];
478
+ exports.StopWorkflowRun$ = [9, n0, _SWRt,
479
+ { [_h]: ["DELETE", "/workflows/{WorkflowArn}/runs/{RunId}", 200] }, () => exports.StopWorkflowRunRequest$, () => exports.StopWorkflowRunResponse$
480
+ ];
481
+ exports.TagResource$ = [9, n0, _TR,
482
+ { [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
483
+ ];
484
+ exports.UntagResource$ = [9, n0, _UR,
485
+ { [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
486
+ ];
487
+ exports.UpdateWorkflow$ = [9, n0, _UW,
488
+ { [_h]: ["PUT", "/workflows/{WorkflowArn}", 200] }, () => exports.UpdateWorkflowRequest$, () => exports.UpdateWorkflowResponse$
489
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultMWAAServerlessHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2024-07-26",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_0Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.mwaaserverless",
30
+ errorTypeRegistries,
29
31
  version: "2024-07-26",
30
32
  serviceTarget: "AmazonMWAAServerless",
31
33
  },