@aws-sdk/client-mediastore 3.986.0 → 3.988.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 CHANGED
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var MediaStoreServiceException = require('./models/MediaStoreServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,556 +113,6 @@ class MediaStoreClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class MediaStoreServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, MediaStoreServiceException.prototype);
117
- }
118
- }
119
-
120
- class ContainerInUseException extends MediaStoreServiceException {
121
- name = "ContainerInUseException";
122
- $fault = "client";
123
- Message;
124
- constructor(opts) {
125
- super({
126
- name: "ContainerInUseException",
127
- $fault: "client",
128
- ...opts,
129
- });
130
- Object.setPrototypeOf(this, ContainerInUseException.prototype);
131
- this.Message = opts.Message;
132
- }
133
- }
134
- class ContainerNotFoundException extends MediaStoreServiceException {
135
- name = "ContainerNotFoundException";
136
- $fault = "client";
137
- Message;
138
- constructor(opts) {
139
- super({
140
- name: "ContainerNotFoundException",
141
- $fault: "client",
142
- ...opts,
143
- });
144
- Object.setPrototypeOf(this, ContainerNotFoundException.prototype);
145
- this.Message = opts.Message;
146
- }
147
- }
148
- class CorsPolicyNotFoundException extends MediaStoreServiceException {
149
- name = "CorsPolicyNotFoundException";
150
- $fault = "client";
151
- Message;
152
- constructor(opts) {
153
- super({
154
- name: "CorsPolicyNotFoundException",
155
- $fault: "client",
156
- ...opts,
157
- });
158
- Object.setPrototypeOf(this, CorsPolicyNotFoundException.prototype);
159
- this.Message = opts.Message;
160
- }
161
- }
162
- class InternalServerError extends MediaStoreServiceException {
163
- name = "InternalServerError";
164
- $fault = "server";
165
- Message;
166
- constructor(opts) {
167
- super({
168
- name: "InternalServerError",
169
- $fault: "server",
170
- ...opts,
171
- });
172
- Object.setPrototypeOf(this, InternalServerError.prototype);
173
- this.Message = opts.Message;
174
- }
175
- }
176
- class LimitExceededException extends MediaStoreServiceException {
177
- name = "LimitExceededException";
178
- $fault = "client";
179
- Message;
180
- constructor(opts) {
181
- super({
182
- name: "LimitExceededException",
183
- $fault: "client",
184
- ...opts,
185
- });
186
- Object.setPrototypeOf(this, LimitExceededException.prototype);
187
- this.Message = opts.Message;
188
- }
189
- }
190
- class PolicyNotFoundException extends MediaStoreServiceException {
191
- name = "PolicyNotFoundException";
192
- $fault = "client";
193
- Message;
194
- constructor(opts) {
195
- super({
196
- name: "PolicyNotFoundException",
197
- $fault: "client",
198
- ...opts,
199
- });
200
- Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
201
- this.Message = opts.Message;
202
- }
203
- }
204
-
205
- const _AH = "AllowedHeaders";
206
- const _ALE = "AccessLoggingEnabled";
207
- const _AM = "AllowedMethods";
208
- const _AO = "AllowedOrigins";
209
- const _ARN = "ARN";
210
- const _C = "Container";
211
- const _CC = "CreateContainer";
212
- const _CCI = "CreateContainerInput";
213
- const _CCO = "CreateContainerOutput";
214
- const _CIUE = "ContainerInUseException";
215
- const _CL = "ContainerList";
216
- const _CLM = "ContainerLevelMetrics";
217
- const _CN = "ContainerName";
218
- const _CNFE = "ContainerNotFoundException";
219
- const _CP = "CorsPolicy";
220
- const _CPNFE = "CorsPolicyNotFoundException";
221
- const _CR = "CorsRule";
222
- const _CT = "CreationTime";
223
- const _Co = "Containers";
224
- const _DC = "DeleteContainer";
225
- const _DCI = "DeleteContainerInput";
226
- const _DCIe = "DescribeContainerInput";
227
- const _DCO = "DeleteContainerOutput";
228
- const _DCOe = "DescribeContainerOutput";
229
- const _DCP = "DeleteContainerPolicy";
230
- const _DCPI = "DeleteContainerPolicyInput";
231
- const _DCPIe = "DeleteCorsPolicyInput";
232
- const _DCPO = "DeleteContainerPolicyOutput";
233
- const _DCPOe = "DeleteCorsPolicyOutput";
234
- const _DCPe = "DeleteCorsPolicy";
235
- const _DCe = "DescribeContainer";
236
- const _DLP = "DeleteLifecyclePolicy";
237
- const _DLPI = "DeleteLifecyclePolicyInput";
238
- const _DLPO = "DeleteLifecyclePolicyOutput";
239
- const _DMP = "DeleteMetricPolicy";
240
- const _DMPI = "DeleteMetricPolicyInput";
241
- const _DMPO = "DeleteMetricPolicyOutput";
242
- const _E = "Endpoint";
243
- const _EH = "ExposeHeaders";
244
- const _GCP = "GetContainerPolicy";
245
- const _GCPI = "GetContainerPolicyInput";
246
- const _GCPIe = "GetCorsPolicyInput";
247
- const _GCPO = "GetContainerPolicyOutput";
248
- const _GCPOe = "GetCorsPolicyOutput";
249
- const _GCPe = "GetCorsPolicy";
250
- const _GLP = "GetLifecyclePolicy";
251
- const _GLPI = "GetLifecyclePolicyInput";
252
- const _GLPO = "GetLifecyclePolicyOutput";
253
- const _GMP = "GetMetricPolicy";
254
- const _GMPI = "GetMetricPolicyInput";
255
- const _GMPO = "GetMetricPolicyOutput";
256
- const _ISE = "InternalServerError";
257
- const _K = "Key";
258
- const _LC = "ListContainers";
259
- const _LCI = "ListContainersInput";
260
- const _LCO = "ListContainersOutput";
261
- const _LEE = "LimitExceededException";
262
- const _LP = "LifecyclePolicy";
263
- const _LTFR = "ListTagsForResource";
264
- const _LTFRI = "ListTagsForResourceInput";
265
- const _LTFRO = "ListTagsForResourceOutput";
266
- const _M = "Message";
267
- const _MAS = "MaxAgeSeconds";
268
- const _MP = "MetricPolicy";
269
- const _MPR = "MetricPolicyRules";
270
- const _MPRe = "MetricPolicyRule";
271
- const _MR = "MaxResults";
272
- const _N = "Name";
273
- const _NT = "NextToken";
274
- const _OG = "ObjectGroup";
275
- const _OGN = "ObjectGroupName";
276
- const _P = "Policy";
277
- const _PCP = "PutContainerPolicy";
278
- const _PCPI = "PutContainerPolicyInput";
279
- const _PCPIu = "PutCorsPolicyInput";
280
- const _PCPO = "PutContainerPolicyOutput";
281
- const _PCPOu = "PutCorsPolicyOutput";
282
- const _PCPu = "PutCorsPolicy";
283
- const _PLP = "PutLifecyclePolicy";
284
- const _PLPI = "PutLifecyclePolicyInput";
285
- const _PLPO = "PutLifecyclePolicyOutput";
286
- const _PMP = "PutMetricPolicy";
287
- const _PMPI = "PutMetricPolicyInput";
288
- const _PMPO = "PutMetricPolicyOutput";
289
- const _PNFE = "PolicyNotFoundException";
290
- const _R = "Resource";
291
- const _S = "Status";
292
- const _SAL = "StartAccessLogging";
293
- const _SALI = "StartAccessLoggingInput";
294
- const _SALIt = "StopAccessLoggingInput";
295
- const _SALO = "StartAccessLoggingOutput";
296
- const _SALOt = "StopAccessLoggingOutput";
297
- const _SALt = "StopAccessLogging";
298
- const _T = "Tags";
299
- const _TK = "TagKeys";
300
- const _TL = "TagList";
301
- const _TR = "TagResource";
302
- const _TRI = "TagResourceInput";
303
- const _TRO = "TagResourceOutput";
304
- const _Ta = "Tag";
305
- const _UR = "UntagResource";
306
- const _URI = "UntagResourceInput";
307
- const _URO = "UntagResourceOutput";
308
- const _V = "Value";
309
- const _c = "client";
310
- const _e = "error";
311
- const _s = "server";
312
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.mediastore";
313
- const n0 = "com.amazonaws.mediastore";
314
- var Container$ = [3, n0, _C,
315
- 0,
316
- [_E, _CT, _ARN, _N, _S, _ALE],
317
- [0, 4, 0, 0, 0, 2]
318
- ];
319
- var ContainerInUseException$ = [-3, n0, _CIUE,
320
- { [_e]: _c },
321
- [_M],
322
- [0]
323
- ];
324
- schema.TypeRegistry.for(n0).registerError(ContainerInUseException$, ContainerInUseException);
325
- var ContainerNotFoundException$ = [-3, n0, _CNFE,
326
- { [_e]: _c },
327
- [_M],
328
- [0]
329
- ];
330
- schema.TypeRegistry.for(n0).registerError(ContainerNotFoundException$, ContainerNotFoundException);
331
- var CorsPolicyNotFoundException$ = [-3, n0, _CPNFE,
332
- { [_e]: _c },
333
- [_M],
334
- [0]
335
- ];
336
- schema.TypeRegistry.for(n0).registerError(CorsPolicyNotFoundException$, CorsPolicyNotFoundException);
337
- var CorsRule$ = [3, n0, _CR,
338
- 0,
339
- [_AO, _AH, _AM, _MAS, _EH],
340
- [64 | 0, 64 | 0, 64 | 0, 1, 64 | 0], 2
341
- ];
342
- var CreateContainerInput$ = [3, n0, _CCI,
343
- 0,
344
- [_CN, _T],
345
- [0, () => TagList], 1
346
- ];
347
- var CreateContainerOutput$ = [3, n0, _CCO,
348
- 0,
349
- [_C],
350
- [() => Container$], 1
351
- ];
352
- var DeleteContainerInput$ = [3, n0, _DCI,
353
- 0,
354
- [_CN],
355
- [0], 1
356
- ];
357
- var DeleteContainerOutput$ = [3, n0, _DCO,
358
- 0,
359
- [],
360
- []
361
- ];
362
- var DeleteContainerPolicyInput$ = [3, n0, _DCPI,
363
- 0,
364
- [_CN],
365
- [0], 1
366
- ];
367
- var DeleteContainerPolicyOutput$ = [3, n0, _DCPO,
368
- 0,
369
- [],
370
- []
371
- ];
372
- var DeleteCorsPolicyInput$ = [3, n0, _DCPIe,
373
- 0,
374
- [_CN],
375
- [0], 1
376
- ];
377
- var DeleteCorsPolicyOutput$ = [3, n0, _DCPOe,
378
- 0,
379
- [],
380
- []
381
- ];
382
- var DeleteLifecyclePolicyInput$ = [3, n0, _DLPI,
383
- 0,
384
- [_CN],
385
- [0], 1
386
- ];
387
- var DeleteLifecyclePolicyOutput$ = [3, n0, _DLPO,
388
- 0,
389
- [],
390
- []
391
- ];
392
- var DeleteMetricPolicyInput$ = [3, n0, _DMPI,
393
- 0,
394
- [_CN],
395
- [0], 1
396
- ];
397
- var DeleteMetricPolicyOutput$ = [3, n0, _DMPO,
398
- 0,
399
- [],
400
- []
401
- ];
402
- var DescribeContainerInput$ = [3, n0, _DCIe,
403
- 0,
404
- [_CN],
405
- [0]
406
- ];
407
- var DescribeContainerOutput$ = [3, n0, _DCOe,
408
- 0,
409
- [_C],
410
- [() => Container$]
411
- ];
412
- var GetContainerPolicyInput$ = [3, n0, _GCPI,
413
- 0,
414
- [_CN],
415
- [0], 1
416
- ];
417
- var GetContainerPolicyOutput$ = [3, n0, _GCPO,
418
- 0,
419
- [_P],
420
- [0], 1
421
- ];
422
- var GetCorsPolicyInput$ = [3, n0, _GCPIe,
423
- 0,
424
- [_CN],
425
- [0], 1
426
- ];
427
- var GetCorsPolicyOutput$ = [3, n0, _GCPOe,
428
- 0,
429
- [_CP],
430
- [() => CorsPolicy], 1
431
- ];
432
- var GetLifecyclePolicyInput$ = [3, n0, _GLPI,
433
- 0,
434
- [_CN],
435
- [0], 1
436
- ];
437
- var GetLifecyclePolicyOutput$ = [3, n0, _GLPO,
438
- 0,
439
- [_LP],
440
- [0], 1
441
- ];
442
- var GetMetricPolicyInput$ = [3, n0, _GMPI,
443
- 0,
444
- [_CN],
445
- [0], 1
446
- ];
447
- var GetMetricPolicyOutput$ = [3, n0, _GMPO,
448
- 0,
449
- [_MP],
450
- [() => MetricPolicy$], 1
451
- ];
452
- var InternalServerError$ = [-3, n0, _ISE,
453
- { [_e]: _s },
454
- [_M],
455
- [0]
456
- ];
457
- schema.TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
458
- var LimitExceededException$ = [-3, n0, _LEE,
459
- { [_e]: _c },
460
- [_M],
461
- [0]
462
- ];
463
- schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
464
- var ListContainersInput$ = [3, n0, _LCI,
465
- 0,
466
- [_NT, _MR],
467
- [0, 1]
468
- ];
469
- var ListContainersOutput$ = [3, n0, _LCO,
470
- 0,
471
- [_Co, _NT],
472
- [() => ContainerList, 0], 1
473
- ];
474
- var ListTagsForResourceInput$ = [3, n0, _LTFRI,
475
- 0,
476
- [_R],
477
- [0], 1
478
- ];
479
- var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
480
- 0,
481
- [_T],
482
- [() => TagList]
483
- ];
484
- var MetricPolicy$ = [3, n0, _MP,
485
- 0,
486
- [_CLM, _MPR],
487
- [0, () => MetricPolicyRules], 1
488
- ];
489
- var MetricPolicyRule$ = [3, n0, _MPRe,
490
- 0,
491
- [_OG, _OGN],
492
- [0, 0], 2
493
- ];
494
- var PolicyNotFoundException$ = [-3, n0, _PNFE,
495
- { [_e]: _c },
496
- [_M],
497
- [0]
498
- ];
499
- schema.TypeRegistry.for(n0).registerError(PolicyNotFoundException$, PolicyNotFoundException);
500
- var PutContainerPolicyInput$ = [3, n0, _PCPI,
501
- 0,
502
- [_CN, _P],
503
- [0, 0], 2
504
- ];
505
- var PutContainerPolicyOutput$ = [3, n0, _PCPO,
506
- 0,
507
- [],
508
- []
509
- ];
510
- var PutCorsPolicyInput$ = [3, n0, _PCPIu,
511
- 0,
512
- [_CN, _CP],
513
- [0, () => CorsPolicy], 2
514
- ];
515
- var PutCorsPolicyOutput$ = [3, n0, _PCPOu,
516
- 0,
517
- [],
518
- []
519
- ];
520
- var PutLifecyclePolicyInput$ = [3, n0, _PLPI,
521
- 0,
522
- [_CN, _LP],
523
- [0, 0], 2
524
- ];
525
- var PutLifecyclePolicyOutput$ = [3, n0, _PLPO,
526
- 0,
527
- [],
528
- []
529
- ];
530
- var PutMetricPolicyInput$ = [3, n0, _PMPI,
531
- 0,
532
- [_CN, _MP],
533
- [0, () => MetricPolicy$], 2
534
- ];
535
- var PutMetricPolicyOutput$ = [3, n0, _PMPO,
536
- 0,
537
- [],
538
- []
539
- ];
540
- var StartAccessLoggingInput$ = [3, n0, _SALI,
541
- 0,
542
- [_CN],
543
- [0], 1
544
- ];
545
- var StartAccessLoggingOutput$ = [3, n0, _SALO,
546
- 0,
547
- [],
548
- []
549
- ];
550
- var StopAccessLoggingInput$ = [3, n0, _SALIt,
551
- 0,
552
- [_CN],
553
- [0], 1
554
- ];
555
- var StopAccessLoggingOutput$ = [3, n0, _SALOt,
556
- 0,
557
- [],
558
- []
559
- ];
560
- var Tag$ = [3, n0, _Ta,
561
- 0,
562
- [_K, _V],
563
- [0, 0], 1
564
- ];
565
- var TagResourceInput$ = [3, n0, _TRI,
566
- 0,
567
- [_R, _T],
568
- [0, () => TagList], 2
569
- ];
570
- var TagResourceOutput$ = [3, n0, _TRO,
571
- 0,
572
- [],
573
- []
574
- ];
575
- var UntagResourceInput$ = [3, n0, _URI,
576
- 0,
577
- [_R, _TK],
578
- [0, 64 | 0], 2
579
- ];
580
- var UntagResourceOutput$ = [3, n0, _URO,
581
- 0,
582
- [],
583
- []
584
- ];
585
- var MediaStoreServiceException$ = [-3, _sm, "MediaStoreServiceException", 0, [], []];
586
- schema.TypeRegistry.for(_sm).registerError(MediaStoreServiceException$, MediaStoreServiceException);
587
- var ContainerList = [1, n0, _CL,
588
- 0, () => Container$
589
- ];
590
- var CorsPolicy = [1, n0, _CP,
591
- 0, () => CorsRule$
592
- ];
593
- var MetricPolicyRules = [1, n0, _MPR,
594
- 0, () => MetricPolicyRule$
595
- ];
596
- var TagList = [1, n0, _TL,
597
- 0, () => Tag$
598
- ];
599
- var CreateContainer$ = [9, n0, _CC,
600
- 0, () => CreateContainerInput$, () => CreateContainerOutput$
601
- ];
602
- var DeleteContainer$ = [9, n0, _DC,
603
- 0, () => DeleteContainerInput$, () => DeleteContainerOutput$
604
- ];
605
- var DeleteContainerPolicy$ = [9, n0, _DCP,
606
- 0, () => DeleteContainerPolicyInput$, () => DeleteContainerPolicyOutput$
607
- ];
608
- var DeleteCorsPolicy$ = [9, n0, _DCPe,
609
- 0, () => DeleteCorsPolicyInput$, () => DeleteCorsPolicyOutput$
610
- ];
611
- var DeleteLifecyclePolicy$ = [9, n0, _DLP,
612
- 0, () => DeleteLifecyclePolicyInput$, () => DeleteLifecyclePolicyOutput$
613
- ];
614
- var DeleteMetricPolicy$ = [9, n0, _DMP,
615
- 0, () => DeleteMetricPolicyInput$, () => DeleteMetricPolicyOutput$
616
- ];
617
- var DescribeContainer$ = [9, n0, _DCe,
618
- 0, () => DescribeContainerInput$, () => DescribeContainerOutput$
619
- ];
620
- var GetContainerPolicy$ = [9, n0, _GCP,
621
- 0, () => GetContainerPolicyInput$, () => GetContainerPolicyOutput$
622
- ];
623
- var GetCorsPolicy$ = [9, n0, _GCPe,
624
- 0, () => GetCorsPolicyInput$, () => GetCorsPolicyOutput$
625
- ];
626
- var GetLifecyclePolicy$ = [9, n0, _GLP,
627
- 0, () => GetLifecyclePolicyInput$, () => GetLifecyclePolicyOutput$
628
- ];
629
- var GetMetricPolicy$ = [9, n0, _GMP,
630
- 0, () => GetMetricPolicyInput$, () => GetMetricPolicyOutput$
631
- ];
632
- var ListContainers$ = [9, n0, _LC,
633
- 0, () => ListContainersInput$, () => ListContainersOutput$
634
- ];
635
- var ListTagsForResource$ = [9, n0, _LTFR,
636
- 0, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
637
- ];
638
- var PutContainerPolicy$ = [9, n0, _PCP,
639
- 0, () => PutContainerPolicyInput$, () => PutContainerPolicyOutput$
640
- ];
641
- var PutCorsPolicy$ = [9, n0, _PCPu,
642
- 0, () => PutCorsPolicyInput$, () => PutCorsPolicyOutput$
643
- ];
644
- var PutLifecyclePolicy$ = [9, n0, _PLP,
645
- 0, () => PutLifecyclePolicyInput$, () => PutLifecyclePolicyOutput$
646
- ];
647
- var PutMetricPolicy$ = [9, n0, _PMP,
648
- 0, () => PutMetricPolicyInput$, () => PutMetricPolicyOutput$
649
- ];
650
- var StartAccessLogging$ = [9, n0, _SAL,
651
- 0, () => StartAccessLoggingInput$, () => StartAccessLoggingOutput$
652
- ];
653
- var StopAccessLogging$ = [9, n0, _SALt,
654
- 0, () => StopAccessLoggingInput$, () => StopAccessLoggingOutput$
655
- ];
656
- var TagResource$ = [9, n0, _TR,
657
- 0, () => TagResourceInput$, () => TagResourceOutput$
658
- ];
659
- var UntagResource$ = [9, n0, _UR,
660
- 0, () => UntagResourceInput$, () => UntagResourceOutput$
661
- ];
662
-
663
116
  class CreateContainerCommand extends smithyClient.Command
