@aws-sdk/client-ivs-realtime 3.987.0 → 3.989.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +58 -1570
- package/dist-cjs/models/IVSRealTimeServiceException.js +12 -0
- package/dist-cjs/models/errors.js +221 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1162 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +60 -54
- package/dist-types/schemas/schemas_0.d.ts +14 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -7
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IVSRealTimeServiceException = 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 IVSRealTimeServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, IVSRealTimeServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.IVSRealTimeServiceException = IVSRealTimeServiceException;
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.PendingVerification = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const IVSRealTimeServiceException_1 = require("./IVSRealTimeServiceException");
|
|
5
|
+
class AccessDeniedException extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
accessControlAllowOrigin;
|
|
9
|
+
accessControlExposeHeaders;
|
|
10
|
+
cacheControl;
|
|
11
|
+
contentSecurityPolicy;
|
|
12
|
+
strictTransportSecurity;
|
|
13
|
+
xContentTypeOptions;
|
|
14
|
+
xFrameOptions;
|
|
15
|
+
xAmznErrorType;
|
|
16
|
+
exceptionMessage;
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "AccessDeniedException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
24
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
25
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
26
|
+
this.cacheControl = opts.cacheControl;
|
|
27
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
28
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
29
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
30
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
31
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
32
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
36
|
+
class ConflictException extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
|
|
37
|
+
name = "ConflictException";
|
|
38
|
+
$fault = "client";
|
|
39
|
+
accessControlAllowOrigin;
|
|
40
|
+
accessControlExposeHeaders;
|
|
41
|
+
cacheControl;
|
|
42
|
+
contentSecurityPolicy;
|
|
43
|
+
strictTransportSecurity;
|
|
44
|
+
xContentTypeOptions;
|
|
45
|
+
xFrameOptions;
|
|
46
|
+
xAmznErrorType;
|
|
47
|
+
exceptionMessage;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ConflictException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
55
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
56
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
57
|
+
this.cacheControl = opts.cacheControl;
|
|
58
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
59
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
60
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
61
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
62
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
63
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.ConflictException = ConflictException;
|
|
67
|
+
class InternalServerException extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
|
|
68
|
+
name = "InternalServerException";
|
|
69
|
+
$fault = "server";
|
|
70
|
+
accessControlAllowOrigin;
|
|
71
|
+
accessControlExposeHeaders;
|
|
72
|
+
cacheControl;
|
|
73
|
+
contentSecurityPolicy;
|
|
74
|
+
strictTransportSecurity;
|
|
75
|
+
xContentTypeOptions;
|
|
76
|
+
xFrameOptions;
|
|
77
|
+
xAmznErrorType;
|
|
78
|
+
exceptionMessage;
|
|
79
|
+
constructor(opts) {
|
|
80
|
+
super({
|
|
81
|
+
name: "InternalServerException",
|
|
82
|
+
$fault: "server",
|
|
83
|
+
...opts,
|
|
84
|
+
});
|
|
85
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
86
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
87
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
88
|
+
this.cacheControl = opts.cacheControl;
|
|
89
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
90
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
91
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
92
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
93
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
94
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.InternalServerException = InternalServerException;
|
|
98
|
+
class PendingVerification extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
|
|
99
|
+
name = "PendingVerification";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
accessControlAllowOrigin;
|
|
102
|
+
accessControlExposeHeaders;
|
|
103
|
+
cacheControl;
|
|
104
|
+
contentSecurityPolicy;
|
|
105
|
+
strictTransportSecurity;
|
|
106
|
+
xContentTypeOptions;
|
|
107
|
+
xFrameOptions;
|
|
108
|
+
xAmznErrorType;
|
|
109
|
+
exceptionMessage;
|
|
110
|
+
constructor(opts) {
|
|
111
|
+
super({
|
|
112
|
+
name: "PendingVerification",
|
|
113
|
+
$fault: "client",
|
|
114
|
+
...opts,
|
|
115
|
+
});
|
|
116
|
+
Object.setPrototypeOf(this, PendingVerification.prototype);
|
|
117
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
118
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
119
|
+
this.cacheControl = opts.cacheControl;
|
|
120
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
121
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
122
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
123
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
124
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
125
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
exports.PendingVerification = PendingVerification;
|
|
129
|
+
class ResourceNotFoundException extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
|
|
130
|
+
name = "ResourceNotFoundException";
|
|
131
|
+
$fault = "client";
|
|
132
|
+
accessControlAllowOrigin;
|
|
133
|
+
accessControlExposeHeaders;
|
|
134
|
+
cacheControl;
|
|
135
|
+
contentSecurityPolicy;
|
|
136
|
+
strictTransportSecurity;
|
|
137
|
+
xContentTypeOptions;
|
|
138
|
+
xFrameOptions;
|
|
139
|
+
xAmznErrorType;
|
|
140
|
+
exceptionMessage;
|
|
141
|
+
constructor(opts) {
|
|
142
|
+
super({
|
|
143
|
+
name: "ResourceNotFoundException",
|
|
144
|
+
$fault: "client",
|
|
145
|
+
...opts,
|
|
146
|
+
});
|
|
147
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
148
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
149
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
150
|
+
this.cacheControl = opts.cacheControl;
|
|
151
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
152
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
153
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
154
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
155
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
156
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
160
|
+
class ServiceQuotaExceededException extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
|
|
161
|
+
name = "ServiceQuotaExceededException";
|
|
162
|
+
$fault = "client";
|
|
163
|
+
accessControlAllowOrigin;
|
|
164
|
+
accessControlExposeHeaders;
|
|
165
|
+
cacheControl;
|
|
166
|
+
contentSecurityPolicy;
|
|
167
|
+
strictTransportSecurity;
|
|
168
|
+
xContentTypeOptions;
|
|
169
|
+
xFrameOptions;
|
|
170
|
+
xAmznErrorType;
|
|
171
|
+
exceptionMessage;
|
|
172
|
+
constructor(opts) {
|
|
173
|
+
super({
|
|
174
|
+
name: "ServiceQuotaExceededException",
|
|
175
|
+
$fault: "client",
|
|
176
|
+
...opts,
|
|
177
|
+
});
|
|
178
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
179
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
180
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
181
|
+
this.cacheControl = opts.cacheControl;
|
|
182
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
183
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
184
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
185
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
186
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
187
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
191
|
+
class ValidationException extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
|
|
192
|
+
name = "ValidationException";
|
|
193
|
+
$fault = "client";
|
|
194
|
+
accessControlAllowOrigin;
|
|
195
|
+
accessControlExposeHeaders;
|
|
196
|
+
cacheControl;
|
|
197
|
+
contentSecurityPolicy;
|
|
198
|
+
strictTransportSecurity;
|
|
199
|
+
xContentTypeOptions;
|
|
200
|
+
xFrameOptions;
|
|
201
|
+
xAmznErrorType;
|
|
202
|
+
exceptionMessage;
|
|
203
|
+
constructor(opts) {
|
|
204
|
+
super({
|
|
205
|
+
name: "ValidationException",
|
|
206
|
+
$fault: "client",
|
|
207
|
+
...opts,
|
|
208
|
+
});
|
|
209
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
210
|
+
this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
|
|
211
|
+
this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
|
|
212
|
+
this.cacheControl = opts.cacheControl;
|
|
213
|
+
this.contentSecurityPolicy = opts.contentSecurityPolicy;
|
|
214
|
+
this.strictTransportSecurity = opts.strictTransportSecurity;
|
|
215
|
+
this.xContentTypeOptions = opts.xContentTypeOptions;
|
|
216
|
+
this.xFrameOptions = opts.xFrameOptions;
|
|
217
|
+
this.xAmznErrorType = opts.xAmznErrorType;
|
|
218
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
exports.ValidationException = ValidationException;
|
|
@@ -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: "2020-07-14",
|
|
@@ -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.ivsrealtime",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2020-07-14",
|
|
33
35
|
serviceTarget: "AmazonInteractiveVideoServiceRealTime",
|
|
34
36
|
},
|