@aws-sdk/client-ivs-realtime 3.933.0 → 3.935.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
@@ -327,133 +327,6 @@ let ValidationException$1 = class ValidationException extends IVSRealTimeService
327
327
  this.exceptionMessage = opts.exceptionMessage;
328
328
  }
329
329
  };
330
- const IngestProtocol = {
331
- RTMP: "RTMP",
332
- RTMPS: "RTMPS",
333
- };
334
- const IngestConfigurationState = {
335
- ACTIVE: "ACTIVE",
336
- INACTIVE: "INACTIVE",
337
- };
338
- const ParticipantTokenCapability = {
339
- PUBLISH: "PUBLISH",
340
- SUBSCRIBE: "SUBSCRIBE",
341
- };
342
- const ParticipantRecordingMediaType = {
343
- AUDIO_ONLY: "AUDIO_ONLY",
344
- AUDIO_VIDEO: "AUDIO_VIDEO",
345
- NONE: "NONE",
346
- };
347
- const ThumbnailRecordingMode = {
348
- DISABLED: "DISABLED",
349
- INTERVAL: "INTERVAL",
350
- };
351
- const ThumbnailStorageType = {
352
- LATEST: "LATEST",
353
- SEQUENTIAL: "SEQUENTIAL",
354
- };
355
- const RecordingConfigurationFormat = {
356
- HLS: "HLS",
357
- };
358
- const DestinationState = {
359
- ACTIVE: "ACTIVE",
360
- FAILED: "FAILED",
361
- RECONNECTING: "RECONNECTING",
362
- STARTING: "STARTING",
363
- STOPPED: "STOPPED",
364
- STOPPING: "STOPPING",
365
- };
366
- const VideoAspectRatio = {
367
- AUTO: "AUTO",
368
- PORTRAIT: "PORTRAIT",
369
- SQUARE: "SQUARE",
370
- VIDEO: "VIDEO",
371
- };
372
- const VideoFillMode = {
373
- CONTAIN: "CONTAIN",
374
- COVER: "COVER",
375
- FILL: "FILL",
376
- };
377
- const PipBehavior = {
378
- DYNAMIC: "DYNAMIC",
379
- STATIC: "STATIC",
380
- };
381
- const PipPosition = {
382
- BOTTOM_LEFT: "BOTTOM_LEFT",
383
- BOTTOM_RIGHT: "BOTTOM_RIGHT",
384
- TOP_LEFT: "TOP_LEFT",
385
- TOP_RIGHT: "TOP_RIGHT",
386
- };
387
- const CompositionState = {
388
- ACTIVE: "ACTIVE",
389
- FAILED: "FAILED",
390
- STARTING: "STARTING",
391
- STOPPED: "STOPPED",
392
- STOPPING: "STOPPING",
393
- };
394
- const ParticipantProtocol = {
395
- RTMP: "RTMP",
396
- RTMPS: "RTMPS",
397
- UNKNOWN: "UNKNOWN",
398
- WHIP: "WHIP",
399
- };
400
- const ParticipantRecordingState = {
401
- ACTIVE: "ACTIVE",
402
- DISABLED: "DISABLED",
403
- FAILED: "FAILED",
404
- STARTING: "STARTING",
405
- STOPPED: "STOPPED",
406
- STOPPING: "STOPPING",
407
- };
408
- const ReplicationState = {
409
- ACTIVE: "ACTIVE",
410
- STOPPED: "STOPPED",
411
- };
412
- const ReplicationType = {
413
- NONE: "NONE",
414
- REPLICA: "REPLICA",
415
- SOURCE: "SOURCE",
416
- };
417
- const ParticipantState = {
418
- CONNECTED: "CONNECTED",
419
- DISCONNECTED: "DISCONNECTED",
420
- };
421
- const EventErrorCode = {
422
- BITRATE_EXCEEDED: "BITRATE_EXCEEDED",
423
- B_FRAME_PRESENT: "B_FRAME_PRESENT",
424
- INSUFFICIENT_CAPABILITIES: "INSUFFICIENT_CAPABILITIES",
425
- INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION",
426
- INVALID_AUDIO_CODEC: "INVALID_AUDIO_CODEC",
427
- INVALID_INPUT: "INVALID_INPUT",
428
- INVALID_PROTOCOL: "INVALID_PROTOCOL",
429
- INVALID_STREAM_KEY: "INVALID_STREAM_KEY",
430
- INVALID_VIDEO_CODEC: "INVALID_VIDEO_CODEC",
431
- PUBLISHER_NOT_FOUND: "PUBLISHER_NOT_FOUND",
432
- QUOTA_EXCEEDED: "QUOTA_EXCEEDED",
433
- RESOLUTION_EXCEEDED: "RESOLUTION_EXCEEDED",
434
- REUSE_OF_STREAM_KEY: "REUSE_OF_STREAM_KEY",
435
- STREAM_DURATION_EXCEEDED: "STREAM_DURATION_EXCEEDED",
436
- };
437
- const EventName = {
438
- JOINED: "JOINED",
439
- JOIN_ERROR: "JOIN_ERROR",
440
- LEFT: "LEFT",
441
- PUBLISH_ERROR: "PUBLISH_ERROR",
442
- PUBLISH_STARTED: "PUBLISH_STARTED",
443
- PUBLISH_STOPPED: "PUBLISH_STOPPED",
444
- REPLICATION_STARTED: "REPLICATION_STARTED",
445
- REPLICATION_STOPPED: "REPLICATION_STOPPED",
446
- SUBSCRIBE_ERROR: "SUBSCRIBE_ERROR",
447
- SUBSCRIBE_STARTED: "SUBSCRIBE_STARTED",
448
- SUBSCRIBE_STOPPED: "SUBSCRIBE_STOPPED",
449
- };
450
- const ParticipantRecordingFilterByRecordingState = {
451
- ACTIVE: "ACTIVE",
452
- FAILED: "FAILED",
453
- STARTING: "STARTING",
454
- STOPPED: "STOPPED",
455
- STOPPING: "STOPPING",
456
- };
457
330
 