664
117
  .classBuilder()
665
118
  .ep(commonParams)
@@ -668,7 +121,7 @@ class CreateContainerCommand extends smithyClient.Command
668
121
  })
669
122
  .s("MediaStore_20170901", "CreateContainer", {})
670
123
  .n("MediaStoreClient", "CreateContainerCommand")
671
- .sc(CreateContainer$)
124
+ .sc(schemas_0.CreateContainer$)
672
125
  .build() {
673
126
  }
674
127
 
@@ -680,7 +133,7 @@ class DeleteContainerCommand extends smithyClient.Command
680
133
  })
681
134
  .s("MediaStore_20170901", "DeleteContainer", {})
682
135
  .n("MediaStoreClient", "DeleteContainerCommand")
683
- .sc(DeleteContainer$)
136
+ .sc(schemas_0.DeleteContainer$)
684
137
  .build() {
685
138
  }
686
139
 
@@ -692,7 +145,7 @@ class DeleteContainerPolicyCommand extends smithyClient.Command
692
145
  })
693
146
  .s("MediaStore_20170901", "DeleteContainerPolicy", {})
694
147
  .n("MediaStoreClient", "DeleteContainerPolicyCommand")
695
- .sc(DeleteContainerPolicy$)
148
+ .sc(schemas_0.DeleteContainerPolicy$)
696
149
  .build() {
697
150
  }
698
151
 
@@ -704,7 +157,7 @@ class DeleteCorsPolicyCommand extends smithyClient.Command
704
157
  })
705
158
  .s("MediaStore_20170901", "DeleteCorsPolicy", {})
706
159
  .n("MediaStoreClient", "DeleteCorsPolicyCommand")
707
- .sc(DeleteCorsPolicy$)
160
+ .sc(schemas_0.DeleteCorsPolicy$)
708
161
  .build() {
709
162
  }
710
163
 
@@ -716,7 +169,7 @@ class DeleteLifecyclePolicyCommand extends smithyClient.Command
716
169
  })
717
170
  .s("MediaStore_20170901", "DeleteLifecyclePolicy", {})
718
171
  .n("MediaStoreClient", "DeleteLifecyclePolicyCommand")
719
- .sc(DeleteLifecyclePolicy$)
172
+ .sc(schemas_0.DeleteLifecyclePolicy$)
720
173
  .build() {
721
174
  }
722
175
 
@@ -728,7 +181,7 @@ class DeleteMetricPolicyCommand extends smithyClient.Command
728
181
  })
729
182
  .s("MediaStore_20170901", "DeleteMetricPolicy", {})
730
183
  .n("MediaStoreClient", "DeleteMetricPolicyCommand")
731
- .sc(DeleteMetricPolicy$)
184
+ .sc(schemas_0.DeleteMetricPolicy$)
732
185
  .build() {
733
186
  }
