@aws-sdk/client-managedblockchain 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.ManagedBlockchainServiceException = 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 ManagedBlockchainServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, ManagedBlockchainServiceException.prototype);
10
+ }
11
+ }
12
+ exports.ManagedBlockchainServiceException = ManagedBlockchainServiceException;
@@ -0,0 +1,154 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IllegalActionException = exports.ResourceNotReadyException = exports.ResourceNotFoundException = exports.TooManyTagsException = exports.ThrottlingException = exports.ResourceLimitExceededException = exports.ResourceAlreadyExistsException = exports.InvalidRequestException = exports.InternalServiceErrorException = exports.AccessDeniedException = void 0;
4
+ const ManagedBlockchainServiceException_1 = require("./ManagedBlockchainServiceException");
5
+ class AccessDeniedException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "AccessDeniedException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.AccessDeniedException = AccessDeniedException;
20
+ class InternalServiceErrorException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
21
+ name = "InternalServiceErrorException";
22
+ $fault = "server";
23
+ constructor(opts) {
24
+ super({
25
+ name: "InternalServiceErrorException",
26
+ $fault: "server",
27
+ ...opts,
28
+ });
29
+ Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
30
+ }
31
+ }
32
+ exports.InternalServiceErrorException = InternalServiceErrorException;
33
+ class InvalidRequestException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
34
+ name = "InvalidRequestException";
35
+ $fault = "client";
36
+ Message;
37
+ constructor(opts) {
38
+ super({
39
+ name: "InvalidRequestException",
40
+ $fault: "client",
41
+ ...opts,
42
+ });
43
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
44
+ this.Message = opts.Message;
45
+ }
46
+ }
47
+ exports.InvalidRequestException = InvalidRequestException;
48
+ class ResourceAlreadyExistsException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
49
+ name = "ResourceAlreadyExistsException";
50
+ $fault = "client";
51
+ Message;
52
+ constructor(opts) {
53
+ super({
54
+ name: "ResourceAlreadyExistsException",
55
+ $fault: "client",
56
+ ...opts,
57
+ });
58
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
59
+ this.Message = opts.Message;
60
+ }
61
+ }
62
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
63
+ class ResourceLimitExceededException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
64
+ name = "ResourceLimitExceededException";
65
+ $fault = "client";
66
+ Message;
67
+ constructor(opts) {
68
+ super({
69
+ name: "ResourceLimitExceededException",
70
+ $fault: "client",
71
+ ...opts,
72
+ });
73
+ Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
74
+ this.Message = opts.Message;
75
+ }
76
+ }
77
+ exports.ResourceLimitExceededException = ResourceLimitExceededException;
78
+ class ThrottlingException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
79
+ name = "ThrottlingException";
80
+ $fault = "client";
81
+ constructor(opts) {
82
+ super({
83
+ name: "ThrottlingException",
84
+ $fault: "client",
85
+ ...opts,
86
+ });
87
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
88
+ }
89
+ }
90
+ exports.ThrottlingException = ThrottlingException;
91
+ class TooManyTagsException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
92
+ name = "TooManyTagsException";
93
+ $fault = "client";
94
+ Message;
95
+ ResourceName;
96
+ constructor(opts) {
97
+ super({
98
+ name: "TooManyTagsException",
99
+ $fault: "client",
100
+ ...opts,
101
+ });
102
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
103
+ this.Message = opts.Message;
104
+ this.ResourceName = opts.ResourceName;
105
+ }
106
+ }
107
+ exports.TooManyTagsException = TooManyTagsException;
108
+ class ResourceNotFoundException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
109
+ name = "ResourceNotFoundException";
110
+ $fault = "client";
111
+ Message;
112
+ ResourceName;
113
+ constructor(opts) {
114
+ super({
115
+ name: "ResourceNotFoundException",
116
+ $fault: "client",
117
+ ...opts,
118
+ });
119
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
120
+ this.Message = opts.Message;
121
+ this.ResourceName = opts.ResourceName;
122
+ }
123
+ }
124
+ exports.ResourceNotFoundException = ResourceNotFoundException;
125
+ class ResourceNotReadyException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
126
+ name = "ResourceNotReadyException";
127
+ $fault = "client";
128
+ Message;
129
+ constructor(opts) {
130
+ super({
131
+ name: "ResourceNotReadyException",
132
+ $fault: "client",
133
+ ...opts,
134
+ });
135
+ Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
136
+ this.Message = opts.Message;
137
+ }
138
+ }
139
+ exports.ResourceNotReadyException = ResourceNotReadyException;
140
+ class IllegalActionException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
141
+ name = "IllegalActionException";
142
+ $fault = "client";
143
+ Message;
144
+ constructor(opts) {
145
+ super({
146
+ name: "IllegalActionException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, IllegalActionException.prototype);
151
+ this.Message = opts.Message;
152
+ }
153
+ }
154
+ exports.IllegalActionException = IllegalActionException;
@@ -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-09-24",
@@ -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.managedblockchain",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2018-09-24",
33
35
  serviceTarget: "TaigaWebService",
34
36
  },