@aws-sdk/client-mq 3.52.0 → 3.54.1

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-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./MqClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MqServiceException } from "./models/MqServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var MqServiceException = (function (_super) {
4
+ __extends(MqServiceException, _super);
5
+ function MqServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, MqServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return MqServiceException;
11
+ }(__ServiceException));
12
+ export { MqServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { MqServiceException as __BaseException } from "./MqServiceException";
2
3
  export var AvailabilityZone;
3
4
  (function (AvailabilityZone) {
4
5
  AvailabilityZone.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -88,10 +89,38 @@ export var UserSummary;
88
89
  (function (UserSummary) {
89
90
  UserSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
90
91
  })(UserSummary || (UserSummary = {}));
92
+ var BadRequestException = (function (_super) {
93
+ __extends(BadRequestException, _super);
94
+ function BadRequestException(opts) {
95
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
96
+ _this.name = "BadRequestException";
97
+ _this.$fault = "client";
98
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
99
+ _this.ErrorAttribute = opts.ErrorAttribute;
100
+ _this.Message = opts.Message;
101
+ return _this;
102
+ }
103
+ return BadRequestException;
104
+ }(__BaseException));
105
+ export { BadRequestException };
91
106
  export var Configurations;
92
107
  (function (Configurations) {
93
108
  Configurations.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
94
109
  })(Configurations || (Configurations = {}));
110
+ var ConflictException = (function (_super) {
111
+ __extends(ConflictException, _super);
112
+ function ConflictException(opts) {
113
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
114
+ _this.name = "ConflictException";
115
+ _this.$fault = "client";
116
+ Object.setPrototypeOf(_this, ConflictException.prototype);
117
+ _this.ErrorAttribute = opts.ErrorAttribute;
118
+ _this.Message = opts.Message;
119
+ return _this;
120
+ }
121
+ return ConflictException;
122
+ }(__BaseException));
123
+ export { ConflictException };
95
124
  export var EncryptionOptions;
96
125
  (function (EncryptionOptions) {
97
126
  EncryptionOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -126,6 +155,48 @@ export var CreateBrokerResponse;
126
155
  (function (CreateBrokerResponse) {
127
156
  CreateBrokerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
128
157
  })(CreateBrokerResponse || (CreateBrokerResponse = {}));
158
+ var ForbiddenException = (function (_super) {
159
+ __extends(ForbiddenException, _super);
160
+ function ForbiddenException(opts) {
161
+ var _this = _super.call(this, __assign({ name: "ForbiddenException", $fault: "client" }, opts)) || this;
162
+ _this.name = "ForbiddenException";
163
+ _this.$fault = "client";
164
+ Object.setPrototypeOf(_this, ForbiddenException.prototype);
165
+ _this.ErrorAttribute = opts.ErrorAttribute;
166
+ _this.Message = opts.Message;
167
+ return _this;
168
+ }
169
+ return ForbiddenException;
170
+ }(__BaseException));
171
+ export { ForbiddenException };
172
+ var InternalServerErrorException = (function (_super) {
173
+ __extends(InternalServerErrorException, _super);
174
+ function InternalServerErrorException(opts) {
175
+ var _this = _super.call(this, __assign({ name: "InternalServerErrorException", $fault: "server" }, opts)) || this;
176
+ _this.name = "InternalServerErrorException";
177
+ _this.$fault = "server";
178
+ Object.setPrototypeOf(_this, InternalServerErrorException.prototype);
179
+ _this.ErrorAttribute = opts.ErrorAttribute;
180
+ _this.Message = opts.Message;
181
+ return _this;
182
+ }
183
+ return InternalServerErrorException;
184
+ }(__BaseException));
185
+ export { InternalServerErrorException };
186
+ var UnauthorizedException = (function (_super) {
187
+ __extends(UnauthorizedException, _super);
188
+ function UnauthorizedException(opts) {
189
+ var _this = _super.call(this, __assign({ name: "UnauthorizedException", $fault: "client" }, opts)) || this;
190
+ _this.name = "UnauthorizedException";
191
+ _this.$fault = "client";
192
+ Object.setPrototypeOf(_this, UnauthorizedException.prototype);
193
+ _this.ErrorAttribute = opts.ErrorAttribute;
194
+ _this.Message = opts.Message;
195
+ return _this;
196
+ }
197
+ return UnauthorizedException;
198
+ }(__BaseException));
199
+ export { UnauthorizedException };
129
200
  export var CreateConfigurationRequest;
130
201
  (function (CreateConfigurationRequest) {
131
202
  CreateConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -138,6 +209,20 @@ export var CreateTagsRequest;
138
209
  (function (CreateTagsRequest) {
139
210
  CreateTagsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
140
211
  })(CreateTagsRequest || (CreateTagsRequest = {}));
212
+ var NotFoundException = (function (_super) {
213
+ __extends(NotFoundException, _super);
214
+ function NotFoundException(opts) {
215
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
216
+ _this.name = "NotFoundException";
217
+ _this.$fault = "client";
218
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
219
+ _this.ErrorAttribute = opts.ErrorAttribute;
220
+ _this.Message = opts.Message;
221
+ return _this;
222
+ }
223
+ return NotFoundException;
224
+ }(__BaseException));
225
+ export { NotFoundException };
141
226
  export var CreateUserRequest;
142
227
  (function (CreateUserRequest) {
143
228
  CreateUserRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };