@aws-sdk/client-arc-zonal-shift 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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ARCZonalShiftServiceException = 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 ARCZonalShiftServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, ARCZonalShiftServiceException.prototype);
10
+ }
11
+ }
12
+ exports.ARCZonalShiftServiceException = ARCZonalShiftServiceException;
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceNotFoundException = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
+ const ARCZonalShiftServiceException_1 = require("./ARCZonalShiftServiceException");
5
+ class AccessDeniedException extends ARCZonalShiftServiceException_1.ARCZonalShiftServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccessDeniedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
+ }
16
+ }
17
+ exports.AccessDeniedException = AccessDeniedException;
18
+ class InternalServerException extends ARCZonalShiftServiceException_1.ARCZonalShiftServiceException {
19
+ name = "InternalServerException";
20
+ $fault = "server";
21
+ constructor(opts) {
22
+ super({
23
+ name: "InternalServerException",
24
+ $fault: "server",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, InternalServerException.prototype);
28
+ }
29
+ }
30
+ exports.InternalServerException = InternalServerException;
31
+ class ThrottlingException extends ARCZonalShiftServiceException_1.ARCZonalShiftServiceException {
32
+ name = "ThrottlingException";
33
+ $fault = "client";
34
+ constructor(opts) {
35
+ super({
36
+ name: "ThrottlingException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
41
+ }
42
+ }
43
+ exports.ThrottlingException = ThrottlingException;
44
+ class ValidationException extends ARCZonalShiftServiceException_1.ARCZonalShiftServiceException {
45
+ name = "ValidationException";
46
+ $fault = "client";
47
+ reason;
48
+ constructor(opts) {
49
+ super({
50
+ name: "ValidationException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, ValidationException.prototype);
55
+ this.reason = opts.reason;
56
+ }
57
+ }
58
+ exports.ValidationException = ValidationException;
59
+ class ConflictException extends ARCZonalShiftServiceException_1.ARCZonalShiftServiceException {
60
+ name = "ConflictException";
61
+ $fault = "client";
62
+ reason;
63
+ zonalShiftId;
64
+ constructor(opts) {
65
+ super({
66
+ name: "ConflictException",
67
+ $fault: "client",
68
+ ...opts,
69
+ });
70
+ Object.setPrototypeOf(this, ConflictException.prototype);
71
+ this.reason = opts.reason;
72
+ this.zonalShiftId = opts.zonalShiftId;
73
+ }
74
+ }
75
+ exports.ConflictException = ConflictException;
76
+ class ResourceNotFoundException extends ARCZonalShiftServiceException_1.ARCZonalShiftServiceException {
77
+ name = "ResourceNotFoundException";
78
+ $fault = "client";
79
+ constructor(opts) {
80
+ super({
81
+ name: "ResourceNotFoundException",
82
+ $fault: "client",
83
+ ...opts,
84
+ });
85
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
86
+ }
87
+ }
88
+ exports.ResourceNotFoundException = ResourceNotFoundException;
@@ -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: "2022-10-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.arczonalshift",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2022-10-30",
33
35
  serviceTarget: "PercDataPlane",
34
36
  },
@@ -0,0 +1,401 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAutoshifts$ = exports.GetManagedResource$ = exports.GetAutoshiftObserverNotificationStatus$ = exports.DeletePracticeRunConfiguration$ = exports.CreatePracticeRunConfiguration$ = exports.CancelZonalShift$ = exports.CancelPracticeRun$ = exports.ZonalShiftSummary$ = exports.ZonalShiftInResource$ = exports.ZonalShift$ = exports.UpdateZonalShiftRequest$ = exports.UpdateZonalAutoshiftConfigurationResponse$ = exports.UpdateZonalAutoshiftConfigurationRequest$ = exports.UpdatePracticeRunConfigurationResponse$ = exports.UpdatePracticeRunConfigurationRequest$ = exports.UpdateAutoshiftObserverNotificationStatusResponse$ = exports.UpdateAutoshiftObserverNotificationStatusRequest$ = exports.StartZonalShiftRequest$ = exports.StartPracticeRunResponse$ = exports.StartPracticeRunRequest$ = exports.PracticeRunConfiguration$ = exports.ManagedResourceSummary$ = exports.ListZonalShiftsResponse$ = exports.ListZonalShiftsRequest$ = exports.ListManagedResourcesResponse$ = exports.ListManagedResourcesRequest$ = exports.ListAutoshiftsResponse$ = exports.ListAutoshiftsRequest$ = exports.GetManagedResourceResponse$ = exports.GetManagedResourceRequest$ = exports.GetAutoshiftObserverNotificationStatusResponse$ = exports.GetAutoshiftObserverNotificationStatusRequest$ = exports.DeletePracticeRunConfigurationResponse$ = exports.DeletePracticeRunConfigurationRequest$ = exports.CreatePracticeRunConfigurationResponse$ = exports.CreatePracticeRunConfigurationRequest$ = exports.ControlCondition$ = exports.CancelZonalShiftRequest$ = exports.CancelPracticeRunResponse$ = exports.CancelPracticeRunRequest$ = exports.AutoshiftSummary$ = exports.AutoshiftInResource$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.ARCZonalShiftServiceException$ = void 0;
4
+ exports.UpdateZonalShift$ = exports.UpdateZonalAutoshiftConfiguration$ = exports.UpdatePracticeRunConfiguration$ = exports.UpdateAutoshiftObserverNotificationStatus$ = exports.StartZonalShift$ = exports.StartPracticeRun$ = exports.ListZonalShifts$ = exports.ListManagedResources$ = void 0;
5
+ const _ADE = "AccessDeniedException";
6
+ const _AIR = "AutoshiftInResource";
7
+ const _AIRu = "AutoshiftsInResource";
8
+ const _AS = "AutoshiftSummary";
9
+ const _ASu = "AutoshiftSummaries";
10
+ const _BA = "BlockingAlarms";
11
+ const _CC = "ControlCondition";
12
+ const _CE = "ConflictException";
13
+ const _CPR = "CancelPracticeRun";
14
+ const _CPRC = "CreatePracticeRunConfiguration";
15
+ const _CPRCR = "CreatePracticeRunConfigurationRequest";
16
+ const _CPRCRr = "CreatePracticeRunConfigurationResponse";
17
+ const _CPRR = "CancelPracticeRunRequest";
18
+ const _CPRRa = "CancelPracticeRunResponse";
19
+ const _CZS = "CancelZonalShift";
20
+ const _CZSR = "CancelZonalShiftRequest";
21
+ const _DPRC = "DeletePracticeRunConfiguration";
22
+ const _DPRCR = "DeletePracticeRunConfigurationRequest";
23
+ const _DPRCRe = "DeletePracticeRunConfigurationResponse";
24
+ const _GAONS = "GetAutoshiftObserverNotificationStatus";
25
+ const _GAONSR = "GetAutoshiftObserverNotificationStatusRequest";
26
+ const _GAONSRe = "GetAutoshiftObserverNotificationStatusResponse";
27
+ const _GMR = "GetManagedResource";
28
+ const _GMRR = "GetManagedResourceRequest";
29
+ const _GMRRe = "GetManagedResourceResponse";
30
+ const _ISE = "InternalServerException";
31
+ const _LA = "ListAutoshifts";
32
+ const _LAR = "ListAutoshiftsRequest";
33
+ const _LARi = "ListAutoshiftsResponse";
34
+ const _LMR = "ListManagedResources";
35
+ const _LMRR = "ListManagedResourcesRequest";
36
+ const _LMRRi = "ListManagedResourcesResponse";
37
+ const _LZS = "ListZonalShifts";
38
+ const _LZSR = "ListZonalShiftsRequest";
39
+ const _LZSRi = "ListZonalShiftsResponse";
40
+ const _MRS = "ManagedResourceSummary";
41
+ const _MRSa = "ManagedResourceSummaries";
42
+ const _OA = "OutcomeAlarms";
43
+ const _PRC = "PracticeRunConfiguration";
44
+ const _RNFE = "ResourceNotFoundException";
45
+ const _SPR = "StartPracticeRun";
46
+ const _SPRR = "StartPracticeRunRequest";
47
+ const _SPRRt = "StartPracticeRunResponse";
48
+ const _SZS = "StartZonalShift";
49
+ const _SZSR = "StartZonalShiftRequest";
50
+ const _TE = "ThrottlingException";
51
+ const _UAONS = "UpdateAutoshiftObserverNotificationStatus";
52
+ const _UAONSR = "UpdateAutoshiftObserverNotificationStatusRequest";
53
+ const _UAONSRp = "UpdateAutoshiftObserverNotificationStatusResponse";
54
+ const _UPRC = "UpdatePracticeRunConfiguration";
55
+ const _UPRCR = "UpdatePracticeRunConfigurationRequest";
56
+ const _UPRCRp = "UpdatePracticeRunConfigurationResponse";
57
+ const _UZAC = "UpdateZonalAutoshiftConfiguration";
58
+ const _UZACR = "UpdateZonalAutoshiftConfigurationRequest";
59
+ const _UZACRp = "UpdateZonalAutoshiftConfigurationResponse";
60
+ const _UZS = "UpdateZonalShift";
61
+ const _UZSR = "UpdateZonalShiftRequest";
62
+ const _VE = "ValidationException";
63
+ const _ZS = "ZonalShift";
64
+ const _ZSIR = "ZonalShiftInResource";
65
+ const _ZSIRo = "ZonalShiftsInResource";
66
+ const _ZSS = "ZonalShiftSummary";
67
+ const _ZSSo = "ZonalShiftSummaries";
68
+ const _a = "arn";
69
+ const _aF = "awayFrom";
70
+ const _aI = "alarmIdentifier";
71
+ const _aS = "appliedStatus";
72
+ const _aW = "allowedWindows";
73
+ const _aWp = "appliedWeights";
74
+ const _aZ = "availabilityZones";
75
+ const _au = "autoshifts";
76
+ const _bA = "blockingAlarms";
77
+ const _bD = "blockedDates";
78
+ const _bW = "blockedWindows";
79
+ const _c = "client";
80
+ const _co = "comment";
81
+ const _e = "error";
82
+ const _eI = "expiresIn";
83
+ const _eT = "endTime";
84
+ const _eTx = "expiryTime";
85
+ const _h = "http";
86
+ const _hE = "httpError";
87
+ const _hQ = "httpQuery";
88
+ const _i = "items";
89
+ const _m = "message";
90
+ const _mR = "maxResults";
91
+ const _n = "name";
92
+ const _nT = "nextToken";
93
+ const _oA = "outcomeAlarms";
94
+ const _pRC = "practiceRunConfiguration";
95
+ const _pRO = "practiceRunOutcome";
96
+ const _pRS = "practiceRunStatus";
97
+ const _r = "reason";
98
+ const _rI = "resourceIdentifier";
99
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.arczonalshift";
100
+ const _sT = "startTime";
101
+ const _sTh = "shiftType";
102
+ const _se = "server";
103
+ const _st = "status";
104
+ const _t = "type";
105
+ const _zAS = "zonalAutoshiftStatus";
106
+ const _zS = "zonalShifts";
107
+ const _zSI = "zonalShiftId";
108
+ const n0 = "com.amazonaws.arczonalshift";
109
+ const schema_1 = require("@smithy/core/schema");
110
+ const ARCZonalShiftServiceException_1 = require("../models/ARCZonalShiftServiceException");
111
+ const errors_1 = require("../models/errors");
112
+ const _s_registry = schema_1.TypeRegistry.for(_s);
113
+ exports.ARCZonalShiftServiceException$ = [-3, _s, "ARCZonalShiftServiceException", 0, [], []];
114
+ _s_registry.registerError(exports.ARCZonalShiftServiceException$, ARCZonalShiftServiceException_1.ARCZonalShiftServiceException);
115
+ const n0_registry = schema_1.TypeRegistry.for(n0);
116
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
117
+ { [_e]: _c, [_hE]: 403 },
118
+ [_m],
119
+ [0]
120
+ ];
121
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
122
+ exports.ConflictException$ = [-3, n0, _CE,
123
+ { [_e]: _c, [_hE]: 409 },
124
+ [_m, _r, _zSI],
125
+ [0, 0, 0], 2
126
+ ];
127
+ n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
128
+ exports.InternalServerException$ = [-3, n0, _ISE,
129
+ { [_e]: _se, [_hE]: 500 },
130
+ [_m],
131
+ [0]
132
+ ];
133
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
134
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
135
+ { [_e]: _c, [_hE]: 404 },
136
+ [_m],
137
+ [0], 1
138
+ ];
139
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
140
+ exports.ThrottlingException$ = [-3, n0, _TE,
141
+ { [_e]: _c, [_hE]: 429 },
142
+ [_m],
143
+ [0]
144
+ ];
145
+ n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
146
+ exports.ValidationException$ = [-3, n0, _VE,
147
+ { [_e]: _c, [_hE]: 400 },
148
+ [_m, _r],
149
+ [0, 0], 2
150
+ ];
151
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
152
+ exports.errorTypeRegistries = [
153
+ _s_registry,
154
+ n0_registry,
155
+ ];
156
+ exports.AutoshiftInResource$ = [3, n0, _AIR,
157
+ 0,
158
+ [_aS, _aF, _sT],
159
+ [0, 0, 4], 3
160
+ ];
161
+ exports.AutoshiftSummary$ = [3, n0, _AS,
162
+ 0,
163
+ [_aF, _sT, _st, _eT],
164
+ [0, 4, 0, 4], 3
165
+ ];
166
+ exports.CancelPracticeRunRequest$ = [3, n0, _CPRR,
167
+ 0,
168
+ [_zSI],
169
+ [[0, 1]], 1
170
+ ];
171
+ exports.CancelPracticeRunResponse$ = [3, n0, _CPRRa,
172
+ 0,
173
+ [_zSI, _rI, _aF, _eTx, _sT, _st, _co],
174
+ [0, 0, 0, 4, 4, 0, 0], 7
175
+ ];
176
+ exports.CancelZonalShiftRequest$ = [3, n0, _CZSR,
177
+ 0,
178
+ [_zSI],
179
+ [[0, 1]], 1
180
+ ];
181
+ exports.ControlCondition$ = [3, n0, _CC,
182
+ 0,
183
+ [_t, _aI],
184
+ [0, 0], 2
185
+ ];
186
+ exports.CreatePracticeRunConfigurationRequest$ = [3, n0, _CPRCR,
187
+ 0,
188
+ [_rI, _oA, _bW, _bD, _bA, _aW],
189
+ [0, () => OutcomeAlarms, 64 | 0, 64 | 0, () => BlockingAlarms, 64 | 0], 2
190
+ ];
191
+ exports.CreatePracticeRunConfigurationResponse$ = [3, n0, _CPRCRr,
192
+ 0,
193
+ [_a, _n, _zAS, _pRC],
194
+ [0, 0, 0, () => exports.PracticeRunConfiguration$], 4
195
+ ];
196
+ exports.DeletePracticeRunConfigurationRequest$ = [3, n0, _DPRCR,
197
+ 0,
198
+ [_rI],
199
+ [[0, 1]], 1
200
+ ];
201
+ exports.DeletePracticeRunConfigurationResponse$ = [3, n0, _DPRCRe,
202
+ 0,
203
+ [_a, _n, _zAS],
204
+ [0, 0, 0], 3
205
+ ];
206
+ exports.GetAutoshiftObserverNotificationStatusRequest$ = [3, n0, _GAONSR,
207
+ 0,
208
+ [],
209
+ []
210
+ ];
211
+ exports.GetAutoshiftObserverNotificationStatusResponse$ = [3, n0, _GAONSRe,
212
+ 0,
213
+ [_st],
214
+ [0], 1
215
+ ];
216
+ exports.GetManagedResourceRequest$ = [3, n0, _GMRR,
217
+ 0,
218
+ [_rI],
219
+ [[0, 1]], 1
220
+ ];
221
+ exports.GetManagedResourceResponse$ = [3, n0, _GMRRe,
222
+ 0,
223
+ [_aWp, _zS, _a, _n, _au, _pRC, _zAS],
224
+ [128 | 1, () => ZonalShiftsInResource, 0, 0, () => AutoshiftsInResource, () => exports.PracticeRunConfiguration$, 0], 2
225
+ ];
226
+ exports.ListAutoshiftsRequest$ = [3, n0, _LAR,
227
+ 0,
228
+ [_nT, _st, _mR],
229
+ [[0, { [_hQ]: _nT }], [0, { [_hQ]: _st }], [1, { [_hQ]: _mR }]]
230
+ ];
231
+ exports.ListAutoshiftsResponse$ = [3, n0, _LARi,
232
+ 0,
233
+ [_i, _nT],
234
+ [() => AutoshiftSummaries, 0]
235
+ ];
236
+ exports.ListManagedResourcesRequest$ = [3, n0, _LMRR,
237
+ 0,
238
+ [_nT, _mR],
239
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
240
+ ];
241
+ exports.ListManagedResourcesResponse$ = [3, n0, _LMRRi,
242
+ 0,
243
+ [_i, _nT],
244
+ [() => ManagedResourceSummaries, 0], 1
245
+ ];
246
+ exports.ListZonalShiftsRequest$ = [3, n0, _LZSR,
247
+ 0,
248
+ [_nT, _st, _mR, _rI],
249
+ [[0, { [_hQ]: _nT }], [0, { [_hQ]: _st }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _rI }]]
250
+ ];
251
+ exports.ListZonalShiftsResponse$ = [3, n0, _LZSRi,
252
+ 0,
253
+ [_i, _nT],
254
+ [() => ZonalShiftSummaries, 0]
255
+ ];
256
+ exports.ManagedResourceSummary$ = [3, n0, _MRS,
257
+ 0,
258
+ [_aZ, _a, _n, _aWp, _zS, _au, _zAS, _pRS],
259
+ [64 | 0, 0, 0, 128 | 1, () => ZonalShiftsInResource, () => AutoshiftsInResource, 0, 0], 1
260
+ ];
261
+ exports.PracticeRunConfiguration$ = [3, n0, _PRC,
262
+ 0,
263
+ [_oA, _bA, _bW, _aW, _bD],
264
+ [() => OutcomeAlarms, () => BlockingAlarms, 64 | 0, 64 | 0, 64 | 0], 1
265
+ ];
266
+ exports.StartPracticeRunRequest$ = [3, n0, _SPRR,
267
+ 0,
268
+ [_rI, _aF, _co],
269
+ [0, 0, 0], 3
270
+ ];
271
+ exports.StartPracticeRunResponse$ = [3, n0, _SPRRt,
272
+ 0,
273
+ [_zSI, _rI, _aF, _eTx, _sT, _st, _co],
274
+ [0, 0, 0, 4, 4, 0, 0], 7
275
+ ];
276
+ exports.StartZonalShiftRequest$ = [3, n0, _SZSR,
277
+ 0,
278
+ [_rI, _aF, _eI, _co],
279
+ [0, 0, 0, 0], 4
280
+ ];
281
+ exports.UpdateAutoshiftObserverNotificationStatusRequest$ = [3, n0, _UAONSR,
282
+ 0,
283
+ [_st],
284
+ [0], 1
285
+ ];
286
+ exports.UpdateAutoshiftObserverNotificationStatusResponse$ = [3, n0, _UAONSRp,
287
+ 0,
288
+ [_st],
289
+ [0], 1
290
+ ];
291
+ exports.UpdatePracticeRunConfigurationRequest$ = [3, n0, _UPRCR,
292
+ 0,
293
+ [_rI, _bW, _bD, _bA, _aW, _oA],
294
+ [[0, 1], 64 | 0, 64 | 0, () => BlockingAlarms, 64 | 0, () => OutcomeAlarms], 1
295
+ ];
296
+ exports.UpdatePracticeRunConfigurationResponse$ = [3, n0, _UPRCRp,
297
+ 0,
298
+ [_a, _n, _zAS, _pRC],
299
+ [0, 0, 0, () => exports.PracticeRunConfiguration$], 4
300
+ ];
301
+ exports.UpdateZonalAutoshiftConfigurationRequest$ = [3, n0, _UZACR,
302
+ 0,
303
+ [_rI, _zAS],
304
+ [[0, 1], 0], 2
305
+ ];
306
+ exports.UpdateZonalAutoshiftConfigurationResponse$ = [3, n0, _UZACRp,
307
+ 0,
308
+ [_rI, _zAS],
309
+ [0, 0], 2
310
+ ];
311
+ exports.UpdateZonalShiftRequest$ = [3, n0, _UZSR,
312
+ 0,
313
+ [_zSI, _co, _eI],
314
+ [[0, 1], 0, 0], 1
315
+ ];
316
+ exports.ZonalShift$ = [3, n0, _ZS,
317
+ 0,
318
+ [_zSI, _rI, _aF, _eTx, _sT, _st, _co],
319
+ [0, 0, 0, 4, 4, 0, 0], 7
320
+ ];
321
+ exports.ZonalShiftInResource$ = [3, n0, _ZSIR,
322
+ 0,
323
+ [_aS, _zSI, _rI, _aF, _eTx, _sT, _co, _sTh, _pRO],
324
+ [0, 0, 0, 0, 4, 4, 0, 0, 0], 7
325
+ ];
326
+ exports.ZonalShiftSummary$ = [3, n0, _ZSS,
327
+ 0,
328
+ [_zSI, _rI, _aF, _eTx, _sT, _st, _co, _sTh, _pRO],
329
+ [0, 0, 0, 4, 4, 0, 0, 0, 0], 7
330
+ ];
331
+ var AllowedWindows = 64 | 0;
332
+ var AutoshiftsInResource = [1, n0, _AIRu,
333
+ 0, () => exports.AutoshiftInResource$
334
+ ];
335
+ var AutoshiftSummaries = [1, n0, _ASu,
336
+ 0, () => exports.AutoshiftSummary$
337
+ ];
338
+ var AvailabilityZones = 64 | 0;
339
+ var BlockedDates = 64 | 0;
340
+ var BlockedWindows = 64 | 0;
341
+ var BlockingAlarms = [1, n0, _BA,
342
+ 0, () => exports.ControlCondition$
343
+ ];
344
+ var ManagedResourceSummaries = [1, n0, _MRSa,
345
+ 0, () => exports.ManagedResourceSummary$
346
+ ];
347
+ var OutcomeAlarms = [1, n0, _OA,
348
+ 0, () => exports.ControlCondition$
349
+ ];
350
+ var ZonalShiftsInResource = [1, n0, _ZSIRo,
351
+ 0, () => exports.ZonalShiftInResource$
352
+ ];
353
+ var ZonalShiftSummaries = [1, n0, _ZSSo,
354
+ 0, () => exports.ZonalShiftSummary$
355
+ ];
356
+ var AppliedWeights = 128 | 1;
357
+ exports.CancelPracticeRun$ = [9, n0, _CPR,
358
+ { [_h]: ["DELETE", "/practiceruns/{zonalShiftId}", 200] }, () => exports.CancelPracticeRunRequest$, () => exports.CancelPracticeRunResponse$
359
+ ];
360
+ exports.CancelZonalShift$ = [9, n0, _CZS,
361
+ { [_h]: ["DELETE", "/zonalshifts/{zonalShiftId}", 200] }, () => exports.CancelZonalShiftRequest$, () => exports.ZonalShift$
362
+ ];
363
+ exports.CreatePracticeRunConfiguration$ = [9, n0, _CPRC,
364
+ { [_h]: ["POST", "/configuration", 201] }, () => exports.CreatePracticeRunConfigurationRequest$, () => exports.CreatePracticeRunConfigurationResponse$
365
+ ];
366
+ exports.DeletePracticeRunConfiguration$ = [9, n0, _DPRC,
367
+ { [_h]: ["DELETE", "/configuration/{resourceIdentifier}", 200] }, () => exports.DeletePracticeRunConfigurationRequest$, () => exports.DeletePracticeRunConfigurationResponse$
368
+ ];
369
+ exports.GetAutoshiftObserverNotificationStatus$ = [9, n0, _GAONS,
370
+ { [_h]: ["GET", "/autoshift-observer-notification", 200] }, () => exports.GetAutoshiftObserverNotificationStatusRequest$, () => exports.GetAutoshiftObserverNotificationStatusResponse$
371
+ ];
372
+ exports.GetManagedResource$ = [9, n0, _GMR,
373
+ { [_h]: ["GET", "/managedresources/{resourceIdentifier}", 200] }, () => exports.GetManagedResourceRequest$, () => exports.GetManagedResourceResponse$
374
+ ];
375
+ exports.ListAutoshifts$ = [9, n0, _LA,
376
+ { [_h]: ["GET", "/autoshifts", 200] }, () => exports.ListAutoshiftsRequest$, () => exports.ListAutoshiftsResponse$
377
+ ];
378
+ exports.ListManagedResources$ = [9, n0, _LMR,
379
+ { [_h]: ["GET", "/managedresources", 200] }, () => exports.ListManagedResourcesRequest$, () => exports.ListManagedResourcesResponse$
380
+ ];
381
+ exports.ListZonalShifts$ = [9, n0, _LZS,
382
+ { [_h]: ["GET", "/zonalshifts", 200] }, () => exports.ListZonalShiftsRequest$, () => exports.ListZonalShiftsResponse$
383
+ ];
384
+ exports.StartPracticeRun$ = [9, n0, _SPR,
385
+ { [_h]: ["POST", "/practiceruns", 200] }, () => exports.StartPracticeRunRequest$, () => exports.StartPracticeRunResponse$
386
+ ];
387
+ exports.StartZonalShift$ = [9, n0, _SZS,
388
+ { [_h]: ["POST", "/zonalshifts", 201] }, () => exports.StartZonalShiftRequest$, () => exports.ZonalShift$
389
+ ];
390
+ exports.UpdateAutoshiftObserverNotificationStatus$ = [9, n0, _UAONS,
391
+ { [_h]: ["PUT", "/autoshift-observer-notification", 200] }, () => exports.UpdateAutoshiftObserverNotificationStatusRequest$, () => exports.UpdateAutoshiftObserverNotificationStatusResponse$
392
+ ];
393
+ exports.UpdatePracticeRunConfiguration$ = [9, n0, _UPRC,
394
+ { [_h]: ["PATCH", "/configuration/{resourceIdentifier}", 200] }, () => exports.UpdatePracticeRunConfigurationRequest$, () => exports.UpdatePracticeRunConfigurationResponse$
395
+ ];
396
+ exports.UpdateZonalAutoshiftConfiguration$ = [9, n0, _UZAC,
397
+ { [_h]: ["PUT", "/managedresources/{resourceIdentifier}", 200] }, () => exports.UpdateZonalAutoshiftConfigurationRequest$, () => exports.UpdateZonalAutoshiftConfigurationResponse$
398
+ ];
399
+ exports.UpdateZonalShift$ = [9, n0, _UZS,
400
+ { [_h]: ["PATCH", "/zonalshifts/{zonalShiftId}", 200] }, () => exports.UpdateZonalShiftRequest$, () => exports.ZonalShift$
401
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultARCZonalShiftHttpAuthSchemeProvider } 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: "2022-10-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.arczonalshift",
30
+ errorTypeRegistries,
29
31
  version: "2022-10-30",
30
32
  serviceTarget: "PercDataPlane",
31
33
  },