734
187
 
@@ -740,7 +193,7 @@ class DescribeContainerCommand extends smithyClient.Command
740
193
  })
741
194
  .s("MediaStore_20170901", "DescribeContainer", {})
742
195
  .n("MediaStoreClient", "DescribeContainerCommand")
743
- .sc(DescribeContainer$)
196
+ .sc(schemas_0.DescribeContainer$)
744
197
  .build() {
745
198
  }
746
199
 
@@ -752,7 +205,7 @@ class GetContainerPolicyCommand extends smithyClient.Command
752
205
  })
753
206
  .s("MediaStore_20170901", "GetContainerPolicy", {})
754
207
  .n("MediaStoreClient", "GetContainerPolicyCommand")
755
- .sc(GetContainerPolicy$)
208
+ .sc(schemas_0.GetContainerPolicy$)
756
209
  .build() {
757
210
  }
758
211
 
@@ -764,7 +217,7 @@ class GetCorsPolicyCommand extends smithyClient.Command
764
217
  })
765
218
  .s("MediaStore_20170901", "GetCorsPolicy", {})
766
219
  .n("MediaStoreClient", "GetCorsPolicyCommand")
767
- .sc(GetCorsPolicy$)
220
+ .sc(schemas_0.GetCorsPolicy$)
768
221
  .build() {
769
222
  }
