@aws-sdk/client-scheduler 3.927.0 → 3.929.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 +641 -611
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/SchedulerClient.js +2 -0
- package/dist-es/commands/CreateScheduleCommand.js +3 -9
- package/dist-es/commands/CreateScheduleGroupCommand.js +3 -9
- package/dist-es/commands/DeleteScheduleCommand.js +3 -9
- package/dist-es/commands/DeleteScheduleGroupCommand.js +3 -9
- package/dist-es/commands/GetScheduleCommand.js +3 -9
- package/dist-es/commands/GetScheduleGroupCommand.js +3 -9
- package/dist-es/commands/ListScheduleGroupsCommand.js +3 -9
- package/dist-es/commands/ListSchedulesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateScheduleCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +610 -0
- package/dist-types/SchedulerClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +2 -5
- package/dist-types/schemas/schemas_0.d.ts +75 -0
- package/dist-types/ts3.4/SchedulerClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +80 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -518
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -110
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -149
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -92,6 +90,7 @@ class SchedulerClient extends smithyClient.Client {
|
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -111,12 +110,12 @@ class SchedulerClient extends smithyClient.Client {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
class SchedulerServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let SchedulerServiceException$1 = class SchedulerServiceException extends smithyClient.ServiceException {
|
|
115
114
|
constructor(options) {
|
|
116
115
|
super(options);
|
|
117
116
|
Object.setPrototypeOf(this, SchedulerServiceException.prototype);
|
|
118
117
|
}
|
|
119
|
-
}
|
|
118
|
+
};
|
|
120
119
|
|
|
121
120
|
const ActionAfterCompletion = {
|
|
122
121
|
DELETE: "DELETE",
|
|
@@ -126,7 +125,7 @@ const AssignPublicIp = {
|
|
|
126
125
|
DISABLED: "DISABLED",
|
|
127
126
|
ENABLED: "ENABLED",
|
|
128
127
|
};
|
|
129
|
-
class InternalServerException extends SchedulerServiceException {
|
|
128
|
+
let InternalServerException$1 = class InternalServerException extends SchedulerServiceException$1 {
|
|
130
129
|
name = "InternalServerException";
|
|
131
130
|
$fault = "server";
|
|
132
131
|
Message;
|
|
@@ -139,8 +138,8 @@ class InternalServerException extends SchedulerServiceException {
|
|
|
139
138
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
140
139
|
this.Message = opts.Message;
|
|
141
140
|
}
|
|
142
|
-
}
|
|
143
|
-
class ResourceNotFoundException extends SchedulerServiceException {
|
|
141
|
+
};
|
|
142
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends SchedulerServiceException$1 {
|
|
144
143
|
name = "ResourceNotFoundException";
|
|
145
144
|
$fault = "client";
|
|
146
145
|
Message;
|
|
@@ -153,8 +152,8 @@ class ResourceNotFoundException extends SchedulerServiceException {
|
|
|
153
152
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
154
153
|
this.Message = opts.Message;
|
|
155
154
|
}
|
|
156
|
-
}
|
|
157
|
-
class ThrottlingException extends SchedulerServiceException {
|
|
155
|
+
};
|
|
156
|
+
let ThrottlingException$1 = class ThrottlingException extends SchedulerServiceException$1 {
|
|
158
157
|
name = "ThrottlingException";
|
|
159
158
|
$fault = "client";
|
|
160
159
|
Message;
|
|
@@ -167,8 +166,8 @@ class ThrottlingException extends SchedulerServiceException {
|
|
|
167
166
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
168
167
|
this.Message = opts.Message;
|
|
169
168
|
}
|
|
170
|
-
}
|
|
171
|
-
class ValidationException extends SchedulerServiceException {
|
|
169
|
+
};
|
|
170
|
+
let ValidationException$1 = class ValidationException extends SchedulerServiceException$1 {
|
|
172
171
|
name = "ValidationException";
|
|
173
172
|
$fault = "client";
|
|
174
173
|
Message;
|
|
@@ -181,8 +180,8 @@ class ValidationException extends SchedulerServiceException {
|
|
|
181
180
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
182
181
|
this.Message = opts.Message;
|
|
183
182
|
}
|
|
184
|
-
}
|
|
185
|
-
class ConflictException extends SchedulerServiceException {
|
|
183
|
+
};
|
|
184
|
+
let ConflictException$1 = class ConflictException extends SchedulerServiceException$1 {
|
|
186
185
|
name = "ConflictException";
|
|
187
186
|
$fault = "client";
|
|
188
187
|
Message;
|
|
@@ -195,7 +194,7 @@ class ConflictException extends SchedulerServiceException {
|
|
|
195
194
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
196
195
|
this.Message = opts.Message;
|
|
197
196
|
}
|
|
198
|
-
}
|
|
197
|
+
};
|
|
199
198
|
const FlexibleTimeWindowMode = {
|
|
200
199
|
FLEXIBLE: "FLEXIBLE",
|
|
201
200
|
OFF: "OFF",
|
|
@@ -221,7 +220,7 @@ const PlacementStrategyType = {
|
|
|
221
220
|
const PropagateTags = {
|
|
222
221
|
TASK_DEFINITION: "TASK_DEFINITION",
|
|
223
222
|
};
|
|
224
|
-
class ServiceQuotaExceededException extends SchedulerServiceException {
|
|
223
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends SchedulerServiceException$1 {
|
|
225
224
|
name = "ServiceQuotaExceededException";
|
|
226
225
|
$fault = "client";
|
|
227
226
|
Message;
|
|
@@ -234,538 +233,624 @@ class ServiceQuotaExceededException extends SchedulerServiceException {
|
|
|
234
233
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
235
234
|
this.Message = opts.Message;
|
|
236
235
|
}
|
|
237
|
-
}
|
|
236
|
+
};
|
|
238
237
|
const ScheduleGroupState = {
|
|
239
238
|
ACTIVE: "ACTIVE",
|
|
240
239
|
DELETING: "DELETING",
|
|
241
240
|
};
|
|
242
241
|
|
|
243
|
-
const
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
GroupName: [],
|
|
258
|
-
KmsKeyArn: [],
|
|
259
|
-
ScheduleExpression: [],
|
|
260
|
-
ScheduleExpressionTimezone: [],
|
|
261
|
-
StartDate: (_) => _.getTime() / 1_000,
|
|
262
|
-
State: [],
|
|
263
|
-
Target: (_) => smithyClient._json(_),
|
|
264
|
-
}));
|
|
265
|
-
b.m("POST").h(headers).b(body);
|
|
266
|
-
return b.build();
|
|
267
|
-
};
|
|
268
|
-
const se_CreateScheduleGroupCommand = async (input, context) => {
|
|
269
|
-
const b = core.requestBuilder(input, context);
|
|
270
|
-
const headers = {
|
|
271
|
-
"content-type": "application/json",
|
|
272
|
-
};
|
|
273
|
-
b.bp("/schedule-groups/{Name}");
|
|
274
|
-
b.p("Name", () => input.Name, "{Name}", false);
|
|
275
|
-
let body;
|
|
276
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
277
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
278
|
-
Tags: (_) => smithyClient._json(_),
|
|
279
|
-
}));
|
|
280
|
-
b.m("POST").h(headers).b(body);
|
|
281
|
-
return b.build();
|
|
282
|
-
};
|
|
283
|
-
const se_DeleteScheduleCommand = async (input, context) => {
|
|
284
|
-
const b = core.requestBuilder(input, context);
|
|
285
|
-
const headers = {};
|
|
286
|
-
b.bp("/schedules/{Name}");
|
|
287
|
-
b.p("Name", () => input.Name, "{Name}", false);
|
|
288
|
-
const query = smithyClient.map({
|
|
289
|
-
[_gN]: [, input[_GN]],
|
|
290
|
-
[_cT]: [, input[_CT] ?? uuid.v4()],
|
|
291
|
-
});
|
|
292
|
-
let body;
|
|
293
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
294
|
-
return b.build();
|
|
295
|
-
};
|
|
296
|
-
const se_DeleteScheduleGroupCommand = async (input, context) => {
|
|
297
|
-
const b = core.requestBuilder(input, context);
|
|
298
|
-
const headers = {};
|
|
299
|
-
b.bp("/schedule-groups/{Name}");
|
|
300
|
-
b.p("Name", () => input.Name, "{Name}", false);
|
|
301
|
-
const query = smithyClient.map({
|
|
302
|
-
[_cT]: [, input[_CT] ?? uuid.v4()],
|
|
303
|
-
});
|
|
304
|
-
let body;
|
|
305
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
306
|
-
return b.build();
|
|
307
|
-
};
|
|
308
|
-
const se_GetScheduleCommand = async (input, context) => {
|
|
309
|
-
const b = core.requestBuilder(input, context);
|
|
310
|
-
const headers = {};
|
|
311
|
-
b.bp("/schedules/{Name}");
|
|
312
|
-
b.p("Name", () => input.Name, "{Name}", false);
|
|
313
|
-
const query = smithyClient.map({
|
|
314
|
-
[_gN]: [, input[_GN]],
|
|
315
|
-
});
|
|
316
|
-
let body;
|
|
317
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
318
|
-
return b.build();
|
|
319
|
-
};
|
|
320
|
-
const se_GetScheduleGroupCommand = async (input, context) => {
|
|
321
|
-
const b = core.requestBuilder(input, context);
|
|
322
|
-
const headers = {};
|
|
323
|
-
b.bp("/schedule-groups/{Name}");
|
|
324
|
-
b.p("Name", () => input.Name, "{Name}", false);
|
|
325
|
-
let body;
|
|
326
|
-
b.m("GET").h(headers).b(body);
|
|
327
|
-
return b.build();
|
|
328
|
-
};
|
|
329
|
-
const se_ListScheduleGroupsCommand = async (input, context) => {
|
|
330
|
-
const b = core.requestBuilder(input, context);
|
|
331
|
-
const headers = {};
|
|
332
|
-
b.bp("/schedule-groups");
|
|
333
|
-
const query = smithyClient.map({
|
|
334
|
-
[_NP]: [, input[_NP]],
|
|
335
|
-
[_NT]: [, input[_NT]],
|
|
336
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
337
|
-
});
|
|
338
|
-
let body;
|
|
339
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
340
|
-
return b.build();
|
|
341
|
-
};
|
|
342
|
-
const se_ListSchedulesCommand = async (input, context) => {
|
|
343
|
-
const b = core.requestBuilder(input, context);
|
|
344
|
-
const headers = {};
|
|
345
|
-
b.bp("/schedules");
|
|
346
|
-
const query = smithyClient.map({
|
|
347
|
-
[_SG]: [, input[_GN]],
|
|
348
|
-
[_NP]: [, input[_NP]],
|
|
349
|
-
[_S]: [, input[_S]],
|
|
350
|
-
[_NT]: [, input[_NT]],
|
|
351
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
352
|
-
});
|
|
353
|
-
let body;
|
|
354
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
355
|
-
return b.build();
|
|
356
|
-
};
|
|
357
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
358
|
-
const b = core.requestBuilder(input, context);
|
|
359
|
-
const headers = {};
|
|
360
|
-
b.bp("/tags/{ResourceArn}");
|
|
361
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
362
|
-
let body;
|
|
363
|
-
b.m("GET").h(headers).b(body);
|
|
364
|
-
return b.build();
|
|
365
|
-
};
|
|
366
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
367
|
-
const b = core.requestBuilder(input, context);
|
|
368
|
-
const headers = {
|
|
369
|
-
"content-type": "application/json",
|
|
370
|
-
};
|
|
371
|
-
b.bp("/tags/{ResourceArn}");
|
|
372
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
373
|
-
let body;
|
|
374
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
375
|
-
Tags: (_) => smithyClient._json(_),
|
|
376
|
-
}));
|
|
377
|
-
b.m("POST").h(headers).b(body);
|
|
378
|
-
return b.build();
|
|
379
|
-
};
|
|
380
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
381
|
-
const b = core.requestBuilder(input, context);
|
|
382
|
-
const headers = {};
|
|
383
|
-
b.bp("/tags/{ResourceArn}");
|
|
384
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
385
|
-
const query = smithyClient.map({
|
|
386
|
-
[_TK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
387
|
-
});
|
|
388
|
-
let body;
|
|
389
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
390
|
-
return b.build();
|
|
391
|
-
};
|
|
392
|
-
const se_UpdateScheduleCommand = async (input, context) => {
|
|
393
|
-
const b = core.requestBuilder(input, context);
|
|
394
|
-
const headers = {
|
|
395
|
-
"content-type": "application/json",
|
|
396
|
-
};
|
|
397
|
-
b.bp("/schedules/{Name}");
|
|
398
|
-
b.p("Name", () => input.Name, "{Name}", false);
|
|
399
|
-
let body;
|
|
400
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
401
|
-
ActionAfterCompletion: [],
|
|
402
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
403
|
-
Description: [],
|
|
404
|
-
EndDate: (_) => _.getTime() / 1_000,
|
|
405
|
-
FlexibleTimeWindow: (_) => smithyClient._json(_),
|
|
406
|
-
GroupName: [],
|
|
407
|
-
KmsKeyArn: [],
|
|
408
|
-
ScheduleExpression: [],
|
|
409
|
-
ScheduleExpressionTimezone: [],
|
|
410
|
-
StartDate: (_) => _.getTime() / 1_000,
|
|
411
|
-
State: [],
|
|
412
|
-
Target: (_) => smithyClient._json(_),
|
|
413
|
-
}));
|
|
414
|
-
b.m("PUT").h(headers).b(body);
|
|
415
|
-
return b.build();
|
|
416
|
-
};
|
|
417
|
-
const de_CreateScheduleCommand = async (output, context) => {
|
|
418
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
419
|
-
return de_CommandError(output, context);
|
|
420
|
-
}
|
|
421
|
-
const contents = smithyClient.map({
|
|
422
|
-
$metadata: deserializeMetadata(output),
|
|
423
|
-
});
|
|
424
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
425
|
-
const doc = smithyClient.take(data, {
|
|
426
|
-
ScheduleArn: smithyClient.expectString,
|
|
427
|
-
});
|
|
428
|
-
Object.assign(contents, doc);
|
|
429
|
-
return contents;
|
|
430
|
-
};
|
|
431
|
-
const de_CreateScheduleGroupCommand = async (output, context) => {
|
|
432
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
433
|
-
return de_CommandError(output, context);
|
|
434
|
-
}
|
|
435
|
-
const contents = smithyClient.map({
|
|
436
|
-
$metadata: deserializeMetadata(output),
|
|
437
|
-
});
|
|
438
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
439
|
-
const doc = smithyClient.take(data, {
|
|
440
|
-
ScheduleGroupArn: smithyClient.expectString,
|
|
441
|
-
});
|
|
442
|
-
Object.assign(contents, doc);
|
|
443
|
-
return contents;
|
|
444
|
-
};
|
|
445
|
-
const de_DeleteScheduleCommand = async (output, context) => {
|
|
446
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
447
|
-
return de_CommandError(output, context);
|
|
448
|
-
}
|
|
449
|
-
const contents = smithyClient.map({
|
|
450
|
-
$metadata: deserializeMetadata(output),
|
|
451
|
-
});
|
|
452
|
-
await smithyClient.collectBody(output.body, context);
|
|
453
|
-
return contents;
|
|
454
|
-
};
|
|
455
|
-
const de_DeleteScheduleGroupCommand = async (output, context) => {
|
|
456
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
457
|
-
return de_CommandError(output, context);
|
|
458
|
-
}
|
|
459
|
-
const contents = smithyClient.map({
|
|
460
|
-
$metadata: deserializeMetadata(output),
|
|
461
|
-
});
|
|
462
|
-
await smithyClient.collectBody(output.body, context);
|
|
463
|
-
return contents;
|
|
464
|
-
};
|
|
465
|
-
const de_GetScheduleCommand = async (output, context) => {
|
|
466
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
467
|
-
return de_CommandError(output, context);
|
|
468
|
-
}
|
|
469
|
-
const contents = smithyClient.map({
|
|
470
|
-
$metadata: deserializeMetadata(output),
|
|
471
|
-
});
|
|
472
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
473
|
-
const doc = smithyClient.take(data, {
|
|
474
|
-
ActionAfterCompletion: smithyClient.expectString,
|
|
475
|
-
Arn: smithyClient.expectString,
|
|
476
|
-
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
477
|
-
Description: smithyClient.expectString,
|
|
478
|
-
EndDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
479
|
-
FlexibleTimeWindow: smithyClient._json,
|
|
480
|
-
GroupName: smithyClient.expectString,
|
|
481
|
-
KmsKeyArn: smithyClient.expectString,
|
|
482
|
-
LastModificationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
483
|
-
Name: smithyClient.expectString,
|
|
484
|
-
ScheduleExpression: smithyClient.expectString,
|
|
485
|
-
ScheduleExpressionTimezone: smithyClient.expectString,
|
|
486
|
-
StartDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
487
|
-
State: smithyClient.expectString,
|
|
488
|
-
Target: smithyClient._json,
|
|
489
|
-
});
|
|
490
|
-
Object.assign(contents, doc);
|
|
491
|
-
return contents;
|
|
492
|
-
};
|
|
493
|
-
const de_GetScheduleGroupCommand = async (output, context) => {
|
|
494
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
495
|
-
return de_CommandError(output, context);
|
|
496
|
-
}
|
|
497
|
-
const contents = smithyClient.map({
|
|
498
|
-
$metadata: deserializeMetadata(output),
|
|
499
|
-
});
|
|
500
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
501
|
-
const doc = smithyClient.take(data, {
|
|
502
|
-
Arn: smithyClient.expectString,
|
|
503
|
-
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
504
|
-
LastModificationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
505
|
-
Name: smithyClient.expectString,
|
|
506
|
-
State: smithyClient.expectString,
|
|
507
|
-
});
|
|
508
|
-
Object.assign(contents, doc);
|
|
509
|
-
return contents;
|
|
510
|
-
};
|
|
511
|
-
const de_ListScheduleGroupsCommand = async (output, context) => {
|
|
512
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
513
|
-
return de_CommandError(output, context);
|
|
514
|
-
}
|
|
515
|
-
const contents = smithyClient.map({
|
|
516
|
-
$metadata: deserializeMetadata(output),
|
|
517
|
-
});
|
|
518
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
519
|
-
const doc = smithyClient.take(data, {
|
|
520
|
-
NextToken: smithyClient.expectString,
|
|
521
|
-
ScheduleGroups: (_) => de_ScheduleGroupList(_),
|
|
522
|
-
});
|
|
523
|
-
Object.assign(contents, doc);
|
|
524
|
-
return contents;
|
|
525
|
-
};
|
|
526
|
-
const de_ListSchedulesCommand = async (output, context) => {
|
|
527
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
528
|
-
return de_CommandError(output, context);
|
|
529
|
-
}
|
|
530
|
-
const contents = smithyClient.map({
|
|
531
|
-
$metadata: deserializeMetadata(output),
|
|
532
|
-
});
|
|
533
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
534
|
-
const doc = smithyClient.take(data, {
|
|
535
|
-
NextToken: smithyClient.expectString,
|
|
536
|
-
Schedules: (_) => de_ScheduleList(_),
|
|
537
|
-
});
|
|
538
|
-
Object.assign(contents, doc);
|
|
539
|
-
return contents;
|
|
540
|
-
};
|
|
541
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
542
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
543
|
-
return de_CommandError(output, context);
|
|
544
|
-
}
|
|
545
|
-
const contents = smithyClient.map({
|
|
546
|
-
$metadata: deserializeMetadata(output),
|
|
547
|
-
});
|
|
548
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
549
|
-
const doc = smithyClient.take(data, {
|
|
550
|
-
Tags: smithyClient._json,
|
|
551
|
-
});
|
|
552
|
-
Object.assign(contents, doc);
|
|
553
|
-
return contents;
|
|
554
|
-
};
|
|
555
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
556
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
557
|
-
return de_CommandError(output, context);
|
|
558
|
-
}
|
|
559
|
-
const contents = smithyClient.map({
|
|
560
|
-
$metadata: deserializeMetadata(output),
|
|
561
|
-
});
|
|
562
|
-
await smithyClient.collectBody(output.body, context);
|
|
563
|
-
return contents;
|
|
564
|
-
};
|
|
565
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
566
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
567
|
-
return de_CommandError(output, context);
|
|
568
|
-
}
|
|
569
|
-
const contents = smithyClient.map({
|
|
570
|
-
$metadata: deserializeMetadata(output),
|
|
571
|
-
});
|
|
572
|
-
await smithyClient.collectBody(output.body, context);
|
|
573
|
-
return contents;
|
|
574
|
-
};
|
|
575
|
-
const de_UpdateScheduleCommand = async (output, context) => {
|
|
576
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
577
|
-
return de_CommandError(output, context);
|
|
578
|
-
}
|
|
579
|
-
const contents = smithyClient.map({
|
|
580
|
-
$metadata: deserializeMetadata(output),
|
|
581
|
-
});
|
|
582
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
583
|
-
const doc = smithyClient.take(data, {
|
|
584
|
-
ScheduleArn: smithyClient.expectString,
|
|
585
|
-
});
|
|
586
|
-
Object.assign(contents, doc);
|
|
587
|
-
return contents;
|
|
588
|
-
};
|
|
589
|
-
const de_CommandError = async (output, context) => {
|
|
590
|
-
const parsedOutput = {
|
|
591
|
-
...output,
|
|
592
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
593
|
-
};
|
|
594
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
595
|
-
switch (errorCode) {
|
|
596
|
-
case "ConflictException":
|
|
597
|
-
case "com.amazonaws.scheduler#ConflictException":
|
|
598
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
599
|
-
case "InternalServerException":
|
|
600
|
-
case "com.amazonaws.scheduler#InternalServerException":
|
|
601
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
602
|
-
case "ResourceNotFoundException":
|
|
603
|
-
case "com.amazonaws.scheduler#ResourceNotFoundException":
|
|
604
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
605
|
-
case "ServiceQuotaExceededException":
|
|
606
|
-
case "com.amazonaws.scheduler#ServiceQuotaExceededException":
|
|
607
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
608
|
-
case "ThrottlingException":
|
|
609
|
-
case "com.amazonaws.scheduler#ThrottlingException":
|
|
610
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
611
|
-
case "ValidationException":
|
|
612
|
-
case "com.amazonaws.scheduler#ValidationException":
|
|
613
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
614
|
-
default:
|
|
615
|
-
const parsedBody = parsedOutput.body;
|
|
616
|
-
return throwDefaultError({
|
|
617
|
-
output,
|
|
618
|
-
parsedBody,
|
|
619
|
-
errorCode,
|
|
620
|
-
});
|
|
621
|
-
}
|
|
622
|
-
};
|
|
623
|
-
const throwDefaultError = smithyClient.withBaseException(SchedulerServiceException);
|
|
624
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
625
|
-
const contents = smithyClient.map({});
|
|
626
|
-
const data = parsedOutput.body;
|
|
627
|
-
const doc = smithyClient.take(data, {
|
|
628
|
-
Message: smithyClient.expectString,
|
|
629
|
-
});
|
|
630
|
-
Object.assign(contents, doc);
|
|
631
|
-
const exception = new ConflictException({
|
|
632
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
633
|
-
...contents,
|
|
634
|
-
});
|
|
635
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
636
|
-
};
|
|
637
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
638
|
-
const contents = smithyClient.map({});
|
|
639
|
-
const data = parsedOutput.body;
|
|
640
|
-
const doc = smithyClient.take(data, {
|
|
641
|
-
Message: smithyClient.expectString,
|
|
642
|
-
});
|
|
643
|
-
Object.assign(contents, doc);
|
|
644
|
-
const exception = new InternalServerException({
|
|
645
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
646
|
-
...contents,
|
|
647
|
-
});
|
|
648
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
649
|
-
};
|
|
650
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
651
|
-
const contents = smithyClient.map({});
|
|
652
|
-
const data = parsedOutput.body;
|
|
653
|
-
const doc = smithyClient.take(data, {
|
|
654
|
-
Message: smithyClient.expectString,
|
|
655
|
-
});
|
|
656
|
-
Object.assign(contents, doc);
|
|
657
|
-
const exception = new ResourceNotFoundException({
|
|
658
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
659
|
-
...contents,
|
|
660
|
-
});
|
|
661
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
662
|
-
};
|
|
663
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
664
|
-
const contents = smithyClient.map({});
|
|
665
|
-
const data = parsedOutput.body;
|
|
666
|
-
const doc = smithyClient.take(data, {
|
|
667
|
-
Message: smithyClient.expectString,
|
|
668
|
-
});
|
|
669
|
-
Object.assign(contents, doc);
|
|
670
|
-
const exception = new ServiceQuotaExceededException({
|
|
671
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
672
|
-
...contents,
|
|
673
|
-
});
|
|
674
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
675
|
-
};
|
|
676
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
677
|
-
const contents = smithyClient.map({});
|
|
678
|
-
const data = parsedOutput.body;
|
|
679
|
-
const doc = smithyClient.take(data, {
|
|
680
|
-
Message: smithyClient.expectString,
|
|
681
|
-
});
|
|
682
|
-
Object.assign(contents, doc);
|
|
683
|
-
const exception = new ThrottlingException({
|
|
684
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
685
|
-
...contents,
|
|
686
|
-
});
|
|
687
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
688
|
-
};
|
|
689
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
690
|
-
const contents = smithyClient.map({});
|
|
691
|
-
const data = parsedOutput.body;
|
|
692
|
-
const doc = smithyClient.take(data, {
|
|
693
|
-
Message: smithyClient.expectString,
|
|
694
|
-
});
|
|
695
|
-
Object.assign(contents, doc);
|
|
696
|
-
const exception = new ValidationException({
|
|
697
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
698
|
-
...contents,
|
|
699
|
-
});
|
|
700
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
701
|
-
};
|
|
702
|
-
const de_ScheduleGroupList = (output, context) => {
|
|
703
|
-
const retVal = (output || [])
|
|
704
|
-
.filter((e) => e != null)
|
|
705
|
-
.map((entry) => {
|
|
706
|
-
return de_ScheduleGroupSummary(entry);
|
|
707
|
-
});
|
|
708
|
-
return retVal;
|
|
709
|
-
};
|
|
710
|
-
const de_ScheduleGroupSummary = (output, context) => {
|
|
711
|
-
return smithyClient.take(output, {
|
|
712
|
-
Arn: smithyClient.expectString,
|
|
713
|
-
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
714
|
-
LastModificationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
715
|
-
Name: smithyClient.expectString,
|
|
716
|
-
State: smithyClient.expectString,
|
|
717
|
-
});
|
|
718
|
-
};
|
|
719
|
-
const de_ScheduleList = (output, context) => {
|
|
720
|
-
const retVal = (output || [])
|
|
721
|
-
.filter((e) => e != null)
|
|
722
|
-
.map((entry) => {
|
|
723
|
-
return de_ScheduleSummary(entry);
|
|
724
|
-
});
|
|
725
|
-
return retVal;
|
|
726
|
-
};
|
|
727
|
-
const de_ScheduleSummary = (output, context) => {
|
|
728
|
-
return smithyClient.take(output, {
|
|
729
|
-
Arn: smithyClient.expectString,
|
|
730
|
-
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
731
|
-
GroupName: smithyClient.expectString,
|
|
732
|
-
LastModificationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
733
|
-
Name: smithyClient.expectString,
|
|
734
|
-
State: smithyClient.expectString,
|
|
735
|
-
Target: smithyClient._json,
|
|
736
|
-
});
|
|
737
|
-
};
|
|
738
|
-
const deserializeMetadata = (output) => ({
|
|
739
|
-
httpStatusCode: output.statusCode,
|
|
740
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
741
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
742
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
743
|
-
});
|
|
242
|
+
const _A = "Arn";
|
|
243
|
+
const _AAC = "ActionAfterCompletion";
|
|
244
|
+
const _API = "AssignPublicIp";
|
|
245
|
+
const _AVC = "AwsVpcConfiguration";
|
|
246
|
+
const _CD = "CreationDate";
|
|
247
|
+
const _CE = "ConflictException";
|
|
248
|
+
const _CPS = "CapacityProviderStrategy";
|
|
249
|
+
const _CPSI = "CapacityProviderStrategyItem";
|
|
250
|
+
const _CS = "CreateSchedule";
|
|
251
|
+
const _CSG = "CreateScheduleGroup";
|
|
252
|
+
const _CSGI = "CreateScheduleGroupInput";
|
|
253
|
+
const _CSGO = "CreateScheduleGroupOutput";
|
|
254
|
+
const _CSI = "CreateScheduleInput";
|
|
255
|
+
const _CSO = "CreateScheduleOutput";
|
|
744
256
|
const _CT = "ClientToken";
|
|
257
|
+
const _D = "Description";
|
|
258
|
+
const _DLC = "DeadLetterConfig";
|
|
259
|
+
const _DS = "DeleteSchedule";
|
|
260
|
+
const _DSG = "DeleteScheduleGroup";
|
|
261
|
+
const _DSGI = "DeleteScheduleGroupInput";
|
|
262
|
+
const _DSGO = "DeleteScheduleGroupOutput";
|
|
263
|
+
const _DSI = "DeleteScheduleInput";
|
|
264
|
+
const _DSO = "DeleteScheduleOutput";
|
|
265
|
+
const _DT = "DetailType";
|
|
266
|
+
const _EBP = "EventBridgeParameters";
|
|
267
|
+
const _ED = "EndDate";
|
|
268
|
+
const _EEC = "EnableExecuteCommand";
|
|
269
|
+
const _EECSMT = "EnableECSManagedTags";
|
|
270
|
+
const _EP = "EcsParameters";
|
|
271
|
+
const _FTW = "FlexibleTimeWindow";
|
|
272
|
+
const _G = "Group";
|
|
745
273
|
const _GN = "GroupName";
|
|
274
|
+
const _GS = "GetSchedule";
|
|
275
|
+
const _GSG = "GetScheduleGroup";
|
|
276
|
+
const _GSGI = "GetScheduleGroupInput";
|
|
277
|
+
const _GSGO = "GetScheduleGroupOutput";
|
|
278
|
+
const _GSI = "GetScheduleInput";
|
|
279
|
+
const _GSO = "GetScheduleOutput";
|
|
280
|
+
const _I = "Input";
|
|
281
|
+
const _ISE = "InternalServerException";
|
|
282
|
+
const _K = "Key";
|
|
283
|
+
const _KKA = "KmsKeyArn";
|
|
284
|
+
const _KP = "KinesisParameters";
|
|
285
|
+
const _LMD = "LastModificationDate";
|
|
286
|
+
const _LS = "ListSchedules";
|
|
287
|
+
const _LSG = "ListScheduleGroups";
|
|
288
|
+
const _LSGI = "ListScheduleGroupsInput";
|
|
289
|
+
const _LSGO = "ListScheduleGroupsOutput";
|
|
290
|
+
const _LSI = "ListSchedulesInput";
|
|
291
|
+
const _LSO = "ListSchedulesOutput";
|
|
292
|
+
const _LT = "LaunchType";
|
|
293
|
+
const _LTFR = "ListTagsForResource";
|
|
294
|
+
const _LTFRI = "ListTagsForResourceInput";
|
|
295
|
+
const _LTFRO = "ListTagsForResourceOutput";
|
|
296
|
+
const _M = "Message";
|
|
297
|
+
const _MEAIS = "MaximumEventAgeInSeconds";
|
|
298
|
+
const _MGI = "MessageGroupId";
|
|
746
299
|
const _MR = "MaxResults";
|
|
300
|
+
const _MRA = "MaximumRetryAttempts";
|
|
301
|
+
const _MWIM = "MaximumWindowInMinutes";
|
|
302
|
+
const _Mo = "Mode";
|
|
303
|
+
const _N = "Name";
|
|
304
|
+
const _NC = "NetworkConfiguration";
|
|
747
305
|
const _NP = "NamePrefix";
|
|
748
306
|
const _NT = "NextToken";
|
|
749
|
-
const
|
|
750
|
-
const
|
|
307
|
+
const _PC = "PlacementConstraints";
|
|
308
|
+
const _PCl = "PlacementConstraint";
|
|
309
|
+
const _PK = "PartitionKey";
|
|
310
|
+
const _PPL = "PipelineParameterList";
|
|
311
|
+
const _PS = "PlacementStrategy";
|
|
312
|
+
const _PSl = "PlacementStrategies";
|
|
313
|
+
const _PT = "PropagateTags";
|
|
314
|
+
const _PV = "PlatformVersion";
|
|
315
|
+
const _RA = "ResourceArn";
|
|
316
|
+
const _RAo = "RoleArn";
|
|
317
|
+
const _RI = "ReferenceId";
|
|
318
|
+
const _RNFE = "ResourceNotFoundException";
|
|
319
|
+
const _RP = "RetryPolicy";
|
|
320
|
+
const _S = "Subnets";
|
|
321
|
+
const _SA = "ScheduleArn";
|
|
322
|
+
const _SD = "StartDate";
|
|
323
|
+
const _SE = "ScheduleExpression";
|
|
324
|
+
const _SET = "ScheduleExpressionTimezone";
|
|
325
|
+
const _SG = "SecurityGroups";
|
|
326
|
+
const _SGA = "ScheduleGroupArn";
|
|
327
|
+
const _SGL = "ScheduleGroupList";
|
|
328
|
+
const _SGS = "ScheduleGroupSummary";
|
|
329
|
+
const _SGc = "ScheduleGroups";
|
|
330
|
+
const _SGch = "ScheduleGroup";
|
|
331
|
+
const _SL = "ScheduleList";
|
|
332
|
+
const _SMPP = "SageMakerPipelineParameter";
|
|
333
|
+
const _SMPPL = "SageMakerPipelineParameterList";
|
|
334
|
+
const _SMPPa = "SageMakerPipelineParameters";
|
|
335
|
+
const _SP = "SqsParameters";
|
|
336
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
337
|
+
const _SS = "ScheduleSummary";
|
|
338
|
+
const _Sc = "Schedules";
|
|
339
|
+
const _So = "Source";
|
|
340
|
+
const _St = "State";
|
|
341
|
+
const _T = "Tags";
|
|
342
|
+
const _TC = "TaskCount";
|
|
343
|
+
const _TDA = "TaskDefinitionArn";
|
|
344
|
+
const _TE = "ThrottlingException";
|
|
751
345
|
const _TK = "TagKeys";
|
|
346
|
+
const _TL = "TagList";
|
|
347
|
+
const _TR = "TagResource";
|
|
348
|
+
const _TRI = "TagResourceInput";
|
|
349
|
+
const _TRO = "TagResourceOutput";
|
|
350
|
+
const _TS = "TargetSummary";
|
|
351
|
+
const _Ta = "Target";
|
|
352
|
+
const _Tag = "Tag";
|
|
353
|
+
const _UR = "UntagResource";
|
|
354
|
+
const _URI = "UntagResourceInput";
|
|
355
|
+
const _URO = "UntagResourceOutput";
|
|
356
|
+
const _US = "UpdateSchedule";
|
|
357
|
+
const _USI = "UpdateScheduleInput";
|
|
358
|
+
const _USO = "UpdateScheduleOutput";
|
|
359
|
+
const _V = "Value";
|
|
360
|
+
const _VE = "ValidationException";
|
|
361
|
+
const _aC = "awsvpcConfiguration";
|
|
362
|
+
const _b = "base";
|
|
363
|
+
const _c = "client";
|
|
364
|
+
const _cP = "capacityProvider";
|
|
752
365
|
const _cT = "clientToken";
|
|
366
|
+
const _e = "error";
|
|
367
|
+
const _ex = "expression";
|
|
368
|
+
const _f = "field";
|
|
753
369
|
const _gN = "groupName";
|
|
370
|
+
const _h = "http";
|
|
371
|
+
const _hE = "httpError";
|
|
372
|
+
const _hQ = "httpQuery";
|
|
373
|
+
const _iT = "idempotencyToken";
|
|
374
|
+
const _s = "server";
|
|
375
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.scheduler";
|
|
376
|
+
const _t = "type";
|
|
377
|
+
const _w = "weight";
|
|
378
|
+
const n0 = "com.amazonaws.scheduler";
|
|
379
|
+
var AwsVpcConfiguration = [3, n0, _AVC, 0, [_S, _SG, _API], [64 | 0, 64 | 0, 0]];
|
|
380
|
+
var CapacityProviderStrategyItem = [3, n0, _CPSI, 0, [_cP, _w, _b], [0, 1, 1]];
|
|
381
|
+
var ConflictException = [
|
|
382
|
+
-3,
|
|
383
|
+
n0,
|
|
384
|
+
_CE,
|
|
385
|
+
{
|
|
386
|
+
[_e]: _c,
|
|
387
|
+
[_hE]: 409,
|
|
388
|
+
},
|
|
389
|
+
[_M],
|
|
390
|
+
[0],
|
|
391
|
+
];
|
|
392
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
393
|
+
var CreateScheduleGroupInput = [
|
|
394
|
+
3,
|
|
395
|
+
n0,
|
|
396
|
+
_CSGI,
|
|
397
|
+
0,
|
|
398
|
+
[_N, _T, _CT],
|
|
399
|
+
[[0, 1], () => TagList, [0, 4]],
|
|
400
|
+
];
|
|
401
|
+
var CreateScheduleGroupOutput = [3, n0, _CSGO, 0, [_SGA], [0]];
|
|
402
|
+
var CreateScheduleInput = [
|
|
403
|
+
3,
|
|
404
|
+
n0,
|
|
405
|
+
_CSI,
|
|
406
|
+
0,
|
|
407
|
+
[_N, _GN, _SE, _SD, _ED, _D, _SET, _St, _KKA, _Ta, _FTW, _CT, _AAC],
|
|
408
|
+
[[0, 1], 0, 0, 4, 4, 0, 0, 0, 0, () => Target, () => FlexibleTimeWindow, [0, 4], 0],
|
|
409
|
+
];
|
|
410
|
+
var CreateScheduleOutput = [3, n0, _CSO, 0, [_SA], [0]];
|
|
411
|
+
var DeadLetterConfig = [3, n0, _DLC, 0, [_A], [0]];
|
|
412
|
+
var DeleteScheduleGroupInput = [
|
|
413
|
+
3,
|
|
414
|
+
n0,
|
|
415
|
+
_DSGI,
|
|
416
|
+
0,
|
|
417
|
+
[_N, _CT],
|
|
418
|
+
[
|
|
419
|
+
[0, 1],
|
|
420
|
+
[
|
|
421
|
+
0,
|
|
422
|
+
{
|
|
423
|
+
[_iT]: 1,
|
|
424
|
+
[_hQ]: _cT,
|
|
425
|
+
},
|
|
426
|
+
],
|
|
427
|
+
],
|
|
428
|
+
];
|
|
429
|
+
var DeleteScheduleGroupOutput = [3, n0, _DSGO, 0, [], []];
|
|
430
|
+
var DeleteScheduleInput = [
|
|
431
|
+
3,
|
|
432
|
+
n0,
|
|
433
|
+
_DSI,
|
|
434
|
+
0,
|
|
435
|
+
[_N, _GN, _CT],
|
|
436
|
+
[
|
|
437
|
+
[0, 1],
|
|
438
|
+
[
|
|
439
|
+
0,
|
|
440
|
+
{
|
|
441
|
+
[_hQ]: _gN,
|
|
442
|
+
},
|
|
443
|
+
],
|
|
444
|
+
[
|
|
445
|
+
0,
|
|
446
|
+
{
|
|
447
|
+
[_iT]: 1,
|
|
448
|
+
[_hQ]: _cT,
|
|
449
|
+
},
|
|
450
|
+
],
|
|
451
|
+
],
|
|
452
|
+
];
|
|
453
|
+
var DeleteScheduleOutput = [3, n0, _DSO, 0, [], []];
|
|
454
|
+
var EcsParameters = [
|
|
455
|
+
3,
|
|
456
|
+
n0,
|
|
457
|
+
_EP,
|
|
458
|
+
0,
|
|
459
|
+
[_TDA, _TC, _LT, _NC, _PV, _G, _CPS, _EECSMT, _EEC, _PC, _PS, _PT, _RI, _T],
|
|
460
|
+
[
|
|
461
|
+
0,
|
|
462
|
+
1,
|
|
463
|
+
0,
|
|
464
|
+
() => NetworkConfiguration,
|
|
465
|
+
0,
|
|
466
|
+
0,
|
|
467
|
+
() => CapacityProviderStrategy,
|
|
468
|
+
2,
|
|
469
|
+
2,
|
|
470
|
+
() => PlacementConstraints,
|
|
471
|
+
() => PlacementStrategies,
|
|
472
|
+
0,
|
|
473
|
+
0,
|
|
474
|
+
[1, n0, _T, 0, 128 | 0],
|
|
475
|
+
],
|
|
476
|
+
];
|
|
477
|
+
var EventBridgeParameters = [3, n0, _EBP, 0, [_DT, _So], [0, 0]];
|
|
478
|
+
var FlexibleTimeWindow = [3, n0, _FTW, 0, [_Mo, _MWIM], [0, 1]];
|
|
479
|
+
var GetScheduleGroupInput = [3, n0, _GSGI, 0, [_N], [[0, 1]]];
|
|
480
|
+
var GetScheduleGroupOutput = [3, n0, _GSGO, 0, [_A, _N, _St, _CD, _LMD], [0, 0, 0, 4, 4]];
|
|
481
|
+
var GetScheduleInput = [
|
|
482
|
+
3,
|
|
483
|
+
n0,
|
|
484
|
+
_GSI,
|
|
485
|
+
0,
|
|
486
|
+
[_N, _GN],
|
|
487
|
+
[
|
|
488
|
+
[0, 1],
|
|
489
|
+
[
|
|
490
|
+
0,
|
|
491
|
+
{
|
|
492
|
+
[_hQ]: _gN,
|
|
493
|
+
},
|
|
494
|
+
],
|
|
495
|
+
],
|
|
496
|
+
];
|
|
497
|
+
var GetScheduleOutput = [
|
|
498
|
+
3,
|
|
499
|
+
n0,
|
|
500
|
+
_GSO,
|
|
501
|
+
0,
|
|
502
|
+
[_A, _GN, _N, _SE, _SD, _ED, _D, _SET, _St, _CD, _LMD, _KKA, _Ta, _FTW, _AAC],
|
|
503
|
+
[0, 0, 0, 0, 4, 4, 0, 0, 0, 4, 4, 0, () => Target, () => FlexibleTimeWindow, 0],
|
|
504
|
+
];
|
|
505
|
+
var InternalServerException = [
|
|
506
|
+
-3,
|
|
507
|
+
n0,
|
|
508
|
+
_ISE,
|
|
509
|
+
{
|
|
510
|
+
[_e]: _s,
|
|
511
|
+
[_hE]: 500,
|
|
512
|
+
},
|
|
513
|
+
[_M],
|
|
514
|
+
[0],
|
|
515
|
+
];
|
|
516
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
517
|
+
var KinesisParameters = [3, n0, _KP, 0, [_PK], [0]];
|
|
518
|
+
var ListScheduleGroupsInput = [
|
|
519
|
+
3,
|
|
520
|
+
n0,
|
|
521
|
+
_LSGI,
|
|
522
|
+
0,
|
|
523
|
+
[_NP, _NT, _MR],
|
|
524
|
+
[
|
|
525
|
+
[
|
|
526
|
+
0,
|
|
527
|
+
{
|
|
528
|
+
[_hQ]: _NP,
|
|
529
|
+
},
|
|
530
|
+
],
|
|
531
|
+
[
|
|
532
|
+
0,
|
|
533
|
+
{
|
|
534
|
+
[_hQ]: _NT,
|
|
535
|
+
},
|
|
536
|
+
],
|
|
537
|
+
[
|
|
538
|
+
1,
|
|
539
|
+
{
|
|
540
|
+
[_hQ]: _MR,
|
|
541
|
+
},
|
|
542
|
+
],
|
|
543
|
+
],
|
|
544
|
+
];
|
|
545
|
+
var ListScheduleGroupsOutput = [
|
|
546
|
+
3,
|
|
547
|
+
n0,
|
|
548
|
+
_LSGO,
|
|
549
|
+
0,
|
|
550
|
+
[_NT, _SGc],
|
|
551
|
+
[0, () => ScheduleGroupList],
|
|
552
|
+
];
|
|
553
|
+
var ListSchedulesInput = [
|
|
554
|
+
3,
|
|
555
|
+
n0,
|
|
556
|
+
_LSI,
|
|
557
|
+
0,
|
|
558
|
+
[_GN, _NP, _St, _NT, _MR],
|
|
559
|
+
[
|
|
560
|
+
[
|
|
561
|
+
0,
|
|
562
|
+
{
|
|
563
|
+
[_hQ]: _SGch,
|
|
564
|
+
},
|
|
565
|
+
],
|
|
566
|
+
[
|
|
567
|
+
0,
|
|
568
|
+
{
|
|
569
|
+
[_hQ]: _NP,
|
|
570
|
+
},
|
|
571
|
+
],
|
|
572
|
+
[
|
|
573
|
+
0,
|
|
574
|
+
{
|
|
575
|
+
[_hQ]: _St,
|
|
576
|
+
},
|
|
577
|
+
],
|
|
578
|
+
[
|
|
579
|
+
0,
|
|
580
|
+
{
|
|
581
|
+
[_hQ]: _NT,
|
|
582
|
+
},
|
|
583
|
+
],
|
|
584
|
+
[
|
|
585
|
+
1,
|
|
586
|
+
{
|
|
587
|
+
[_hQ]: _MR,
|
|
588
|
+
},
|
|
589
|
+
],
|
|
590
|
+
],
|
|
591
|
+
];
|
|
592
|
+
var ListSchedulesOutput = [3, n0, _LSO, 0, [_NT, _Sc], [0, () => ScheduleList]];
|
|
593
|
+
var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_RA], [[0, 1]]];
|
|
594
|
+
var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_T], [() => TagList]];
|
|
595
|
+
var NetworkConfiguration = [3, n0, _NC, 0, [_aC], [() => AwsVpcConfiguration]];
|
|
596
|
+
var PlacementConstraint = [3, n0, _PCl, 0, [_t, _ex], [0, 0]];
|
|
597
|
+
var PlacementStrategy = [3, n0, _PS, 0, [_t, _f], [0, 0]];
|
|
598
|
+
var ResourceNotFoundException = [
|
|
599
|
+
-3,
|
|
600
|
+
n0,
|
|
601
|
+
_RNFE,
|
|
602
|
+
{
|
|
603
|
+
[_e]: _c,
|
|
604
|
+
[_hE]: 404,
|
|
605
|
+
},
|
|
606
|
+
[_M],
|
|
607
|
+
[0],
|
|
608
|
+
];
|
|
609
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
610
|
+
var RetryPolicy = [3, n0, _RP, 0, [_MEAIS, _MRA], [1, 1]];
|
|
611
|
+
var SageMakerPipelineParameter = [3, n0, _SMPP, 0, [_N, _V], [0, 0]];
|
|
612
|
+
var SageMakerPipelineParameters = [
|
|
613
|
+
3,
|
|
614
|
+
n0,
|
|
615
|
+
_SMPPa,
|
|
616
|
+
0,
|
|
617
|
+
[_PPL],
|
|
618
|
+
[() => SageMakerPipelineParameterList],
|
|
619
|
+
];
|
|
620
|
+
var ScheduleGroupSummary = [3, n0, _SGS, 0, [_A, _N, _St, _CD, _LMD], [0, 0, 0, 4, 4]];
|
|
621
|
+
var ScheduleSummary = [
|
|
622
|
+
3,
|
|
623
|
+
n0,
|
|
624
|
+
_SS,
|
|
625
|
+
0,
|
|
626
|
+
[_A, _N, _GN, _St, _CD, _LMD, _Ta],
|
|
627
|
+
[0, 0, 0, 0, 4, 4, () => TargetSummary],
|
|
628
|
+
];
|
|
629
|
+
var ServiceQuotaExceededException = [
|
|
630
|
+
-3,
|
|
631
|
+
n0,
|
|
632
|
+
_SQEE,
|
|
633
|
+
{
|
|
634
|
+
[_e]: _c,
|
|
635
|
+
[_hE]: 402,
|
|
636
|
+
},
|
|
637
|
+
[_M],
|
|
638
|
+
[0],
|
|
639
|
+
];
|
|
640
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
641
|
+
var SqsParameters = [3, n0, _SP, 0, [_MGI], [0]];
|
|
642
|
+
var Tag = [3, n0, _Tag, 0, [_K, _V], [0, 0]];
|
|
643
|
+
var TagResourceInput = [3, n0, _TRI, 0, [_RA, _T], [[0, 1], () => TagList]];
|
|
644
|
+
var TagResourceOutput = [3, n0, _TRO, 0, [], []];
|
|
645
|
+
var Target = [
|
|
646
|
+
3,
|
|
647
|
+
n0,
|
|
648
|
+
_Ta,
|
|
649
|
+
0,
|
|
650
|
+
[_A, _RAo, _DLC, _RP, _I, _EP, _EBP, _KP, _SMPPa, _SP],
|
|
651
|
+
[
|
|
652
|
+
0,
|
|
653
|
+
0,
|
|
654
|
+
() => DeadLetterConfig,
|
|
655
|
+
() => RetryPolicy,
|
|
656
|
+
0,
|
|
657
|
+
() => EcsParameters,
|
|
658
|
+
() => EventBridgeParameters,
|
|
659
|
+
() => KinesisParameters,
|
|
660
|
+
() => SageMakerPipelineParameters,
|
|
661
|
+
() => SqsParameters,
|
|
662
|
+
],
|
|
663
|
+
];
|
|
664
|
+
var TargetSummary = [3, n0, _TS, 0, [_A], [0]];
|
|
665
|
+
var ThrottlingException = [
|
|
666
|
+
-3,
|
|
667
|
+
n0,
|
|
668
|
+
_TE,
|
|
669
|
+
{
|
|
670
|
+
[_e]: _c,
|
|
671
|
+
[_hE]: 429,
|
|
672
|
+
},
|
|
673
|
+
[_M],
|
|
674
|
+
[0],
|
|
675
|
+
];
|
|
676
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
677
|
+
var UntagResourceInput = [
|
|
678
|
+
3,
|
|
679
|
+
n0,
|
|
680
|
+
_URI,
|
|
681
|
+
0,
|
|
682
|
+
[_RA, _TK],
|
|
683
|
+
[
|
|
684
|
+
[0, 1],
|
|
685
|
+
[
|
|
686
|
+
64 | 0,
|
|
687
|
+
{
|
|
688
|
+
[_hQ]: _TK,
|
|
689
|
+
},
|
|
690
|
+
],
|
|
691
|
+
],
|
|
692
|
+
];
|
|
693
|
+
var UntagResourceOutput = [3, n0, _URO, 0, [], []];
|
|
694
|
+
var UpdateScheduleInput = [
|
|
695
|
+
3,
|
|
696
|
+
n0,
|
|
697
|
+
_USI,
|
|
698
|
+
0,
|
|
699
|
+
[_N, _GN, _SE, _SD, _ED, _D, _SET, _St, _KKA, _Ta, _FTW, _CT, _AAC],
|
|
700
|
+
[[0, 1], 0, 0, 4, 4, 0, 0, 0, 0, () => Target, () => FlexibleTimeWindow, [0, 4], 0],
|
|
701
|
+
];
|
|
702
|
+
var UpdateScheduleOutput = [3, n0, _USO, 0, [_SA], [0]];
|
|
703
|
+
var ValidationException = [
|
|
704
|
+
-3,
|
|
705
|
+
n0,
|
|
706
|
+
_VE,
|
|
707
|
+
{
|
|
708
|
+
[_e]: _c,
|
|
709
|
+
[_hE]: 400,
|
|
710
|
+
},
|
|
711
|
+
[_M],
|
|
712
|
+
[0],
|
|
713
|
+
];
|
|
714
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
715
|
+
var SchedulerServiceException = [-3, _sm, "SchedulerServiceException", 0, [], []];
|
|
716
|
+
schema.TypeRegistry.for(_sm).registerError(SchedulerServiceException, SchedulerServiceException$1);
|
|
717
|
+
var CapacityProviderStrategy = [1, n0, _CPS, 0, () => CapacityProviderStrategyItem];
|
|
718
|
+
var PlacementConstraints = [1, n0, _PC, 0, () => PlacementConstraint];
|
|
719
|
+
var PlacementStrategies = [1, n0, _PSl, 0, () => PlacementStrategy];
|
|
720
|
+
var SageMakerPipelineParameterList = [1, n0, _SMPPL, 0, () => SageMakerPipelineParameter];
|
|
721
|
+
var ScheduleGroupList = [1, n0, _SGL, 0, () => ScheduleGroupSummary];
|
|
722
|
+
var ScheduleList = [1, n0, _SL, 0, () => ScheduleSummary];
|
|
723
|
+
var TagList = [1, n0, _TL, 0, () => Tag];
|
|
724
|
+
var CreateSchedule = [
|
|
725
|
+
9,
|
|
726
|
+
n0,
|
|
727
|
+
_CS,
|
|
728
|
+
{
|
|
729
|
+
[_h]: ["POST", "/schedules/{Name}", 200],
|
|
730
|
+
},
|
|
731
|
+
() => CreateScheduleInput,
|
|
732
|
+
() => CreateScheduleOutput,
|
|
733
|
+
];
|
|
734
|
+
var CreateScheduleGroup = [
|
|
735
|
+
9,
|
|
736
|
+
n0,
|
|
737
|
+
_CSG,
|
|
738
|
+
{
|
|
739
|
+
[_h]: ["POST", "/schedule-groups/{Name}", 200],
|
|
740
|
+
},
|
|
741
|
+
() => CreateScheduleGroupInput,
|
|
742
|
+
() => CreateScheduleGroupOutput,
|
|
743
|
+
];
|
|
744
|
+
var DeleteSchedule = [
|
|
745
|
+
9,
|
|
746
|
+
n0,
|
|
747
|
+
_DS,
|
|
748
|
+
{
|
|
749
|
+
[_h]: ["DELETE", "/schedules/{Name}", 200],
|
|
750
|
+
},
|
|
751
|
+
() => DeleteScheduleInput,
|
|
752
|
+
() => DeleteScheduleOutput,
|
|
753
|
+
];
|
|
754
|
+
var DeleteScheduleGroup = [
|
|
755
|
+
9,
|
|
756
|
+
n0,
|
|
757
|
+
_DSG,
|
|
758
|
+
{
|
|
759
|
+
[_h]: ["DELETE", "/schedule-groups/{Name}", 200],
|
|
760
|
+
},
|
|
761
|
+
() => DeleteScheduleGroupInput,
|
|
762
|
+
() => DeleteScheduleGroupOutput,
|
|
763
|
+
];
|
|
764
|
+
var GetSchedule = [
|
|
765
|
+
9,
|
|
766
|
+
n0,
|
|
767
|
+
_GS,
|
|
768
|
+
{
|
|
769
|
+
[_h]: ["GET", "/schedules/{Name}", 200],
|
|
770
|
+
},
|
|
771
|
+
() => GetScheduleInput,
|
|
772
|
+
() => GetScheduleOutput,
|
|
773
|
+
];
|
|
774
|
+
var GetScheduleGroup = [
|
|
775
|
+
9,
|
|
776
|
+
n0,
|
|
777
|
+
_GSG,
|
|
778
|
+
{
|
|
779
|
+
[_h]: ["GET", "/schedule-groups/{Name}", 200],
|
|
780
|
+
},
|
|
781
|
+
() => GetScheduleGroupInput,
|
|
782
|
+
() => GetScheduleGroupOutput,
|
|
783
|
+
];
|
|
784
|
+
var ListScheduleGroups = [
|
|
785
|
+
9,
|
|
786
|
+
n0,
|
|
787
|
+
_LSG,
|
|
788
|
+
{
|
|
789
|
+
[_h]: ["GET", "/schedule-groups", 200],
|
|
790
|
+
},
|
|
791
|
+
() => ListScheduleGroupsInput,
|
|
792
|
+
() => ListScheduleGroupsOutput,
|
|
793
|
+
];
|
|
794
|
+
var ListSchedules = [
|
|
795
|
+
9,
|
|
796
|
+
n0,
|
|
797
|
+
_LS,
|
|
798
|
+
{
|
|
799
|
+
[_h]: ["GET", "/schedules", 200],
|
|
800
|
+
},
|
|
801
|
+
() => ListSchedulesInput,
|
|
802
|
+
() => ListSchedulesOutput,
|
|
803
|
+
];
|
|
804
|
+
var ListTagsForResource = [
|
|
805
|
+
9,
|
|
806
|
+
n0,
|
|
807
|
+
_LTFR,
|
|
808
|
+
{
|
|
809
|
+
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
810
|
+
},
|
|
811
|
+
() => ListTagsForResourceInput,
|
|
812
|
+
() => ListTagsForResourceOutput,
|
|
813
|
+
];
|
|
814
|
+
var TagResource = [
|
|
815
|
+
9,
|
|
816
|
+
n0,
|
|
817
|
+
_TR,
|
|
818
|
+
{
|
|
819
|
+
[_h]: ["POST", "/tags/{ResourceArn}", 200],
|
|
820
|
+
},
|
|
821
|
+
() => TagResourceInput,
|
|
822
|
+
() => TagResourceOutput,
|
|
823
|
+
];
|
|
824
|
+
var UntagResource = [
|
|
825
|
+
9,
|
|
826
|
+
n0,
|
|
827
|
+
_UR,
|
|
828
|
+
{
|
|
829
|
+
[_h]: ["DELETE", "/tags/{ResourceArn}", 200],
|
|
830
|
+
},
|
|
831
|
+
() => UntagResourceInput,
|
|
832
|
+
() => UntagResourceOutput,
|
|
833
|
+
];
|
|
834
|
+
var UpdateSchedule = [
|
|
835
|
+
9,
|
|
836
|
+
n0,
|
|
837
|
+
_US,
|
|
838
|
+
{
|
|
839
|
+
[_h]: ["PUT", "/schedules/{Name}", 200],
|
|
840
|
+
},
|
|
841
|
+
() => UpdateScheduleInput,
|
|
842
|
+
() => UpdateScheduleOutput,
|
|
843
|
+
];
|
|
754
844
|
|
|
755
845
|
class CreateScheduleCommand extends smithyClient.Command
|
|
756
846
|
.classBuilder()
|
|
757
847
|
.ep(commonParams)
|
|
758
848
|
.m(function (Command, cs, config, o) {
|
|
759
|
-
return [
|
|
760
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
761
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
762
|
-
];
|
|
849
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
763
850
|
})
|
|
764
851
|
.s("AWSChronosService", "CreateSchedule", {})
|
|
765
852
|
.n("SchedulerClient", "CreateScheduleCommand")
|
|
766
|
-
.
|
|
767
|
-
.ser(se_CreateScheduleCommand)
|
|
768
|
-
.de(de_CreateScheduleCommand)
|
|
853
|
+
.sc(CreateSchedule)
|
|
769
854
|
.build() {
|
|
770
855
|
}
|
|
771
856
|
|
|
@@ -773,16 +858,11 @@ class CreateScheduleGroupCommand extends smithyClient.Command
|
|
|
773
858
|
.classBuilder()
|
|
774
859
|
.ep(commonParams)
|
|
775
860
|
.m(function (Command, cs, config, o) {
|
|
776
|
-
return [
|
|
777
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
778
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
779
|
-
];
|
|
861
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
780
862
|
})
|
|
781
863
|
.s("AWSChronosService", "CreateScheduleGroup", {})
|
|
782
864
|
.n("SchedulerClient", "CreateScheduleGroupCommand")
|
|
783
|
-
.
|
|
784
|
-
.ser(se_CreateScheduleGroupCommand)
|
|
785
|
-
.de(de_CreateScheduleGroupCommand)
|
|
865
|
+
.sc(CreateScheduleGroup)
|
|
786
866
|
.build() {
|
|
787
867
|
}
|
|
788
868
|
|
|
@@ -790,16 +870,11 @@ class DeleteScheduleCommand extends smithyClient.Command
|
|
|
790
870
|
.classBuilder()
|
|
791
871
|
.ep(commonParams)
|
|
792
872
|
.m(function (Command, cs, config, o) {
|
|
793
|
-
return [
|
|
794
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
795
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
796
|
-
];
|
|
873
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
797
874
|
})
|
|
798
875
|
.s("AWSChronosService", "DeleteSchedule", {})
|
|
799
876
|
.n("SchedulerClient", "DeleteScheduleCommand")
|
|
800
|
-
.
|
|
801
|
-
.ser(se_DeleteScheduleCommand)
|
|
802
|
-
.de(de_DeleteScheduleCommand)
|
|
877
|
+
.sc(DeleteSchedule)
|
|
803
878
|
.build() {
|
|
804
879
|
}
|
|
805
880
|
|
|
@@ -807,16 +882,11 @@ class DeleteScheduleGroupCommand extends smithyClient.Command
|
|
|
807
882
|
.classBuilder()
|
|
808
883
|
.ep(commonParams)
|
|
809
884
|
.m(function (Command, cs, config, o) {
|
|
810
|
-
return [
|
|
811
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
812
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
813
|
-
];
|
|
885
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
814
886
|
})
|
|
815
887
|
.s("AWSChronosService", "DeleteScheduleGroup", {})
|
|
816
888
|
.n("SchedulerClient", "DeleteScheduleGroupCommand")
|
|
817
|
-
.
|
|
818
|
-
.ser(se_DeleteScheduleGroupCommand)
|
|
819
|
-
.de(de_DeleteScheduleGroupCommand)
|
|
889
|
+
.sc(DeleteScheduleGroup)
|
|
820
890
|
.build() {
|
|
821
891
|
}
|
|
822
892
|
|
|
@@ -824,16 +894,11 @@ class GetScheduleCommand extends smithyClient.Command
|
|
|
824
894
|
.classBuilder()
|
|
825
895
|
.ep(commonParams)
|
|
826
896
|
.m(function (Command, cs, config, o) {
|
|
827
|
-
return [
|
|
828
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
829
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
830
|
-
];
|
|
897
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
831
898
|
})
|
|
832
899
|
.s("AWSChronosService", "GetSchedule", {})
|
|
833
900
|
.n("SchedulerClient", "GetScheduleCommand")
|
|
834
|
-
.
|
|
835
|
-
.ser(se_GetScheduleCommand)
|
|
836
|
-
.de(de_GetScheduleCommand)
|
|
901
|
+
.sc(GetSchedule)
|
|
837
902
|
.build() {
|
|
838
903
|
}
|
|
839
904
|
|
|
@@ -841,16 +906,11 @@ class GetScheduleGroupCommand extends smithyClient.Command
|
|
|
841
906
|
.classBuilder()
|
|
842
907
|
.ep(commonParams)
|
|
843
908
|
.m(function (Command, cs, config, o) {
|
|
844
|
-
return [
|
|
845
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
846
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
847
|
-
];
|
|
909
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
848
910
|
})
|
|
849
911
|
.s("AWSChronosService", "GetScheduleGroup", {})
|
|
850
912
|
.n("SchedulerClient", "GetScheduleGroupCommand")
|
|
851
|
-
.
|
|
852
|
-
.ser(se_GetScheduleGroupCommand)
|
|
853
|
-
.de(de_GetScheduleGroupCommand)
|
|
913
|
+
.sc(GetScheduleGroup)
|
|
854
914
|
.build() {
|
|
855
915
|
}
|
|
856
916
|
|
|
@@ -858,16 +918,11 @@ class ListScheduleGroupsCommand extends smithyClient.Command
|
|
|
858
918
|
.classBuilder()
|
|
859
919
|
.ep(commonParams)
|
|
860
920
|
.m(function (Command, cs, config, o) {
|
|
861
|
-
return [
|
|
862
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
863
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
864
|
-
];
|
|
921
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
865
922
|
})
|
|
866
923
|
.s("AWSChronosService", "ListScheduleGroups", {})
|
|
867
924
|
.n("SchedulerClient", "ListScheduleGroupsCommand")
|
|
868
|
-
.
|
|
869
|
-
.ser(se_ListScheduleGroupsCommand)
|
|
870
|
-
.de(de_ListScheduleGroupsCommand)
|
|
925
|
+
.sc(ListScheduleGroups)
|
|
871
926
|
.build() {
|
|
872
927
|
}
|
|
873
928
|
|
|
@@ -875,16 +930,11 @@ class ListSchedulesCommand extends smithyClient.Command
|
|
|
875
930
|
.classBuilder()
|
|
876
931
|
.ep(commonParams)
|
|
877
932
|
.m(function (Command, cs, config, o) {
|
|
878
|
-
return [
|
|
879
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
880
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
881
|
-
];
|
|
933
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
882
934
|
})
|
|
883
935
|
.s("AWSChronosService", "ListSchedules", {})
|
|
884
936
|
.n("SchedulerClient", "ListSchedulesCommand")
|
|
885
|
-
.
|
|
886
|
-
.ser(se_ListSchedulesCommand)
|
|
887
|
-
.de(de_ListSchedulesCommand)
|
|
937
|
+
.sc(ListSchedules)
|
|
888
938
|
.build() {
|
|
889
939
|
}
|
|
890
940
|
|
|
@@ -892,16 +942,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
892
942
|
.classBuilder()
|
|
893
943
|
.ep(commonParams)
|
|
894
944
|
.m(function (Command, cs, config, o) {
|
|
895
|
-
return [
|
|
896
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
897
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
898
|
-
];
|
|
945
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
899
946
|
})
|
|
900
947
|
.s("AWSChronosService", "ListTagsForResource", {})
|
|
901
948
|
.n("SchedulerClient", "ListTagsForResourceCommand")
|
|
902
|
-
.
|
|
903
|
-
.ser(se_ListTagsForResourceCommand)
|
|
904
|
-
.de(de_ListTagsForResourceCommand)
|
|
949
|
+
.sc(ListTagsForResource)
|
|
905
950
|
.build() {
|
|
906
951
|
}
|
|
907
952
|
|
|
@@ -909,16 +954,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
909
954
|
.classBuilder()
|
|
910
955
|
.ep(commonParams)
|
|
911
956
|
.m(function (Command, cs, config, o) {
|
|
912
|
-
return [
|
|
913
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
914
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
915
|
-
];
|
|
957
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
916
958
|
})
|
|
917
959
|
.s("AWSChronosService", "TagResource", {})
|
|
918
960
|
.n("SchedulerClient", "TagResourceCommand")
|
|
919
|
-
.
|
|
920
|
-
.ser(se_TagResourceCommand)
|
|
921
|
-
.de(de_TagResourceCommand)
|
|
961
|
+
.sc(TagResource)
|
|
922
962
|
.build() {
|
|
923
963
|
}
|
|
924
964
|
|
|
@@ -926,16 +966,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
926
966
|
.classBuilder()
|
|
927
967
|
.ep(commonParams)
|
|
928
968
|
.m(function (Command, cs, config, o) {
|
|
929
|
-
return [
|
|
930
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
931
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
932
|
-
];
|
|
969
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
933
970
|
})
|
|
934
971
|
.s("AWSChronosService", "UntagResource", {})
|
|
935
972
|
.n("SchedulerClient", "UntagResourceCommand")
|
|
936
|
-
.
|
|
937
|
-
.ser(se_UntagResourceCommand)
|
|
938
|
-
.de(de_UntagResourceCommand)
|
|
973
|
+
.sc(UntagResource)
|
|
939
974
|
.build() {
|
|
940
975
|
}
|
|
941
976
|
|
|
@@ -943,16 +978,11 @@ class UpdateScheduleCommand extends smithyClient.Command
|
|
|
943
978
|
.classBuilder()
|
|
944
979
|
.ep(commonParams)
|
|
945
980
|
.m(function (Command, cs, config, o) {
|
|
946
|
-
return [
|
|
947
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
948
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
949
|
-
];
|
|
981
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
950
982
|
})
|
|
951
983
|
.s("AWSChronosService", "UpdateSchedule", {})
|
|
952
984
|
.n("SchedulerClient", "UpdateScheduleCommand")
|
|
953
|
-
.
|
|
954
|
-
.ser(se_UpdateScheduleCommand)
|
|
955
|
-
.de(de_UpdateScheduleCommand)
|
|
985
|
+
.sc(UpdateSchedule)
|
|
956
986
|
.build() {
|
|
957
987
|
}
|
|
958
988
|
|
|
@@ -988,7 +1018,7 @@ Object.defineProperty(exports, "__Client", {
|
|
|
988
1018
|
});
|
|
989
1019
|
exports.ActionAfterCompletion = ActionAfterCompletion;
|
|
990
1020
|
exports.AssignPublicIp = AssignPublicIp;
|
|
991
|
-
exports.ConflictException = ConflictException;
|
|
1021
|
+
exports.ConflictException = ConflictException$1;
|
|
992
1022
|
exports.CreateScheduleCommand = CreateScheduleCommand;
|
|
993
1023
|
exports.CreateScheduleGroupCommand = CreateScheduleGroupCommand;
|
|
994
1024
|
exports.DeleteScheduleCommand = DeleteScheduleCommand;
|
|
@@ -996,7 +1026,7 @@ exports.DeleteScheduleGroupCommand = DeleteScheduleGroupCommand;
|
|
|
996
1026
|
exports.FlexibleTimeWindowMode = FlexibleTimeWindowMode;
|
|
997
1027
|
exports.GetScheduleCommand = GetScheduleCommand;
|
|
998
1028
|
exports.GetScheduleGroupCommand = GetScheduleGroupCommand;
|
|
999
|
-
exports.InternalServerException = InternalServerException;
|
|
1029
|
+
exports.InternalServerException = InternalServerException$1;
|
|
1000
1030
|
exports.LaunchType = LaunchType;
|
|
1001
1031
|
exports.ListScheduleGroupsCommand = ListScheduleGroupsCommand;
|
|
1002
1032
|
exports.ListSchedulesCommand = ListSchedulesCommand;
|
|
@@ -1004,17 +1034,17 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
|
1004
1034
|
exports.PlacementConstraintType = PlacementConstraintType;
|
|
1005
1035
|
exports.PlacementStrategyType = PlacementStrategyType;
|
|
1006
1036
|
exports.PropagateTags = PropagateTags;
|
|
1007
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1037
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1008
1038
|
exports.ScheduleGroupState = ScheduleGroupState;
|
|
1009
1039
|
exports.ScheduleState = ScheduleState;
|
|
1010
1040
|
exports.Scheduler = Scheduler;
|
|
1011
1041
|
exports.SchedulerClient = SchedulerClient;
|
|
1012
|
-
exports.SchedulerServiceException = SchedulerServiceException;
|
|
1013
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1042
|
+
exports.SchedulerServiceException = SchedulerServiceException$1;
|
|
1043
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1014
1044
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1015
|
-
exports.ThrottlingException = ThrottlingException;
|
|
1045
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1016
1046
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1017
1047
|
exports.UpdateScheduleCommand = UpdateScheduleCommand;
|
|
1018
|
-
exports.ValidationException = ValidationException;
|
|
1048
|
+
exports.ValidationException = ValidationException$1;
|
|
1019
1049
|
exports.paginateListScheduleGroups = paginateListScheduleGroups;
|
|
1020
1050
|
exports.paginateListSchedules = paginateListSchedules;
|