@aws-sdk/client-scheduler 3.208.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/LICENSE +201 -0
- package/README.md +209 -0
- package/dist-cjs/Scheduler.js +187 -0
- package/dist-cjs/SchedulerClient.js +40 -0
- package/dist-cjs/commands/CreateScheduleCommand.js +46 -0
- package/dist-cjs/commands/CreateScheduleGroupCommand.js +46 -0
- package/dist-cjs/commands/DeleteScheduleCommand.js +46 -0
- package/dist-cjs/commands/DeleteScheduleGroupCommand.js +46 -0
- package/dist-cjs/commands/GetScheduleCommand.js +46 -0
- package/dist-cjs/commands/GetScheduleGroupCommand.js +46 -0
- package/dist-cjs/commands/ListScheduleGroupsCommand.js +46 -0
- package/dist-cjs/commands/ListSchedulesCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateScheduleCommand.js +46 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/SchedulerServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +302 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListScheduleGroupsPaginator.js +36 -0
- package/dist-cjs/pagination/ListSchedulesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1494 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/Scheduler.js +183 -0
- package/dist-es/SchedulerClient.js +36 -0
- package/dist-es/commands/CreateScheduleCommand.js +42 -0
- package/dist-es/commands/CreateScheduleGroupCommand.js +42 -0
- package/dist-es/commands/DeleteScheduleCommand.js +42 -0
- package/dist-es/commands/DeleteScheduleGroupCommand.js +42 -0
- package/dist-es/commands/GetScheduleCommand.js +42 -0
- package/dist-es/commands/GetScheduleGroupCommand.js +42 -0
- package/dist-es/commands/ListScheduleGroupsCommand.js +42 -0
- package/dist-es/commands/ListSchedulesCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateScheduleCommand.js +42 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/SchedulerServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +249 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListScheduleGroupsPaginator.js +32 -0
- package/dist-es/pagination/ListSchedulesPaginator.js +32 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1467 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/Scheduler.d.ts +111 -0
- package/dist-types/SchedulerClient.d.ts +157 -0
- package/dist-types/commands/CreateScheduleCommand.d.ts +37 -0
- package/dist-types/commands/CreateScheduleGroupCommand.d.ts +37 -0
- package/dist-types/commands/DeleteScheduleCommand.d.ts +37 -0
- package/dist-types/commands/DeleteScheduleGroupCommand.d.ts +45 -0
- package/dist-types/commands/GetScheduleCommand.d.ts +37 -0
- package/dist-types/commands/GetScheduleGroupCommand.d.ts +37 -0
- package/dist-types/commands/ListScheduleGroupsCommand.d.ts +37 -0
- package/dist-types/commands/ListSchedulesCommand.d.ts +37 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
- package/dist-types/commands/TagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateScheduleCommand.d.ts +45 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/SchedulerServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1148 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListScheduleGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSchedulesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +38 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +17 -0
- package/dist-types/ts3.4/Scheduler.d.ts +208 -0
- package/dist-types/ts3.4/SchedulerClient.d.ts +183 -0
- package/dist-types/ts3.4/commands/CreateScheduleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/CreateScheduleGroupCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteScheduleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteScheduleGroupCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetScheduleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetScheduleGroupCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListScheduleGroupsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListSchedulesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateScheduleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/SchedulerServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +423 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListScheduleGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSchedulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +86 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +86 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +75 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +17 -0
- package/package.json +105 -0
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ruleSet = void 0;
|
|
4
|
+
exports.ruleSet = {
|
|
5
|
+
version: "1.0",
|
|
6
|
+
parameters: {
|
|
7
|
+
Region: {
|
|
8
|
+
builtIn: "AWS::Region",
|
|
9
|
+
required: false,
|
|
10
|
+
documentation: "The AWS region used to dispatch the request.",
|
|
11
|
+
type: "String",
|
|
12
|
+
},
|
|
13
|
+
UseDualStack: {
|
|
14
|
+
builtIn: "AWS::UseDualStack",
|
|
15
|
+
required: true,
|
|
16
|
+
default: false,
|
|
17
|
+
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
18
|
+
type: "Boolean",
|
|
19
|
+
},
|
|
20
|
+
UseFIPS: {
|
|
21
|
+
builtIn: "AWS::UseFIPS",
|
|
22
|
+
required: true,
|
|
23
|
+
default: false,
|
|
24
|
+
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
25
|
+
type: "Boolean",
|
|
26
|
+
},
|
|
27
|
+
Endpoint: {
|
|
28
|
+
builtIn: "SDK::Endpoint",
|
|
29
|
+
required: false,
|
|
30
|
+
documentation: "Override the endpoint used to send this request",
|
|
31
|
+
type: "String",
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
rules: [
|
|
35
|
+
{
|
|
36
|
+
conditions: [
|
|
37
|
+
{
|
|
38
|
+
fn: "aws.partition",
|
|
39
|
+
argv: [
|
|
40
|
+
{
|
|
41
|
+
ref: "Region",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
assign: "PartitionResult",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
type: "tree",
|
|
48
|
+
rules: [
|
|
49
|
+
{
|
|
50
|
+
conditions: [
|
|
51
|
+
{
|
|
52
|
+
fn: "isSet",
|
|
53
|
+
argv: [
|
|
54
|
+
{
|
|
55
|
+
ref: "Endpoint",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
fn: "parseURL",
|
|
61
|
+
argv: [
|
|
62
|
+
{
|
|
63
|
+
ref: "Endpoint",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
assign: "url",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
type: "tree",
|
|
70
|
+
rules: [
|
|
71
|
+
{
|
|
72
|
+
conditions: [
|
|
73
|
+
{
|
|
74
|
+
fn: "booleanEquals",
|
|
75
|
+
argv: [
|
|
76
|
+
{
|
|
77
|
+
ref: "UseFIPS",
|
|
78
|
+
},
|
|
79
|
+
true,
|
|
80
|
+
],
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
84
|
+
type: "error",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
conditions: [],
|
|
88
|
+
type: "tree",
|
|
89
|
+
rules: [
|
|
90
|
+
{
|
|
91
|
+
conditions: [
|
|
92
|
+
{
|
|
93
|
+
fn: "booleanEquals",
|
|
94
|
+
argv: [
|
|
95
|
+
{
|
|
96
|
+
ref: "UseDualStack",
|
|
97
|
+
},
|
|
98
|
+
true,
|
|
99
|
+
],
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
103
|
+
type: "error",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
conditions: [],
|
|
107
|
+
endpoint: {
|
|
108
|
+
url: {
|
|
109
|
+
ref: "Endpoint",
|
|
110
|
+
},
|
|
111
|
+
properties: {},
|
|
112
|
+
headers: {},
|
|
113
|
+
},
|
|
114
|
+
type: "endpoint",
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
conditions: [
|
|
122
|
+
{
|
|
123
|
+
fn: "booleanEquals",
|
|
124
|
+
argv: [
|
|
125
|
+
{
|
|
126
|
+
ref: "UseFIPS",
|
|
127
|
+
},
|
|
128
|
+
true,
|
|
129
|
+
],
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
fn: "booleanEquals",
|
|
133
|
+
argv: [
|
|
134
|
+
{
|
|
135
|
+
ref: "UseDualStack",
|
|
136
|
+
},
|
|
137
|
+
true,
|
|
138
|
+
],
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
type: "tree",
|
|
142
|
+
rules: [
|
|
143
|
+
{
|
|
144
|
+
conditions: [
|
|
145
|
+
{
|
|
146
|
+
fn: "booleanEquals",
|
|
147
|
+
argv: [
|
|
148
|
+
true,
|
|
149
|
+
{
|
|
150
|
+
fn: "getAttr",
|
|
151
|
+
argv: [
|
|
152
|
+
{
|
|
153
|
+
ref: "PartitionResult",
|
|
154
|
+
},
|
|
155
|
+
"supportsFIPS",
|
|
156
|
+
],
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
fn: "booleanEquals",
|
|
162
|
+
argv: [
|
|
163
|
+
true,
|
|
164
|
+
{
|
|
165
|
+
fn: "getAttr",
|
|
166
|
+
argv: [
|
|
167
|
+
{
|
|
168
|
+
ref: "PartitionResult",
|
|
169
|
+
},
|
|
170
|
+
"supportsDualStack",
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
type: "tree",
|
|
177
|
+
rules: [
|
|
178
|
+
{
|
|
179
|
+
conditions: [],
|
|
180
|
+
endpoint: {
|
|
181
|
+
url: "https://scheduler-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
182
|
+
properties: {},
|
|
183
|
+
headers: {},
|
|
184
|
+
},
|
|
185
|
+
type: "endpoint",
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
conditions: [],
|
|
191
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
192
|
+
type: "error",
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
conditions: [
|
|
198
|
+
{
|
|
199
|
+
fn: "booleanEquals",
|
|
200
|
+
argv: [
|
|
201
|
+
{
|
|
202
|
+
ref: "UseFIPS",
|
|
203
|
+
},
|
|
204
|
+
true,
|
|
205
|
+
],
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
type: "tree",
|
|
209
|
+
rules: [
|
|
210
|
+
{
|
|
211
|
+
conditions: [
|
|
212
|
+
{
|
|
213
|
+
fn: "booleanEquals",
|
|
214
|
+
argv: [
|
|
215
|
+
true,
|
|
216
|
+
{
|
|
217
|
+
fn: "getAttr",
|
|
218
|
+
argv: [
|
|
219
|
+
{
|
|
220
|
+
ref: "PartitionResult",
|
|
221
|
+
},
|
|
222
|
+
"supportsFIPS",
|
|
223
|
+
],
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
type: "tree",
|
|
229
|
+
rules: [
|
|
230
|
+
{
|
|
231
|
+
conditions: [],
|
|
232
|
+
endpoint: {
|
|
233
|
+
url: "https://scheduler-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
234
|
+
properties: {},
|
|
235
|
+
headers: {},
|
|
236
|
+
},
|
|
237
|
+
type: "endpoint",
|
|
238
|
+
},
|
|
239
|
+
],
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
conditions: [],
|
|
243
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
244
|
+
type: "error",
|
|
245
|
+
},
|
|
246
|
+
],
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
conditions: [
|
|
250
|
+
{
|
|
251
|
+
fn: "booleanEquals",
|
|
252
|
+
argv: [
|
|
253
|
+
{
|
|
254
|
+
ref: "UseDualStack",
|
|
255
|
+
},
|
|
256
|
+
true,
|
|
257
|
+
],
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
type: "tree",
|
|
261
|
+
rules: [
|
|
262
|
+
{
|
|
263
|
+
conditions: [
|
|
264
|
+
{
|
|
265
|
+
fn: "booleanEquals",
|
|
266
|
+
argv: [
|
|
267
|
+
true,
|
|
268
|
+
{
|
|
269
|
+
fn: "getAttr",
|
|
270
|
+
argv: [
|
|
271
|
+
{
|
|
272
|
+
ref: "PartitionResult",
|
|
273
|
+
},
|
|
274
|
+
"supportsDualStack",
|
|
275
|
+
],
|
|
276
|
+
},
|
|
277
|
+
],
|
|
278
|
+
},
|
|
279
|
+
],
|
|
280
|
+
type: "tree",
|
|
281
|
+
rules: [
|
|
282
|
+
{
|
|
283
|
+
conditions: [],
|
|
284
|
+
endpoint: {
|
|
285
|
+
url: "https://scheduler.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
286
|
+
properties: {},
|
|
287
|
+
headers: {},
|
|
288
|
+
},
|
|
289
|
+
type: "endpoint",
|
|
290
|
+
},
|
|
291
|
+
],
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
conditions: [],
|
|
295
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
296
|
+
type: "error",
|
|
297
|
+
},
|
|
298
|
+
],
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
conditions: [],
|
|
302
|
+
endpoint: {
|
|
303
|
+
url: "https://scheduler.{Region}.{PartitionResult#dnsSuffix}",
|
|
304
|
+
properties: {},
|
|
305
|
+
headers: {},
|
|
306
|
+
},
|
|
307
|
+
type: "endpoint",
|
|
308
|
+
},
|
|
309
|
+
],
|
|
310
|
+
},
|
|
311
|
+
],
|
|
312
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SchedulerServiceException = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./Scheduler"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./SchedulerClient"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var SchedulerServiceException_1 = require("./models/SchedulerServiceException");
|
|
11
|
+
Object.defineProperty(exports, "SchedulerServiceException", { enumerable: true, get: function () { return SchedulerServiceException_1.SchedulerServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SchedulerServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class SchedulerServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, SchedulerServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.SchedulerServiceException = SchedulerServiceException;
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetScheduleGroupOutputFilterSensitiveLog = exports.GetScheduleGroupInputFilterSensitiveLog = exports.DeleteScheduleGroupOutputFilterSensitiveLog = exports.DeleteScheduleGroupInputFilterSensitiveLog = exports.CreateScheduleGroupOutputFilterSensitiveLog = exports.CreateScheduleGroupInputFilterSensitiveLog = exports.UpdateScheduleOutputFilterSensitiveLog = exports.UpdateScheduleInputFilterSensitiveLog = exports.ListSchedulesOutputFilterSensitiveLog = exports.ScheduleSummaryFilterSensitiveLog = exports.TargetSummaryFilterSensitiveLog = exports.ListSchedulesInputFilterSensitiveLog = exports.GetScheduleOutputFilterSensitiveLog = exports.GetScheduleInputFilterSensitiveLog = exports.DeleteScheduleOutputFilterSensitiveLog = exports.DeleteScheduleInputFilterSensitiveLog = exports.CreateScheduleOutputFilterSensitiveLog = exports.CreateScheduleInputFilterSensitiveLog = exports.TargetFilterSensitiveLog = exports.SqsParametersFilterSensitiveLog = exports.SageMakerPipelineParametersFilterSensitiveLog = exports.SageMakerPipelineParameterFilterSensitiveLog = exports.RetryPolicyFilterSensitiveLog = exports.KinesisParametersFilterSensitiveLog = exports.EventBridgeParametersFilterSensitiveLog = exports.EcsParametersFilterSensitiveLog = exports.PlacementStrategyFilterSensitiveLog = exports.PlacementConstraintFilterSensitiveLog = exports.NetworkConfigurationFilterSensitiveLog = exports.AwsVpcConfigurationFilterSensitiveLog = exports.CapacityProviderStrategyItemFilterSensitiveLog = exports.DeadLetterConfigFilterSensitiveLog = exports.FlexibleTimeWindowFilterSensitiveLog = exports.ListTagsForResourceOutputFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.ListTagsForResourceInputFilterSensitiveLog = exports.ScheduleGroupState = exports.ServiceQuotaExceededException = exports.PropagateTags = exports.PlacementStrategyType = exports.PlacementConstraintType = exports.LaunchType = exports.ScheduleState = exports.FlexibleTimeWindowMode = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AssignPublicIp = void 0;
|
|
4
|
+
exports.UntagResourceOutputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.TagResourceOutputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.ListScheduleGroupsOutputFilterSensitiveLog = exports.ScheduleGroupSummaryFilterSensitiveLog = exports.ListScheduleGroupsInputFilterSensitiveLog = void 0;
|
|
5
|
+
const SchedulerServiceException_1 = require("./SchedulerServiceException");
|
|
6
|
+
var AssignPublicIp;
|
|
7
|
+
(function (AssignPublicIp) {
|
|
8
|
+
AssignPublicIp["DISABLED"] = "DISABLED";
|
|
9
|
+
AssignPublicIp["ENABLED"] = "ENABLED";
|
|
10
|
+
})(AssignPublicIp = exports.AssignPublicIp || (exports.AssignPublicIp = {}));
|
|
11
|
+
class InternalServerException extends SchedulerServiceException_1.SchedulerServiceException {
|
|
12
|
+
constructor(opts) {
|
|
13
|
+
super({
|
|
14
|
+
name: "InternalServerException",
|
|
15
|
+
$fault: "server",
|
|
16
|
+
...opts,
|
|
17
|
+
});
|
|
18
|
+
this.name = "InternalServerException";
|
|
19
|
+
this.$fault = "server";
|
|
20
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
21
|
+
this.Message = opts.Message;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.InternalServerException = InternalServerException;
|
|
25
|
+
class ResourceNotFoundException extends SchedulerServiceException_1.SchedulerServiceException {
|
|
26
|
+
constructor(opts) {
|
|
27
|
+
super({
|
|
28
|
+
name: "ResourceNotFoundException",
|
|
29
|
+
$fault: "client",
|
|
30
|
+
...opts,
|
|
31
|
+
});
|
|
32
|
+
this.name = "ResourceNotFoundException";
|
|
33
|
+
this.$fault = "client";
|
|
34
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
35
|
+
this.Message = opts.Message;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
39
|
+
class ThrottlingException extends SchedulerServiceException_1.SchedulerServiceException {
|
|
40
|
+
constructor(opts) {
|
|
41
|
+
super({
|
|
42
|
+
name: "ThrottlingException",
|
|
43
|
+
$fault: "client",
|
|
44
|
+
...opts,
|
|
45
|
+
});
|
|
46
|
+
this.name = "ThrottlingException";
|
|
47
|
+
this.$fault = "client";
|
|
48
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
49
|
+
this.Message = opts.Message;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.ThrottlingException = ThrottlingException;
|
|
53
|
+
class ValidationException extends SchedulerServiceException_1.SchedulerServiceException {
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ValidationException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
this.name = "ValidationException";
|
|
61
|
+
this.$fault = "client";
|
|
62
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
63
|
+
this.Message = opts.Message;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.ValidationException = ValidationException;
|
|
67
|
+
class ConflictException extends SchedulerServiceException_1.SchedulerServiceException {
|
|
68
|
+
constructor(opts) {
|
|
69
|
+
super({
|
|
70
|
+
name: "ConflictException",
|
|
71
|
+
$fault: "client",
|
|
72
|
+
...opts,
|
|
73
|
+
});
|
|
74
|
+
this.name = "ConflictException";
|
|
75
|
+
this.$fault = "client";
|
|
76
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
77
|
+
this.Message = opts.Message;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.ConflictException = ConflictException;
|
|
81
|
+
var FlexibleTimeWindowMode;
|
|
82
|
+
(function (FlexibleTimeWindowMode) {
|
|
83
|
+
FlexibleTimeWindowMode["FLEXIBLE"] = "FLEXIBLE";
|
|
84
|
+
FlexibleTimeWindowMode["OFF"] = "OFF";
|
|
85
|
+
})(FlexibleTimeWindowMode = exports.FlexibleTimeWindowMode || (exports.FlexibleTimeWindowMode = {}));
|
|
86
|
+
var ScheduleState;
|
|
87
|
+
(function (ScheduleState) {
|
|
88
|
+
ScheduleState["DISABLED"] = "DISABLED";
|
|
89
|
+
ScheduleState["ENABLED"] = "ENABLED";
|
|
90
|
+
})(ScheduleState = exports.ScheduleState || (exports.ScheduleState = {}));
|
|
91
|
+
var LaunchType;
|
|
92
|
+
(function (LaunchType) {
|
|
93
|
+
LaunchType["EC2"] = "EC2";
|
|
94
|
+
LaunchType["EXTERNAL"] = "EXTERNAL";
|
|
95
|
+
LaunchType["FARGATE"] = "FARGATE";
|
|
96
|
+
})(LaunchType = exports.LaunchType || (exports.LaunchType = {}));
|
|
97
|
+
var PlacementConstraintType;
|
|
98
|
+
(function (PlacementConstraintType) {
|
|
99
|
+
PlacementConstraintType["DISTINCT_INSTANCE"] = "distinctInstance";
|
|
100
|
+
PlacementConstraintType["MEMBER_OF"] = "memberOf";
|
|
101
|
+
})(PlacementConstraintType = exports.PlacementConstraintType || (exports.PlacementConstraintType = {}));
|
|
102
|
+
var PlacementStrategyType;
|
|
103
|
+
(function (PlacementStrategyType) {
|
|
104
|
+
PlacementStrategyType["BINPACK"] = "binpack";
|
|
105
|
+
PlacementStrategyType["RANDOM"] = "random";
|
|
106
|
+
PlacementStrategyType["SPREAD"] = "spread";
|
|
107
|
+
})(PlacementStrategyType = exports.PlacementStrategyType || (exports.PlacementStrategyType = {}));
|
|
108
|
+
var PropagateTags;
|
|
109
|
+
(function (PropagateTags) {
|
|
110
|
+
PropagateTags["TASK_DEFINITION"] = "TASK_DEFINITION";
|
|
111
|
+
})(PropagateTags = exports.PropagateTags || (exports.PropagateTags = {}));
|
|
112
|
+
class ServiceQuotaExceededException extends SchedulerServiceException_1.SchedulerServiceException {
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "ServiceQuotaExceededException",
|
|
116
|
+
$fault: "client",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
this.name = "ServiceQuotaExceededException";
|
|
120
|
+
this.$fault = "client";
|
|
121
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
122
|
+
this.Message = opts.Message;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
126
|
+
var ScheduleGroupState;
|
|
127
|
+
(function (ScheduleGroupState) {
|
|
128
|
+
ScheduleGroupState["ACTIVE"] = "ACTIVE";
|
|
129
|
+
ScheduleGroupState["DELETING"] = "DELETING";
|
|
130
|
+
})(ScheduleGroupState = exports.ScheduleGroupState || (exports.ScheduleGroupState = {}));
|
|
131
|
+
const ListTagsForResourceInputFilterSensitiveLog = (obj) => ({
|
|
132
|
+
...obj,
|
|
133
|
+
});
|
|
134
|
+
exports.ListTagsForResourceInputFilterSensitiveLog = ListTagsForResourceInputFilterSensitiveLog;
|
|
135
|
+
const TagFilterSensitiveLog = (obj) => ({
|
|
136
|
+
...obj,
|
|
137
|
+
});
|
|
138
|
+
exports.TagFilterSensitiveLog = TagFilterSensitiveLog;
|
|
139
|
+
const ListTagsForResourceOutputFilterSensitiveLog = (obj) => ({
|
|
140
|
+
...obj,
|
|
141
|
+
});
|
|
142
|
+
exports.ListTagsForResourceOutputFilterSensitiveLog = ListTagsForResourceOutputFilterSensitiveLog;
|
|
143
|
+
const FlexibleTimeWindowFilterSensitiveLog = (obj) => ({
|
|
144
|
+
...obj,
|
|
145
|
+
});
|
|
146
|
+
exports.FlexibleTimeWindowFilterSensitiveLog = FlexibleTimeWindowFilterSensitiveLog;
|
|
147
|
+
const DeadLetterConfigFilterSensitiveLog = (obj) => ({
|
|
148
|
+
...obj,
|
|
149
|
+
});
|
|
150
|
+
exports.DeadLetterConfigFilterSensitiveLog = DeadLetterConfigFilterSensitiveLog;
|
|
151
|
+
const CapacityProviderStrategyItemFilterSensitiveLog = (obj) => ({
|
|
152
|
+
...obj,
|
|
153
|
+
});
|
|
154
|
+
exports.CapacityProviderStrategyItemFilterSensitiveLog = CapacityProviderStrategyItemFilterSensitiveLog;
|
|
155
|
+
const AwsVpcConfigurationFilterSensitiveLog = (obj) => ({
|
|
156
|
+
...obj,
|
|
157
|
+
});
|
|
158
|
+
exports.AwsVpcConfigurationFilterSensitiveLog = AwsVpcConfigurationFilterSensitiveLog;
|
|
159
|
+
const NetworkConfigurationFilterSensitiveLog = (obj) => ({
|
|
160
|
+
...obj,
|
|
161
|
+
});
|
|
162
|
+
exports.NetworkConfigurationFilterSensitiveLog = NetworkConfigurationFilterSensitiveLog;
|
|
163
|
+
const PlacementConstraintFilterSensitiveLog = (obj) => ({
|
|
164
|
+
...obj,
|
|
165
|
+
});
|
|
166
|
+
exports.PlacementConstraintFilterSensitiveLog = PlacementConstraintFilterSensitiveLog;
|
|
167
|
+
const PlacementStrategyFilterSensitiveLog = (obj) => ({
|
|
168
|
+
...obj,
|
|
169
|
+
});
|
|
170
|
+
exports.PlacementStrategyFilterSensitiveLog = PlacementStrategyFilterSensitiveLog;
|
|
171
|
+
const EcsParametersFilterSensitiveLog = (obj) => ({
|
|
172
|
+
...obj,
|
|
173
|
+
});
|
|
174
|
+
exports.EcsParametersFilterSensitiveLog = EcsParametersFilterSensitiveLog;
|
|
175
|
+
const EventBridgeParametersFilterSensitiveLog = (obj) => ({
|
|
176
|
+
...obj,
|
|
177
|
+
});
|
|
178
|
+
exports.EventBridgeParametersFilterSensitiveLog = EventBridgeParametersFilterSensitiveLog;
|
|
179
|
+
const KinesisParametersFilterSensitiveLog = (obj) => ({
|
|
180
|
+
...obj,
|
|
181
|
+
});
|
|
182
|
+
exports.KinesisParametersFilterSensitiveLog = KinesisParametersFilterSensitiveLog;
|
|
183
|
+
const RetryPolicyFilterSensitiveLog = (obj) => ({
|
|
184
|
+
...obj,
|
|
185
|
+
});
|
|
186
|
+
exports.RetryPolicyFilterSensitiveLog = RetryPolicyFilterSensitiveLog;
|
|
187
|
+
const SageMakerPipelineParameterFilterSensitiveLog = (obj) => ({
|
|
188
|
+
...obj,
|
|
189
|
+
});
|
|
190
|
+
exports.SageMakerPipelineParameterFilterSensitiveLog = SageMakerPipelineParameterFilterSensitiveLog;
|
|
191
|
+
const SageMakerPipelineParametersFilterSensitiveLog = (obj) => ({
|
|
192
|
+
...obj,
|
|
193
|
+
});
|
|
194
|
+
exports.SageMakerPipelineParametersFilterSensitiveLog = SageMakerPipelineParametersFilterSensitiveLog;
|
|
195
|
+
const SqsParametersFilterSensitiveLog = (obj) => ({
|
|
196
|
+
...obj,
|
|
197
|
+
});
|
|
198
|
+
exports.SqsParametersFilterSensitiveLog = SqsParametersFilterSensitiveLog;
|
|
199
|
+
const TargetFilterSensitiveLog = (obj) => ({
|
|
200
|
+
...obj,
|
|
201
|
+
});
|
|
202
|
+
exports.TargetFilterSensitiveLog = TargetFilterSensitiveLog;
|
|
203
|
+
const CreateScheduleInputFilterSensitiveLog = (obj) => ({
|
|
204
|
+
...obj,
|
|
205
|
+
});
|
|
206
|
+
exports.CreateScheduleInputFilterSensitiveLog = CreateScheduleInputFilterSensitiveLog;
|
|
207
|
+
const CreateScheduleOutputFilterSensitiveLog = (obj) => ({
|
|
208
|
+
...obj,
|
|
209
|
+
});
|
|
210
|
+
exports.CreateScheduleOutputFilterSensitiveLog = CreateScheduleOutputFilterSensitiveLog;
|
|
211
|
+
const DeleteScheduleInputFilterSensitiveLog = (obj) => ({
|
|
212
|
+
...obj,
|
|
213
|
+
});
|
|
214
|
+
exports.DeleteScheduleInputFilterSensitiveLog = DeleteScheduleInputFilterSensitiveLog;
|
|
215
|
+
const DeleteScheduleOutputFilterSensitiveLog = (obj) => ({
|
|
216
|
+
...obj,
|
|
217
|
+
});
|
|
218
|
+
exports.DeleteScheduleOutputFilterSensitiveLog = DeleteScheduleOutputFilterSensitiveLog;
|
|
219
|
+
const GetScheduleInputFilterSensitiveLog = (obj) => ({
|
|
220
|
+
...obj,
|
|
221
|
+
});
|
|
222
|
+
exports.GetScheduleInputFilterSensitiveLog = GetScheduleInputFilterSensitiveLog;
|
|
223
|
+
const GetScheduleOutputFilterSensitiveLog = (obj) => ({
|
|
224
|
+
...obj,
|
|
225
|
+
});
|
|
226
|
+
exports.GetScheduleOutputFilterSensitiveLog = GetScheduleOutputFilterSensitiveLog;
|
|
227
|
+
const ListSchedulesInputFilterSensitiveLog = (obj) => ({
|
|
228
|
+
...obj,
|
|
229
|
+
});
|
|
230
|
+
exports.ListSchedulesInputFilterSensitiveLog = ListSchedulesInputFilterSensitiveLog;
|
|
231
|
+
const TargetSummaryFilterSensitiveLog = (obj) => ({
|
|
232
|
+
...obj,
|
|
233
|
+
});
|
|
234
|
+
exports.TargetSummaryFilterSensitiveLog = TargetSummaryFilterSensitiveLog;
|
|
235
|
+
const ScheduleSummaryFilterSensitiveLog = (obj) => ({
|
|
236
|
+
...obj,
|
|
237
|
+
});
|
|
238
|
+
exports.ScheduleSummaryFilterSensitiveLog = ScheduleSummaryFilterSensitiveLog;
|
|
239
|
+
const ListSchedulesOutputFilterSensitiveLog = (obj) => ({
|
|
240
|
+
...obj,
|
|
241
|
+
});
|
|
242
|
+
exports.ListSchedulesOutputFilterSensitiveLog = ListSchedulesOutputFilterSensitiveLog;
|
|
243
|
+
const UpdateScheduleInputFilterSensitiveLog = (obj) => ({
|
|
244
|
+
...obj,
|
|
245
|
+
});
|
|
246
|
+
exports.UpdateScheduleInputFilterSensitiveLog = UpdateScheduleInputFilterSensitiveLog;
|
|
247
|
+
const UpdateScheduleOutputFilterSensitiveLog = (obj) => ({
|
|
248
|
+
...obj,
|
|
249
|
+
});
|
|
250
|
+
exports.UpdateScheduleOutputFilterSensitiveLog = UpdateScheduleOutputFilterSensitiveLog;
|
|
251
|
+
const CreateScheduleGroupInputFilterSensitiveLog = (obj) => ({
|
|
252
|
+
...obj,
|
|
253
|
+
});
|
|
254
|
+
exports.CreateScheduleGroupInputFilterSensitiveLog = CreateScheduleGroupInputFilterSensitiveLog;
|
|
255
|
+
const CreateScheduleGroupOutputFilterSensitiveLog = (obj) => ({
|
|
256
|
+
...obj,
|
|
257
|
+
});
|
|
258
|
+
exports.CreateScheduleGroupOutputFilterSensitiveLog = CreateScheduleGroupOutputFilterSensitiveLog;
|
|
259
|
+
const DeleteScheduleGroupInputFilterSensitiveLog = (obj) => ({
|
|
260
|
+
...obj,
|
|
261
|
+
});
|
|
262
|
+
exports.DeleteScheduleGroupInputFilterSensitiveLog = DeleteScheduleGroupInputFilterSensitiveLog;
|
|
263
|
+
const DeleteScheduleGroupOutputFilterSensitiveLog = (obj) => ({
|
|
264
|
+
...obj,
|
|
265
|
+
});
|
|
266
|
+
exports.DeleteScheduleGroupOutputFilterSensitiveLog = DeleteScheduleGroupOutputFilterSensitiveLog;
|
|
267
|
+
const GetScheduleGroupInputFilterSensitiveLog = (obj) => ({
|
|
268
|
+
...obj,
|
|
269
|
+
});
|
|
270
|
+
exports.GetScheduleGroupInputFilterSensitiveLog = GetScheduleGroupInputFilterSensitiveLog;
|
|
271
|
+
const GetScheduleGroupOutputFilterSensitiveLog = (obj) => ({
|
|
272
|
+
...obj,
|
|
273
|
+
});
|
|
274
|
+
exports.GetScheduleGroupOutputFilterSensitiveLog = GetScheduleGroupOutputFilterSensitiveLog;
|
|
275
|
+
const ListScheduleGroupsInputFilterSensitiveLog = (obj) => ({
|
|
276
|
+
...obj,
|
|
277
|
+
});
|
|
278
|
+
exports.ListScheduleGroupsInputFilterSensitiveLog = ListScheduleGroupsInputFilterSensitiveLog;
|
|
279
|
+
const ScheduleGroupSummaryFilterSensitiveLog = (obj) => ({
|
|
280
|
+
...obj,
|
|
281
|
+
});
|
|
282
|
+
exports.ScheduleGroupSummaryFilterSensitiveLog = ScheduleGroupSummaryFilterSensitiveLog;
|
|
283
|
+
const ListScheduleGroupsOutputFilterSensitiveLog = (obj) => ({
|
|
284
|
+
...obj,
|
|
285
|
+
});
|
|
286
|
+
exports.ListScheduleGroupsOutputFilterSensitiveLog = ListScheduleGroupsOutputFilterSensitiveLog;
|
|
287
|
+
const TagResourceInputFilterSensitiveLog = (obj) => ({
|
|
288
|
+
...obj,
|
|
289
|
+
});
|
|
290
|
+
exports.TagResourceInputFilterSensitiveLog = TagResourceInputFilterSensitiveLog;
|
|
291
|
+
const TagResourceOutputFilterSensitiveLog = (obj) => ({
|
|
292
|
+
...obj,
|
|
293
|
+
});
|
|
294
|
+
exports.TagResourceOutputFilterSensitiveLog = TagResourceOutputFilterSensitiveLog;
|
|
295
|
+
const UntagResourceInputFilterSensitiveLog = (obj) => ({
|
|
296
|
+
...obj,
|
|
297
|
+
});
|
|
298
|
+
exports.UntagResourceInputFilterSensitiveLog = UntagResourceInputFilterSensitiveLog;
|
|
299
|
+
const UntagResourceOutputFilterSensitiveLog = (obj) => ({
|
|
300
|
+
...obj,
|
|
301
|
+
});
|
|
302
|
+
exports.UntagResourceOutputFilterSensitiveLog = UntagResourceOutputFilterSensitiveLog;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListScheduleGroups = void 0;
|
|
4
|
+
const ListScheduleGroupsCommand_1 = require("../commands/ListScheduleGroupsCommand");
|
|
5
|
+
const Scheduler_1 = require("../Scheduler");
|
|
6
|
+
const SchedulerClient_1 = require("../SchedulerClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListScheduleGroupsCommand_1.ListScheduleGroupsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listScheduleGroups(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListScheduleGroups(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Scheduler_1.Scheduler) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof SchedulerClient_1.SchedulerClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Scheduler | SchedulerClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListScheduleGroups = paginateListScheduleGroups;
|