770
223
 
@@ -776,7 +229,7 @@ class GetLifecyclePolicyCommand extends smithyClient.Command
776
229
  })
777
230
  .s("MediaStore_20170901", "GetLifecyclePolicy", {})
778
231
  .n("MediaStoreClient", "GetLifecyclePolicyCommand")
779
- .sc(GetLifecyclePolicy$)
232
+ .sc(schemas_0.GetLifecyclePolicy$)
780
233
  .build() {
781
234
  }
782
235
 
@@ -788,7 +241,7 @@ class GetMetricPolicyCommand extends smithyClient.Command
788
241
  })
789
242
  .s("MediaStore_20170901", "GetMetricPolicy", {})
790
243
  .n("MediaStoreClient", "GetMetricPolicyCommand")
791
- .sc(GetMetricPolicy$)
244
+ .sc(schemas_0.GetMetricPolicy$)
792
245
  .build() {
793
246
  }
794
247
 
@@ -800,7 +253,7 @@ class ListContainersCommand extends smithyClient.Command
800
253
  })
801
254
  .s("MediaStore_20170901", "ListContainers", {})
802
255
  .n("MediaStoreClient", "ListContainersCommand")
803
- .sc(ListContainers$)
256
+ .sc(schemas_0.ListContainers$)
804
257
  .build() {
805
258
  }
