@aws-sdk/client-ivschat 3.489.0 → 3.495.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.
Files changed (33) hide show
  1. package/dist-cjs/Ivschat.js +1 -45
  2. package/dist-cjs/IvschatClient.js +1 -43
  3. package/dist-cjs/commands/CreateChatTokenCommand.js +1 -29
  4. package/dist-cjs/commands/CreateLoggingConfigurationCommand.js +1 -28
  5. package/dist-cjs/commands/CreateRoomCommand.js +1 -28
  6. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteMessageCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteRoomCommand.js +1 -28
  9. package/dist-cjs/commands/DisconnectUserCommand.js +1 -29
  10. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +1 -28
  11. package/dist-cjs/commands/GetRoomCommand.js +1 -28
  12. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +1 -28
  13. package/dist-cjs/commands/ListRoomsCommand.js +1 -28
  14. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  15. package/dist-cjs/commands/SendEventCommand.js +1 -28
  16. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  17. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  18. package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +1 -28
  19. package/dist-cjs/commands/UpdateRoomCommand.js +1 -28
  20. package/dist-cjs/commands/index.js +1 -20
  21. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  22. package/dist-cjs/extensionConfiguration.js +1 -2
  23. package/dist-cjs/index.js +1985 -11
  24. package/dist-cjs/models/IvschatServiceException.js +1 -12
  25. package/dist-cjs/models/index.js +1 -4
  26. package/dist-cjs/models/models_0.js +1 -181
  27. package/dist-cjs/pagination/Interfaces.js +1 -2
  28. package/dist-cjs/pagination/ListLoggingConfigurationsPaginator.js +1 -7
  29. package/dist-cjs/pagination/ListRoomsPaginator.js +1 -7
  30. package/dist-cjs/pagination/index.js +1 -6
  31. package/dist-cjs/protocols/Aws_restJson1.js +1 -1250
  32. package/dist-cjs/runtimeExtensions.js +1 -22
  33. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IvschatServiceException = 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 IvschatServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, IvschatServiceException.prototype);