458
331
  const _ACAO = "Access-Control-Allow-Origin";
459
332
  const _ACEH = "Access-Control-Expose-Headers";
@@ -2755,6 +2628,67 @@ const paginateListStages = core.createPaginator(IVSRealTimeClient, ListStagesCom
2755
2628
 
2756
2629
  const paginateListStorageConfigurations = core.createPaginator(IVSRealTimeClient, ListStorageConfigurationsCommand, "nextToken", "nextToken", "maxResults");
2757
2630
 
2631
+ const IngestProtocol = {
2632
+ RTMP: "RTMP",
2633
+ RTMPS: "RTMPS",
2634
+ };
2635
+ const ParticipantRecordingMediaType = {
2636
+ AUDIO_ONLY: "AUDIO_ONLY",
2637
+ AUDIO_VIDEO: "AUDIO_VIDEO",
2638
+ NONE: "NONE",
2639
+ };
2640
+ const ThumbnailRecordingMode = {
2641
+ DISABLED: "DISABLED",
2642
+ INTERVAL: "INTERVAL",
2643
+ };
2644
+ const ThumbnailStorageType = {
2645
+ LATEST: "LATEST",
2646
+ SEQUENTIAL: "SEQUENTIAL",
2647
+ };
2648
+ const VideoAspectRatio = {
2649
+ AUTO: "AUTO",
2650
+ PORTRAIT: "PORTRAIT",
2651
+ SQUARE: "SQUARE",
2652
+ VIDEO: "VIDEO",
2653
+ };
2654
+ const VideoFillMode = {
2655
+ CONTAIN: "CONTAIN",
2656
+ COVER: "COVER",
2657
+ FILL: "FILL",
2658
+ };
2659
+ const PipBehavior = {
2660
+ DYNAMIC: "DYNAMIC",
2661
+ STATIC: "STATIC",
2662
+ };
2663
+ const PipPosition = {
2664
+ BOTTOM_LEFT: "BOTTOM_LEFT",
2665
+ BOTTOM_RIGHT: "BOTTOM_RIGHT",
2666
+ TOP_LEFT: "TOP_LEFT",
2667
+ TOP_RIGHT: "TOP_RIGHT",
2668
+ };
2669
+ const ParticipantProtocol = {
2670
+ RTMP: "RTMP",
2671
+ RTMPS: "RTMPS",
2672
+ UNKNOWN: "UNKNOWN",
2673
+ WHIP: "WHIP",
2674
+ };
2675
+ const EventErrorCode = {
2676
+ BITRATE_EXCEEDED: "BITRATE_EXCEEDED",
2677
+ B_FRAME_PRESENT: "B_FRAME_PRESENT",
2678
+ INSUFFICIENT_CAPABILITIES: "INSUFFICIENT_CAPABILITIES",
2679
+ INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION",
2680
+ INVALID_AUDIO_CODEC: "INVALID_AUDIO_CODEC",
2681
+ INVALID_INPUT: "INVALID_INPUT",
2682
+ INVALID_PROTOCOL: "INVALID_PROTOCOL",
2683
+ INVALID_STREAM_KEY: "INVALID_STREAM_KEY",
2684
+ INVALID_VIDEO_CODEC: "INVALID_VIDEO_CODEC",
2685
+ PUBLISHER_NOT_FOUND: "PUBLISHER_NOT_FOUND",
2686
+ QUOTA_EXCEEDED: "QUOTA_EXCEEDED",
2687
+ RESOLUTION_EXCEEDED: "RESOLUTION_EXCEEDED",
2688
+ REUSE_OF_STREAM_KEY: "REUSE_OF_STREAM_KEY",
2689
+ STREAM_DURATION_EXCEEDED: "STREAM_DURATION_EXCEEDED",
2690
+ };
2691
+
2758
2692
  Object.defineProperty(exports, "$Command", {
2759
2693
  enumerable: true,
2760
2694
  get: function () { return smithyClient.Command; }
@@ -2764,7 +2698,6 @@ Object.defineProperty(exports, "__Client", {
2764
2698
  get: function () { return smithyClient.Client; }
2765
2699
  });
2766
2700
  exports.AccessDeniedException = AccessDeniedException$1;
2767
- exports.CompositionState = CompositionState;
2768
2701
  exports.ConflictException = ConflictException$1;
2769
2702
  exports.CreateEncoderConfigurationCommand = CreateEncoderConfigurationCommand;
2770
2703
  exports.CreateIngestConfigurationCommand = CreateIngestConfigurationCommand;
@@ -2776,10 +2709,8 @@ exports.DeleteIngestConfigurationCommand = DeleteIngestConfigurationCommand;
2776
2709
  exports.DeletePublicKeyCommand = DeletePublicKeyCommand;
2777
2710
  exports.DeleteStageCommand = DeleteStageCommand;
2778
2711
  exports.DeleteStorageConfigurationCommand = DeleteStorageConfigurationCommand;
2779
- exports.DestinationState = DestinationState;
2780
2712
  exports.DisconnectParticipantCommand = DisconnectParticipantCommand;
2781
2713
  exports.EventErrorCode = EventErrorCode;
2782
- exports.EventName = EventName;
2783
2714
  exports.GetCompositionCommand = GetCompositionCommand;
2784
2715
  exports.GetEncoderConfigurationCommand = GetEncoderConfigurationCommand;
2785
2716
  exports.GetIngestConfigurationCommand = GetIngestConfigurationCommand;
@@ -2792,7 +2723,6 @@ exports.IVSRealTime = IVSRealTime;
2792
2723
  exports.IVSRealTimeClient = IVSRealTimeClient;
2793
2724
  exports.IVSRealTimeServiceException = IVSRealTimeServiceException$1;
2794
2725
  exports.ImportPublicKeyCommand = ImportPublicKeyCommand;
2795
- exports.IngestConfigurationState = IngestConfigurationState;
2796
2726
  exports.IngestProtocol = IngestProtocol;
2797
2727
  exports.InternalServerException = InternalServerException$1;
2798
2728
  exports.ListCompositionsCommand = ListCompositionsCommand;
@@ -2807,17 +2737,10 @@ exports.ListStagesCommand = ListStagesCommand;
2807
2737
  exports.ListStorageConfigurationsCommand = ListStorageConfigurationsCommand;
2808
2738
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2809
2739
  exports.ParticipantProtocol = ParticipantProtocol;
2810
- exports.ParticipantRecordingFilterByRecordingState = ParticipantRecordingFilterByRecordingState;
2811
2740
  exports.ParticipantRecordingMediaType = ParticipantRecordingMediaType;
2812
- exports.ParticipantRecordingState = ParticipantRecordingState;
2813
- exports.ParticipantState = ParticipantState;
2814
- exports.ParticipantTokenCapability = ParticipantTokenCapability;
2815
2741
  exports.PendingVerification = PendingVerification$1;
2816
2742
  exports.PipBehavior = PipBehavior;
2817
2743
  exports.PipPosition = PipPosition;
2818
- exports.RecordingConfigurationFormat = RecordingConfigurationFormat;
2819
- exports.ReplicationState = ReplicationState;
2820
- exports.ReplicationType = ReplicationType;
2821
2744
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
2822
2745
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2823
2746
  exports.StartCompositionCommand = StartCompositionCommand;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./IVSRealTimeClient";
2
2
  export * from "./IVSRealTime";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { IVSRealTimeServiceException } from "./models/IVSRealTimeServiceException";
@@ -0,0 +1,60 @@
1
+ export const IngestProtocol = {
2
+ RTMP: "RTMP",
3
+ RTMPS: "RTMPS",
4
+ };
5
+ export const ParticipantRecordingMediaType = {
6
+ AUDIO_ONLY: "AUDIO_ONLY",
7
+ AUDIO_VIDEO: "AUDIO_VIDEO",
8
+ NONE: "NONE",
9
+ };
10
+ export const ThumbnailRecordingMode = {
11
+ DISABLED: "DISABLED",
12
+ INTERVAL: "INTERVAL",
13
+ };
14
+ export const ThumbnailStorageType = {
15
+ LATEST: "LATEST",
16
+ SEQUENTIAL: "SEQUENTIAL",
17
+ };
18
+ export const VideoAspectRatio = {
19
+ AUTO: "AUTO",
20
+ PORTRAIT: "PORTRAIT",
21
+ SQUARE: "SQUARE",
22
+ VIDEO: "VIDEO",
23
+ };
24
+ export const VideoFillMode = {
25
+ CONTAIN: "CONTAIN",
26
+ COVER: "COVER",
27
+ FILL: "FILL",
28
+ };
29
+ export const PipBehavior = {
30
+ DYNAMIC: "DYNAMIC",
31
+ STATIC: "STATIC",
32
+ };
33
+ export const PipPosition = {
34
+ BOTTOM_LEFT: "BOTTOM_LEFT",
35
+ BOTTOM_RIGHT: "BOTTOM_RIGHT",
36
+ TOP_LEFT: "TOP_LEFT",
37
+ TOP_RIGHT: "TOP_RIGHT",
38
+ };
39
+ export const ParticipantProtocol = {
40
+ RTMP: "RTMP",
41
+ RTMPS: "RTMPS",
42
+ UNKNOWN: "UNKNOWN",
43
+ WHIP: "WHIP",
44
+ };
45
+ export const EventErrorCode = {
46
+ BITRATE_EXCEEDED: "BITRATE_EXCEEDED",
47
+ B_FRAME_PRESENT: "B_FRAME_PRESENT",
48
+ INSUFFICIENT_CAPABILITIES: "INSUFFICIENT_CAPABILITIES",
49
+ INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION",
50
+ INVALID_AUDIO_CODEC: "INVALID_AUDIO_CODEC",
51
+ INVALID_INPUT: "INVALID_INPUT",
52
+ INVALID_PROTOCOL: "INVALID_PROTOCOL",
53
+ INVALID_STREAM_KEY: "INVALID_STREAM_KEY",
54
+ INVALID_VIDEO_CODEC: "INVALID_VIDEO_CODEC",
55
+ PUBLISHER_NOT_FOUND: "PUBLISHER_NOT_FOUND",
56
+ QUOTA_EXCEEDED: "QUOTA_EXCEEDED",
57
+ RESOLUTION_EXCEEDED: "RESOLUTION_EXCEEDED",
58
+ REUSE_OF_STREAM_KEY: "REUSE_OF_STREAM_KEY",
59
+ STREAM_DURATION_EXCEEDED: "STREAM_DURATION_EXCEEDED",
60
+ };
@@ -0,0 +1,211 @@
1
+ import { IVSRealTimeServiceException as __BaseException } from "./IVSRealTimeServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ accessControlAllowOrigin;
6
+ accessControlExposeHeaders;
7
+ cacheControl;
8
+ contentSecurityPolicy;
9
+ strictTransportSecurity;
10
+ xContentTypeOptions;
11
+ xFrameOptions;
12
+ xAmznErrorType;
13
+ exceptionMessage;
14
+ constructor(opts) {
15
+ super({
16
+ name: "AccessDeniedException",
17
+ $fault: "client",
18
+ ...opts,
19
+ });
20
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
21
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
22
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
23
+ this.cacheControl = opts.cacheControl;
24
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
25
+ this.strictTransportSecurity = opts.strictTransportSecurity;
26
+ this.xContentTypeOptions = opts.xContentTypeOptions;
27
+ this.xFrameOptions = opts.xFrameOptions;
28
+ this.xAmznErrorType = opts.xAmznErrorType;
29
+ this.exceptionMessage = opts.exceptionMessage;
30
+ }
31
+ }
32
+ export class ConflictException extends __BaseException {
33
+ name = "ConflictException";
34
+ $fault = "client";
35
+ accessControlAllowOrigin;
36
+ accessControlExposeHeaders;
37
+ cacheControl;
38
+ contentSecurityPolicy;
39
+ strictTransportSecurity;
40
+ xContentTypeOptions;
41
+ xFrameOptions;
42
+ xAmznErrorType;
43
+ exceptionMessage;
44
+ constructor(opts) {
45
+ super({
46
+ name: "ConflictException",
47
+ $fault: "client",
48
+ ...opts,
49
+ });
50
+ Object.setPrototypeOf(this, ConflictException.prototype);
51
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
52
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
53
+ this.cacheControl = opts.cacheControl;
54
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
55
+ this.strictTransportSecurity = opts.strictTransportSecurity;
56
+ this.xContentTypeOptions = opts.xContentTypeOptions;
57
+ this.xFrameOptions = opts.xFrameOptions;
58
+ this.xAmznErrorType = opts.xAmznErrorType;
59
+ this.exceptionMessage = opts.exceptionMessage;
60
+ }
61
+ }
62
+ export class InternalServerException extends __BaseException {
63
+ name = "InternalServerException";
64
+ $fault = "server";
65
+ accessControlAllowOrigin;
66
+ accessControlExposeHeaders;
67
+ cacheControl;
68
+ contentSecurityPolicy;
69
+ strictTransportSecurity;
70
+ xContentTypeOptions;
71
+ xFrameOptions;
72
+ xAmznErrorType;
73
+ exceptionMessage;
74
+ constructor(opts) {
75
+ super({
76
+ name: "InternalServerException",
77
+ $fault: "server",
78
+ ...opts,
79
+ });
80
+ Object.setPrototypeOf(this, InternalServerException.prototype);
81
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
82
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
83
+ this.cacheControl = opts.cacheControl;
84
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
85
+ this.strictTransportSecurity = opts.strictTransportSecurity;
86
+ this.xContentTypeOptions = opts.xContentTypeOptions;
87
+ this.xFrameOptions = opts.xFrameOptions;
88
+ this.xAmznErrorType = opts.xAmznErrorType;
89
+ this.exceptionMessage = opts.exceptionMessage;
90
+ }
91
+ }
92
+ export class PendingVerification extends __BaseException {
93
+ name = "PendingVerification";
94
+ $fault = "client";
95
+ accessControlAllowOrigin;
96
+ accessControlExposeHeaders;
97
+ cacheControl;
98
+ contentSecurityPolicy;
99
+ strictTransportSecurity;
100
+ xContentTypeOptions;
101
+ xFrameOptions;
102
+ xAmznErrorType;
103
+ exceptionMessage;
104
+ constructor(opts) {
105
+ super({
106
+ name: "PendingVerification",
107
+ $fault: "client",
108
+ ...opts,
109
+ });
110
+ Object.setPrototypeOf(this, PendingVerification.prototype);
111
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
112
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
113
+ this.cacheControl = opts.cacheControl;
114
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
115
+ this.strictTransportSecurity = opts.strictTransportSecurity;
116
+ this.xContentTypeOptions = opts.xContentTypeOptions;
117
+ this.xFrameOptions = opts.xFrameOptions;
118
+ this.xAmznErrorType = opts.xAmznErrorType;
119
+ this.exceptionMessage = opts.exceptionMessage;
120
+ }
121
+ }
122
+ export class ResourceNotFoundException extends __BaseException {
123
+ name = "ResourceNotFoundException";
124
+ $fault = "client";
125
+ accessControlAllowOrigin;
126
+ accessControlExposeHeaders;
127
+ cacheControl;
128
+ contentSecurityPolicy;
129
+ strictTransportSecurity;
130
+ xContentTypeOptions;
131
+ xFrameOptions;
132
+ xAmznErrorType;
133
+ exceptionMessage;
134
+ constructor(opts) {
135
+ super({
136
+ name: "ResourceNotFoundException",
137
+ $fault: "client",
138
+ ...opts,
139
+ });
140
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
141
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
142
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
143
+ this.cacheControl = opts.cacheControl;
144
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
145
+ this.strictTransportSecurity = opts.strictTransportSecurity;
146
+ this.xContentTypeOptions = opts.xContentTypeOptions;
147
+ this.xFrameOptions = opts.xFrameOptions;
148
+ this.xAmznErrorType = opts.xAmznErrorType;
149
+ this.exceptionMessage = opts.exceptionMessage;
150
+ }
151
+ }
152
+ export class ServiceQuotaExceededException extends __BaseException {
153
+ name = "ServiceQuotaExceededException";
154
+ $fault = "client";
155
+ accessControlAllowOrigin;
156
+ accessControlExposeHeaders;
157
+ cacheControl;
158
+ contentSecurityPolicy;
159
+ strictTransportSecurity;
160
+ xContentTypeOptions;
161
+ xFrameOptions;
162
+ xAmznErrorType;
163
+ exceptionMessage;
164
+ constructor(opts) {
165
+ super({
166
+ name: "ServiceQuotaExceededException",
167
+ $fault: "client",
168
+ ...opts,
169
+ });
170
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
171
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
172
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
173
+ this.cacheControl = opts.cacheControl;
174
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
175
+ this.strictTransportSecurity = opts.strictTransportSecurity;
176
+ this.xContentTypeOptions = opts.xContentTypeOptions;
177
+ this.xFrameOptions = opts.xFrameOptions;
178
+ this.xAmznErrorType = opts.xAmznErrorType;
179
+ this.exceptionMessage = opts.exceptionMessage;
180
+ }
181
+ }
182
+ export class ValidationException extends __BaseException {
183
+ name = "ValidationException";
184
+ $fault = "client";
185
+ accessControlAllowOrigin;
186
+ accessControlExposeHeaders;
187
+ cacheControl;
188
+ contentSecurityPolicy;
189
+ strictTransportSecurity;
190
+ xContentTypeOptions;
191
+ xFrameOptions;
192
+ xAmznErrorType;
193
+ exceptionMessage;
194
+ constructor(opts) {
195
+ super({
196
+ name: "ValidationException",
197
+ $fault: "client",
198
+ ...opts,
199
+ });
200
+ Object.setPrototypeOf(this, ValidationException.prototype);
201
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
202
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
203
+ this.cacheControl = opts.cacheControl;
204
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
205
+ this.strictTransportSecurity = opts.strictTransportSecurity;
206
+ this.xContentTypeOptions = opts.xContentTypeOptions;
207
+ this.xFrameOptions = opts.xFrameOptions;
208
+ this.xAmznErrorType = opts.xAmznErrorType;
209
+ this.exceptionMessage = opts.exceptionMessage;
210
+ }
211
+ }