@aws-sdk/client-chime 3.52.0 → 3.53.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.
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./ChimeClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ChimeServiceException } from "./models/ChimeServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var ChimeServiceException = (function (_super) {
4
+ __extends(ChimeServiceException, _super);
5
+ function ChimeServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, ChimeServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return ChimeServiceException;
11
+ }(__ServiceException));
12
+ export { ChimeServiceException };
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { ChimeServiceException as __BaseException } from "./ChimeServiceException";
3
4
  export var ErrorCode;
4
5
  (function (ErrorCode) {
5
6
  ErrorCode["AccessDenied"] = "AccessDenied";
@@ -18,6 +19,20 @@ export var ErrorCode;
18
19
  ErrorCode["Unprocessable"] = "Unprocessable";
19
20
  ErrorCode["VoiceConnectorGroupAssociationsExist"] = "VoiceConnectorGroupAssociationsExist";
20
21
  })(ErrorCode || (ErrorCode = {}));
22
+ var AccessDeniedException = (function (_super) {
23
+ __extends(AccessDeniedException, _super);
24
+ function AccessDeniedException(opts) {
25
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
26
+ _this.name = "AccessDeniedException";
27
+ _this.$fault = "client";
28
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
29
+ _this.Code = opts.Code;
30
+ _this.Message = opts.Message;
31
+ return _this;
32
+ }
33
+ return AccessDeniedException;
34
+ }(__BaseException));
35
+ export { AccessDeniedException };
21
36
  export var AccountStatus;
22
37
  (function (AccountStatus) {
23
38
  AccountStatus["Active"] = "Active";
@@ -153,6 +168,104 @@ export var AssociatePhoneNumbersWithVoiceConnectorResponse;
153
168
  (function (AssociatePhoneNumbersWithVoiceConnectorResponse) {
154
169
  AssociatePhoneNumbersWithVoiceConnectorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
155
170
  })(AssociatePhoneNumbersWithVoiceConnectorResponse || (AssociatePhoneNumbersWithVoiceConnectorResponse = {}));
171
+ var BadRequestException = (function (_super) {
172
+ __extends(BadRequestException, _super);
173
+ function BadRequestException(opts) {
174
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
175
+ _this.name = "BadRequestException";
176
+ _this.$fault = "client";
177
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
178
+ _this.Code = opts.Code;
179
+ _this.Message = opts.Message;
180
+ return _this;
181
+ }
182
+ return BadRequestException;
183
+ }(__BaseException));
184
+ export { BadRequestException };
185
+ var ForbiddenException = (function (_super) {
186
+ __extends(ForbiddenException, _super);
187
+ function ForbiddenException(opts) {
188
+ var _this = _super.call(this, __assign({ name: "ForbiddenException", $fault: "client" }, opts)) || this;
189
+ _this.name = "ForbiddenException";
190
+ _this.$fault = "client";
191
+ Object.setPrototypeOf(_this, ForbiddenException.prototype);
192
+ _this.Code = opts.Code;
193
+ _this.Message = opts.Message;
194
+ return _this;
195
+ }
196
+ return ForbiddenException;
197
+ }(__BaseException));
198
+ export { ForbiddenException };
199
+ var NotFoundException = (function (_super) {
200
+ __extends(NotFoundException, _super);
201
+ function NotFoundException(opts) {
202
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
203
+ _this.name = "NotFoundException";
204
+ _this.$fault = "client";
205
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
206
+ _this.Code = opts.Code;
207
+ _this.Message = opts.Message;
208
+ return _this;
209
+ }
210
+ return NotFoundException;
211
+ }(__BaseException));
212
+ export { NotFoundException };
213
+ var ServiceFailureException = (function (_super) {
214
+ __extends(ServiceFailureException, _super);
215
+ function ServiceFailureException(opts) {
216
+ var _this = _super.call(this, __assign({ name: "ServiceFailureException", $fault: "server" }, opts)) || this;
217
+ _this.name = "ServiceFailureException";
218
+ _this.$fault = "server";
219
+ Object.setPrototypeOf(_this, ServiceFailureException.prototype);
220
+ _this.Code = opts.Code;
221
+ _this.Message = opts.Message;
222
+ return _this;
223
+ }
224
+ return ServiceFailureException;
225
+ }(__BaseException));
226
+ export { ServiceFailureException };
227
+ var ServiceUnavailableException = (function (_super) {
228
+ __extends(ServiceUnavailableException, _super);
229
+ function ServiceUnavailableException(opts) {
230
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
231
+ _this.name = "ServiceUnavailableException";
232
+ _this.$fault = "server";
233
+ Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
234
+ _this.Code = opts.Code;
235
+ _this.Message = opts.Message;
236
+ return _this;
237
+ }
238
+ return ServiceUnavailableException;
239
+ }(__BaseException));
240
+ export { ServiceUnavailableException };
241
+ var ThrottledClientException = (function (_super) {
242
+ __extends(ThrottledClientException, _super);
243
+ function ThrottledClientException(opts) {
244
+ var _this = _super.call(this, __assign({ name: "ThrottledClientException", $fault: "client" }, opts)) || this;
245
+ _this.name = "ThrottledClientException";
246
+ _this.$fault = "client";
247
+ Object.setPrototypeOf(_this, ThrottledClientException.prototype);
248
+ _this.Code = opts.Code;
249
+ _this.Message = opts.Message;
250
+ return _this;
251
+ }
252
+ return ThrottledClientException;
253
+ }(__BaseException));
254
+ export { ThrottledClientException };
255
+ var UnauthorizedClientException = (function (_super) {
256
+ __extends(UnauthorizedClientException, _super);
257
+ function UnauthorizedClientException(opts) {
258
+ var _this = _super.call(this, __assign({ name: "UnauthorizedClientException", $fault: "client" }, opts)) || this;
259
+ _this.name = "UnauthorizedClientException";
260
+ _this.$fault = "client";
261
+ Object.setPrototypeOf(_this, UnauthorizedClientException.prototype);
262
+ _this.Code = opts.Code;
263
+ _this.Message = opts.Message;
264
+ return _this;
265
+ }
266
+ return UnauthorizedClientException;
267
+ }(__BaseException));
268
+ export { UnauthorizedClientException };
156
269
  export var AssociatePhoneNumbersWithVoiceConnectorGroupRequest;
157
270
  (function (AssociatePhoneNumbersWithVoiceConnectorGroupRequest) {
158
271
  AssociatePhoneNumbersWithVoiceConnectorGroupRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.E164PhoneNumbers && { E164PhoneNumbers: SENSITIVE_STRING }))); };
