@aws-sdk/client-mediaconnect 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.MediaConnectServiceException = 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 MediaConnectServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, MediaConnectServiceException.prototype);
10
+ }
11
+ }
12
+ exports.MediaConnectServiceException = MediaConnectServiceException;
@@ -0,0 +1,233 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GrantFlowEntitlements420Exception = exports.RouterOutputServiceQuotaExceededException = exports.RouterNetworkInterfaceServiceQuotaExceededException = exports.RouterInputServiceQuotaExceededException = exports.CreateGateway420Exception = exports.CreateFlow420Exception = exports.CreateBridge420Exception = exports.AddFlowOutputs420Exception = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = void 0;
4
+ const MediaConnectServiceException_1 = require("./MediaConnectServiceException");
5
+ class BadRequestException extends MediaConnectServiceException_1.MediaConnectServiceException {
6
+ name = "BadRequestException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "BadRequestException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, BadRequestException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.BadRequestException = BadRequestException;
20
+ class ConflictException extends MediaConnectServiceException_1.MediaConnectServiceException {
21
+ name = "ConflictException";
22
+ $fault = "client";
23
+ $retryable = {};
24
+ Message;
25
+ constructor(opts) {
26
+ super({
27
+ name: "ConflictException",
28
+ $fault: "client",
29
+ ...opts,
30
+ });
31
+ Object.setPrototypeOf(this, ConflictException.prototype);
32
+ this.Message = opts.Message;
33
+ }
34
+ }
35
+ exports.ConflictException = ConflictException;
36
+ class ForbiddenException extends MediaConnectServiceException_1.MediaConnectServiceException {
37
+ name = "ForbiddenException";
38
+ $fault = "client";
39
+ Message;
40
+ constructor(opts) {
41
+ super({
42
+ name: "ForbiddenException",
43
+ $fault: "client",
44
+ ...opts,
45
+ });
46
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
47
+ this.Message = opts.Message;
48
+ }
49
+ }
50
+ exports.ForbiddenException = ForbiddenException;
51
+ class InternalServerErrorException extends MediaConnectServiceException_1.MediaConnectServiceException {
52
+ name = "InternalServerErrorException";
53
+ $fault = "server";
54
+ $retryable = {};
55
+ Message;
56
+ constructor(opts) {
57
+ super({
58
+ name: "InternalServerErrorException",
59
+ $fault: "server",
60
+ ...opts,
61
+ });
62
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
63
+ this.Message = opts.Message;
64
+ }
65
+ }
66
+ exports.InternalServerErrorException = InternalServerErrorException;
67
+ class NotFoundException extends MediaConnectServiceException_1.MediaConnectServiceException {
68
+ name = "NotFoundException";
69
+ $fault = "client";
70
+ Message;
71
+ constructor(opts) {
72
+ super({
73
+ name: "NotFoundException",
74
+ $fault: "client",
75
+ ...opts,
76
+ });
77
+ Object.setPrototypeOf(this, NotFoundException.prototype);
78
+ this.Message = opts.Message;
79
+ }
80
+ }
81
+ exports.NotFoundException = NotFoundException;
82
+ class ServiceUnavailableException extends MediaConnectServiceException_1.MediaConnectServiceException {
83
+ name = "ServiceUnavailableException";
84
+ $fault = "server";
85
+ $retryable = {};
86
+ Message;
87
+ constructor(opts) {
88
+ super({
89
+ name: "ServiceUnavailableException",
90
+ $fault: "server",
91
+ ...opts,
92
+ });
93
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
94
+ this.Message = opts.Message;
95
+ }
96
+ }
97
+ exports.ServiceUnavailableException = ServiceUnavailableException;
98
+ class TooManyRequestsException extends MediaConnectServiceException_1.MediaConnectServiceException {
99
+ name = "TooManyRequestsException";
100
+ $fault = "client";
101
+ $retryable = {};
102
+ Message;
103
+ constructor(opts) {
104
+ super({
105
+ name: "TooManyRequestsException",
106
+ $fault: "client",
107
+ ...opts,
108
+ });
109
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
110
+ this.Message = opts.Message;
111
+ }
112
+ }
113
+ exports.TooManyRequestsException = TooManyRequestsException;
114
+ class AddFlowOutputs420Exception extends MediaConnectServiceException_1.MediaConnectServiceException {
115
+ name = "AddFlowOutputs420Exception";
116
+ $fault = "client";
117
+ Message;
118
+ constructor(opts) {
119
+ super({
120
+ name: "AddFlowOutputs420Exception",
121
+ $fault: "client",
122
+ ...opts,
123
+ });
124
+ Object.setPrototypeOf(this, AddFlowOutputs420Exception.prototype);
125
+ this.Message = opts.Message;
126
+ }
127
+ }
128
+ exports.AddFlowOutputs420Exception = AddFlowOutputs420Exception;
129
+ class CreateBridge420Exception extends MediaConnectServiceException_1.MediaConnectServiceException {
130
+ name = "CreateBridge420Exception";
131
+ $fault = "client";
132
+ Message;
133
+ constructor(opts) {
134
+ super({
135
+ name: "CreateBridge420Exception",
136
+ $fault: "client",
137
+ ...opts,
138
+ });
139
+ Object.setPrototypeOf(this, CreateBridge420Exception.prototype);
140
+ this.Message = opts.Message;
141
+ }
142
+ }
143
+ exports.CreateBridge420Exception = CreateBridge420Exception;
144
+ class CreateFlow420Exception extends MediaConnectServiceException_1.MediaConnectServiceException {
145
+ name = "CreateFlow420Exception";
146
+ $fault = "client";
147
+ Message;
148
+ constructor(opts) {
149
+ super({
150
+ name: "CreateFlow420Exception",
151
+ $fault: "client",
152
+ ...opts,
153
+ });
154
+ Object.setPrototypeOf(this, CreateFlow420Exception.prototype);
155
+ this.Message = opts.Message;
156
+ }
157
+ }
158
+ exports.CreateFlow420Exception = CreateFlow420Exception;
159
+ class CreateGateway420Exception extends MediaConnectServiceException_1.MediaConnectServiceException {
160
+ name = "CreateGateway420Exception";
161
+ $fault = "client";
162
+ Message;
163
+ constructor(opts) {
164
+ super({
165
+ name: "CreateGateway420Exception",
166
+ $fault: "client",
167
+ ...opts,
168
+ });
169
+ Object.setPrototypeOf(this, CreateGateway420Exception.prototype);
170
+ this.Message = opts.Message;
171
+ }
172
+ }
173
+ exports.CreateGateway420Exception = CreateGateway420Exception;
174
+ class RouterInputServiceQuotaExceededException extends MediaConnectServiceException_1.MediaConnectServiceException {
175
+ name = "RouterInputServiceQuotaExceededException";
176
+ $fault = "client";
177
+ Message;
178
+ constructor(opts) {
179
+ super({
180
+ name: "RouterInputServiceQuotaExceededException",
181
+ $fault: "client",
182
+ ...opts,
183
+ });
184
+ Object.setPrototypeOf(this, RouterInputServiceQuotaExceededException.prototype);
185
+ this.Message = opts.Message;
186
+ }
187
+ }
188
+ exports.RouterInputServiceQuotaExceededException = RouterInputServiceQuotaExceededException;
189
+ class RouterNetworkInterfaceServiceQuotaExceededException extends MediaConnectServiceException_1.MediaConnectServiceException {
190
+ name = "RouterNetworkInterfaceServiceQuotaExceededException";
191
+ $fault = "client";
192
+ Message;
193
+ constructor(opts) {
194
+ super({
195
+ name: "RouterNetworkInterfaceServiceQuotaExceededException",
196
+ $fault: "client",
197
+ ...opts,
198
+ });
199
+ Object.setPrototypeOf(this, RouterNetworkInterfaceServiceQuotaExceededException.prototype);
200
+ this.Message = opts.Message;
201
+ }
202
+ }
203
+ exports.RouterNetworkInterfaceServiceQuotaExceededException = RouterNetworkInterfaceServiceQuotaExceededException;
204
+ class RouterOutputServiceQuotaExceededException extends MediaConnectServiceException_1.MediaConnectServiceException {
205
+ name = "RouterOutputServiceQuotaExceededException";
206
+ $fault = "client";
207
+ Message;
208
+ constructor(opts) {
209
+ super({
210
+ name: "RouterOutputServiceQuotaExceededException",
211
+ $fault: "client",
212
+ ...opts,
213
+ });
214
+ Object.setPrototypeOf(this, RouterOutputServiceQuotaExceededException.prototype);
215
+ this.Message = opts.Message;
216
+ }
217
+ }
218
+ exports.RouterOutputServiceQuotaExceededException = RouterOutputServiceQuotaExceededException;
219
+ class GrantFlowEntitlements420Exception extends MediaConnectServiceException_1.MediaConnectServiceException {
220
+ name = "GrantFlowEntitlements420Exception";
221
+ $fault = "client";
222
+ Message;
223
+ constructor(opts) {
224
+ super({
225
+ name: "GrantFlowEntitlements420Exception",
226
+ $fault: "client",
227
+ ...opts,
228
+ });
229
+ Object.setPrototypeOf(this, GrantFlowEntitlements420Exception.prototype);
230
+ this.Message = opts.Message;
231
+ }
232
+ }
233
+ exports.GrantFlowEntitlements420Exception = GrantFlowEntitlements420Exception;
@@ -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: "2018-11-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.mediaconnect",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2018-11-14",
33
35
  serviceTarget: "MediaConnect",
34
36
  },