@aws-sdk/client-quicksight 3.987.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QuickSightServiceException = 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 QuickSightServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, QuickSightServiceException.prototype);
10
+ }
11
+ }
12
+ exports.QuickSightServiceException = QuickSightServiceException;
@@ -0,0 +1,401 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IdentityTypeNotSupportedException = exports.QuickSightUserNotFoundException = exports.UnsupportedPricingPlanException = exports.SessionLifetimeInMinutesInvalidException = exports.DomainNotWhitelistedException = exports.InvalidParameterException = exports.InvalidNextTokenException = exports.CustomerManagedKeyUnavailableException = exports.InvalidDataSetParameterValueException = exports.InvalidRequestException = exports.InternalServerException = exports.UnsupportedUserEditionException = exports.LimitExceededException = exports.PreconditionNotMetException = exports.ResourceUnavailableException = exports.ConcurrentUpdatingException = exports.ResourceExistsException = exports.ConflictException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InvalidParameterValueException = exports.InternalFailureException = exports.AccessDeniedException = void 0;
4
+ const QuickSightServiceException_1 = require("./QuickSightServiceException");
5
+ class AccessDeniedException extends QuickSightServiceException_1.QuickSightServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ Message;
9
+ RequestId;
10
+ constructor(opts) {
11
+ super({
12
+ name: "AccessDeniedException",
13
+ $fault: "client",
14
+ ...opts,
15
+ });
16
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
17
+ this.Message = opts.Message;
18
+ this.RequestId = opts.RequestId;
19
+ }
20
+ }
21
+ exports.AccessDeniedException = AccessDeniedException;
22
+ class InternalFailureException extends QuickSightServiceException_1.QuickSightServiceException {
23
+ name = "InternalFailureException";
24
+ $fault = "server";
25
+ Message;
26
+ RequestId;
27
+ constructor(opts) {
28
+ super({
29
+ name: "InternalFailureException",
30
+ $fault: "server",
31
+ ...opts,
32
+ });
33
+ Object.setPrototypeOf(this, InternalFailureException.prototype);
34
+ this.Message = opts.Message;
35
+ this.RequestId = opts.RequestId;
36
+ }
37
+ }
38
+ exports.InternalFailureException = InternalFailureException;
39
+ class InvalidParameterValueException extends QuickSightServiceException_1.QuickSightServiceException {
40
+ name = "InvalidParameterValueException";
41
+ $fault = "client";
42
+ Message;
43
+ RequestId;
44
+ constructor(opts) {
45
+ super({
46
+ name: "InvalidParameterValueException",
47
+ $fault: "client",
48
+ ...opts,
49
+ });
50
+ Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
51
+ this.Message = opts.Message;
52
+ this.RequestId = opts.RequestId;
53
+ }
54
+ }
55
+ exports.InvalidParameterValueException = InvalidParameterValueException;
56
+ class ResourceNotFoundException extends QuickSightServiceException_1.QuickSightServiceException {
57
+ name = "ResourceNotFoundException";
58
+ $fault = "client";
59
+ Message;
60
+ ResourceType;
61
+ RequestId;
62
+ constructor(opts) {
63
+ super({
64
+ name: "ResourceNotFoundException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
69
+ this.Message = opts.Message;
70
+ this.ResourceType = opts.ResourceType;
71
+ this.RequestId = opts.RequestId;
72
+ }
73
+ }
74
+ exports.ResourceNotFoundException = ResourceNotFoundException;
75
+ class ThrottlingException extends QuickSightServiceException_1.QuickSightServiceException {
76
+ name = "ThrottlingException";
77
+ $fault = "client";
78
+ Message;
79
+ RequestId;
80
+ constructor(opts) {
81
+ super({
82
+ name: "ThrottlingException",
83
+ $fault: "client",
84
+ ...opts,
85
+ });
86
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
87
+ this.Message = opts.Message;
88
+ this.RequestId = opts.RequestId;
89
+ }
90
+ }
91
+ exports.ThrottlingException = ThrottlingException;
92
+ class ConflictException extends QuickSightServiceException_1.QuickSightServiceException {
93
+ name = "ConflictException";
94
+ $fault = "client";
95
+ Message;
96
+ RequestId;
97
+ constructor(opts) {
98
+ super({
99
+ name: "ConflictException",
100
+ $fault: "client",
101
+ ...opts,
102
+ });
103
+ Object.setPrototypeOf(this, ConflictException.prototype);
104
+ this.Message = opts.Message;
105
+ this.RequestId = opts.RequestId;
106
+ }
107
+ }
108
+ exports.ConflictException = ConflictException;
109
+ class ResourceExistsException extends QuickSightServiceException_1.QuickSightServiceException {
110
+ name = "ResourceExistsException";
111
+ $fault = "client";
112
+ Message;
113
+ ResourceType;
114
+ RequestId;
115
+ constructor(opts) {
116
+ super({
117
+ name: "ResourceExistsException",
118
+ $fault: "client",
119
+ ...opts,
120
+ });
121
+ Object.setPrototypeOf(this, ResourceExistsException.prototype);
122
+ this.Message = opts.Message;
123
+ this.ResourceType = opts.ResourceType;
124
+ this.RequestId = opts.RequestId;
125
+ }
126
+ }
127
+ exports.ResourceExistsException = ResourceExistsException;
128
+ class ConcurrentUpdatingException extends QuickSightServiceException_1.QuickSightServiceException {
129
+ name = "ConcurrentUpdatingException";
130
+ $fault = "server";
131
+ Message;
132
+ RequestId;
133
+ constructor(opts) {
134
+ super({
135
+ name: "ConcurrentUpdatingException",
136
+ $fault: "server",
137
+ ...opts,
138
+ });
139
+ Object.setPrototypeOf(this, ConcurrentUpdatingException.prototype);
140
+ this.Message = opts.Message;
141
+ this.RequestId = opts.RequestId;
142
+ }
143
+ }
144
+ exports.ConcurrentUpdatingException = ConcurrentUpdatingException;
145
+ class ResourceUnavailableException extends QuickSightServiceException_1.QuickSightServiceException {
146
+ name = "ResourceUnavailableException";
147
+ $fault = "server";
148
+ Message;
149
+ ResourceType;
150
+ RequestId;
151
+ constructor(opts) {
152
+ super({
153
+ name: "ResourceUnavailableException",
154
+ $fault: "server",
155
+ ...opts,
156
+ });
157
+ Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
158
+ this.Message = opts.Message;
159
+ this.ResourceType = opts.ResourceType;
160
+ this.RequestId = opts.RequestId;
161
+ }
162
+ }
163
+ exports.ResourceUnavailableException = ResourceUnavailableException;
164
+ class PreconditionNotMetException extends QuickSightServiceException_1.QuickSightServiceException {
165
+ name = "PreconditionNotMetException";
166
+ $fault = "client";
167
+ Message;
168
+ RequestId;
169
+ constructor(opts) {
170
+ super({
171
+ name: "PreconditionNotMetException",
172
+ $fault: "client",
173
+ ...opts,
174
+ });
175
+ Object.setPrototypeOf(this, PreconditionNotMetException.prototype);
176
+ this.Message = opts.Message;
177
+ this.RequestId = opts.RequestId;
178
+ }
179
+ }
180
+ exports.PreconditionNotMetException = PreconditionNotMetException;
181
+ class LimitExceededException extends QuickSightServiceException_1.QuickSightServiceException {
182
+ name = "LimitExceededException";
183
+ $fault = "client";
184
+ Message;
185
+ ResourceType;
186
+ RequestId;
187
+ constructor(opts) {
188
+ super({
189
+ name: "LimitExceededException",
190
+ $fault: "client",
191
+ ...opts,
192
+ });
193
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
194
+ this.Message = opts.Message;
195
+ this.ResourceType = opts.ResourceType;
196
+ this.RequestId = opts.RequestId;
197
+ }
198
+ }
199
+ exports.LimitExceededException = LimitExceededException;
200
+ class UnsupportedUserEditionException extends QuickSightServiceException_1.QuickSightServiceException {
201
+ name = "UnsupportedUserEditionException";
202
+ $fault = "client";
203
+ Message;
204
+ RequestId;
205
+ constructor(opts) {
206
+ super({
207
+ name: "UnsupportedUserEditionException",
208
+ $fault: "client",
209
+ ...opts,
210
+ });
211
+ Object.setPrototypeOf(this, UnsupportedUserEditionException.prototype);
212
+ this.Message = opts.Message;
213
+ this.RequestId = opts.RequestId;
214
+ }
215
+ }
216
+ exports.UnsupportedUserEditionException = UnsupportedUserEditionException;
217
+ class InternalServerException extends QuickSightServiceException_1.QuickSightServiceException {
218
+ name = "InternalServerException";
219
+ $fault = "server";
220
+ Message;
221
+ constructor(opts) {
222
+ super({
223
+ name: "InternalServerException",
224
+ $fault: "server",
225
+ ...opts,
226
+ });
227
+ Object.setPrototypeOf(this, InternalServerException.prototype);
228
+ this.Message = opts.Message;
229
+ }
230
+ }
231
+ exports.InternalServerException = InternalServerException;
232
+ class InvalidRequestException extends QuickSightServiceException_1.QuickSightServiceException {
233
+ name = "InvalidRequestException";
234
+ $fault = "client";
235
+ Message;
236
+ RequestId;
237
+ constructor(opts) {
238
+ super({
239
+ name: "InvalidRequestException",
240
+ $fault: "client",
241
+ ...opts,
242
+ });
243
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
244
+ this.Message = opts.Message;
245
+ this.RequestId = opts.RequestId;
246
+ }
247
+ }
248
+ exports.InvalidRequestException = InvalidRequestException;
249
+ class InvalidDataSetParameterValueException extends QuickSightServiceException_1.QuickSightServiceException {
250
+ name = "InvalidDataSetParameterValueException";
251
+ $fault = "client";
252
+ Message;
253
+ RequestId;
254
+ constructor(opts) {
255
+ super({
256
+ name: "InvalidDataSetParameterValueException",
257
+ $fault: "client",
258
+ ...opts,
259
+ });
260
+ Object.setPrototypeOf(this, InvalidDataSetParameterValueException.prototype);
261
+ this.Message = opts.Message;
262
+ this.RequestId = opts.RequestId;
263
+ }
264
+ }
265
+ exports.InvalidDataSetParameterValueException = InvalidDataSetParameterValueException;
266
+ class CustomerManagedKeyUnavailableException extends QuickSightServiceException_1.QuickSightServiceException {
267
+ name = "CustomerManagedKeyUnavailableException";
268
+ $fault = "client";
269
+ Message;
270
+ RequestId;
271
+ constructor(opts) {
272
+ super({
273
+ name: "CustomerManagedKeyUnavailableException",
274
+ $fault: "client",
275
+ ...opts,
276
+ });
277
+ Object.setPrototypeOf(this, CustomerManagedKeyUnavailableException.prototype);
278
+ this.Message = opts.Message;
279
+ this.RequestId = opts.RequestId;
280
+ }
281
+ }
282
+ exports.CustomerManagedKeyUnavailableException = CustomerManagedKeyUnavailableException;
283
+ class InvalidNextTokenException extends QuickSightServiceException_1.QuickSightServiceException {
284
+ name = "InvalidNextTokenException";
285
+ $fault = "client";
286
+ Message;
287
+ RequestId;
288
+ constructor(opts) {
289
+ super({
290
+ name: "InvalidNextTokenException",
291
+ $fault: "client",
292
+ ...opts,
293
+ });
294
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
295
+ this.Message = opts.Message;
296
+ this.RequestId = opts.RequestId;
297
+ }
298
+ }
299
+ exports.InvalidNextTokenException = InvalidNextTokenException;
300
+ class InvalidParameterException extends QuickSightServiceException_1.QuickSightServiceException {
301
+ name = "InvalidParameterException";
302
+ $fault = "client";
303
+ Message;
304
+ RequestId;
305
+ constructor(opts) {
306
+ super({
307
+ name: "InvalidParameterException",
308
+ $fault: "client",
309
+ ...opts,
310
+ });
311
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
312
+ this.Message = opts.Message;
313
+ this.RequestId = opts.RequestId;
314
+ }
315
+ }
316
+ exports.InvalidParameterException = InvalidParameterException;
317
+ class DomainNotWhitelistedException extends QuickSightServiceException_1.QuickSightServiceException {
318
+ name = "DomainNotWhitelistedException";
319
+ $fault = "client";
320
+ Message;
321
+ RequestId;
322
+ constructor(opts) {
323
+ super({
324
+ name: "DomainNotWhitelistedException",
325
+ $fault: "client",
326
+ ...opts,
327
+ });
328
+ Object.setPrototypeOf(this, DomainNotWhitelistedException.prototype);
329
+ this.Message = opts.Message;
330
+ this.RequestId = opts.RequestId;
331
+ }
332
+ }
333
+ exports.DomainNotWhitelistedException = DomainNotWhitelistedException;
334
+ class SessionLifetimeInMinutesInvalidException extends QuickSightServiceException_1.QuickSightServiceException {
335
+ name = "SessionLifetimeInMinutesInvalidException";
336
+ $fault = "client";
337
+ Message;
338
+ RequestId;
339
+ constructor(opts) {
340
+ super({
341
+ name: "SessionLifetimeInMinutesInvalidException",
342
+ $fault: "client",
343
+ ...opts,
344
+ });
345
+ Object.setPrototypeOf(this, SessionLifetimeInMinutesInvalidException.prototype);
346
+ this.Message = opts.Message;
347
+ this.RequestId = opts.RequestId;
348
+ }
349
+ }
350
+ exports.SessionLifetimeInMinutesInvalidException = SessionLifetimeInMinutesInvalidException;
351
+ class UnsupportedPricingPlanException extends QuickSightServiceException_1.QuickSightServiceException {
352
+ name = "UnsupportedPricingPlanException";
353
+ $fault = "client";
354
+ Message;
355
+ RequestId;
356
+ constructor(opts) {
357
+ super({
358
+ name: "UnsupportedPricingPlanException",
359
+ $fault: "client",
360
+ ...opts,
361
+ });
362
+ Object.setPrototypeOf(this, UnsupportedPricingPlanException.prototype);
363
+ this.Message = opts.Message;
364
+ this.RequestId = opts.RequestId;
365
+ }
366
+ }
367
+ exports.UnsupportedPricingPlanException = UnsupportedPricingPlanException;
368
+ class QuickSightUserNotFoundException extends QuickSightServiceException_1.QuickSightServiceException {
369
+ name = "QuickSightUserNotFoundException";
370
+ $fault = "client";
371
+ Message;
372
+ RequestId;
373
+ constructor(opts) {
374
+ super({
375
+ name: "QuickSightUserNotFoundException",
376
+ $fault: "client",
377
+ ...opts,
378
+ });
379
+ Object.setPrototypeOf(this, QuickSightUserNotFoundException.prototype);
380
+ this.Message = opts.Message;
381
+ this.RequestId = opts.RequestId;
382
+ }
383
+ }
384
+ exports.QuickSightUserNotFoundException = QuickSightUserNotFoundException;
385
+ class IdentityTypeNotSupportedException extends QuickSightServiceException_1.QuickSightServiceException {
386
+ name = "IdentityTypeNotSupportedException";
387
+ $fault = "client";
388
+ Message;
389
+ RequestId;
390
+ constructor(opts) {
391
+ super({
392
+ name: "IdentityTypeNotSupportedException",
393
+ $fault: "client",
394
+ ...opts,
395
+ });
396
+ Object.setPrototypeOf(this, IdentityTypeNotSupportedException.prototype);
397
+ this.Message = opts.Message;
398
+ this.RequestId = opts.RequestId;
399
+ }
400
+ }
401
+ exports.IdentityTypeNotSupportedException = IdentityTypeNotSupportedException;
@@ -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-04-01",
@@ -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.quicksight",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2018-04-01",
33
35
  serviceTarget: "QuickSight_20180401",
34
36
  },