@aws-sdk/client-scheduler 3.987.0 → 3.989.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +31 -621
- package/dist-cjs/models/SchedulerServiceException.js +12 -0
- package/dist-cjs/models/errors.js +94 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +467 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +46 -40
- package/dist-types/schemas/schemas_0.d.ts +14 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -7
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SchedulerServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class SchedulerServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, SchedulerServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.SchedulerServiceException = SchedulerServiceException;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServiceQuotaExceededException = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = void 0;
|
|
4
|
+
const SchedulerServiceException_1 = require("./SchedulerServiceException");
|
|
5
|
+
class InternalServerException extends SchedulerServiceException_1.SchedulerServiceException {
|
|
6
|
+
name = "InternalServerException";
|
|
7
|
+
$fault = "server";
|
|
8
|
+
Message;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "InternalServerException",
|
|
12
|
+
$fault: "server",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.InternalServerException = InternalServerException;
|
|
20
|
+
class ResourceNotFoundException extends SchedulerServiceException_1.SchedulerServiceException {
|
|
21
|
+
name = "ResourceNotFoundException";
|
|
22
|
+
$fault = "client";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "ResourceNotFoundException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
35
|
+
class ThrottlingException extends SchedulerServiceException_1.SchedulerServiceException {
|
|
36
|
+
name = "ThrottlingException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ThrottlingException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.ThrottlingException = ThrottlingException;
|
|
50
|
+
class ValidationException extends SchedulerServiceException_1.SchedulerServiceException {
|
|
51
|
+
name = "ValidationException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ValidationException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.ValidationException = ValidationException;
|
|
65
|
+
class ConflictException extends SchedulerServiceException_1.SchedulerServiceException {
|
|
66
|
+
name = "ConflictException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
Message;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ConflictException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.ConflictException = ConflictException;
|
|
80
|
+
class ServiceQuotaExceededException extends SchedulerServiceException_1.SchedulerServiceException {
|
|
81
|
+
name = "ServiceQuotaExceededException";
|
|
82
|
+
$fault = "client";
|
|
83
|
+
Message;
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "ServiceQuotaExceededException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
91
|
+
this.Message = opts.Message;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2021-06-30",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.scheduler",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2021-06-30",
|
|
33
35
|
serviceTarget: "AWSChronosService",
|
|
34
36
|
},
|
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateScheduleInput$ = exports.UntagResourceOutput$ = exports.UntagResourceInput$ = exports.TargetSummary$ = exports.Target$ = exports.TagResourceOutput$ = exports.TagResourceInput$ = exports.Tag$ = exports.SqsParameters$ = exports.ScheduleSummary$ = exports.ScheduleGroupSummary$ = exports.SageMakerPipelineParameters$ = exports.SageMakerPipelineParameter$ = exports.RetryPolicy$ = exports.PlacementStrategy$ = exports.PlacementConstraint$ = exports.NetworkConfiguration$ = exports.ListTagsForResourceOutput$ = exports.ListTagsForResourceInput$ = exports.ListSchedulesOutput$ = exports.ListSchedulesInput$ = exports.ListScheduleGroupsOutput$ = exports.ListScheduleGroupsInput$ = exports.KinesisParameters$ = exports.GetScheduleOutput$ = exports.GetScheduleInput$ = exports.GetScheduleGroupOutput$ = exports.GetScheduleGroupInput$ = exports.FlexibleTimeWindow$ = exports.EventBridgeParameters$ = exports.EcsParameters$ = exports.DeleteScheduleOutput$ = exports.DeleteScheduleInput$ = exports.DeleteScheduleGroupOutput$ = exports.DeleteScheduleGroupInput$ = exports.DeadLetterConfig$ = exports.CreateScheduleOutput$ = exports.CreateScheduleInput$ = exports.CreateScheduleGroupOutput$ = exports.CreateScheduleGroupInput$ = exports.CapacityProviderStrategyItem$ = exports.AwsVpcConfiguration$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.SchedulerServiceException$ = void 0;
|
|
4
|
+
exports.UpdateSchedule$ = exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListSchedules$ = exports.ListScheduleGroups$ = exports.GetScheduleGroup$ = exports.GetSchedule$ = exports.DeleteScheduleGroup$ = exports.DeleteSchedule$ = exports.CreateScheduleGroup$ = exports.CreateSchedule$ = exports.UpdateScheduleOutput$ = void 0;
|
|
5
|
+
const _A = "Arn";
|
|
6
|
+
const _AAC = "ActionAfterCompletion";
|
|
7
|
+
const _API = "AssignPublicIp";
|
|
8
|
+
const _AVC = "AwsVpcConfiguration";
|
|
9
|
+
const _CD = "CreationDate";
|
|
10
|
+
const _CE = "ConflictException";
|
|
11
|
+
const _CPS = "CapacityProviderStrategy";
|
|
12
|
+
const _CPSI = "CapacityProviderStrategyItem";
|
|
13
|
+
const _CS = "CreateSchedule";
|
|
14
|
+
const _CSG = "CreateScheduleGroup";
|
|
15
|
+
const _CSGI = "CreateScheduleGroupInput";
|
|
16
|
+
const _CSGO = "CreateScheduleGroupOutput";
|
|
17
|
+
const _CSI = "CreateScheduleInput";
|
|
18
|
+
const _CSO = "CreateScheduleOutput";
|
|
19
|
+
const _CT = "ClientToken";
|
|
20
|
+
const _D = "Description";
|
|
21
|
+
const _DLC = "DeadLetterConfig";
|
|
22
|
+
const _DS = "DeleteSchedule";
|
|
23
|
+
const _DSG = "DeleteScheduleGroup";
|
|
24
|
+
const _DSGI = "DeleteScheduleGroupInput";
|
|
25
|
+
const _DSGO = "DeleteScheduleGroupOutput";
|
|
26
|
+
const _DSI = "DeleteScheduleInput";
|
|
27
|
+
const _DSO = "DeleteScheduleOutput";
|
|
28
|
+
const _DT = "DetailType";
|
|
29
|
+
const _EBP = "EventBridgeParameters";
|
|
30
|
+
const _ED = "EndDate";
|
|
31
|
+
const _EEC = "EnableExecuteCommand";
|
|
32
|
+
const _EECSMT = "EnableECSManagedTags";
|
|
33
|
+
const _EP = "EcsParameters";
|
|
34
|
+
const _FTW = "FlexibleTimeWindow";
|
|
35
|
+
const _G = "Group";
|
|
36
|
+
const _GN = "GroupName";
|
|
37
|
+
const _GS = "GetSchedule";
|
|
38
|
+
const _GSG = "GetScheduleGroup";
|
|
39
|
+
const _GSGI = "GetScheduleGroupInput";
|
|
40
|
+
const _GSGO = "GetScheduleGroupOutput";
|
|
41
|
+
const _GSI = "GetScheduleInput";
|
|
42
|
+
const _GSO = "GetScheduleOutput";
|
|
43
|
+
const _I = "Input";
|
|
44
|
+
const _ISE = "InternalServerException";
|
|
45
|
+
const _K = "Key";
|
|
46
|
+
const _KKA = "KmsKeyArn";
|
|
47
|
+
const _KP = "KinesisParameters";
|
|
48
|
+
const _LMD = "LastModificationDate";
|
|
49
|
+
const _LS = "ListSchedules";
|
|
50
|
+
const _LSG = "ListScheduleGroups";
|
|
51
|
+
const _LSGI = "ListScheduleGroupsInput";
|
|
52
|
+
const _LSGO = "ListScheduleGroupsOutput";
|
|
53
|
+
const _LSI = "ListSchedulesInput";
|
|
54
|
+
const _LSO = "ListSchedulesOutput";
|
|
55
|
+
const _LT = "LaunchType";
|
|
56
|
+
const _LTFR = "ListTagsForResource";
|
|
57
|
+
const _LTFRI = "ListTagsForResourceInput";
|
|
58
|
+
const _LTFRO = "ListTagsForResourceOutput";
|
|
59
|
+
const _M = "Message";
|
|
60
|
+
const _MEAIS = "MaximumEventAgeInSeconds";
|
|
61
|
+
const _MGI = "MessageGroupId";
|
|
62
|
+
const _MR = "MaxResults";
|
|
63
|
+
const _MRA = "MaximumRetryAttempts";
|
|
64
|
+
const _MWIM = "MaximumWindowInMinutes";
|
|
65
|
+
const _Mo = "Mode";
|
|
66
|
+
const _N = "Name";
|
|
67
|
+
const _NC = "NetworkConfiguration";
|
|
68
|
+
const _NP = "NamePrefix";
|
|
69
|
+
const _NT = "NextToken";
|
|
70
|
+
const _PC = "PlacementConstraints";
|
|
71
|
+
const _PCl = "PlacementConstraint";
|
|
72
|
+
const _PK = "PartitionKey";
|
|
73
|
+
const _PPL = "PipelineParameterList";
|
|
74
|
+
const _PS = "PlacementStrategy";
|
|
75
|
+
const _PSl = "PlacementStrategies";
|
|
76
|
+
const _PT = "PropagateTags";
|
|
77
|
+
const _PV = "PlatformVersion";
|
|
78
|
+
const _RA = "ResourceArn";
|
|
79
|
+
const _RAo = "RoleArn";
|
|
80
|
+
const _RI = "ReferenceId";
|
|
81
|
+
const _RNFE = "ResourceNotFoundException";
|
|
82
|
+
const _RP = "RetryPolicy";
|
|
83
|
+
const _S = "Subnets";
|
|
84
|
+
const _SA = "ScheduleArn";
|
|
85
|
+
const _SD = "StartDate";
|
|
86
|
+
const _SE = "ScheduleExpression";
|
|
87
|
+
const _SET = "ScheduleExpressionTimezone";
|
|
88
|
+
const _SG = "SecurityGroups";
|
|
89
|
+
const _SGA = "ScheduleGroupArn";
|
|
90
|
+
const _SGL = "ScheduleGroupList";
|
|
91
|
+
const _SGS = "ScheduleGroupSummary";
|
|
92
|
+
const _SGc = "ScheduleGroups";
|
|
93
|
+
const _SGch = "ScheduleGroup";
|
|
94
|
+
const _SL = "ScheduleList";
|
|
95
|
+
const _SMPP = "SageMakerPipelineParameter";
|
|
96
|
+
const _SMPPL = "SageMakerPipelineParameterList";
|
|
97
|
+
const _SMPPa = "SageMakerPipelineParameters";
|
|
98
|
+
const _SP = "SqsParameters";
|
|
99
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
100
|
+
const _SS = "ScheduleSummary";
|
|
101
|
+
const _Sc = "Schedules";
|
|
102
|
+
const _So = "Source";
|
|
103
|
+
const _St = "State";
|
|
104
|
+
const _T = "Tags";
|
|
105
|
+
const _TC = "TaskCount";
|
|
106
|
+
const _TDA = "TaskDefinitionArn";
|
|
107
|
+
const _TE = "ThrottlingException";
|
|
108
|
+
const _TK = "TagKeys";
|
|
109
|
+
const _TL = "TagList";
|
|
110
|
+
const _TR = "TagResource";
|
|
111
|
+
const _TRI = "TagResourceInput";
|
|
112
|
+
const _TRO = "TagResourceOutput";
|
|
113
|
+
const _TS = "TargetSummary";
|
|
114
|
+
const _Ta = "Target";
|
|
115
|
+
const _Tag = "Tag";
|
|
116
|
+
const _UR = "UntagResource";
|
|
117
|
+
const _URI = "UntagResourceInput";
|
|
118
|
+
const _URO = "UntagResourceOutput";
|
|
119
|
+
const _US = "UpdateSchedule";
|
|
120
|
+
const _USI = "UpdateScheduleInput";
|
|
121
|
+
const _USO = "UpdateScheduleOutput";
|
|
122
|
+
const _V = "Value";
|
|
123
|
+
const _VE = "ValidationException";
|
|
124
|
+
const _aC = "awsvpcConfiguration";
|
|
125
|
+
const _b = "base";
|
|
126
|
+
const _c = "client";
|
|
127
|
+
const _cP = "capacityProvider";
|
|
128
|
+
const _cT = "clientToken";
|
|
129
|
+
const _e = "error";
|
|
130
|
+
const _ex = "expression";
|
|
131
|
+
const _f = "field";
|
|
132
|
+
const _gN = "groupName";
|
|
133
|
+
const _h = "http";
|
|
134
|
+
const _hE = "httpError";
|
|
135
|
+
const _hQ = "httpQuery";
|
|
136
|
+
const _iT = "idempotencyToken";
|
|
137
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.scheduler";
|
|
138
|
+
const _se = "server";
|
|
139
|
+
const _t = "type";
|
|
140
|
+
const _w = "weight";
|
|
141
|
+
const n0 = "com.amazonaws.scheduler";
|
|
142
|
+
const schema_1 = require("@smithy/core/schema");
|
|
143
|
+
const errors_1 = require("../models/errors");
|
|
144
|
+
const SchedulerServiceException_1 = require("../models/SchedulerServiceException");
|
|
145
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
146
|
+
exports.SchedulerServiceException$ = [-3, _s, "SchedulerServiceException", 0, [], []];
|
|
147
|
+
_s_registry.registerError(exports.SchedulerServiceException$, SchedulerServiceException_1.SchedulerServiceException);
|
|
148
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
149
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
150
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
151
|
+
[_M],
|
|
152
|
+
[0], 1
|
|
153
|
+
];
|
|
154
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
155
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
156
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
157
|
+
[_M],
|
|
158
|
+
[0], 1
|
|
159
|
+
];
|
|
160
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
161
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
162
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
163
|
+
[_M],
|
|
164
|
+
[0], 1
|
|
165
|
+
];
|
|
166
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
167
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
168
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
169
|
+
[_M],
|
|
170
|
+
[0], 1
|
|
171
|
+
];
|
|
172
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
173
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
174
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
175
|
+
[_M],
|
|
176
|
+
[0], 1
|
|
177
|
+
];
|
|
178
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
179
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
180
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
181
|
+
[_M],
|
|
182
|
+
[0], 1
|
|
183
|
+
];
|
|
184
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
185
|
+
exports.errorTypeRegistries = [
|
|
186
|
+
_s_registry,
|
|
187
|
+
n0_registry,
|
|
188
|
+
];
|
|
189
|
+
exports.AwsVpcConfiguration$ = [3, n0, _AVC,
|
|
190
|
+
0,
|
|
191
|
+
[_S, _SG, _API],
|
|
192
|
+
[64 | 0, 64 | 0, 0], 1
|
|
193
|
+
];
|
|
194
|
+
exports.CapacityProviderStrategyItem$ = [3, n0, _CPSI,
|
|
195
|
+
0,
|
|
196
|
+
[_cP, _w, _b],
|
|
197
|
+
[0, 1, 1], 1
|
|
198
|
+
];
|
|
199
|
+
exports.CreateScheduleGroupInput$ = [3, n0, _CSGI,
|
|
200
|
+
0,
|
|
201
|
+
[_N, _T, _CT],
|
|
202
|
+
[[0, 1], () => TagList, [0, 4]], 1
|
|
203
|
+
];
|
|
204
|
+
exports.CreateScheduleGroupOutput$ = [3, n0, _CSGO,
|
|
205
|
+
0,
|
|
206
|
+
[_SGA],
|
|
207
|
+
[0], 1
|
|
208
|
+
];
|
|
209
|
+
exports.CreateScheduleInput$ = [3, n0, _CSI,
|
|
210
|
+
0,
|
|
211
|
+
[_N, _SE, _Ta, _FTW, _GN, _SD, _ED, _D, _SET, _St, _KKA, _CT, _AAC],
|
|
212
|
+
[[0, 1], 0, () => exports.Target$, () => exports.FlexibleTimeWindow$, 0, 4, 4, 0, 0, 0, 0, [0, 4], 0], 4
|
|
213
|
+
];
|
|
214
|
+
exports.CreateScheduleOutput$ = [3, n0, _CSO,
|
|
215
|
+
0,
|
|
216
|
+
[_SA],
|
|
217
|
+
[0], 1
|
|
218
|
+
];
|
|
219
|
+
exports.DeadLetterConfig$ = [3, n0, _DLC,
|
|
220
|
+
0,
|
|
221
|
+
[_A],
|
|
222
|
+
[0]
|
|
223
|
+
];
|
|
224
|
+
exports.DeleteScheduleGroupInput$ = [3, n0, _DSGI,
|
|
225
|
+
0,
|
|
226
|
+
[_N, _CT],
|
|
227
|
+
[[0, 1], [0, { [_hQ]: _cT, [_iT]: 1 }]], 1
|
|
228
|
+
];
|
|
229
|
+
exports.DeleteScheduleGroupOutput$ = [3, n0, _DSGO,
|
|
230
|
+
0,
|
|
231
|
+
[],
|
|
232
|
+
[]
|
|
233
|
+
];
|
|
234
|
+
exports.DeleteScheduleInput$ = [3, n0, _DSI,
|
|
235
|
+
0,
|
|
236
|
+
[_N, _GN, _CT],
|
|
237
|
+
[[0, 1], [0, { [_hQ]: _gN }], [0, { [_hQ]: _cT, [_iT]: 1 }]], 1
|
|
238
|
+
];
|
|
239
|
+
exports.DeleteScheduleOutput$ = [3, n0, _DSO,
|
|
240
|
+
0,
|
|
241
|
+
[],
|
|
242
|
+
[]
|
|
243
|
+
];
|
|
244
|
+
exports.EcsParameters$ = [3, n0, _EP,
|
|
245
|
+
0,
|
|
246
|
+
[_TDA, _TC, _LT, _NC, _PV, _G, _CPS, _EECSMT, _EEC, _PC, _PS, _PT, _RI, _T],
|
|
247
|
+
[0, 1, 0, () => exports.NetworkConfiguration$, 0, 0, () => CapacityProviderStrategy, 2, 2, () => PlacementConstraints, () => PlacementStrategies, 0, 0, [1, n0, _T, 0, 128 | 0]], 1
|
|
248
|
+
];
|
|
249
|
+
exports.EventBridgeParameters$ = [3, n0, _EBP,
|
|
250
|
+
0,
|
|
251
|
+
[_DT, _So],
|
|
252
|
+
[0, 0], 2
|
|
253
|
+
];
|
|
254
|
+
exports.FlexibleTimeWindow$ = [3, n0, _FTW,
|
|
255
|
+
0,
|
|
256
|
+
[_Mo, _MWIM],
|
|
257
|
+
[0, 1], 1
|
|
258
|
+
];
|
|
259
|
+
exports.GetScheduleGroupInput$ = [3, n0, _GSGI,
|
|
260
|
+
0,
|
|
261
|
+
[_N],
|
|
262
|
+
[[0, 1]], 1
|
|
263
|
+
];
|
|
264
|
+
exports.GetScheduleGroupOutput$ = [3, n0, _GSGO,
|
|
265
|
+
0,
|
|
266
|
+
[_A, _N, _St, _CD, _LMD],
|
|
267
|
+
[0, 0, 0, 4, 4]
|
|
268
|
+
];
|
|
269
|
+
exports.GetScheduleInput$ = [3, n0, _GSI,
|
|
270
|
+
0,
|
|
271
|
+
[_N, _GN],
|
|
272
|
+
[[0, 1], [0, { [_hQ]: _gN }]], 1
|
|
273
|
+
];
|
|
274
|
+
exports.GetScheduleOutput$ = [3, n0, _GSO,
|
|
275
|
+
0,
|
|
276
|
+
[_A, _GN, _N, _SE, _SD, _ED, _D, _SET, _St, _CD, _LMD, _KKA, _Ta, _FTW, _AAC],
|
|
277
|
+
[0, 0, 0, 0, 4, 4, 0, 0, 0, 4, 4, 0, () => exports.Target$, () => exports.FlexibleTimeWindow$, 0]
|
|
278
|
+
];
|
|
279
|
+
exports.KinesisParameters$ = [3, n0, _KP,
|
|
280
|
+
0,
|
|
281
|
+
[_PK],
|
|
282
|
+
[0], 1
|
|
283
|
+
];
|
|
284
|
+
exports.ListScheduleGroupsInput$ = [3, n0, _LSGI,
|
|
285
|
+
0,
|
|
286
|
+
[_NP, _NT, _MR],
|
|
287
|
+
[[0, { [_hQ]: _NP }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]]
|
|
288
|
+
];
|
|
289
|
+
exports.ListScheduleGroupsOutput$ = [3, n0, _LSGO,
|
|
290
|
+
0,
|
|
291
|
+
[_SGc, _NT],
|
|
292
|
+
[() => ScheduleGroupList, 0], 1
|
|
293
|
+
];
|
|
294
|
+
exports.ListSchedulesInput$ = [3, n0, _LSI,
|
|
295
|
+
0,
|
|
296
|
+
[_GN, _NP, _St, _NT, _MR],
|
|
297
|
+
[[0, { [_hQ]: _SGch }], [0, { [_hQ]: _NP }], [0, { [_hQ]: _St }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]]
|
|
298
|
+
];
|
|
299
|
+
exports.ListSchedulesOutput$ = [3, n0, _LSO,
|
|
300
|
+
0,
|
|
301
|
+
[_Sc, _NT],
|
|
302
|
+
[() => ScheduleList, 0], 1
|
|
303
|
+
];
|
|
304
|
+
exports.ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
305
|
+
0,
|
|
306
|
+
[_RA],
|
|
307
|
+
[[0, 1]], 1
|
|
308
|
+
];
|
|
309
|
+
exports.ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
310
|
+
0,
|
|
311
|
+
[_T],
|
|
312
|
+
[() => TagList]
|
|
313
|
+
];
|
|
314
|
+
exports.NetworkConfiguration$ = [3, n0, _NC,
|
|
315
|
+
0,
|
|
316
|
+
[_aC],
|
|
317
|
+
[() => exports.AwsVpcConfiguration$]
|
|
318
|
+
];
|
|
319
|
+
exports.PlacementConstraint$ = [3, n0, _PCl,
|
|
320
|
+
0,
|
|
321
|
+
[_t, _ex],
|
|
322
|
+
[0, 0]
|
|
323
|
+
];
|
|
324
|
+
exports.PlacementStrategy$ = [3, n0, _PS,
|
|
325
|
+
0,
|
|
326
|
+
[_t, _f],
|
|
327
|
+
[0, 0]
|
|
328
|
+
];
|
|
329
|
+
exports.RetryPolicy$ = [3, n0, _RP,
|
|
330
|
+
0,
|
|
331
|
+
[_MEAIS, _MRA],
|
|
332
|
+
[1, 1]
|
|
333
|
+
];
|
|
334
|
+
exports.SageMakerPipelineParameter$ = [3, n0, _SMPP,
|
|
335
|
+
0,
|
|
336
|
+
[_N, _V],
|
|
337
|
+
[0, 0], 2
|
|
338
|
+
];
|
|
339
|
+
exports.SageMakerPipelineParameters$ = [3, n0, _SMPPa,
|
|
340
|
+
0,
|
|
341
|
+
[_PPL],
|
|
342
|
+
[() => SageMakerPipelineParameterList]
|
|
343
|
+
];
|
|
344
|
+
exports.ScheduleGroupSummary$ = [3, n0, _SGS,
|
|
345
|
+
0,
|
|
346
|
+
[_A, _N, _St, _CD, _LMD],
|
|
347
|
+
[0, 0, 0, 4, 4]
|
|
348
|
+
];
|
|
349
|
+
exports.ScheduleSummary$ = [3, n0, _SS,
|
|
350
|
+
0,
|
|
351
|
+
[_A, _N, _GN, _St, _CD, _LMD, _Ta],
|
|
352
|
+
[0, 0, 0, 0, 4, 4, () => exports.TargetSummary$]
|
|
353
|
+
];
|
|
354
|
+
exports.SqsParameters$ = [3, n0, _SP,
|
|
355
|
+
0,
|
|
356
|
+
[_MGI],
|
|
357
|
+
[0]
|
|
358
|
+
];
|
|
359
|
+
exports.Tag$ = [3, n0, _Tag,
|
|
360
|
+
0,
|
|
361
|
+
[_K, _V],
|
|
362
|
+
[0, 0], 2
|
|
363
|
+
];
|
|
364
|
+
exports.TagResourceInput$ = [3, n0, _TRI,
|
|
365
|
+
0,
|
|
366
|
+
[_RA, _T],
|
|
367
|
+
[[0, 1], () => TagList], 2
|
|
368
|
+
];
|
|
369
|
+
exports.TagResourceOutput$ = [3, n0, _TRO,
|
|
370
|
+
0,
|
|
371
|
+
[],
|
|
372
|
+
[]
|
|
373
|
+
];
|
|
374
|
+
exports.Target$ = [3, n0, _Ta,
|
|
375
|
+
0,
|
|
376
|
+
[_A, _RAo, _DLC, _RP, _I, _EP, _EBP, _KP, _SMPPa, _SP],
|
|
377
|
+
[0, 0, () => exports.DeadLetterConfig$, () => exports.RetryPolicy$, 0, () => exports.EcsParameters$, () => exports.EventBridgeParameters$, () => exports.KinesisParameters$, () => exports.SageMakerPipelineParameters$, () => exports.SqsParameters$], 2
|
|
378
|
+
];
|
|
379
|
+
exports.TargetSummary$ = [3, n0, _TS,
|
|
380
|
+
0,
|
|
381
|
+
[_A],
|
|
382
|
+
[0], 1
|
|
383
|
+
];
|
|
384
|
+
exports.UntagResourceInput$ = [3, n0, _URI,
|
|
385
|
+
0,
|
|
386
|
+
[_RA, _TK],
|
|
387
|
+
[[0, 1], [64 | 0, { [_hQ]: _TK }]], 2
|
|
388
|
+
];
|
|
389
|
+
exports.UntagResourceOutput$ = [3, n0, _URO,
|
|
390
|
+
0,
|
|
391
|
+
[],
|
|
392
|
+
[]
|
|
393
|
+
];
|
|
394
|
+
exports.UpdateScheduleInput$ = [3, n0, _USI,
|
|
395
|
+
0,
|
|
396
|
+
[_N, _SE, _Ta, _FTW, _GN, _SD, _ED, _D, _SET, _St, _KKA, _CT, _AAC],
|
|
397
|
+
[[0, 1], 0, () => exports.Target$, () => exports.FlexibleTimeWindow$, 0, 4, 4, 0, 0, 0, 0, [0, 4], 0], 4
|
|
398
|
+
];
|
|
399
|
+
exports.UpdateScheduleOutput$ = [3, n0, _USO,
|
|
400
|
+
0,
|
|
401
|
+
[_SA],
|
|
402
|
+
[0], 1
|
|
403
|
+
];
|
|
404
|
+
var CapacityProviderStrategy = [1, n0, _CPS,
|
|
405
|
+
0, () => exports.CapacityProviderStrategyItem$
|
|
406
|
+
];
|
|
407
|
+
var PlacementConstraints = [1, n0, _PC,
|
|
408
|
+
0, () => exports.PlacementConstraint$
|
|
409
|
+
];
|
|
410
|
+
var PlacementStrategies = [1, n0, _PSl,
|
|
411
|
+
0, () => exports.PlacementStrategy$
|
|
412
|
+
];
|
|
413
|
+
var SageMakerPipelineParameterList = [1, n0, _SMPPL,
|
|
414
|
+
0, () => exports.SageMakerPipelineParameter$
|
|
415
|
+
];
|
|
416
|
+
var ScheduleGroupList = [1, n0, _SGL,
|
|
417
|
+
0, () => exports.ScheduleGroupSummary$
|
|
418
|
+
];
|
|
419
|
+
var ScheduleList = [1, n0, _SL,
|
|
420
|
+
0, () => exports.ScheduleSummary$
|
|
421
|
+
];
|
|
422
|
+
var SecurityGroups = 64 | 0;
|
|
423
|
+
var Subnets = 64 | 0;
|
|
424
|
+
var TagKeyList = 64 | 0;
|
|
425
|
+
var TagList = [1, n0, _TL,
|
|
426
|
+
0, () => exports.Tag$
|
|
427
|
+
];
|
|
428
|
+
var Tags = [1, n0, _T,
|
|
429
|
+
0, 128 | 0
|
|
430
|
+
];
|
|
431
|
+
var TagMap = 128 | 0;
|
|
432
|
+
exports.CreateSchedule$ = [9, n0, _CS,
|
|
433
|
+
{ [_h]: ["POST", "/schedules/{Name}", 200] }, () => exports.CreateScheduleInput$, () => exports.CreateScheduleOutput$
|
|
434
|
+
];
|
|
435
|
+
exports.CreateScheduleGroup$ = [9, n0, _CSG,
|
|
436
|
+
{ [_h]: ["POST", "/schedule-groups/{Name}", 200] }, () => exports.CreateScheduleGroupInput$, () => exports.CreateScheduleGroupOutput$
|
|
437
|
+
];
|
|
438
|
+
exports.DeleteSchedule$ = [9, n0, _DS,
|
|
439
|
+
{ [_h]: ["DELETE", "/schedules/{Name}", 200] }, () => exports.DeleteScheduleInput$, () => exports.DeleteScheduleOutput$
|
|
440
|
+
];
|
|
441
|
+
exports.DeleteScheduleGroup$ = [9, n0, _DSG,
|
|
442
|
+
{ [_h]: ["DELETE", "/schedule-groups/{Name}", 200] }, () => exports.DeleteScheduleGroupInput$, () => exports.DeleteScheduleGroupOutput$
|
|
443
|
+
];
|
|
444
|
+
exports.GetSchedule$ = [9, n0, _GS,
|
|
445
|
+
{ [_h]: ["GET", "/schedules/{Name}", 200] }, () => exports.GetScheduleInput$, () => exports.GetScheduleOutput$
|
|
446
|
+
];
|
|
447
|
+
exports.GetScheduleGroup$ = [9, n0, _GSG,
|
|
448
|
+
{ [_h]: ["GET", "/schedule-groups/{Name}", 200] }, () => exports.GetScheduleGroupInput$, () => exports.GetScheduleGroupOutput$
|
|
449
|
+
];
|
|
450
|
+
exports.ListScheduleGroups$ = [9, n0, _LSG,
|
|
451
|
+
{ [_h]: ["GET", "/schedule-groups", 200] }, () => exports.ListScheduleGroupsInput$, () => exports.ListScheduleGroupsOutput$
|
|
452
|
+
];
|
|
453
|
+
exports.ListSchedules$ = [9, n0, _LS,
|
|
454
|
+
{ [_h]: ["GET", "/schedules", 200] }, () => exports.ListSchedulesInput$, () => exports.ListSchedulesOutput$
|
|
455
|
+
];
|
|
456
|
+
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
457
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => exports.ListTagsForResourceInput$, () => exports.ListTagsForResourceOutput$
|
|
458
|
+
];
|
|
459
|
+
exports.TagResource$ = [9, n0, _TR,
|
|
460
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => exports.TagResourceInput$, () => exports.TagResourceOutput$
|
|
461
|
+
];
|
|
462
|
+
exports.UntagResource$ = [9, n0, _UR,
|
|
463
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => exports.UntagResourceInput$, () => exports.UntagResourceOutput$
|
|
464
|
+
];
|
|
465
|
+
exports.UpdateSchedule$ = [9, n0, _US,
|
|
466
|
+
{ [_h]: ["PUT", "/schedules/{Name}", 200] }, () => exports.UpdateScheduleInput$, () => exports.UpdateScheduleOutput$
|
|
467
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultSchedulerHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2021-06-30",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.scheduler",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2021-06-30",
|
|
30
32
|
serviceTarget: "AWSChronosService",
|
|
31
33
|
},
|