@@ -207,6 +320,20 @@ export var BatchCreateAttendeeResponse;
207
320
  (function (BatchCreateAttendeeResponse) {
208
321
  BatchCreateAttendeeResponse.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Attendees && { Attendees: obj.Attendees.map(function (item) { return Attendee.filterSensitiveLog(item); }) })), (obj.Errors && { Errors: obj.Errors.map(function (item) { return CreateAttendeeError.filterSensitiveLog(item); }) }))); };
209
322
  })(BatchCreateAttendeeResponse || (BatchCreateAttendeeResponse = {}));
323
+ var ResourceLimitExceededException = (function (_super) {
324
+ __extends(ResourceLimitExceededException, _super);
325
+ function ResourceLimitExceededException(opts) {
326
+ var _this = _super.call(this, __assign({ name: "ResourceLimitExceededException", $fault: "client" }, opts)) || this;
327
+ _this.name = "ResourceLimitExceededException";
328
+ _this.$fault = "client";
329
+ Object.setPrototypeOf(_this, ResourceLimitExceededException.prototype);
330
+ _this.Code = opts.Code;
331
+ _this.Message = opts.Message;
332
+ return _this;
333
+ }
334
+ return ResourceLimitExceededException;
335
+ }(__BaseException));
336
+ export { ResourceLimitExceededException };
210
337
  export var BatchCreateChannelMembershipRequest;
211
338
  (function (BatchCreateChannelMembershipRequest) {
212
339
  BatchCreateChannelMembershipRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -421,6 +548,20 @@ export var ChimeSdkMeetingConfiguration;
421
548
  SourceConfiguration: SourceConfiguration.filterSensitiveLog(obj.SourceConfiguration),
422
549
  }))); };
423
550
  })(ChimeSdkMeetingConfiguration || (ChimeSdkMeetingConfiguration = {}));
551
+ var ConflictException = (function (_super) {
552
+ __extends(ConflictException, _super);
553
+ function ConflictException(opts) {
554
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
555
+ _this.name = "ConflictException";
556
+ _this.$fault = "client";
557
+ Object.setPrototypeOf(_this, ConflictException.prototype);
558
+ _this.Code = opts.Code;
559
+ _this.Message = opts.Message;
560
+ return _this;
561
+ }
562
+ return ConflictException;
563
+ }(__BaseException));
564
+ export { ConflictException };
424
565
  export var ConversationRetentionSettings;
425
566
  (function (ConversationRetentionSettings) {
426
567
  ConversationRetentionSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -808,6 +949,20 @@ export var DeleteAccountResponse;
808
949
  (function (DeleteAccountResponse) {
809
950
  DeleteAccountResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
810
951
  })(DeleteAccountResponse || (DeleteAccountResponse = {}));
952
+ var UnprocessableEntityException = (function (_super) {
953
+ __extends(UnprocessableEntityException, _super);
954
+ function UnprocessableEntityException(opts) {
955
+ var _this = _super.call(this, __assign({ name: "UnprocessableEntityException", $fault: "client" }, opts)) || this;
956
+ _this.name = "UnprocessableEntityException";
957
+ _this.$fault = "client";
958
+ Object.setPrototypeOf(_this, UnprocessableEntityException.prototype);
959
+ _this.Code = opts.Code;
960
+ _this.Message = opts.Message;
961
+ return _this;
962
+ }
963
+ return UnprocessableEntityException;
964
+ }(__BaseException));
965
+ export { UnprocessableEntityException };
811
966
  export var DeleteAppInstanceRequest;
812
967
  (function (DeleteAppInstanceRequest) {
813
968
  DeleteAppInstanceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };