@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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-mq
9
+
10
+
11
+
12
+
13
+
14
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-mq
17
+
18
+
19
+
20
+
21
+
22
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-mq
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MqServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./Mq"), exports);
5
6
  tslib_1.__exportStar(require("./MqClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var MqServiceException_1 = require("./models/MqServiceException");
11
+ Object.defineProperty(exports, "MqServiceException", { enumerable: true, get: function () { return MqServiceException_1.MqServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MqServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class MqServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, MqServiceException.prototype);
9
+ }
10
+ }
11
+ exports.MqServiceException = MqServiceException;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeConfigurationRevisionResponse = exports.DescribeConfigurationRevisionRequest = exports.DescribeConfigurationResponse = exports.DescribeConfigurationRequest = exports.DescribeBrokerInstanceOptionsResponse = exports.DescribeBrokerInstanceOptionsRequest = exports.DescribeBrokerEngineTypesResponse = exports.DescribeBrokerEngineTypesRequest = exports.DescribeBrokerResponse = exports.LogsSummary = exports.PendingLogs = exports.LdapServerMetadataOutput = exports.DescribeBrokerRequest = exports.DeleteUserResponse = exports.DeleteUserRequest = exports.DeleteTagsRequest = exports.DeleteBrokerResponse = exports.DeleteBrokerRequest = exports.CreateUserResponse = exports.CreateUserRequest = exports.CreateTagsRequest = exports.CreateConfigurationResponse = exports.CreateConfigurationRequest = exports.CreateBrokerResponse = exports.CreateBrokerRequest = exports.WeeklyStartTime = exports.DayOfWeek = exports.Logs = exports.LdapServerMetadataInput = exports.EncryptionOptions = exports.Configurations = exports.UserSummary = exports.ChangeType = exports.User = exports.SanitizationWarning = exports.SanitizationWarningReason = exports.ConfigurationId = exports.Configuration = exports.ConfigurationRevision = exports.AuthenticationStrategy = exports.BrokerSummary = exports.BrokerState = exports.BrokerInstanceOption = exports.DeploymentMode = exports.BrokerStorageType = exports.BrokerInstance = exports.BrokerEngineType = exports.EngineVersion = exports.EngineType = exports.AvailabilityZone = void 0;
4
- exports.UpdateUserResponse = exports.UpdateUserRequest = exports.UpdateConfigurationResponse = exports.UpdateConfigurationRequest = exports.UpdateBrokerResponse = exports.UpdateBrokerRequest = exports.RebootBrokerResponse = exports.RebootBrokerRequest = exports.ListUsersResponse = exports.ListUsersRequest = exports.ListTagsResponse = exports.ListTagsRequest = exports.ListConfigurationsResponse = exports.ListConfigurationsRequest = exports.ListConfigurationRevisionsResponse = exports.ListConfigurationRevisionsRequest = exports.ListBrokersResponse = exports.ListBrokersRequest = exports.DescribeUserResponse = exports.UserPendingChanges = exports.DescribeUserRequest = void 0;
3
+ exports.DescribeBrokerEngineTypesResponse = exports.DescribeBrokerEngineTypesRequest = exports.DescribeBrokerResponse = exports.LogsSummary = exports.PendingLogs = exports.LdapServerMetadataOutput = exports.DescribeBrokerRequest = exports.DeleteUserResponse = exports.DeleteUserRequest = exports.DeleteTagsRequest = exports.DeleteBrokerResponse = exports.DeleteBrokerRequest = exports.CreateUserResponse = exports.CreateUserRequest = exports.NotFoundException = exports.CreateTagsRequest = exports.CreateConfigurationResponse = exports.CreateConfigurationRequest = exports.UnauthorizedException = exports.InternalServerErrorException = exports.ForbiddenException = exports.CreateBrokerResponse = exports.CreateBrokerRequest = exports.WeeklyStartTime = exports.DayOfWeek = exports.Logs = exports.LdapServerMetadataInput = exports.EncryptionOptions = exports.ConflictException = exports.Configurations = exports.BadRequestException = exports.UserSummary = exports.ChangeType = exports.User = exports.SanitizationWarning = exports.SanitizationWarningReason = exports.ConfigurationId = exports.Configuration = exports.ConfigurationRevision = exports.AuthenticationStrategy = exports.BrokerSummary = exports.BrokerState = exports.BrokerInstanceOption = exports.DeploymentMode = exports.BrokerStorageType = exports.BrokerInstance = exports.BrokerEngineType = exports.EngineVersion = exports.EngineType = exports.AvailabilityZone = void 0;
4
+ exports.UpdateUserResponse = exports.UpdateUserRequest = exports.UpdateConfigurationResponse = exports.UpdateConfigurationRequest = exports.UpdateBrokerResponse = exports.UpdateBrokerRequest = exports.RebootBrokerResponse = exports.RebootBrokerRequest = exports.ListUsersResponse = exports.ListUsersRequest = exports.ListTagsResponse = exports.ListTagsRequest = exports.ListConfigurationsResponse = exports.ListConfigurationsRequest = exports.ListConfigurationRevisionsResponse = exports.ListConfigurationRevisionsRequest = exports.ListBrokersResponse = exports.ListBrokersRequest = exports.DescribeUserResponse = exports.UserPendingChanges = exports.DescribeUserRequest = exports.DescribeConfigurationRevisionResponse = exports.DescribeConfigurationRevisionRequest = exports.DescribeConfigurationResponse = exports.DescribeConfigurationRequest = exports.DescribeBrokerInstanceOptionsResponse = exports.DescribeBrokerInstanceOptionsRequest = void 0;
5
+ const MqServiceException_1 = require("./MqServiceException");
5
6
  var AvailabilityZone;
6
7
  (function (AvailabilityZone) {
7
8
  AvailabilityZone.filterSensitiveLog = (obj) => ({
@@ -115,12 +116,42 @@ var UserSummary;
115
116
  ...obj,
116
117
  });
117
118
  })(UserSummary = exports.UserSummary || (exports.UserSummary = {}));
119
+ class BadRequestException extends MqServiceException_1.MqServiceException {
120
+ constructor(opts) {
121
+ super({
122
+ name: "BadRequestException",
123
+ $fault: "client",
124
+ ...opts,
125
+ });
126
+ this.name = "BadRequestException";
127
+ this.$fault = "client";
128
+ Object.setPrototypeOf(this, BadRequestException.prototype);
129
+ this.ErrorAttribute = opts.ErrorAttribute;
130
+ this.Message = opts.Message;
131
+ }
132
+ }
133
+ exports.BadRequestException = BadRequestException;
118
134
  var Configurations;
119
135
  (function (Configurations) {
120
136
  Configurations.filterSensitiveLog = (obj) => ({
121
137
  ...obj,
122
138
  });
123
139
  })(Configurations = exports.Configurations || (exports.Configurations = {}));
140
+ class ConflictException extends MqServiceException_1.MqServiceException {
141
+ constructor(opts) {
142
+ super({
143
+ name: "ConflictException",
144
+ $fault: "client",
145
+ ...opts,
146
+ });
147
+ this.name = "ConflictException";
148
+ this.$fault = "client";
149
+ Object.setPrototypeOf(this, ConflictException.prototype);
150
+ this.ErrorAttribute = opts.ErrorAttribute;
151
+ this.Message = opts.Message;
152
+ }
153
+ }
154
+ exports.ConflictException = ConflictException;
124
155
  var EncryptionOptions;
125
156
  (function (EncryptionOptions) {
126
157
  EncryptionOptions.filterSensitiveLog = (obj) => ({
@@ -167,6 +198,51 @@ var CreateBrokerResponse;
167
198
  ...obj,
168
199
  });
169
200
  })(CreateBrokerResponse = exports.CreateBrokerResponse || (exports.CreateBrokerResponse = {}));
201
+ class ForbiddenException extends MqServiceException_1.MqServiceException {
202
+ constructor(opts) {
203
+ super({
204
+ name: "ForbiddenException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ this.name = "ForbiddenException";
209
+ this.$fault = "client";
210
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
211
+ this.ErrorAttribute = opts.ErrorAttribute;
212
+ this.Message = opts.Message;
213
+ }
214
+ }
215
+ exports.ForbiddenException = ForbiddenException;
216
+ class InternalServerErrorException extends MqServiceException_1.MqServiceException {
217
+ constructor(opts) {
218
+ super({
219
+ name: "InternalServerErrorException",
220
+ $fault: "server",
221
+ ...opts,
222
+ });
223
+ this.name = "InternalServerErrorException";
224
+ this.$fault = "server";
225
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
226
+ this.ErrorAttribute = opts.ErrorAttribute;
227
+ this.Message = opts.Message;
228
+ }
229
+ }
230
+ exports.InternalServerErrorException = InternalServerErrorException;
231
+ class UnauthorizedException extends MqServiceException_1.MqServiceException {
232
+ constructor(opts) {
233
+ super({
234
+ name: "UnauthorizedException",
235
+ $fault: "client",
236
+ ...opts,
237
+ });
238
+ this.name = "UnauthorizedException";
239
+ this.$fault = "client";
240
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
241
+ this.ErrorAttribute = opts.ErrorAttribute;
242
+ this.Message = opts.Message;
243
+ }
244
+ }
245
+ exports.UnauthorizedException = UnauthorizedException;
170
246
  var CreateConfigurationRequest;
171
247
  (function (CreateConfigurationRequest) {
172
248
  CreateConfigurationRequest.filterSensitiveLog = (obj) => ({
@@ -185,6 +261,21 @@ var CreateTagsRequest;
185
261
  ...obj,
186
262
  });
187
263
  })(CreateTagsRequest = exports.CreateTagsRequest || (exports.CreateTagsRequest = {}));
264
+ class NotFoundException extends MqServiceException_1.MqServiceException {
265
+ constructor(opts) {
266
+ super({
267
+ name: "NotFoundException",
268
+ $fault: "client",
269
+ ...opts,
270
+ });
271
+ this.name = "NotFoundException";
272
+ this.$fault = "client";
273
+ Object.setPrototypeOf(this, NotFoundException.prototype);
274
+ this.ErrorAttribute = opts.ErrorAttribute;
275
+ this.Message = opts.Message;
276
+ }
277
+ }
278
+ exports.NotFoundException = NotFoundException;
188
279
  var CreateUserRequest;
189
280
  (function (CreateUserRequest) {
190
281
  CreateUserRequest.filterSensitiveLog = (obj) => ({