806
259
 
@@ -812,7 +265,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
812
265
  })
813
266
  .s("MediaStore_20170901", "ListTagsForResource", {})
814
267
  .n("MediaStoreClient", "ListTagsForResourceCommand")
815
- .sc(ListTagsForResource$)
268
+ .sc(schemas_0.ListTagsForResource$)
816
269
  .build() {
817
270
  }
818
271
 
@@ -824,7 +277,7 @@ class PutContainerPolicyCommand extends smithyClient.Command
824
277
  })
825
278
  .s("MediaStore_20170901", "PutContainerPolicy", {})
826
279
  .n("MediaStoreClient", "PutContainerPolicyCommand")
827
- .sc(PutContainerPolicy$)
280
+ .sc(schemas_0.PutContainerPolicy$)
828
281
  .build() {
829
282
  }
830
283
 
@@ -836,7 +289,7 @@ class PutCorsPolicyCommand extends smithyClient.Command
836
289
  })
837
290
  .s("MediaStore_20170901", "PutCorsPolicy", {})
838
291
  .n("MediaStoreClient", "PutCorsPolicyCommand")
839
- .sc(PutCorsPolicy$)
292
+ .sc(schemas_0.PutCorsPolicy$)
840
293
  .build() {
841
294
  }
842
295
 
@@ -848,7 +301,7 @@ class PutLifecyclePolicyCommand extends smithyClient.Command
848
301
  })
849
302
  .s("MediaStore_20170901", "PutLifecyclePolicy", {})
850
303
  .n("MediaStoreClient", "PutLifecyclePolicyCommand")
851
- .sc(PutLifecyclePolicy$)
304
+ .sc(schemas_0.PutLifecyclePolicy$)
852
305
  .build() {
853
306
  }
854
307
 
@@ -860,7 +313,7 @@ class PutMetricPolicyCommand extends smithyClient.Command
860
313
  })
861
314
  .s("MediaStore_20170901", "PutMetricPolicy", {})
862
315
  .n("MediaStoreClient", "PutMetricPolicyCommand")
863
- .sc(PutMetricPolicy$)
316
+ .sc(schemas_0.PutMetricPolicy$)
864
317
  .build() {
865
318
  }
866
319
 
@@ -872,7 +325,7 @@ class StartAccessLoggingCommand extends smithyClient.Command
872
325
  })
873
326
  .s("MediaStore_20170901", "StartAccessLogging", {})
874
327
  .n("MediaStoreClient", "StartAccessLoggingCommand")
875
- .sc(StartAccessLogging$)
328
+ .sc(schemas_0.StartAccessLogging$)
876
329
  .build() {
877
330
  }
878
331
 
@@ -884,7 +337,7 @@ class StopAccessLoggingCommand extends smithyClient.Command
884
337
  })
885
338
  .s("MediaStore_20170901", "StopAccessLogging", {})
886
339
  .n("MediaStoreClient", "StopAccessLoggingCommand")
887
- .sc(StopAccessLogging$)
340
+ .sc(schemas_0.StopAccessLogging$)
888
341
  .build() {
889
342
  }
890
343
 
@@ -896,7 +349,7 @@ class TagResourceCommand extends smithyClient.Command
896
349
  })
