@aws-sdk/client-ivs-realtime 3.758.0 → 3.767.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.
@@ -3,6 +3,14 @@ import { IVSRealTimeServiceException as __BaseException } from "./IVSRealTimeSer
3
3
  export class AccessDeniedException extends __BaseException {
4
4
  name = "AccessDeniedException";
5
5
  $fault = "client";
6
+ accessControlAllowOrigin;
7
+ accessControlExposeHeaders;
8
+ cacheControl;
9
+ contentSecurityPolicy;
10
+ strictTransportSecurity;
11
+ xContentTypeOptions;
12
+ xFrameOptions;
13
+ xAmznErrorType;
6
14
  exceptionMessage;
7
15
  constructor(opts) {
8
16
  super({
@@ -11,12 +19,28 @@ export class AccessDeniedException extends __BaseException {
11
19
  ...opts,
12
20
  });
13
21
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
22
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
23
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
24
+ this.cacheControl = opts.cacheControl;
25
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
26
+ this.strictTransportSecurity = opts.strictTransportSecurity;
27
+ this.xContentTypeOptions = opts.xContentTypeOptions;
28
+ this.xFrameOptions = opts.xFrameOptions;
29
+ this.xAmznErrorType = opts.xAmznErrorType;
14
30
  this.exceptionMessage = opts.exceptionMessage;
15
31
  }
16
32
  }
17
33
  export class ConflictException extends __BaseException {
18
34
  name = "ConflictException";
19
35
  $fault = "client";
36
+ accessControlAllowOrigin;
37
+ accessControlExposeHeaders;
38
+ cacheControl;
39
+ contentSecurityPolicy;
40
+ strictTransportSecurity;
41
+ xContentTypeOptions;
42
+ xFrameOptions;
43
+ xAmznErrorType;
20
44
  exceptionMessage;
21
45
  constructor(opts) {
22
46
  super({
@@ -25,12 +49,28 @@ export class ConflictException extends __BaseException {
25
49
  ...opts,
26
50
  });
27
51
  Object.setPrototypeOf(this, ConflictException.prototype);
52
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
53
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
54
+ this.cacheControl = opts.cacheControl;
55
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
56
+ this.strictTransportSecurity = opts.strictTransportSecurity;
57
+ this.xContentTypeOptions = opts.xContentTypeOptions;
58
+ this.xFrameOptions = opts.xFrameOptions;
59
+ this.xAmznErrorType = opts.xAmznErrorType;
28
60
  this.exceptionMessage = opts.exceptionMessage;
29
61
  }
30
62
  }
31
63
  export class InternalServerException extends __BaseException {
32
64
  name = "InternalServerException";
33
65
  $fault = "server";
66
+ accessControlAllowOrigin;
67
+ accessControlExposeHeaders;
68
+ cacheControl;
69
+ contentSecurityPolicy;
70
+ strictTransportSecurity;
71
+ xContentTypeOptions;
72
+ xFrameOptions;
73
+ xAmznErrorType;
34
74
  exceptionMessage;
35
75
  constructor(opts) {
36
76
  super({
@@ -39,12 +79,28 @@ export class InternalServerException extends __BaseException {
39
79
  ...opts,
40
80
  });
41
81
  Object.setPrototypeOf(this, InternalServerException.prototype);
82
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
83
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
84
+ this.cacheControl = opts.cacheControl;
85
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
86
+ this.strictTransportSecurity = opts.strictTransportSecurity;
87
+ this.xContentTypeOptions = opts.xContentTypeOptions;
88
+ this.xFrameOptions = opts.xFrameOptions;
89
+ this.xAmznErrorType = opts.xAmznErrorType;
42
90
  this.exceptionMessage = opts.exceptionMessage;
43
91
  }
44
92
  }
45
93
  export class PendingVerification extends __BaseException {
46
94
  name = "PendingVerification";
47
95
  $fault = "client";
96
+ accessControlAllowOrigin;
97
+ accessControlExposeHeaders;
98
+ cacheControl;
99
+ contentSecurityPolicy;
100
+ strictTransportSecurity;
101
+ xContentTypeOptions;
102
+ xFrameOptions;
103
+ xAmznErrorType;
48
104
  exceptionMessage;
49
105
  constructor(opts) {
50
106
  super({
@@ -53,12 +109,28 @@ export class PendingVerification extends __BaseException {
53
109
  ...opts,
54
110
  });
55
111
  Object.setPrototypeOf(this, PendingVerification.prototype);
112
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
113
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
114
+ this.cacheControl = opts.cacheControl;
115
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
116
+ this.strictTransportSecurity = opts.strictTransportSecurity;
117
+ this.xContentTypeOptions = opts.xContentTypeOptions;
118
+ this.xFrameOptions = opts.xFrameOptions;
119
+ this.xAmznErrorType = opts.xAmznErrorType;
56
120
  this.exceptionMessage = opts.exceptionMessage;
57
121
  }
58
122
  }
59
123
  export class ResourceNotFoundException extends __BaseException {
60
124
  name = "ResourceNotFoundException";
61
125
  $fault = "client";
126
+ accessControlAllowOrigin;
127
+ accessControlExposeHeaders;
128
+ cacheControl;
129
+ contentSecurityPolicy;
130
+ strictTransportSecurity;
131
+ xContentTypeOptions;
132
+ xFrameOptions;
133
+ xAmznErrorType;
62
134
  exceptionMessage;
63
135
  constructor(opts) {
64
136
  super({
@@ -67,12 +139,28 @@ export class ResourceNotFoundException extends __BaseException {
67
139
  ...opts,
68
140
  });
69
141
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
142
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
143
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
144
+ this.cacheControl = opts.cacheControl;
145
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
146
+ this.strictTransportSecurity = opts.strictTransportSecurity;
147
+ this.xContentTypeOptions = opts.xContentTypeOptions;
148
+ this.xFrameOptions = opts.xFrameOptions;
149
+ this.xAmznErrorType = opts.xAmznErrorType;
70
150
  this.exceptionMessage = opts.exceptionMessage;
71
151
  }
72
152
  }
73
153
  export class ServiceQuotaExceededException extends __BaseException {
74
154
  name = "ServiceQuotaExceededException";
75
155
  $fault = "client";
156
+ accessControlAllowOrigin;
157
+ accessControlExposeHeaders;
158
+ cacheControl;
159
+ contentSecurityPolicy;
160
+ strictTransportSecurity;
161
+ xContentTypeOptions;
162
+ xFrameOptions;
163
+ xAmznErrorType;
76
164
  exceptionMessage;
77
165
  constructor(opts) {
78
166
  super({
@@ -81,12 +169,28 @@ export class ServiceQuotaExceededException extends __BaseException {
81
169
  ...opts,
82
170
  });
83
171
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
172
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
173
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
174
+ this.cacheControl = opts.cacheControl;
175
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
176
+ this.strictTransportSecurity = opts.strictTransportSecurity;
177
+ this.xContentTypeOptions = opts.xContentTypeOptions;
178
+ this.xFrameOptions = opts.xFrameOptions;
179
+ this.xAmznErrorType = opts.xAmznErrorType;
84
180
  this.exceptionMessage = opts.exceptionMessage;
85
181
  }
86
182
  }
87
183
  export class ValidationException extends __BaseException {
88
184
  name = "ValidationException";
89
185
  $fault = "client";
186
+ accessControlAllowOrigin;
187
+ accessControlExposeHeaders;
188
+ cacheControl;
189
+ contentSecurityPolicy;
190
+ strictTransportSecurity;
191
+ xContentTypeOptions;
192
+ xFrameOptions;
193
+ xAmznErrorType;
90
194
  exceptionMessage;
91
195
  constructor(opts) {
92
196
  super({
@@ -95,6 +199,14 @@ export class ValidationException extends __BaseException {
95
199
  ...opts,
96
200
  });
97
201
  Object.setPrototypeOf(this, ValidationException.prototype);
202
+ this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
203
+ this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
204
+ this.cacheControl = opts.cacheControl;
205
+ this.contentSecurityPolicy = opts.contentSecurityPolicy;
206
+ this.strictTransportSecurity = opts.strictTransportSecurity;
207
+ this.xContentTypeOptions = opts.xContentTypeOptions;
208
+ this.xFrameOptions = opts.xFrameOptions;
209
+ this.xAmznErrorType = opts.xAmznErrorType;
98
210
  this.exceptionMessage = opts.exceptionMessage;
99
211
  }
100
212
  }
@@ -1040,7 +1040,16 @@ const de_CommandError = async (output, context) => {
1040
1040
  };
1041
1041
  const throwDefaultError = withBaseException(__BaseException);
1042
1042
  const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1043
- const contents = map({});
1043
+ const contents = map({
1044
+ [_aCAO]: [, parsedOutput.headers[_acao]],
1045
+ [_aCEH]: [, parsedOutput.headers[_aceh]],
1046
+ [_cC]: [, parsedOutput.headers[_cc]],
1047
+ [_cSP]: [, parsedOutput.headers[_csp]],
1048
+ [_sTS]: [, parsedOutput.headers[_sts]],
1049
+ [_xCTO]: [, parsedOutput.headers[_xcto]],
1050
+ [_xFO]: [, parsedOutput.headers[_xfo]],
1051
+ [_xAET]: [, parsedOutput.headers[_xae]],
1052
+ });
1044
1053
  const data = parsedOutput.body;
1045
1054
  const doc = take(data, {
1046
1055
  exceptionMessage: __expectString,
@@ -1053,7 +1062,16 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1053
1062
  return __decorateServiceException(exception, parsedOutput.body);
1054
1063
  };
1055
1064
  const de_ConflictExceptionRes = async (parsedOutput, context) => {
1056
- const contents = map({});
1065
+ const contents = map({
1066
+ [_aCAO]: [, parsedOutput.headers[_acao]],
1067
+ [_aCEH]: [, parsedOutput.headers[_aceh]],
1068
+ [_cC]: [, parsedOutput.headers[_cc]],
1069
+ [_cSP]: [, parsedOutput.headers[_csp]],
1070
+ [_sTS]: [, parsedOutput.headers[_sts]],
1071
+ [_xCTO]: [, parsedOutput.headers[_xcto]],
1072
+ [_xFO]: [, parsedOutput.headers[_xfo]],
1073
+ [_xAET]: [, parsedOutput.headers[_xae]],
1074
+ });
1057
1075
  const data = parsedOutput.body;
1058
1076
  const doc = take(data, {
1059
1077
  exceptionMessage: __expectString,
@@ -1066,7 +1084,16 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1066
1084
  return __decorateServiceException(exception, parsedOutput.body);
1067
1085
  };
1068
1086
  const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1069
- const contents = map({});
1087
+ const contents = map({
1088
+ [_aCAO]: [, parsedOutput.headers[_acao]],
1089
+ [_aCEH]: [, parsedOutput.headers[_aceh]],
1090
+ [_cC]: [, parsedOutput.headers[_cc]],
1091
+ [_cSP]: [, parsedOutput.headers[_csp]],
1092
+ [_sTS]: [, parsedOutput.headers[_sts]],
1093
+ [_xCTO]: [, parsedOutput.headers[_xcto]],
1094
+ [_xFO]: [, parsedOutput.headers[_xfo]],
1095
+ [_xAET]: [, parsedOutput.headers[_xae]],
1096
+ });
1070
1097
  const data = parsedOutput.body;
1071
1098
  const doc = take(data, {
1072
1099
  exceptionMessage: __expectString,
@@ -1079,7 +1106,16 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1079
1106
  return __decorateServiceException(exception, parsedOutput.body);
1080
1107
  };
1081
1108
  const de_PendingVerificationRes = async (parsedOutput, context) => {
1082
- const contents = map({});
1109
+ const contents = map({
1110
+ [_aCAO]: [, parsedOutput.headers[_acao]],
1111
+ [_aCEH]: [, parsedOutput.headers[_aceh]],
1112
+ [_cC]: [, parsedOutput.headers[_cc]],
1113
+ [_cSP]: [, parsedOutput.headers[_csp]],
1114
+ [_sTS]: [, parsedOutput.headers[_sts]],
1115
+ [_xCTO]: [, parsedOutput.headers[_xcto]],
1116
+ [_xFO]: [, parsedOutput.headers[_xfo]],
1117
+ [_xAET]: [, parsedOutput.headers[_xae]],
1118
+ });
1083
1119
  const data = parsedOutput.body;
1084
1120
  const doc = take(data, {
1085
1121
  exceptionMessage: __expectString,
@@ -1092,7 +1128,16 @@ const de_PendingVerificationRes = async (parsedOutput, context) => {
1092
1128
  return __decorateServiceException(exception, parsedOutput.body);
1093
1129
  };
1094
1130
  const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1095
- const contents = map({});
1131
+ const contents = map({
1132
+ [_aCAO]: [, parsedOutput.headers[_acao]],
1133
+ [_aCEH]: [, parsedOutput.headers[_aceh]],
1134
+ [_cC]: [, parsedOutput.headers[_cc]],
1135
+ [_cSP]: [, parsedOutput.headers[_csp]],
1136
+ [_sTS]: [, parsedOutput.headers[_sts]],
1137
+ [_xCTO]: [, parsedOutput.headers[_xcto]],
1138
+ [_xFO]: [, parsedOutput.headers[_xfo]],
1139
+ [_xAET]: [, parsedOutput.headers[_xae]],
1140
+ });
1096
1141
  const data = parsedOutput.body;
1097
1142
  const doc = take(data, {
1098
1143
  exceptionMessage: __expectString,
@@ -1105,7 +1150,16 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1105
1150
  return __decorateServiceException(exception, parsedOutput.body);
1106
1151
  };
1107
1152
  const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1108
- const contents = map({});
1153
+ const contents = map({
1154
+ [_aCAO]: [, parsedOutput.headers[_acao]],
1155
+ [_aCEH]: [, parsedOutput.headers[_aceh]],
1156
+ [_cC]: [, parsedOutput.headers[_cc]],
1157
+ [_cSP]: [, parsedOutput.headers[_csp]],
1158
+ [_sTS]: [, parsedOutput.headers[_sts]],
1159
+ [_xCTO]: [, parsedOutput.headers[_xcto]],
1160
+ [_xFO]: [, parsedOutput.headers[_xfo]],
1161
+ [_xAET]: [, parsedOutput.headers[_xae]],
1162
+ });
1109
1163
  const data = parsedOutput.body;
1110
1164
  const doc = take(data, {
1111
1165
  exceptionMessage: __expectString,
@@ -1118,7 +1172,16 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1118
1172
  return __decorateServiceException(exception, parsedOutput.body);
1119
1173
  };
1120
1174
  const de_ValidationExceptionRes = async (parsedOutput, context) => {
1121
- const contents = map({});
1175
+ const contents = map({
1176
+ [_aCAO]: [, parsedOutput.headers[_acao]],
1177
+ [_aCEH]: [, parsedOutput.headers[_aceh]],
1178
+ [_cC]: [, parsedOutput.headers[_cc]],
1179
+ [_cSP]: [, parsedOutput.headers[_csp]],
1180
+ [_sTS]: [, parsedOutput.headers[_sts]],
1181
+ [_xCTO]: [, parsedOutput.headers[_xcto]],
1182
+ [_xFO]: [, parsedOutput.headers[_xfo]],
1183
+ [_xAET]: [, parsedOutput.headers[_xae]],
1184
+ });
1122
1185
  const data = parsedOutput.body;
1123
1186
  const doc = take(data, {
1124
1187
  exceptionMessage: __expectString,
@@ -1322,4 +1385,20 @@ const deserializeMetadata = (output) => ({
1322
1385
  cfId: output.headers["x-amz-cf-id"],
1323
1386
  });
1324
1387
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
1388
+ const _aCAO = "accessControlAllowOrigin";
1389
+ const _aCEH = "accessControlExposeHeaders";
1390
+ const _acao = "access-control-allow-origin";
1391
+ const _aceh = "access-control-expose-headers";
1392
+ const _cC = "cacheControl";
1393
+ const _cSP = "contentSecurityPolicy";
1394
+ const _cc = "cache-control";
1395
+ const _csp = "content-security-policy";
1396
+ const _sTS = "strictTransportSecurity";
1397
+ const _sts = "strict-transport-security";
1325
1398
  const _tK = "tagKeys";
1399
+ const _xAET = "xAmznErrorType";
1400
+ const _xCTO = "xContentTypeOptions";
1401
+ const _xFO = "xFrameOptions";
1402
+ const _xae = "x-amzn-errortype";
1403
+ const _xcto = "x-content-type-options";
1404
+ const _xfo = "x-frame-options";
@@ -63,6 +63,10 @@ declare const CreateStageCommand_base: {
63
63
  * ],
64
64
  * recordingMode: "INTERVAL" || "DISABLED",
65
65
  * },
66
+ * recordingReconnectWindowSeconds: Number("int"),
67
+ * hlsConfiguration: { // ParticipantRecordingHlsConfiguration
68
+ * targetSegmentDurationSeconds: Number("int"),
69
+ * },
66
70
  * },
67
71
  * };
68
72
  * const command = new CreateStageCommand(input);
@@ -87,6 +91,10 @@ declare const CreateStageCommand_base: {
87
91
  * // ],
88
92
  * // recordingMode: "INTERVAL" || "DISABLED",
89
93
  * // },
94
+ * // recordingReconnectWindowSeconds: Number("int"),
95
+ * // hlsConfiguration: { // ParticipantRecordingHlsConfiguration
96
+ * // targetSegmentDurationSeconds: Number("int"),
97
+ * // },
90
98
  * // },
91
99
  * // endpoints: { // StageEndpoints
92
100
  * // events: "STRING_VALUE",
@@ -83,6 +83,9 @@ declare const GetCompositionCommand_base: {
83
83
  * // "STRING_VALUE",
84
84
  * // ],
85
85
  * // recordingConfiguration: { // RecordingConfiguration
86
+ * // hlsConfiguration: { // CompositionRecordingHlsConfiguration
87
+ * // targetSegmentDurationSeconds: Number("int"),
88
+ * // },
86
89
  * // format: "STRING_VALUE",
87
90
  * // },
88
91
  * // thumbnailConfigurations: [ // CompositionThumbnailConfigurationList
@@ -59,6 +59,10 @@ declare const GetStageCommand_base: {
59
59
  * // ],
60
60
  * // recordingMode: "INTERVAL" || "DISABLED",
61
61
  * // },
62
+ * // recordingReconnectWindowSeconds: Number("int"),
63
+ * // hlsConfiguration: { // ParticipantRecordingHlsConfiguration
64
+ * // targetSegmentDurationSeconds: Number("int"),
65
+ * // },
62
66
  * // },
63
67
  * // endpoints: { // StageEndpoints
64
68
  * // events: "STRING_VALUE",
@@ -94,6 +94,9 @@ declare const StartCompositionCommand_base: {
94
94
  * "STRING_VALUE",
95
95
  * ],
96
96
  * recordingConfiguration: { // RecordingConfiguration
97
+ * hlsConfiguration: { // CompositionRecordingHlsConfiguration
98
+ * targetSegmentDurationSeconds: Number("int"),
99
+ * },
97
100
  * format: "STRING_VALUE",
98
101
  * },
99
102
  * thumbnailConfigurations: [ // CompositionThumbnailConfigurationList
@@ -157,6 +160,9 @@ declare const StartCompositionCommand_base: {
157
160
  * // "STRING_VALUE",
158
161
  * // ],
159
162
  * // recordingConfiguration: { // RecordingConfiguration
163
+ * // hlsConfiguration: { // CompositionRecordingHlsConfiguration
164
+ * // targetSegmentDurationSeconds: Number("int"),
165
+ * // },
160
166
  * // format: "STRING_VALUE",
161
167
  * // },
162
168
  * // thumbnailConfigurations: [ // CompositionThumbnailConfigurationList
@@ -49,6 +49,10 @@ declare const UpdateStageCommand_base: {
49
49
  * ],
50
50
  * recordingMode: "INTERVAL" || "DISABLED",
51
51
  * },
52
+ * recordingReconnectWindowSeconds: Number("int"),
53
+ * hlsConfiguration: { // ParticipantRecordingHlsConfiguration
54
+ * targetSegmentDurationSeconds: Number("int"),
55
+ * },
52
56
  * },
53
57
  * };
54
58
  * const command = new UpdateStageCommand(input);
@@ -73,6 +77,10 @@ declare const UpdateStageCommand_base: {
73
77
  * // ],
74
78
  * // recordingMode: "INTERVAL" || "DISABLED",
75
79
  * // },
80
+ * // recordingReconnectWindowSeconds: Number("int"),
81
+ * // hlsConfiguration: { // ParticipantRecordingHlsConfiguration
82
+ * // targetSegmentDurationSeconds: Number("int"),
83
+ * // },
76
84
  * // },
77
85
  * // endpoints: { // StageEndpoints
78
86
  * // events: "STRING_VALUE",