@aws-sdk/client-connectparticipant 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-connectparticipant
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-connectparticipant
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-connectparticipant
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConnectParticipantServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./ConnectParticipant"), exports);
5
6
  tslib_1.__exportStar(require("./ConnectParticipantClient"), 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 ConnectParticipantServiceException_1 = require("./models/ConnectParticipantServiceException");
11
+ Object.defineProperty(exports, "ConnectParticipantServiceException", { enumerable: true, get: function () { return ConnectParticipantServiceException_1.ConnectParticipantServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConnectParticipantServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class ConnectParticipantServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, ConnectParticipantServiceException.prototype);
9
+ }
10
+ }
11
+ exports.ConnectParticipantServiceException = ConnectParticipantServiceException;
@@ -1,6 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartAttachmentUploadResponse = exports.UploadMetadata = exports.StartAttachmentUploadRequest = exports.SendMessageResponse = exports.SendMessageRequest = exports.SendEventResponse = exports.SendEventRequest = exports.GetTranscriptResponse = exports.Item = exports.ChatItemType = exports.ParticipantRole = exports.AttachmentItem = exports.ArtifactStatus = exports.GetTranscriptRequest = exports.StartPosition = exports.SortKey = exports.ScanDirection = exports.GetAttachmentResponse = exports.GetAttachmentRequest = exports.DisconnectParticipantResponse = exports.DisconnectParticipantRequest = exports.CreateParticipantConnectionResponse = exports.Websocket = exports.ConnectionCredentials = exports.CreateParticipantConnectionRequest = exports.ConnectionType = exports.CompleteAttachmentUploadResponse = exports.CompleteAttachmentUploadRequest = void 0;
3
+ exports.StartAttachmentUploadResponse = exports.UploadMetadata = exports.StartAttachmentUploadRequest = exports.SendMessageResponse = exports.SendMessageRequest = exports.SendEventResponse = exports.SendEventRequest = exports.GetTranscriptResponse = exports.Item = exports.ChatItemType = exports.ParticipantRole = exports.AttachmentItem = exports.ArtifactStatus = exports.GetTranscriptRequest = exports.StartPosition = exports.SortKey = exports.ScanDirection = exports.GetAttachmentResponse = exports.GetAttachmentRequest = exports.DisconnectParticipantResponse = exports.DisconnectParticipantRequest = exports.CreateParticipantConnectionResponse = exports.Websocket = exports.ConnectionCredentials = exports.CreateParticipantConnectionRequest = exports.ConnectionType = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.CompleteAttachmentUploadResponse = exports.CompleteAttachmentUploadRequest = exports.AccessDeniedException = void 0;
4
+ const ConnectParticipantServiceException_1 = require("./ConnectParticipantServiceException");
5
+ class AccessDeniedException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ this.name = "AccessDeniedException";
13
+ this.$fault = "client";
14
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
+ this.Message = opts.Message;
16
+ }
17
+ }
18
+ exports.AccessDeniedException = AccessDeniedException;
4
19
  var CompleteAttachmentUploadRequest;
5
20
  (function (CompleteAttachmentUploadRequest) {
6
21
  CompleteAttachmentUploadRequest.filterSensitiveLog = (obj) => ({
@@ -13,6 +28,76 @@ var CompleteAttachmentUploadResponse;
13
28
  ...obj,
14
29
  });
15
30
  })(CompleteAttachmentUploadResponse = exports.CompleteAttachmentUploadResponse || (exports.CompleteAttachmentUploadResponse = {}));
31
+ class ConflictException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
32
+ constructor(opts) {
33
+ super({
34
+ name: "ConflictException",
35
+ $fault: "client",
36
+ ...opts,
37
+ });
38
+ this.name = "ConflictException";
39
+ this.$fault = "client";
40
+ Object.setPrototypeOf(this, ConflictException.prototype);
41
+ this.Message = opts.Message;
42
+ }
43
+ }
44
+ exports.ConflictException = ConflictException;
45
+ class InternalServerException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
46
+ constructor(opts) {
47
+ super({
48
+ name: "InternalServerException",
49
+ $fault: "server",
50
+ ...opts,
51
+ });
52
+ this.name = "InternalServerException";
53
+ this.$fault = "server";
54
+ Object.setPrototypeOf(this, InternalServerException.prototype);
55
+ this.Message = opts.Message;
56
+ }
57
+ }
58
+ exports.InternalServerException = InternalServerException;
59
+ class ServiceQuotaExceededException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
60
+ constructor(opts) {
61
+ super({
62
+ name: "ServiceQuotaExceededException",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ this.name = "ServiceQuotaExceededException";
67
+ this.$fault = "client";
68
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
69
+ this.Message = opts.Message;
70
+ }
71
+ }
72
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
73
+ class ThrottlingException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
74
+ constructor(opts) {
75
+ super({
76
+ name: "ThrottlingException",
77
+ $fault: "client",
78
+ ...opts,
79
+ });
80
+ this.name = "ThrottlingException";
81
+ this.$fault = "client";
82
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
83
+ this.Message = opts.Message;
84
+ }
85
+ }
86
+ exports.ThrottlingException = ThrottlingException;
87
+ class ValidationException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
88
+ constructor(opts) {
89
+ super({
90
+ name: "ValidationException",
91
+ $fault: "client",
92
+ ...opts,
93
+ });
94
+ this.name = "ValidationException";
95
+ this.$fault = "client";
96
+ Object.setPrototypeOf(this, ValidationException.prototype);
97
+ this.Message = opts.Message;
98
+ }
99
+ }
100
+ exports.ValidationException = ValidationException;
16
101
  var ConnectionType;
17
102
  (function (ConnectionType) {
18
103
  ConnectionType["CONNECTION_CREDENTIALS"] = "CONNECTION_CREDENTIALS";