897
350
  .s("MediaStore_20170901", "TagResource", {})
898
351
  .n("MediaStoreClient", "TagResourceCommand")
899
- .sc(TagResource$)
352
+ .sc(schemas_0.TagResource$)
900
353
  .build() {
901
354
  }
902
355
 
@@ -908,7 +361,7 @@ class UntagResourceCommand extends smithyClient.Command
908
361
  })
909
362
  .s("MediaStore_20170901", "UntagResource", {})
910
363
  .n("MediaStoreClient", "UntagResourceCommand")
911
- .sc(UntagResource$)
364
+ .sc(schemas_0.UntagResource$)
912
365
  .build() {
913
366
  }
914
367
 
@@ -968,112 +421,46 @@ Object.defineProperty(exports, "__Client", {
968
421
  enumerable: true,
969
422
  get: function () { return smithyClient.Client; }
970
423
  });
971
- exports.Container$ = Container$;
972
- exports.ContainerInUseException = ContainerInUseException;
973
- exports.ContainerInUseException$ = ContainerInUseException$;
424
+ Object.defineProperty(exports, "MediaStoreServiceException", {
425
+ enumerable: true,
426
+ get: function () { return MediaStoreServiceException.MediaStoreServiceException; }
427
+ });
974
428
  exports.ContainerLevelMetrics = ContainerLevelMetrics;
975
- exports.ContainerNotFoundException = ContainerNotFoundException;
976
- exports.ContainerNotFoundException$ = ContainerNotFoundException$;
977
429
  exports.ContainerStatus = ContainerStatus;
978
- exports.CorsPolicyNotFoundException = CorsPolicyNotFoundException;
979
- exports.CorsPolicyNotFoundException$ = CorsPolicyNotFoundException$;
980
- exports.CorsRule$ = CorsRule$;
981
- exports.CreateContainer$ = CreateContainer$;
982
430
  exports.CreateContainerCommand = CreateContainerCommand;
983
- exports.CreateContainerInput$ = CreateContainerInput$;
984
- exports.CreateContainerOutput$ = CreateContainerOutput$;
985
- exports.DeleteContainer$ = DeleteContainer$;
986
431
  exports.DeleteContainerCommand = DeleteContainerCommand;
987
- exports.DeleteContainerInput$ = DeleteContainerInput$;
988
- exports.DeleteContainerOutput$ = DeleteContainerOutput$;
989
- exports.DeleteContainerPolicy$ = DeleteContainerPolicy$;
990
432
  exports.DeleteContainerPolicyCommand = DeleteContainerPolicyCommand;
991
- exports.DeleteContainerPolicyInput$ = DeleteContainerPolicyInput$;
992
- exports.DeleteContainerPolicyOutput$ = DeleteContainerPolicyOutput$;
993
- exports.DeleteCorsPolicy$ = DeleteCorsPolicy$;
994
433
  exports.DeleteCorsPolicyCommand = DeleteCorsPolicyCommand;
995
- exports.DeleteCorsPolicyInput$ = DeleteCorsPolicyInput$;
996
- exports.DeleteCorsPolicyOutput$ = DeleteCorsPolicyOutput$;
997
- exports.DeleteLifecyclePolicy$ = DeleteLifecyclePolicy$;
998
434
  exports.DeleteLifecyclePolicyCommand = DeleteLifecyclePolicyCommand;
999
- exports.DeleteLifecyclePolicyInput$ = DeleteLifecyclePolicyInput$;
1000
- exports.DeleteLifecyclePolicyOutput$ = DeleteLifecyclePolicyOutput$;
1001
- exports.DeleteMetricPolicy$ = DeleteMetricPolicy$;
1002
435
  exports.DeleteMetricPolicyCommand = DeleteMetricPolicyCommand;
1003
- exports.DeleteMetricPolicyInput$ = DeleteMetricPolicyInput$;
1004
- exports.DeleteMetricPolicyOutput$ = DeleteMetricPolicyOutput$;
1005
- exports.DescribeContainer$ = DescribeContainer$;
1006
436
  exports.DescribeContainerCommand = DescribeContainerCommand;
1007
- exports.DescribeContainerInput$ = DescribeContainerInput$;
1008
- exports.DescribeContainerOutput$ = DescribeContainerOutput$;
1009
- exports.GetContainerPolicy$ = GetContainerPolicy$;
1010
437
  exports.GetContainerPolicyCommand = GetContainerPolicyCommand;
1011
- exports.GetContainerPolicyInput$ = GetContainerPolicyInput$;
1012
- exports.GetContainerPolicyOutput$ = GetContainerPolicyOutput$;
1013
- exports.GetCorsPolicy$ = GetCorsPolicy$;
1014
438
  exports.GetCorsPolicyCommand = GetCorsPolicyCommand;
1015
- exports.GetCorsPolicyInput$ = GetCorsPolicyInput$;
1016
- exports.GetCorsPolicyOutput$ = GetCorsPolicyOutput$;
1017
- exports.GetLifecyclePolicy$ = GetLifecyclePolicy$;
1018
439
  exports.GetLifecyclePolicyCommand = GetLifecyclePolicyCommand;