10
- }
11
- }
12
- exports.IvschatServiceException = IvschatServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,181 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DisconnectUserRequestFilterSensitiveLog = exports.CreateChatTokenResponseFilterSensitiveLog = exports.CreateChatTokenRequestFilterSensitiveLog = exports.UpdateLoggingConfigurationState = exports.InternalServerException = exports.LoggingConfigurationState = exports.ThrottlingException = exports.FallbackResult = exports.ServiceQuotaExceededException = exports.CreateLoggingConfigurationState = exports.DestinationConfiguration = exports.ConflictException = exports.ValidationException = exports.ValidationExceptionReason = exports.ResourceNotFoundException = exports.ResourceType = exports.PendingVerification = exports.ChatTokenCapability = exports.AccessDeniedException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const IvschatServiceException_1 = require("./IvschatServiceException");
6
- class AccessDeniedException extends IvschatServiceException_1.IvschatServiceException {
7
- constructor(opts) {
8
- super({
9
- name: "AccessDeniedException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- this.name = "AccessDeniedException";
14
- this.$fault = "client";
15
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
- }
17
- }
18
- exports.AccessDeniedException = AccessDeniedException;
19
- exports.ChatTokenCapability = {
20
- DELETE_MESSAGE: "DELETE_MESSAGE",
21
- DISCONNECT_USER: "DISCONNECT_USER",
22
- SEND_MESSAGE: "SEND_MESSAGE",
23
- };
24
- class PendingVerification extends IvschatServiceException_1.IvschatServiceException {
25
- constructor(opts) {
26
- super({
27
- name: "PendingVerification",
28
- $fault: "client",
29
- ...opts,
30
- });
31
- this.name = "PendingVerification";
32
- this.$fault = "client";
33
- Object.setPrototypeOf(this, PendingVerification.prototype);
34
- }
35
- }
36
- exports.PendingVerification = PendingVerification;
37
- exports.ResourceType = {
38
- ROOM: "ROOM",
39
- };
40
- class ResourceNotFoundException extends IvschatServiceException_1.IvschatServiceException {
41
- constructor(opts) {
42
- super({
43
- name: "ResourceNotFoundException",
44
- $fault: "client",
45
- ...opts,
46
- });
47
- this.name = "ResourceNotFoundException";
48
- this.$fault = "client";
49
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
50
- this.resourceId = opts.resourceId;
51
- this.resourceType = opts.resourceType;
52
- }
53
- }
54
- exports.ResourceNotFoundException = ResourceNotFoundException;
55
- exports.ValidationExceptionReason = {
56
- FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
57
- OTHER: "OTHER",
58
- UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
59
- };
60
- class ValidationException extends IvschatServiceException_1.IvschatServiceException {
61
- constructor(opts) {
62
- super({
63
- name: "ValidationException",
64
- $fault: "client",
65
- ...opts,
66
- });
67
- this.name = "ValidationException";
68
- this.$fault = "client";
69
- Object.setPrototypeOf(this, ValidationException.prototype);
70
- this.reason = opts.reason;
71
- this.fieldList = opts.fieldList;
72
- }
73
- }
74
- exports.ValidationException = ValidationException;
75
- class ConflictException extends IvschatServiceException_1.IvschatServiceException {
76
- constructor(opts) {
77
- super({
78
- name: "ConflictException",
79
- $fault: "client",
80
- ...opts,
81
- });
82
- this.name = "ConflictException";
83
- this.$fault = "client";
84
- Object.setPrototypeOf(this, ConflictException.prototype);
85
- this.resourceId = opts.resourceId;
86
- this.resourceType = opts.resourceType;
87
- }
88
- }
89
- exports.ConflictException = ConflictException;
90
- var DestinationConfiguration;
91
- (function (DestinationConfiguration) {
92
- DestinationConfiguration.visit = (value, visitor) => {
93
- if (value.s3 !== undefined)
94
- return visitor.s3(value.s3);
95
- if (value.cloudWatchLogs !== undefined)
96
- return visitor.cloudWatchLogs(value.cloudWatchLogs);
97
- if (value.firehose !== undefined)
98
- return visitor.firehose(value.firehose);
99
- return visitor._(value.$unknown[0], value.$unknown[1]);
100
- };
101
- })(DestinationConfiguration = exports.DestinationConfiguration || (exports.DestinationConfiguration = {}));
102
- exports.CreateLoggingConfigurationState = {
103
- ACTIVE: "ACTIVE",
104
- };
105
- class ServiceQuotaExceededException extends IvschatServiceException_1.IvschatServiceException {
106
- constructor(opts) {
107
- super({
108
- name: "ServiceQuotaExceededException",
109
- $fault: "client",
110
- ...opts,
111
- });
112
- this.name = "ServiceQuotaExceededException";
113
- this.$fault = "client";
114
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
115
- this.resourceId = opts.resourceId;
116
- this.resourceType = opts.resourceType;
117
- this.limit = opts.limit;
118
- }
119
- }
120
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
121
- exports.FallbackResult = {
122
- ALLOW: "ALLOW",
123
- DENY: "DENY",
124
- };
125
- class ThrottlingException extends IvschatServiceException_1.IvschatServiceException {
126
- constructor(opts) {
127
- super({
128
- name: "ThrottlingException",
129
- $fault: "client",
130
- ...opts,
131
- });
132
- this.name = "ThrottlingException";
133
- this.$fault = "client";
134
- Object.setPrototypeOf(this, ThrottlingException.prototype);
135
- this.resourceId = opts.resourceId;
136
- this.resourceType = opts.resourceType;
137
- this.limit = opts.limit;
138
- }
139
- }
140
- exports.ThrottlingException = ThrottlingException;
141
- exports.LoggingConfigurationState = {
142
- ACTIVE: "ACTIVE",
143
- CREATE_FAILED: "CREATE_FAILED",
144
- CREATING: "CREATING",
145
- DELETE_FAILED: "DELETE_FAILED",
146
- DELETING: "DELETING",
147
- UPDATE_FAILED: "UPDATE_FAILED",
148
- UPDATING: "UPDATING",
149
- };
150
- class InternalServerException extends IvschatServiceException_1.IvschatServiceException {
151
- constructor(opts) {
152
- super({
153
- name: "InternalServerException",
154
- $fault: "server",
155
- ...opts,
156
- });
157
- this.name = "InternalServerException";
158
- this.$fault = "server";
159
- Object.setPrototypeOf(this, InternalServerException.prototype);
160
- }
161
- }
162
- exports.InternalServerException = InternalServerException;
163
- exports.UpdateLoggingConfigurationState = {
164
- ACTIVE: "ACTIVE",
165
- };
166
- const CreateChatTokenRequestFilterSensitiveLog = (obj) => ({
167
- ...obj,
168
- ...(obj.userId && { userId: smithy_client_1.SENSITIVE_STRING }),
169
- ...(obj.attributes && { attributes: smithy_client_1.SENSITIVE_STRING }),
170
- });
171
- exports.CreateChatTokenRequestFilterSensitiveLog = CreateChatTokenRequestFilterSensitiveLog;
172
- const CreateChatTokenResponseFilterSensitiveLog = (obj) => ({
173
- ...obj,
174
- ...(obj.token && { token: smithy_client_1.SENSITIVE_STRING }),
175
- });
176
- exports.CreateChatTokenResponseFilterSensitiveLog = CreateChatTokenResponseFilterSensitiveLog;
177
- const DisconnectUserRequestFilterSensitiveLog = (obj) => ({
178
- ...obj,
179
- ...(obj.userId && { userId: smithy_client_1.SENSITIVE_STRING }),
180
- });
181
- exports.DisconnectUserRequestFilterSensitiveLog = DisconnectUserRequestFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListLoggingConfigurations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListLoggingConfigurationsCommand_1 = require("../commands/ListLoggingConfigurationsCommand");
6
- const IvschatClient_1 = require("../IvschatClient");
7
- exports.paginateListLoggingConfigurations = (0, core_1.createPaginator)(IvschatClient_1.IvschatClient, ListLoggingConfigurationsCommand_1.ListLoggingConfigurationsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListRooms = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListRoomsCommand_1 = require("../commands/ListRoomsCommand");
6
- const IvschatClient_1 = require("../IvschatClient");
7
- exports.paginateListRooms = (0, core_1.createPaginator)(IvschatClient_1.IvschatClient, ListRoomsCommand_1.ListRoomsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListLoggingConfigurationsPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListRoomsPaginator"), exports);
1
+ module.exports = require("../index.js");