@aws-sdk/client-amplifyuibuilder 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.AmplifyUIBuilderServiceException = 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 AmplifyUIBuilderServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, AmplifyUIBuilderServiceException.prototype);
10
+ }
11
+ }
12
+ exports.AmplifyUIBuilderServiceException = AmplifyUIBuilderServiceException;
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnauthorizedException = exports.ServiceQuotaExceededException = exports.ResourceConflictException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InvalidParameterException = exports.InternalServerException = void 0;
4
+ const AmplifyUIBuilderServiceException_1 = require("./AmplifyUIBuilderServiceException");
5
+ class InternalServerException extends AmplifyUIBuilderServiceException_1.AmplifyUIBuilderServiceException {
6
+ name = "InternalServerException";
7
+ $fault = "server";
8
+ constructor(opts) {
9
+ super({
10
+ name: "InternalServerException",
11
+ $fault: "server",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, InternalServerException.prototype);
15
+ }
16
+ }
17
+ exports.InternalServerException = InternalServerException;
18
+ class InvalidParameterException extends AmplifyUIBuilderServiceException_1.AmplifyUIBuilderServiceException {
19
+ name = "InvalidParameterException";
20
+ $fault = "client";
21
+ constructor(opts) {
22
+ super({
23
+ name: "InvalidParameterException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
28
+ }
29
+ }
30
+ exports.InvalidParameterException = InvalidParameterException;
31
+ class ResourceNotFoundException extends AmplifyUIBuilderServiceException_1.AmplifyUIBuilderServiceException {
32
+ name = "ResourceNotFoundException";
33
+ $fault = "client";
34
+ constructor(opts) {
35
+ super({
36
+ name: "ResourceNotFoundException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
41
+ }
42
+ }
43
+ exports.ResourceNotFoundException = ResourceNotFoundException;
44
+ class ThrottlingException extends AmplifyUIBuilderServiceException_1.AmplifyUIBuilderServiceException {
45
+ name = "ThrottlingException";
46
+ $fault = "client";
47
+ constructor(opts) {
48
+ super({
49
+ name: "ThrottlingException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
54
+ }
55
+ }
56
+ exports.ThrottlingException = ThrottlingException;
57
+ class ResourceConflictException extends AmplifyUIBuilderServiceException_1.AmplifyUIBuilderServiceException {
58
+ name = "ResourceConflictException";
59
+ $fault = "client";
60
+ constructor(opts) {
61
+ super({
62
+ name: "ResourceConflictException",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ Object.setPrototypeOf(this, ResourceConflictException.prototype);
67
+ }
68
+ }
69
+ exports.ResourceConflictException = ResourceConflictException;
70
+ class ServiceQuotaExceededException extends AmplifyUIBuilderServiceException_1.AmplifyUIBuilderServiceException {
71
+ name = "ServiceQuotaExceededException";
72
+ $fault = "client";
73
+ constructor(opts) {
74
+ super({
75
+ name: "ServiceQuotaExceededException",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
80
+ }
81
+ }
82
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
83
+ class UnauthorizedException extends AmplifyUIBuilderServiceException_1.AmplifyUIBuilderServiceException {
84
+ name = "UnauthorizedException";
85
+ $fault = "client";
86
+ constructor(opts) {
87
+ super({
88
+ name: "UnauthorizedException",
89
+ $fault: "client",
90
+ ...opts,
91
+ });
92
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
93
+ }
94
+ }
95
+ exports.UnauthorizedException = UnauthorizedException;
@@ -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: "2021-08-11",
@@ -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.amplifyuibuilder",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2021-08-11",
33
35
  serviceTarget: "AmplifyUIBuilder",
34
36
  },