1019
- exports.GetLifecyclePolicyInput$ = GetLifecyclePolicyInput$;
1020
- exports.GetLifecyclePolicyOutput$ = GetLifecyclePolicyOutput$;
1021
- exports.GetMetricPolicy$ = GetMetricPolicy$;
1022
440
  exports.GetMetricPolicyCommand = GetMetricPolicyCommand;
1023
- exports.GetMetricPolicyInput$ = GetMetricPolicyInput$;
1024
- exports.GetMetricPolicyOutput$ = GetMetricPolicyOutput$;
1025
- exports.InternalServerError = InternalServerError;
1026
- exports.InternalServerError$ = InternalServerError$;
1027
- exports.LimitExceededException = LimitExceededException;
1028
- exports.LimitExceededException$ = LimitExceededException$;
1029
- exports.ListContainers$ = ListContainers$;
1030
441
  exports.ListContainersCommand = ListContainersCommand;
1031
- exports.ListContainersInput$ = ListContainersInput$;
1032
- exports.ListContainersOutput$ = ListContainersOutput$;
1033
- exports.ListTagsForResource$ = ListTagsForResource$;
1034
442
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1035
- exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
1036
- exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
1037
443
  exports.MediaStore = MediaStore;
1038
444
  exports.MediaStoreClient = MediaStoreClient;
1039
- exports.MediaStoreServiceException = MediaStoreServiceException;
1040
- exports.MediaStoreServiceException$ = MediaStoreServiceException$;
1041
445
  exports.MethodName = MethodName;
1042
- exports.MetricPolicy$ = MetricPolicy$;
1043
- exports.MetricPolicyRule$ = MetricPolicyRule$;
1044
- exports.PolicyNotFoundException = PolicyNotFoundException;
1045
- exports.PolicyNotFoundException$ = PolicyNotFoundException$;
1046
- exports.PutContainerPolicy$ = PutContainerPolicy$;
1047
446
  exports.PutContainerPolicyCommand = PutContainerPolicyCommand;
1048
- exports.PutContainerPolicyInput$ = PutContainerPolicyInput$;
1049
- exports.PutContainerPolicyOutput$ = PutContainerPolicyOutput$;
1050
- exports.PutCorsPolicy$ = PutCorsPolicy$;
1051
447
  exports.PutCorsPolicyCommand = PutCorsPolicyCommand;
1052
- exports.PutCorsPolicyInput$ = PutCorsPolicyInput$;
1053
- exports.PutCorsPolicyOutput$ = PutCorsPolicyOutput$;
1054
- exports.PutLifecyclePolicy$ = PutLifecyclePolicy$;
1055
448
  exports.PutLifecyclePolicyCommand = PutLifecyclePolicyCommand;
1056
- exports.PutLifecyclePolicyInput$ = PutLifecyclePolicyInput$;
1057
- exports.PutLifecyclePolicyOutput$ = PutLifecyclePolicyOutput$;
1058
- exports.PutMetricPolicy$ = PutMetricPolicy$;
1059
449
  exports.PutMetricPolicyCommand = PutMetricPolicyCommand;
1060
- exports.PutMetricPolicyInput$ = PutMetricPolicyInput$;
1061
- exports.PutMetricPolicyOutput$ = PutMetricPolicyOutput$;
1062
- exports.StartAccessLogging$ = StartAccessLogging$;
1063
450
  exports.StartAccessLoggingCommand = StartAccessLoggingCommand;
1064
- exports.StartAccessLoggingInput$ = StartAccessLoggingInput$;
1065
- exports.StartAccessLoggingOutput$ = StartAccessLoggingOutput$;
1066
- exports.StopAccessLogging$ = StopAccessLogging$;
1067
451
  exports.StopAccessLoggingCommand = StopAccessLoggingCommand;
1068
- exports.StopAccessLoggingInput$ = StopAccessLoggingInput$;
1069
- exports.StopAccessLoggingOutput$ = StopAccessLoggingOutput$;
1070
- exports.Tag$ = Tag$;
1071
- exports.TagResource$ = TagResource$;
1072
452
  exports.TagResourceCommand = TagResourceCommand;
1073
- exports.TagResourceInput$ = TagResourceInput$;
1074
- exports.TagResourceOutput$ = TagResourceOutput$;
1075
- exports.UntagResource$ = UntagResource$;
1076
453
  exports.UntagResourceCommand = UntagResourceCommand;
1077
- exports.UntagResourceInput$ = UntagResourceInput$;
1078
- exports.UntagResourceOutput$ = UntagResourceOutput$;
1079
454
  exports.paginateListContainers = paginateListContainers;
455
+ Object.keys(schemas_0).forEach(function (k) {
456
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
457
+ enumerable: true,
458
+ get: function () { return schemas_0[k]; }
459
+ });
460
+ });
461
+ Object.keys(errors).forEach(function (k) {
462
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
463
+ enumerable: true,
464
+ get: function () { return errors[k]; }
465
+ });
466
+ });