@aws-sdk/client-scheduler 3.489.0 → 3.495.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/Scheduler.js +1 -35
- package/dist-cjs/SchedulerClient.js +1 -43
- package/dist-cjs/commands/CreateScheduleCommand.js +1 -28
- package/dist-cjs/commands/CreateScheduleGroupCommand.js +1 -28
- package/dist-cjs/commands/DeleteScheduleCommand.js +1 -28
- package/dist-cjs/commands/DeleteScheduleGroupCommand.js +1 -28
- package/dist-cjs/commands/GetScheduleCommand.js +1 -28
- package/dist-cjs/commands/GetScheduleGroupCommand.js +1 -28
- package/dist-cjs/commands/ListScheduleGroupsCommand.js +1 -28
- package/dist-cjs/commands/ListSchedulesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateScheduleCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -15
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1469 -11
- package/dist-cjs/models/SchedulerServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -125
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListScheduleGroupsPaginator.js +1 -7
- package/dist-cjs/pagination/ListSchedulesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -6
- package/dist-cjs/protocols/Aws_restJson1.js +1 -915
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,1470 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
ActionAfterCompletion: () => ActionAfterCompletion,
|
|
25
|
+
AssignPublicIp: () => AssignPublicIp,
|
|
26
|
+
ConflictException: () => ConflictException,
|
|
27
|
+
CreateScheduleCommand: () => CreateScheduleCommand,
|
|
28
|
+
CreateScheduleGroupCommand: () => CreateScheduleGroupCommand,
|
|
29
|
+
DeleteScheduleCommand: () => DeleteScheduleCommand,
|
|
30
|
+
DeleteScheduleGroupCommand: () => DeleteScheduleGroupCommand,
|
|
31
|
+
FlexibleTimeWindowMode: () => FlexibleTimeWindowMode,
|
|
32
|
+
GetScheduleCommand: () => GetScheduleCommand,
|
|
33
|
+
GetScheduleGroupCommand: () => GetScheduleGroupCommand,
|
|
34
|
+
InternalServerException: () => InternalServerException,
|
|
35
|
+
LaunchType: () => LaunchType,
|
|
36
|
+
ListScheduleGroupsCommand: () => ListScheduleGroupsCommand,
|
|
37
|
+
ListSchedulesCommand: () => ListSchedulesCommand,
|
|
38
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
39
|
+
PlacementConstraintType: () => PlacementConstraintType,
|
|
40
|
+
PlacementStrategyType: () => PlacementStrategyType,
|
|
41
|
+
PropagateTags: () => PropagateTags,
|
|
42
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
43
|
+
ScheduleGroupState: () => ScheduleGroupState,
|
|
44
|
+
ScheduleState: () => ScheduleState,
|
|
45
|
+
Scheduler: () => Scheduler,
|
|
46
|
+
SchedulerClient: () => SchedulerClient,
|
|
47
|
+
SchedulerServiceException: () => SchedulerServiceException,
|
|
48
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
49
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
50
|
+
ThrottlingException: () => ThrottlingException,
|
|
51
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
52
|
+
UpdateScheduleCommand: () => UpdateScheduleCommand,
|
|
53
|
+
ValidationException: () => ValidationException,
|
|
54
|
+
__Client: () => import_smithy_client.Client,
|
|
55
|
+
paginateListScheduleGroups: () => paginateListScheduleGroups,
|
|
56
|
+
paginateListSchedules: () => paginateListSchedules
|
|
57
|
+
});
|
|
58
|
+
module.exports = __toCommonJS(src_exports);
|
|
59
|
+
|
|
60
|
+
// src/SchedulerClient.ts
|
|
61
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
62
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
63
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
64
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
65
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
66
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
67
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
68
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
69
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
// src/endpoint/EndpointParameters.ts
|
|
73
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
74
|
+
return {
|
|
75
|
+
...options,
|
|
76
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
77
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
78
|
+
defaultSigningName: "scheduler"
|
|
79
|
+
};
|
|
80
|
+
}, "resolveClientEndpointParameters");
|
|
81
|
+
var commonParams = {
|
|
82
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
83
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
84
|
+
Region: { type: "builtInParams", name: "region" },
|
|
85
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
// src/SchedulerClient.ts
|
|
89
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
90
|
+
|
|
91
|
+
// src/runtimeExtensions.ts
|
|
92
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
93
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
94
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
95
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
96
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
97
|
+
const extensionConfiguration = {
|
|
98
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
99
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
100
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
101
|
+
};
|
|
102
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
103
|
+
return {
|
|
104
|
+
...runtimeConfig,
|
|
105
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
106
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
107
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
108
|
+
};
|
|
109
|
+
}, "resolveRuntimeExtensions");
|
|
110
|
+
|
|
111
|
+
// src/SchedulerClient.ts
|
|
112
|
+
var _SchedulerClient = class _SchedulerClient extends import_smithy_client.Client {
|
|
113
|
+
constructor(...[configuration]) {
|
|
114
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
115
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
116
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
117
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
118
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
119
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
120
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
121
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
122
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
123
|
+
super(_config_8);
|
|
124
|
+
this.config = _config_8;
|
|
125
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
126
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
127
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
128
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
129
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
130
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
131
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
135
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
136
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
137
|
+
*/
|
|
138
|
+
destroy() {
|
|
139
|
+
super.destroy();
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
__name(_SchedulerClient, "SchedulerClient");
|
|
143
|
+
var SchedulerClient = _SchedulerClient;
|
|
144
|
+
|
|
145
|
+
// src/Scheduler.ts
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
// src/commands/CreateScheduleCommand.ts
|
|
149
|
+
|
|
150
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
151
|
+
|
|
152
|
+
var import_types = require("@smithy/types");
|
|
153
|
+
|
|
154
|
+
// src/protocols/Aws_restJson1.ts
|
|
155
|
+
var import_core = require("@smithy/core");
|
|
156
|
+
|
|
157
|
+
var import_uuid = require("uuid");
|
|
158
|
+
|
|
159
|
+
// src/models/SchedulerServiceException.ts
|
|
160
|
+
|
|
161
|
+
var _SchedulerServiceException = class _SchedulerServiceException extends import_smithy_client.ServiceException {
|
|
162
|
+
/**
|
|
163
|
+
* @internal
|
|
164
|
+
*/
|
|
165
|
+
constructor(options) {
|
|
166
|
+
super(options);
|
|
167
|
+
Object.setPrototypeOf(this, _SchedulerServiceException.prototype);
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
__name(_SchedulerServiceException, "SchedulerServiceException");
|
|
171
|
+
var SchedulerServiceException = _SchedulerServiceException;
|
|
172
|
+
|
|
173
|
+
// src/models/models_0.ts
|
|
174
|
+
var ActionAfterCompletion = {
|
|
175
|
+
DELETE: "DELETE",
|
|
176
|
+
NONE: "NONE"
|
|
177
|
+
};
|
|
178
|
+
var AssignPublicIp = {
|
|
179
|
+
DISABLED: "DISABLED",
|
|
180
|
+
ENABLED: "ENABLED"
|
|
181
|
+
};
|
|
182
|
+
var _InternalServerException = class _InternalServerException extends SchedulerServiceException {
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
*/
|
|
186
|
+
constructor(opts) {
|
|
187
|
+
super({
|
|
188
|
+
name: "InternalServerException",
|
|
189
|
+
$fault: "server",
|
|
190
|
+
...opts
|
|
191
|
+
});
|
|
192
|
+
this.name = "InternalServerException";
|
|
193
|
+
this.$fault = "server";
|
|
194
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
195
|
+
this.Message = opts.Message;
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
__name(_InternalServerException, "InternalServerException");
|
|
199
|
+
var InternalServerException = _InternalServerException;
|
|
200
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends SchedulerServiceException {
|
|
201
|
+
/**
|
|
202
|
+
* @internal
|
|
203
|
+
*/
|
|
204
|
+
constructor(opts) {
|
|
205
|
+
super({
|
|
206
|
+
name: "ResourceNotFoundException",
|
|
207
|
+
$fault: "client",
|
|
208
|
+
...opts
|
|
209
|
+
});
|
|
210
|
+
this.name = "ResourceNotFoundException";
|
|
211
|
+
this.$fault = "client";
|
|
212
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
213
|
+
this.Message = opts.Message;
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
217
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
218
|
+
var _ThrottlingException = class _ThrottlingException extends SchedulerServiceException {
|
|
219
|
+
/**
|
|
220
|
+
* @internal
|
|
221
|
+
*/
|
|
222
|
+
constructor(opts) {
|
|
223
|
+
super({
|
|
224
|
+
name: "ThrottlingException",
|
|
225
|
+
$fault: "client",
|
|
226
|
+
...opts
|
|
227
|
+
});
|
|
228
|
+
this.name = "ThrottlingException";
|
|
229
|
+
this.$fault = "client";
|
|
230
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
231
|
+
this.Message = opts.Message;
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
235
|
+
var ThrottlingException = _ThrottlingException;
|
|
236
|
+
var _ValidationException = class _ValidationException extends SchedulerServiceException {
|
|
237
|
+
/**
|
|
238
|
+
* @internal
|
|
239
|
+
*/
|
|
240
|
+
constructor(opts) {
|
|
241
|
+
super({
|
|
242
|
+
name: "ValidationException",
|
|
243
|
+
$fault: "client",
|
|
244
|
+
...opts
|
|
245
|
+
});
|
|
246
|
+
this.name = "ValidationException";
|
|
247
|
+
this.$fault = "client";
|
|
248
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
249
|
+
this.Message = opts.Message;
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
__name(_ValidationException, "ValidationException");
|
|
253
|
+
var ValidationException = _ValidationException;
|
|
254
|
+
var _ConflictException = class _ConflictException extends SchedulerServiceException {
|
|
255
|
+
/**
|
|
256
|
+
* @internal
|
|
257
|
+
*/
|
|
258
|
+
constructor(opts) {
|
|
259
|
+
super({
|
|
260
|
+
name: "ConflictException",
|
|
261
|
+
$fault: "client",
|
|
262
|
+
...opts
|
|
263
|
+
});
|
|
264
|
+
this.name = "ConflictException";
|
|
265
|
+
this.$fault = "client";
|
|
266
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
267
|
+
this.Message = opts.Message;
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
__name(_ConflictException, "ConflictException");
|
|
271
|
+
var ConflictException = _ConflictException;
|
|
272
|
+
var FlexibleTimeWindowMode = {
|
|
273
|
+
FLEXIBLE: "FLEXIBLE",
|
|
274
|
+
OFF: "OFF"
|
|
275
|
+
};
|
|
276
|
+
var ScheduleState = {
|
|
277
|
+
DISABLED: "DISABLED",
|
|
278
|
+
ENABLED: "ENABLED"
|
|
279
|
+
};
|
|
280
|
+
var LaunchType = {
|
|
281
|
+
EC2: "EC2",
|
|
282
|
+
EXTERNAL: "EXTERNAL",
|
|
283
|
+
FARGATE: "FARGATE"
|
|
284
|
+
};
|
|
285
|
+
var PlacementConstraintType = {
|
|
286
|
+
DISTINCT_INSTANCE: "distinctInstance",
|
|
287
|
+
MEMBER_OF: "memberOf"
|
|
288
|
+
};
|
|
289
|
+
var PlacementStrategyType = {
|
|
290
|
+
BINPACK: "binpack",
|
|
291
|
+
RANDOM: "random",
|
|
292
|
+
SPREAD: "spread"
|
|
293
|
+
};
|
|
294
|
+
var PropagateTags = {
|
|
295
|
+
TASK_DEFINITION: "TASK_DEFINITION"
|
|
296
|
+
};
|
|
297
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SchedulerServiceException {
|
|
298
|
+
/**
|
|
299
|
+
* @internal
|
|
300
|
+
*/
|
|
301
|
+
constructor(opts) {
|
|
302
|
+
super({
|
|
303
|
+
name: "ServiceQuotaExceededException",
|
|
304
|
+
$fault: "client",
|
|
305
|
+
...opts
|
|
306
|
+
});
|
|
307
|
+
this.name = "ServiceQuotaExceededException";
|
|
308
|
+
this.$fault = "client";
|
|
309
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
310
|
+
this.Message = opts.Message;
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
314
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
315
|
+
var ScheduleGroupState = {
|
|
316
|
+
ACTIVE: "ACTIVE",
|
|
317
|
+
DELETING: "DELETING"
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
// src/protocols/Aws_restJson1.ts
|
|
321
|
+
var se_CreateScheduleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
322
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
323
|
+
const headers = {
|
|
324
|
+
"content-type": "application/json"
|
|
325
|
+
};
|
|
326
|
+
b.bp("/schedules/{Name}");
|
|
327
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
328
|
+
let body;
|
|
329
|
+
body = JSON.stringify(
|
|
330
|
+
(0, import_smithy_client.take)(input, {
|
|
331
|
+
ActionAfterCompletion: [],
|
|
332
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
333
|
+
Description: [],
|
|
334
|
+
EndDate: (_) => Math.round(_.getTime() / 1e3),
|
|
335
|
+
FlexibleTimeWindow: (_) => (0, import_smithy_client._json)(_),
|
|
336
|
+
GroupName: [],
|
|
337
|
+
KmsKeyArn: [],
|
|
338
|
+
ScheduleExpression: [],
|
|
339
|
+
ScheduleExpressionTimezone: [],
|
|
340
|
+
StartDate: (_) => Math.round(_.getTime() / 1e3),
|
|
341
|
+
State: [],
|
|
342
|
+
Target: (_) => (0, import_smithy_client._json)(_)
|
|
343
|
+
})
|
|
344
|
+
);
|
|
345
|
+
b.m("POST").h(headers).b(body);
|
|
346
|
+
return b.build();
|
|
347
|
+
}, "se_CreateScheduleCommand");
|
|
348
|
+
var se_CreateScheduleGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
349
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
350
|
+
const headers = {
|
|
351
|
+
"content-type": "application/json"
|
|
352
|
+
};
|
|
353
|
+
b.bp("/schedule-groups/{Name}");
|
|
354
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
355
|
+
let body;
|
|
356
|
+
body = JSON.stringify(
|
|
357
|
+
(0, import_smithy_client.take)(input, {
|
|
358
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
359
|
+
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
360
|
+
})
|
|
361
|
+
);
|
|
362
|
+
b.m("POST").h(headers).b(body);
|
|
363
|
+
return b.build();
|
|
364
|
+
}, "se_CreateScheduleGroupCommand");
|
|
365
|
+
var se_DeleteScheduleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
366
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
367
|
+
const headers = {};
|
|
368
|
+
b.bp("/schedules/{Name}");
|
|
369
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
370
|
+
const query = (0, import_smithy_client.map)({
|
|
371
|
+
[_gN]: [, input[_GN]],
|
|
372
|
+
[_cT]: [, input[_CT] ?? (0, import_uuid.v4)()]
|
|
373
|
+
});
|
|
374
|
+
let body;
|
|
375
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
376
|
+
return b.build();
|
|
377
|
+
}, "se_DeleteScheduleCommand");
|
|
378
|
+
var se_DeleteScheduleGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
379
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
380
|
+
const headers = {};
|
|
381
|
+
b.bp("/schedule-groups/{Name}");
|
|
382
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
383
|
+
const query = (0, import_smithy_client.map)({
|
|
384
|
+
[_cT]: [, input[_CT] ?? (0, import_uuid.v4)()]
|
|
385
|
+
});
|
|
386
|
+
let body;
|
|
387
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
388
|
+
return b.build();
|
|
389
|
+
}, "se_DeleteScheduleGroupCommand");
|
|
390
|
+
var se_GetScheduleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
391
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
392
|
+
const headers = {};
|
|
393
|
+
b.bp("/schedules/{Name}");
|
|
394
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
395
|
+
const query = (0, import_smithy_client.map)({
|
|
396
|
+
[_gN]: [, input[_GN]]
|
|
397
|
+
});
|
|
398
|
+
let body;
|
|
399
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
400
|
+
return b.build();
|
|
401
|
+
}, "se_GetScheduleCommand");
|
|
402
|
+
var se_GetScheduleGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
403
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
404
|
+
const headers = {};
|
|
405
|
+
b.bp("/schedule-groups/{Name}");
|
|
406
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
407
|
+
let body;
|
|
408
|
+
b.m("GET").h(headers).b(body);
|
|
409
|
+
return b.build();
|
|
410
|
+
}, "se_GetScheduleGroupCommand");
|
|
411
|
+
var se_ListScheduleGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
412
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
413
|
+
const headers = {};
|
|
414
|
+
b.bp("/schedule-groups");
|
|
415
|
+
const query = (0, import_smithy_client.map)({
|
|
416
|
+
[_NP]: [, input[_NP]],
|
|
417
|
+
[_NT]: [, input[_NT]],
|
|
418
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
419
|
+
});
|
|
420
|
+
let body;
|
|
421
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
422
|
+
return b.build();
|
|
423
|
+
}, "se_ListScheduleGroupsCommand");
|
|
424
|
+
var se_ListSchedulesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
425
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
426
|
+
const headers = {};
|
|
427
|
+
b.bp("/schedules");
|
|
428
|
+
const query = (0, import_smithy_client.map)({
|
|
429
|
+
[_SG]: [, input[_GN]],
|
|
430
|
+
[_NP]: [, input[_NP]],
|
|
431
|
+
[_S]: [, input[_S]],
|
|
432
|
+
[_NT]: [, input[_NT]],
|
|
433
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
434
|
+
});
|
|
435
|
+
let body;
|
|
436
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
437
|
+
return b.build();
|
|
438
|
+
}, "se_ListSchedulesCommand");
|
|
439
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
440
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
441
|
+
const headers = {};
|
|
442
|
+
b.bp("/tags/{ResourceArn}");
|
|
443
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
444
|
+
let body;
|
|
445
|
+
b.m("GET").h(headers).b(body);
|
|
446
|
+
return b.build();
|
|
447
|
+
}, "se_ListTagsForResourceCommand");
|
|
448
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
449
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
450
|
+
const headers = {
|
|
451
|
+
"content-type": "application/json"
|
|
452
|
+
};
|
|
453
|
+
b.bp("/tags/{ResourceArn}");
|
|
454
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
455
|
+
let body;
|
|
456
|
+
body = JSON.stringify(
|
|
457
|
+
(0, import_smithy_client.take)(input, {
|
|
458
|
+
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
459
|
+
})
|
|
460
|
+
);
|
|
461
|
+
b.m("POST").h(headers).b(body);
|
|
462
|
+
return b.build();
|
|
463
|
+
}, "se_TagResourceCommand");
|
|
464
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
465
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
466
|
+
const headers = {};
|
|
467
|
+
b.bp("/tags/{ResourceArn}");
|
|
468
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
469
|
+
const query = (0, import_smithy_client.map)({
|
|
470
|
+
[_TK]: [
|
|
471
|
+
(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
472
|
+
() => (input[_TK] || []).map((_entry) => _entry)
|
|
473
|
+
]
|
|
474
|
+
});
|
|
475
|
+
let body;
|
|
476
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
477
|
+
return b.build();
|
|
478
|
+
}, "se_UntagResourceCommand");
|
|
479
|
+
var se_UpdateScheduleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
480
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
481
|
+
const headers = {
|
|
482
|
+
"content-type": "application/json"
|
|
483
|
+
};
|
|
484
|
+
b.bp("/schedules/{Name}");
|
|
485
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
486
|
+
let body;
|
|
487
|
+
body = JSON.stringify(
|
|
488
|
+
(0, import_smithy_client.take)(input, {
|
|
489
|
+
ActionAfterCompletion: [],
|
|
490
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
491
|
+
Description: [],
|
|
492
|
+
EndDate: (_) => Math.round(_.getTime() / 1e3),
|
|
493
|
+
FlexibleTimeWindow: (_) => (0, import_smithy_client._json)(_),
|
|
494
|
+
GroupName: [],
|
|
495
|
+
KmsKeyArn: [],
|
|
496
|
+
ScheduleExpression: [],
|
|
497
|
+
ScheduleExpressionTimezone: [],
|
|
498
|
+
StartDate: (_) => Math.round(_.getTime() / 1e3),
|
|
499
|
+
State: [],
|
|
500
|
+
Target: (_) => (0, import_smithy_client._json)(_)
|
|
501
|
+
})
|
|
502
|
+
);
|
|
503
|
+
b.m("PUT").h(headers).b(body);
|
|
504
|
+
return b.build();
|
|
505
|
+
}, "se_UpdateScheduleCommand");
|
|
506
|
+
var de_CreateScheduleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
507
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
508
|
+
return de_CreateScheduleCommandError(output, context);
|
|
509
|
+
}
|
|
510
|
+
const contents = (0, import_smithy_client.map)({
|
|
511
|
+
$metadata: deserializeMetadata(output)
|
|
512
|
+
});
|
|
513
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
514
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
515
|
+
ScheduleArn: import_smithy_client.expectString
|
|
516
|
+
});
|
|
517
|
+
Object.assign(contents, doc);
|
|
518
|
+
return contents;
|
|
519
|
+
}, "de_CreateScheduleCommand");
|
|
520
|
+
var de_CreateScheduleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
521
|
+
const parsedOutput = {
|
|
522
|
+
...output,
|
|
523
|
+
body: await parseErrorBody(output.body, context)
|
|
524
|
+
};
|
|
525
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
526
|
+
switch (errorCode) {
|
|
527
|
+
case "ConflictException":
|
|
528
|
+
case "com.amazonaws.scheduler#ConflictException":
|
|
529
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
530
|
+
case "InternalServerException":
|
|
531
|
+
case "com.amazonaws.scheduler#InternalServerException":
|
|
532
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
533
|
+
case "ResourceNotFoundException":
|
|
534
|
+
case "com.amazonaws.scheduler#ResourceNotFoundException":
|
|
535
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
536
|
+
case "ServiceQuotaExceededException":
|
|
537
|
+
case "com.amazonaws.scheduler#ServiceQuotaExceededException":
|
|
538
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
539
|
+
case "ThrottlingException":
|
|
540
|
+
case "com.amazonaws.scheduler#ThrottlingException":
|
|
541
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
542
|
+
case "ValidationException":
|
|
543
|
+
case "com.amazonaws.scheduler#ValidationException":
|
|
544
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
545
|
+
default:
|
|
546
|
+
const parsedBody = parsedOutput.body;
|
|
547
|
+
return throwDefaultError({
|
|
548
|
+
output,
|
|
549
|
+
parsedBody,
|
|
550
|
+
errorCode
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
}, "de_CreateScheduleCommandError");
|
|
554
|
+
var de_CreateScheduleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
555
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
556
|
+
return de_CreateScheduleGroupCommandError(output, context);
|
|
557
|
+
}
|
|
558
|
+
const contents = (0, import_smithy_client.map)({
|
|
559
|
+
$metadata: deserializeMetadata(output)
|
|
560
|
+
});
|
|
561
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
562
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
563
|
+
ScheduleGroupArn: import_smithy_client.expectString
|
|
564
|
+
});
|
|
565
|
+
Object.assign(contents, doc);
|
|
566
|
+
return contents;
|
|
567
|
+
}, "de_CreateScheduleGroupCommand");
|
|
568
|
+
var de_CreateScheduleGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
569
|
+
const parsedOutput = {
|
|
570
|
+
...output,
|
|
571
|
+
body: await parseErrorBody(output.body, context)
|
|
572
|
+
};
|
|
573
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
574
|
+
switch (errorCode) {
|
|
575
|
+
case "ConflictException":
|
|
576
|
+
case "com.amazonaws.scheduler#ConflictException":
|
|
577
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
578
|
+
case "InternalServerException":
|
|
579
|
+
case "com.amazonaws.scheduler#InternalServerException":
|
|
580
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
581
|
+
case "ServiceQuotaExceededException":
|
|
582
|
+
case "com.amazonaws.scheduler#ServiceQuotaExceededException":
|
|
583
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
584
|
+
case "ThrottlingException":
|
|
585
|
+
case "com.amazonaws.scheduler#ThrottlingException":
|
|
586
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
587
|
+
case "ValidationException":
|
|
588
|
+
case "com.amazonaws.scheduler#ValidationException":
|
|
589
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
590
|
+
default:
|
|
591
|
+
const parsedBody = parsedOutput.body;
|
|
592
|
+
return throwDefaultError({
|
|
593
|
+
output,
|
|
594
|
+
parsedBody,
|
|
595
|
+
errorCode
|
|
596
|
+
});
|
|
597
|
+
}
|
|
598
|
+
}, "de_CreateScheduleGroupCommandError");
|
|
599
|
+
var de_DeleteScheduleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
600
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
601
|
+
return de_DeleteScheduleCommandError(output, context);
|
|
602
|
+
}
|
|
603
|
+
const contents = (0, import_smithy_client.map)({
|
|
604
|
+
$metadata: deserializeMetadata(output)
|
|
605
|
+
});
|
|
606
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
607
|
+
return contents;
|
|
608
|
+
}, "de_DeleteScheduleCommand");
|
|
609
|
+
var de_DeleteScheduleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
610
|
+
const parsedOutput = {
|
|
611
|
+
...output,
|
|
612
|
+
body: await parseErrorBody(output.body, context)
|
|
613
|
+
};
|
|
614
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
615
|
+
switch (errorCode) {
|
|
616
|
+
case "ConflictException":
|
|
617
|
+
case "com.amazonaws.scheduler#ConflictException":
|
|
618
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
619
|
+
case "InternalServerException":
|
|
620
|
+
case "com.amazonaws.scheduler#InternalServerException":
|
|
621
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
622
|
+
case "ResourceNotFoundException":
|
|
623
|
+
case "com.amazonaws.scheduler#ResourceNotFoundException":
|
|
624
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
625
|
+
case "ThrottlingException":
|
|
626
|
+
case "com.amazonaws.scheduler#ThrottlingException":
|
|
627
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
628
|
+
case "ValidationException":
|
|
629
|
+
case "com.amazonaws.scheduler#ValidationException":
|
|
630
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
631
|
+
default:
|
|
632
|
+
const parsedBody = parsedOutput.body;
|
|
633
|
+
return throwDefaultError({
|
|
634
|
+
output,
|
|
635
|
+
parsedBody,
|
|
636
|
+
errorCode
|
|
637
|
+
});
|
|
638
|
+
}
|
|
639
|
+
}, "de_DeleteScheduleCommandError");
|
|
640
|
+
var de_DeleteScheduleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
641
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
642
|
+
return de_DeleteScheduleGroupCommandError(output, context);
|
|
643
|
+
}
|
|
644
|
+
const contents = (0, import_smithy_client.map)({
|
|
645
|
+
$metadata: deserializeMetadata(output)
|
|
646
|
+
});
|
|
647
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
648
|
+
return contents;
|
|
649
|
+
}, "de_DeleteScheduleGroupCommand");
|
|
650
|
+
var de_DeleteScheduleGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
651
|
+
const parsedOutput = {
|
|
652
|
+
...output,
|
|
653
|
+
body: await parseErrorBody(output.body, context)
|
|
654
|
+
};
|
|
655
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
656
|
+
switch (errorCode) {
|
|
657
|
+
case "ConflictException":
|
|
658
|
+
case "com.amazonaws.scheduler#ConflictException":
|
|
659
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
660
|
+
case "InternalServerException":
|
|
661
|
+
case "com.amazonaws.scheduler#InternalServerException":
|
|
662
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
663
|
+
case "ResourceNotFoundException":
|
|
664
|
+
case "com.amazonaws.scheduler#ResourceNotFoundException":
|
|
665
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
666
|
+
case "ThrottlingException":
|
|
667
|
+
case "com.amazonaws.scheduler#ThrottlingException":
|
|
668
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
669
|
+
case "ValidationException":
|
|
670
|
+
case "com.amazonaws.scheduler#ValidationException":
|
|
671
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
672
|
+
default:
|
|
673
|
+
const parsedBody = parsedOutput.body;
|
|
674
|
+
return throwDefaultError({
|
|
675
|
+
output,
|
|
676
|
+
parsedBody,
|
|
677
|
+
errorCode
|
|
678
|
+
});
|
|
679
|
+
}
|
|
680
|
+
}, "de_DeleteScheduleGroupCommandError");
|
|
681
|
+
var de_GetScheduleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
682
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
683
|
+
return de_GetScheduleCommandError(output, context);
|
|
684
|
+
}
|
|
685
|
+
const contents = (0, import_smithy_client.map)({
|
|
686
|
+
$metadata: deserializeMetadata(output)
|
|
687
|
+
});
|
|
688
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
689
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
690
|
+
ActionAfterCompletion: import_smithy_client.expectString,
|
|
691
|
+
Arn: import_smithy_client.expectString,
|
|
692
|
+
CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
693
|
+
Description: import_smithy_client.expectString,
|
|
694
|
+
EndDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
695
|
+
FlexibleTimeWindow: import_smithy_client._json,
|
|
696
|
+
GroupName: import_smithy_client.expectString,
|
|
697
|
+
KmsKeyArn: import_smithy_client.expectString,
|
|
698
|
+
LastModificationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
699
|
+
Name: import_smithy_client.expectString,
|
|
700
|
+
ScheduleExpression: import_smithy_client.expectString,
|
|
701
|
+
ScheduleExpressionTimezone: import_smithy_client.expectString,
|
|
702
|
+
StartDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
703
|
+
State: import_smithy_client.expectString,
|
|
704
|
+
Target: import_smithy_client._json
|
|
705
|
+
});
|
|
706
|
+
Object.assign(contents, doc);
|
|
707
|
+
return contents;
|
|
708
|
+
}, "de_GetScheduleCommand");
|
|
709
|
+
var de_GetScheduleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
710
|
+
const parsedOutput = {
|
|
711
|
+
...output,
|
|
712
|
+
body: await parseErrorBody(output.body, context)
|
|
713
|
+
};
|
|
714
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
715
|
+
switch (errorCode) {
|
|
716
|
+
case "InternalServerException":
|
|
717
|
+
case "com.amazonaws.scheduler#InternalServerException":
|
|
718
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
719
|
+
case "ResourceNotFoundException":
|
|
720
|
+
case "com.amazonaws.scheduler#ResourceNotFoundException":
|
|
721
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
722
|
+
case "ThrottlingException":
|
|
723
|
+
case "com.amazonaws.scheduler#ThrottlingException":
|
|
724
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
725
|
+
case "ValidationException":
|
|
726
|
+
case "com.amazonaws.scheduler#ValidationException":
|
|
727
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
728
|
+
default:
|
|
729
|
+
const parsedBody = parsedOutput.body;
|
|
730
|
+
return throwDefaultError({
|
|
731
|
+
output,
|
|
732
|
+
parsedBody,
|
|
733
|
+
errorCode
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
}, "de_GetScheduleCommandError");
|
|
737
|
+
var de_GetScheduleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
738
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
739
|
+
return de_GetScheduleGroupCommandError(output, context);
|
|
740
|
+
}
|
|
741
|
+
const contents = (0, import_smithy_client.map)({
|
|
742
|
+
$metadata: deserializeMetadata(output)
|
|
743
|
+
});
|
|
744
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
745
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
746
|
+
Arn: import_smithy_client.expectString,
|
|
747
|
+
CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
748
|
+
LastModificationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
749
|
+
Name: import_smithy_client.expectString,
|
|
750
|
+
State: import_smithy_client.expectString
|
|
751
|
+
});
|
|
752
|
+
Object.assign(contents, doc);
|
|
753
|
+
return contents;
|
|
754
|
+
}, "de_GetScheduleGroupCommand");
|
|
755
|
+
var de_GetScheduleGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
756
|
+
const parsedOutput = {
|
|
757
|
+
...output,
|
|
758
|
+
body: await parseErrorBody(output.body, context)
|
|
759
|
+
};
|
|
760
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
761
|
+
switch (errorCode) {
|
|
762
|
+
case "InternalServerException":
|
|
763
|
+
case "com.amazonaws.scheduler#InternalServerException":
|
|
764
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
765
|
+
case "ResourceNotFoundException":
|
|
766
|
+
case "com.amazonaws.scheduler#ResourceNotFoundException":
|
|
767
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
768
|
+
case "ThrottlingException":
|
|
769
|
+
case "com.amazonaws.scheduler#ThrottlingException":
|
|
770
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
771
|
+
case "ValidationException":
|
|
772
|
+
case "com.amazonaws.scheduler#ValidationException":
|
|
773
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
774
|
+
default:
|
|
775
|
+
const parsedBody = parsedOutput.body;
|
|
776
|
+
return throwDefaultError({
|
|
777
|
+
output,
|
|
778
|
+
parsedBody,
|
|
779
|
+
errorCode
|
|
780
|
+
});
|
|
781
|
+
}
|
|
782
|
+
}, "de_GetScheduleGroupCommandError");
|
|
783
|
+
var de_ListScheduleGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
784
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
785
|
+
return de_ListScheduleGroupsCommandError(output, context);
|
|
786
|
+
}
|
|
787
|
+
const contents = (0, import_smithy_client.map)({
|
|
788
|
+
$metadata: deserializeMetadata(output)
|
|
789
|
+
});
|
|
790
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
791
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
792
|
+
NextToken: import_smithy_client.expectString,
|
|
793
|
+
ScheduleGroups: (_) => de_ScheduleGroupList(_, context)
|
|
794
|
+
});
|
|
795
|
+
Object.assign(contents, doc);
|
|
796
|
+
return contents;
|
|
797
|
+
}, "de_ListScheduleGroupsCommand");
|
|
798
|
+
var de_ListScheduleGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
799
|
+
const parsedOutput = {
|
|
800
|
+
...output,
|
|
801
|
+
body: await parseErrorBody(output.body, context)
|
|
802
|
+
};
|
|
803
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
804
|
+
switch (errorCode) {
|
|
805
|
+
case "InternalServerException":
|
|
806
|
+
case "com.amazonaws.scheduler#InternalServerException":
|
|
807
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
808
|
+
case "ThrottlingException":
|
|
809
|
+
case "com.amazonaws.scheduler#ThrottlingException":
|
|
810
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
811
|
+
case "ValidationException":
|
|
812
|
+
case "com.amazonaws.scheduler#ValidationException":
|
|
813
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
814
|
+
default:
|
|
815
|
+
const parsedBody = parsedOutput.body;
|
|
816
|
+
return throwDefaultError({
|
|
817
|
+
output,
|
|
818
|
+
parsedBody,
|
|
819
|
+
errorCode
|
|
820
|
+
});
|
|
821
|
+
}
|
|
822
|
+
}, "de_ListScheduleGroupsCommandError");
|
|
823
|
+
var de_ListSchedulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
824
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
825
|
+
return de_ListSchedulesCommandError(output, context);
|
|
826
|
+
}
|
|
827
|
+
const contents = (0, import_smithy_client.map)({
|
|
828
|
+
$metadata: deserializeMetadata(output)
|
|
829
|
+
});
|
|
830
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
831
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
832
|
+
NextToken: import_smithy_client.expectString,
|
|
833
|
+
Schedules: (_) => de_ScheduleList(_, context)
|
|
834
|
+
});
|
|
835
|
+
Object.assign(contents, doc);
|
|
836
|
+
return contents;
|
|
837
|
+
}, "de_ListSchedulesCommand");
|
|
838
|
+
var de_ListSchedulesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
839
|
+
const parsedOutput = {
|
|
840
|
+
...output,
|
|
841
|
+
body: await parseErrorBody(output.body, context)
|
|
842
|
+
};
|
|
843
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
844
|
+
switch (errorCode) {
|
|
845
|
+
case "InternalServerException":
|
|
846
|
+
case "com.amazonaws.scheduler#InternalServerException":
|
|
847
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
848
|
+
case "ResourceNotFoundException":
|
|
849
|
+
case "com.amazonaws.scheduler#ResourceNotFoundException":
|
|
850
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
851
|
+
case "ThrottlingException":
|
|
852
|
+
case "com.amazonaws.scheduler#ThrottlingException":
|
|
853
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
854
|
+
case "ValidationException":
|
|
855
|
+
case "com.amazonaws.scheduler#ValidationException":
|
|
856
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
857
|
+
default:
|
|
858
|
+
const parsedBody = parsedOutput.body;
|
|
859
|
+
return throwDefaultError({
|
|
860
|
+
output,
|
|
861
|
+
parsedBody,
|
|
862
|
+
errorCode
|
|
863
|
+
});
|
|
864
|
+
}
|
|
865
|
+
}, "de_ListSchedulesCommandError");
|
|
866
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
867
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
868
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
869
|
+
}
|
|
870
|
+
const contents = (0, import_smithy_client.map)({
|
|
871
|
+
$metadata: deserializeMetadata(output)
|
|
872
|
+
});
|
|
873
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
874
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
875
|
+
Tags: import_smithy_client._json
|
|
876
|
+
});
|
|
877
|
+
Object.assign(contents, doc);
|
|
878
|
+
return contents;
|
|
879
|
+
}, "de_ListTagsForResourceCommand");
|
|
880
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
881
|
+
const parsedOutput = {
|
|
882
|
+
...output,
|
|
883
|
+
body: await parseErrorBody(output.body, context)
|
|
884
|
+
};
|
|
885
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
886
|
+
switch (errorCode) {
|
|
887
|
+
case "InternalServerException":
|
|
888
|
+
case "com.amazonaws.scheduler#InternalServerException":
|
|
889
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
890
|
+
case "ResourceNotFoundException":
|
|
891
|
+
case "com.amazonaws.scheduler#ResourceNotFoundException":
|
|
892
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
893
|
+
case "ThrottlingException":
|
|
894
|
+
case "com.amazonaws.scheduler#ThrottlingException":
|
|
895
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
896
|
+
case "ValidationException":
|
|
897
|
+
case "com.amazonaws.scheduler#ValidationException":
|
|
898
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
899
|
+
default:
|
|
900
|
+
const parsedBody = parsedOutput.body;
|
|
901
|
+
return throwDefaultError({
|
|
902
|
+
output,
|
|
903
|
+
parsedBody,
|
|
904
|
+
errorCode
|
|
905
|
+
});
|
|
906
|
+
}
|
|
907
|
+
}, "de_ListTagsForResourceCommandError");
|
|
908
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
909
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
910
|
+
return de_TagResourceCommandError(output, context);
|
|
911
|
+
}
|
|
912
|
+
const contents = (0, import_smithy_client.map)({
|
|
913
|
+
$metadata: deserializeMetadata(output)
|
|
914
|
+
});
|
|
915
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
916
|
+
return contents;
|
|
917
|
+
}, "de_TagResourceCommand");
|
|
918
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
919
|
+
const parsedOutput = {
|
|
920
|
+
...output,
|
|
921
|
+
body: await parseErrorBody(output.body, context)
|
|
922
|
+
};
|
|
923
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
924
|
+
switch (errorCode) {
|
|
925
|
+
case "ConflictException":
|
|
926
|
+
case "com.amazonaws.scheduler#ConflictException":
|
|
927
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
928
|
+
case "InternalServerException":
|
|
929
|
+
case "com.amazonaws.scheduler#InternalServerException":
|
|
930
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
931
|
+
case "ResourceNotFoundException":
|
|
932
|
+
case "com.amazonaws.scheduler#ResourceNotFoundException":
|
|
933
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
934
|
+
case "ThrottlingException":
|
|
935
|
+
case "com.amazonaws.scheduler#ThrottlingException":
|
|
936
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
937
|
+
case "ValidationException":
|
|
938
|
+
case "com.amazonaws.scheduler#ValidationException":
|
|
939
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
940
|
+
default:
|
|
941
|
+
const parsedBody = parsedOutput.body;
|
|
942
|
+
return throwDefaultError({
|
|
943
|
+
output,
|
|
944
|
+
parsedBody,
|
|
945
|
+
errorCode
|
|
946
|
+
});
|
|
947
|
+
}
|
|
948
|
+
}, "de_TagResourceCommandError");
|
|
949
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
950
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
951
|
+
return de_UntagResourceCommandError(output, context);
|
|
952
|
+
}
|
|
953
|
+
const contents = (0, import_smithy_client.map)({
|
|
954
|
+
$metadata: deserializeMetadata(output)
|
|
955
|
+
});
|
|
956
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
957
|
+
return contents;
|
|
958
|
+
}, "de_UntagResourceCommand");
|
|
959
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
960
|
+
const parsedOutput = {
|
|
961
|
+
...output,
|
|
962
|
+
body: await parseErrorBody(output.body, context)
|
|
963
|
+
};
|
|
964
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
965
|
+
switch (errorCode) {
|
|
966
|
+
case "ConflictException":
|
|
967
|
+
case "com.amazonaws.scheduler#ConflictException":
|
|
968
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
969
|
+
case "InternalServerException":
|
|
970
|
+
case "com.amazonaws.scheduler#InternalServerException":
|
|
971
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
972
|
+
case "ResourceNotFoundException":
|
|
973
|
+
case "com.amazonaws.scheduler#ResourceNotFoundException":
|
|
974
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
975
|
+
case "ThrottlingException":
|
|
976
|
+
case "com.amazonaws.scheduler#ThrottlingException":
|
|
977
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
978
|
+
case "ValidationException":
|
|
979
|
+
case "com.amazonaws.scheduler#ValidationException":
|
|
980
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
981
|
+
default:
|
|
982
|
+
const parsedBody = parsedOutput.body;
|
|
983
|
+
return throwDefaultError({
|
|
984
|
+
output,
|
|
985
|
+
parsedBody,
|
|
986
|
+
errorCode
|
|
987
|
+
});
|
|
988
|
+
}
|
|
989
|
+
}, "de_UntagResourceCommandError");
|
|
990
|
+
var de_UpdateScheduleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
991
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
992
|
+
return de_UpdateScheduleCommandError(output, context);
|
|
993
|
+
}
|
|
994
|
+
const contents = (0, import_smithy_client.map)({
|
|
995
|
+
$metadata: deserializeMetadata(output)
|
|
996
|
+
});
|
|
997
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
998
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
999
|
+
ScheduleArn: import_smithy_client.expectString
|
|
1000
|
+
});
|
|
1001
|
+
Object.assign(contents, doc);
|
|
1002
|
+
return contents;
|
|
1003
|
+
}, "de_UpdateScheduleCommand");
|
|
1004
|
+
var de_UpdateScheduleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1005
|
+
const parsedOutput = {
|
|
1006
|
+
...output,
|
|
1007
|
+
body: await parseErrorBody(output.body, context)
|
|
1008
|
+
};
|
|
1009
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1010
|
+
switch (errorCode) {
|
|
1011
|
+
case "ConflictException":
|
|
1012
|
+
case "com.amazonaws.scheduler#ConflictException":
|
|
1013
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1014
|
+
case "InternalServerException":
|
|
1015
|
+
case "com.amazonaws.scheduler#InternalServerException":
|
|
1016
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1017
|
+
case "ResourceNotFoundException":
|
|
1018
|
+
case "com.amazonaws.scheduler#ResourceNotFoundException":
|
|
1019
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1020
|
+
case "ThrottlingException":
|
|
1021
|
+
case "com.amazonaws.scheduler#ThrottlingException":
|
|
1022
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1023
|
+
case "ValidationException":
|
|
1024
|
+
case "com.amazonaws.scheduler#ValidationException":
|
|
1025
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1026
|
+
default:
|
|
1027
|
+
const parsedBody = parsedOutput.body;
|
|
1028
|
+
return throwDefaultError({
|
|
1029
|
+
output,
|
|
1030
|
+
parsedBody,
|
|
1031
|
+
errorCode
|
|
1032
|
+
});
|
|
1033
|
+
}
|
|
1034
|
+
}, "de_UpdateScheduleCommandError");
|
|
1035
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(SchedulerServiceException);
|
|
1036
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1037
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1038
|
+
const data = parsedOutput.body;
|
|
1039
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1040
|
+
Message: import_smithy_client.expectString
|
|
1041
|
+
});
|
|
1042
|
+
Object.assign(contents, doc);
|
|
1043
|
+
const exception = new ConflictException({
|
|
1044
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1045
|
+
...contents
|
|
1046
|
+
});
|
|
1047
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1048
|
+
}, "de_ConflictExceptionRes");
|
|
1049
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1050
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1051
|
+
const data = parsedOutput.body;
|
|
1052
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1053
|
+
Message: import_smithy_client.expectString
|
|
1054
|
+
});
|
|
1055
|
+
Object.assign(contents, doc);
|
|
1056
|
+
const exception = new InternalServerException({
|
|
1057
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1058
|
+
...contents
|
|
1059
|
+
});
|
|
1060
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1061
|
+
}, "de_InternalServerExceptionRes");
|
|
1062
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1063
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1064
|
+
const data = parsedOutput.body;
|
|
1065
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1066
|
+
Message: import_smithy_client.expectString
|
|
1067
|
+
});
|
|
1068
|
+
Object.assign(contents, doc);
|
|
1069
|
+
const exception = new ResourceNotFoundException({
|
|
1070
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1071
|
+
...contents
|
|
1072
|
+
});
|
|
1073
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1074
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
1075
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1076
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1077
|
+
const data = parsedOutput.body;
|
|
1078
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1079
|
+
Message: import_smithy_client.expectString
|
|
1080
|
+
});
|
|
1081
|
+
Object.assign(contents, doc);
|
|
1082
|
+
const exception = new ServiceQuotaExceededException({
|
|
1083
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1084
|
+
...contents
|
|
1085
|
+
});
|
|
1086
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1087
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1088
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1089
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1090
|
+
const data = parsedOutput.body;
|
|
1091
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1092
|
+
Message: import_smithy_client.expectString
|
|
1093
|
+
});
|
|
1094
|
+
Object.assign(contents, doc);
|
|
1095
|
+
const exception = new ThrottlingException({
|
|
1096
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1097
|
+
...contents
|
|
1098
|
+
});
|
|
1099
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1100
|
+
}, "de_ThrottlingExceptionRes");
|
|
1101
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1102
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1103
|
+
const data = parsedOutput.body;
|
|
1104
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1105
|
+
Message: import_smithy_client.expectString
|
|
1106
|
+
});
|
|
1107
|
+
Object.assign(contents, doc);
|
|
1108
|
+
const exception = new ValidationException({
|
|
1109
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1110
|
+
...contents
|
|
1111
|
+
});
|
|
1112
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1113
|
+
}, "de_ValidationExceptionRes");
|
|
1114
|
+
var de_ScheduleGroupList = /* @__PURE__ */ __name((output, context) => {
|
|
1115
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1116
|
+
return de_ScheduleGroupSummary(entry, context);
|
|
1117
|
+
});
|
|
1118
|
+
return retVal;
|
|
1119
|
+
}, "de_ScheduleGroupList");
|
|
1120
|
+
var de_ScheduleGroupSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1121
|
+
return (0, import_smithy_client.take)(output, {
|
|
1122
|
+
Arn: import_smithy_client.expectString,
|
|
1123
|
+
CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1124
|
+
LastModificationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1125
|
+
Name: import_smithy_client.expectString,
|
|
1126
|
+
State: import_smithy_client.expectString
|
|
1127
|
+
});
|
|
1128
|
+
}, "de_ScheduleGroupSummary");
|
|
1129
|
+
var de_ScheduleList = /* @__PURE__ */ __name((output, context) => {
|
|
1130
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1131
|
+
return de_ScheduleSummary(entry, context);
|
|
1132
|
+
});
|
|
1133
|
+
return retVal;
|
|
1134
|
+
}, "de_ScheduleList");
|
|
1135
|
+
var de_ScheduleSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1136
|
+
return (0, import_smithy_client.take)(output, {
|
|
1137
|
+
Arn: import_smithy_client.expectString,
|
|
1138
|
+
CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1139
|
+
GroupName: import_smithy_client.expectString,
|
|
1140
|
+
LastModificationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1141
|
+
Name: import_smithy_client.expectString,
|
|
1142
|
+
State: import_smithy_client.expectString,
|
|
1143
|
+
Target: import_smithy_client._json
|
|
1144
|
+
});
|
|
1145
|
+
}, "de_ScheduleSummary");
|
|
1146
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1147
|
+
httpStatusCode: output.statusCode,
|
|
1148
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1149
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1150
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1151
|
+
}), "deserializeMetadata");
|
|
1152
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1153
|
+
var _CT = "ClientToken";
|
|
1154
|
+
var _GN = "GroupName";
|
|
1155
|
+
var _MR = "MaxResults";
|
|
1156
|
+
var _NP = "NamePrefix";
|
|
1157
|
+
var _NT = "NextToken";
|
|
1158
|
+
var _S = "State";
|
|
1159
|
+
var _SG = "ScheduleGroup";
|
|
1160
|
+
var _TK = "TagKeys";
|
|
1161
|
+
var _cT = "clientToken";
|
|
1162
|
+
var _gN = "groupName";
|
|
1163
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1164
|
+
if (encoded.length) {
|
|
1165
|
+
return JSON.parse(encoded);
|
|
1166
|
+
}
|
|
1167
|
+
return {};
|
|
1168
|
+
}), "parseBody");
|
|
1169
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1170
|
+
const value = await parseBody(errorBody, context);
|
|
1171
|
+
value.message = value.message ?? value.Message;
|
|
1172
|
+
return value;
|
|
1173
|
+
}, "parseErrorBody");
|
|
1174
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1175
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1176
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1177
|
+
let cleanValue = rawValue;
|
|
1178
|
+
if (typeof cleanValue === "number") {
|
|
1179
|
+
cleanValue = cleanValue.toString();
|
|
1180
|
+
}
|
|
1181
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1182
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1183
|
+
}
|
|
1184
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
1185
|
+
cleanValue = cleanValue.split(":")[0];
|
|
1186
|
+
}
|
|
1187
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
1188
|
+
cleanValue = cleanValue.split("#")[1];
|
|
1189
|
+
}
|
|
1190
|
+
return cleanValue;
|
|
1191
|
+
}, "sanitizeErrorCode");
|
|
1192
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1193
|
+
if (headerKey !== void 0) {
|
|
1194
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1195
|
+
}
|
|
1196
|
+
if (data.code !== void 0) {
|
|
1197
|
+
return sanitizeErrorCode(data.code);
|
|
1198
|
+
}
|
|
1199
|
+
if (data["__type"] !== void 0) {
|
|
1200
|
+
return sanitizeErrorCode(data["__type"]);
|
|
1201
|
+
}
|
|
1202
|
+
}, "loadRestJsonErrorCode");
|
|
1203
|
+
|
|
1204
|
+
// src/commands/CreateScheduleCommand.ts
|
|
1205
|
+
var _CreateScheduleCommand = class _CreateScheduleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1206
|
+
...commonParams
|
|
1207
|
+
}).m(function(Command, cs, config, o) {
|
|
1208
|
+
return [
|
|
1209
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1210
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1211
|
+
];
|
|
1212
|
+
}).s("AWSChronosService", "CreateSchedule", {}).n("SchedulerClient", "CreateScheduleCommand").f(void 0, void 0).ser(se_CreateScheduleCommand).de(de_CreateScheduleCommand).build() {
|
|
1213
|
+
};
|
|
1214
|
+
__name(_CreateScheduleCommand, "CreateScheduleCommand");
|
|
1215
|
+
var CreateScheduleCommand = _CreateScheduleCommand;
|
|
1216
|
+
|
|
1217
|
+
// src/commands/CreateScheduleGroupCommand.ts
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
var _CreateScheduleGroupCommand = class _CreateScheduleGroupCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1223
|
+
...commonParams
|
|
1224
|
+
}).m(function(Command, cs, config, o) {
|
|
1225
|
+
return [
|
|
1226
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1227
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1228
|
+
];
|
|
1229
|
+
}).s("AWSChronosService", "CreateScheduleGroup", {}).n("SchedulerClient", "CreateScheduleGroupCommand").f(void 0, void 0).ser(se_CreateScheduleGroupCommand).de(de_CreateScheduleGroupCommand).build() {
|
|
1230
|
+
};
|
|
1231
|
+
__name(_CreateScheduleGroupCommand, "CreateScheduleGroupCommand");
|
|
1232
|
+
var CreateScheduleGroupCommand = _CreateScheduleGroupCommand;
|
|
1233
|
+
|
|
1234
|
+
// src/commands/DeleteScheduleCommand.ts
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
var _DeleteScheduleCommand = class _DeleteScheduleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1240
|
+
...commonParams
|
|
1241
|
+
}).m(function(Command, cs, config, o) {
|
|
1242
|
+
return [
|
|
1243
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1244
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1245
|
+
];
|
|
1246
|
+
}).s("AWSChronosService", "DeleteSchedule", {}).n("SchedulerClient", "DeleteScheduleCommand").f(void 0, void 0).ser(se_DeleteScheduleCommand).de(de_DeleteScheduleCommand).build() {
|
|
1247
|
+
};
|
|
1248
|
+
__name(_DeleteScheduleCommand, "DeleteScheduleCommand");
|
|
1249
|
+
var DeleteScheduleCommand = _DeleteScheduleCommand;
|
|
1250
|
+
|
|
1251
|
+
// src/commands/DeleteScheduleGroupCommand.ts
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
var _DeleteScheduleGroupCommand = class _DeleteScheduleGroupCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1257
|
+
...commonParams
|
|
1258
|
+
}).m(function(Command, cs, config, o) {
|
|
1259
|
+
return [
|
|
1260
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1261
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1262
|
+
];
|
|
1263
|
+
}).s("AWSChronosService", "DeleteScheduleGroup", {}).n("SchedulerClient", "DeleteScheduleGroupCommand").f(void 0, void 0).ser(se_DeleteScheduleGroupCommand).de(de_DeleteScheduleGroupCommand).build() {
|
|
1264
|
+
};
|
|
1265
|
+
__name(_DeleteScheduleGroupCommand, "DeleteScheduleGroupCommand");
|
|
1266
|
+
var DeleteScheduleGroupCommand = _DeleteScheduleGroupCommand;
|
|
1267
|
+
|
|
1268
|
+
// src/commands/GetScheduleCommand.ts
|
|
1269
|
+
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
|
|
1273
|
+
var _GetScheduleCommand = class _GetScheduleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1274
|
+
...commonParams
|
|
1275
|
+
}).m(function(Command, cs, config, o) {
|
|
1276
|
+
return [
|
|
1277
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1278
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1279
|
+
];
|
|
1280
|
+
}).s("AWSChronosService", "GetSchedule", {}).n("SchedulerClient", "GetScheduleCommand").f(void 0, void 0).ser(se_GetScheduleCommand).de(de_GetScheduleCommand).build() {
|
|
1281
|
+
};
|
|
1282
|
+
__name(_GetScheduleCommand, "GetScheduleCommand");
|
|
1283
|
+
var GetScheduleCommand = _GetScheduleCommand;
|
|
1284
|
+
|
|
1285
|
+
// src/commands/GetScheduleGroupCommand.ts
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
var _GetScheduleGroupCommand = class _GetScheduleGroupCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1291
|
+
...commonParams
|
|
1292
|
+
}).m(function(Command, cs, config, o) {
|
|
1293
|
+
return [
|
|
1294
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1295
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1296
|
+
];
|
|
1297
|
+
}).s("AWSChronosService", "GetScheduleGroup", {}).n("SchedulerClient", "GetScheduleGroupCommand").f(void 0, void 0).ser(se_GetScheduleGroupCommand).de(de_GetScheduleGroupCommand).build() {
|
|
1298
|
+
};
|
|
1299
|
+
__name(_GetScheduleGroupCommand, "GetScheduleGroupCommand");
|
|
1300
|
+
var GetScheduleGroupCommand = _GetScheduleGroupCommand;
|
|
1301
|
+
|
|
1302
|
+
// src/commands/ListScheduleGroupsCommand.ts
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
|
|
1307
|
+
var _ListScheduleGroupsCommand = class _ListScheduleGroupsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1308
|
+
...commonParams
|
|
1309
|
+
}).m(function(Command, cs, config, o) {
|
|
1310
|
+
return [
|
|
1311
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1312
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1313
|
+
];
|
|
1314
|
+
}).s("AWSChronosService", "ListScheduleGroups", {}).n("SchedulerClient", "ListScheduleGroupsCommand").f(void 0, void 0).ser(se_ListScheduleGroupsCommand).de(de_ListScheduleGroupsCommand).build() {
|
|
1315
|
+
};
|
|
1316
|
+
__name(_ListScheduleGroupsCommand, "ListScheduleGroupsCommand");
|
|
1317
|
+
var ListScheduleGroupsCommand = _ListScheduleGroupsCommand;
|
|
1318
|
+
|
|
1319
|
+
// src/commands/ListSchedulesCommand.ts
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
var _ListSchedulesCommand = class _ListSchedulesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1325
|
+
...commonParams
|
|
1326
|
+
}).m(function(Command, cs, config, o) {
|
|
1327
|
+
return [
|
|
1328
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1329
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1330
|
+
];
|
|
1331
|
+
}).s("AWSChronosService", "ListSchedules", {}).n("SchedulerClient", "ListSchedulesCommand").f(void 0, void 0).ser(se_ListSchedulesCommand).de(de_ListSchedulesCommand).build() {
|
|
1332
|
+
};
|
|
1333
|
+
__name(_ListSchedulesCommand, "ListSchedulesCommand");
|
|
1334
|
+
var ListSchedulesCommand = _ListSchedulesCommand;
|
|
1335
|
+
|
|
1336
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1342
|
+
...commonParams
|
|
1343
|
+
}).m(function(Command, cs, config, o) {
|
|
1344
|
+
return [
|
|
1345
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1346
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1347
|
+
];
|
|
1348
|
+
}).s("AWSChronosService", "ListTagsForResource", {}).n("SchedulerClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1349
|
+
};
|
|
1350
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1351
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1352
|
+
|
|
1353
|
+
// src/commands/TagResourceCommand.ts
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
|
|
1358
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1359
|
+
...commonParams
|
|
1360
|
+
}).m(function(Command, cs, config, o) {
|
|
1361
|
+
return [
|
|
1362
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1363
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1364
|
+
];
|
|
1365
|
+
}).s("AWSChronosService", "TagResource", {}).n("SchedulerClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1366
|
+
};
|
|
1367
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1368
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
1369
|
+
|
|
1370
|
+
// src/commands/UntagResourceCommand.ts
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1376
|
+
...commonParams
|
|
1377
|
+
}).m(function(Command, cs, config, o) {
|
|
1378
|
+
return [
|
|
1379
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1380
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1381
|
+
];
|
|
1382
|
+
}).s("AWSChronosService", "UntagResource", {}).n("SchedulerClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1383
|
+
};
|
|
1384
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1385
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
1386
|
+
|
|
1387
|
+
// src/commands/UpdateScheduleCommand.ts
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
var _UpdateScheduleCommand = class _UpdateScheduleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1393
|
+
...commonParams
|
|
1394
|
+
}).m(function(Command, cs, config, o) {
|
|
1395
|
+
return [
|
|
1396
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1397
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1398
|
+
];
|
|
1399
|
+
}).s("AWSChronosService", "UpdateSchedule", {}).n("SchedulerClient", "UpdateScheduleCommand").f(void 0, void 0).ser(se_UpdateScheduleCommand).de(de_UpdateScheduleCommand).build() {
|
|
1400
|
+
};
|
|
1401
|
+
__name(_UpdateScheduleCommand, "UpdateScheduleCommand");
|
|
1402
|
+
var UpdateScheduleCommand = _UpdateScheduleCommand;
|
|
1403
|
+
|
|
1404
|
+
// src/Scheduler.ts
|
|
1405
|
+
var commands = {
|
|
1406
|
+
CreateScheduleCommand,
|
|
1407
|
+
CreateScheduleGroupCommand,
|
|
1408
|
+
DeleteScheduleCommand,
|
|
1409
|
+
DeleteScheduleGroupCommand,
|
|
1410
|
+
GetScheduleCommand,
|
|
1411
|
+
GetScheduleGroupCommand,
|
|
1412
|
+
ListScheduleGroupsCommand,
|
|
1413
|
+
ListSchedulesCommand,
|
|
1414
|
+
ListTagsForResourceCommand,
|
|
1415
|
+
TagResourceCommand,
|
|
1416
|
+
UntagResourceCommand,
|
|
1417
|
+
UpdateScheduleCommand
|
|
1418
|
+
};
|
|
1419
|
+
var _Scheduler = class _Scheduler extends SchedulerClient {
|
|
1420
|
+
};
|
|
1421
|
+
__name(_Scheduler, "Scheduler");
|
|
1422
|
+
var Scheduler = _Scheduler;
|
|
1423
|
+
(0, import_smithy_client.createAggregatedClient)(commands, Scheduler);
|
|
1424
|
+
|
|
1425
|
+
// src/pagination/ListScheduleGroupsPaginator.ts
|
|
1426
|
+
|
|
1427
|
+
var paginateListScheduleGroups = (0, import_core.createPaginator)(SchedulerClient, ListScheduleGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1428
|
+
|
|
1429
|
+
// src/pagination/ListSchedulesPaginator.ts
|
|
1430
|
+
|
|
1431
|
+
var paginateListSchedules = (0, import_core.createPaginator)(SchedulerClient, ListSchedulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1432
|
+
|
|
1433
|
+
// src/index.ts
|
|
1434
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1435
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1436
|
+
0 && (module.exports = {
|
|
1437
|
+
ActionAfterCompletion,
|
|
1438
|
+
AssignPublicIp,
|
|
1439
|
+
ConflictException,
|
|
1440
|
+
CreateScheduleCommand,
|
|
1441
|
+
CreateScheduleGroupCommand,
|
|
1442
|
+
DeleteScheduleCommand,
|
|
1443
|
+
DeleteScheduleGroupCommand,
|
|
1444
|
+
FlexibleTimeWindowMode,
|
|
1445
|
+
GetScheduleCommand,
|
|
1446
|
+
GetScheduleGroupCommand,
|
|
1447
|
+
InternalServerException,
|
|
1448
|
+
LaunchType,
|
|
1449
|
+
ListScheduleGroupsCommand,
|
|
1450
|
+
ListSchedulesCommand,
|
|
1451
|
+
ListTagsForResourceCommand,
|
|
1452
|
+
PlacementConstraintType,
|
|
1453
|
+
PlacementStrategyType,
|
|
1454
|
+
PropagateTags,
|
|
1455
|
+
ResourceNotFoundException,
|
|
1456
|
+
ScheduleGroupState,
|
|
1457
|
+
ScheduleState,
|
|
1458
|
+
Scheduler,
|
|
1459
|
+
SchedulerClient,
|
|
1460
|
+
SchedulerServiceException,
|
|
1461
|
+
ServiceQuotaExceededException,
|
|
1462
|
+
TagResourceCommand,
|
|
1463
|
+
ThrottlingException,
|
|
1464
|
+
UntagResourceCommand,
|
|
1465
|
+
UpdateScheduleCommand,
|
|
1466
|
+
ValidationException,
|
|
1467
|
+
__Client,
|
|
1468
|
+
paginateListScheduleGroups,
|
|
1469
|
+
paginateListSchedules
|
|
1470
|
+
});
|