@aws-sdk/client-ivschat 3.934.0 → 3.936.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-cjs/index.js CHANGED
@@ -129,11 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends IvschatService
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
131
  };
132
- const ChatTokenCapability = {
133
- DELETE_MESSAGE: "DELETE_MESSAGE",
134
- DISCONNECT_USER: "DISCONNECT_USER",
135
- SEND_MESSAGE: "SEND_MESSAGE",
136
- };
137
132
  let PendingVerification$1 = class PendingVerification extends IvschatServiceException$1 {
138
133
  name = "PendingVerification";
139
134
  $fault = "client";
@@ -146,9 +141,6 @@ let PendingVerification$1 = class PendingVerification extends IvschatServiceExce
146
141
  Object.setPrototypeOf(this, PendingVerification.prototype);
147
142
  }
148
143
  };
149
- const ResourceType = {
150
- ROOM: "ROOM",
151
- };
152
144
  let ResourceNotFoundException$1 = class ResourceNotFoundException extends IvschatServiceException$1 {
153
145
  name = "ResourceNotFoundException";
154
146
  $fault = "client";
@@ -165,11 +157,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Ivscha
165
157
  this.resourceType = opts.resourceType;
166
158
  }
167
159
  };
168
- const ValidationExceptionReason = {
169
- FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
170
- OTHER: "OTHER",
171
- UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
172
- };
173
160
  let ValidationException$1 = class ValidationException extends IvschatServiceException$1 {
174
161
  name = "ValidationException";
175
162
  $fault = "client";
@@ -202,9 +189,6 @@ let ConflictException$1 = class ConflictException extends IvschatServiceExceptio
202
189
  this.resourceType = opts.resourceType;
203
190
  }
204
191
  };
205
- const CreateLoggingConfigurationState = {
206
- ACTIVE: "ACTIVE",
207
- };
208
192
  let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends IvschatServiceException$1 {
209
193
  name = "ServiceQuotaExceededException";
210
194
  $fault = "client";
@@ -223,10 +207,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
223
207
  this.limit = opts.limit;
224
208
  }
225
209
  };
226
- const FallbackResult = {
227
- ALLOW: "ALLOW",
228
- DENY: "DENY",
229
- };
230
210
  let ThrottlingException$1 = class ThrottlingException extends IvschatServiceException$1 {
231
211
  name = "ThrottlingException";
232
212
  $fault = "client";
@@ -245,15 +225,6 @@ let ThrottlingException$1 = class ThrottlingException extends IvschatServiceExce
245
225
  this.limit = opts.limit;
246
226
  }
247
227
  };
248
- const LoggingConfigurationState = {
249
- ACTIVE: "ACTIVE",
250
- CREATE_FAILED: "CREATE_FAILED",
251
- CREATING: "CREATING",
252
- DELETE_FAILED: "DELETE_FAILED",
253
- DELETING: "DELETING",
254
- UPDATE_FAILED: "UPDATE_FAILED",
255
- UPDATING: "UPDATING",
256
- };
257
228
  let InternalServerException$1 = class InternalServerException extends IvschatServiceException$1 {
258
229
  name = "InternalServerException";
259
230
  $fault = "server";
@@ -266,9 +237,6 @@ let InternalServerException$1 = class InternalServerException extends IvschatSer
266
237
  Object.setPrototypeOf(this, InternalServerException.prototype);
267
238
  }
268
239
  };
269
- const UpdateLoggingConfigurationState = {
270
- ACTIVE: "ACTIVE",
271
- };
272
240
 
273
241
  const _ADE = "AccessDeniedException";
274
242
  const _CCT = "CreateChatToken";
@@ -1080,17 +1048,14 @@ Object.defineProperty(exports, "__Client", {
1080
1048
  get: function () { return smithyClient.Client; }
1081
1049
  });
1082
1050
  exports.AccessDeniedException = AccessDeniedException$1;
1083
- exports.ChatTokenCapability = ChatTokenCapability;
1084
1051
  exports.ConflictException = ConflictException$1;
1085
1052
  exports.CreateChatTokenCommand = CreateChatTokenCommand;
1086
1053
  exports.CreateLoggingConfigurationCommand = CreateLoggingConfigurationCommand;
1087
- exports.CreateLoggingConfigurationState = CreateLoggingConfigurationState;
1088
1054
  exports.CreateRoomCommand = CreateRoomCommand;
1089
1055
  exports.DeleteLoggingConfigurationCommand = DeleteLoggingConfigurationCommand;
1090
1056
  exports.DeleteMessageCommand = DeleteMessageCommand;
1091
1057
  exports.DeleteRoomCommand = DeleteRoomCommand;
1092
1058
  exports.DisconnectUserCommand = DisconnectUserCommand;
1093
- exports.FallbackResult = FallbackResult;
1094
1059
  exports.GetLoggingConfigurationCommand = GetLoggingConfigurationCommand;
1095
1060
  exports.GetRoomCommand = GetRoomCommand;
1096
1061
  exports.InternalServerException = InternalServerException$1;
@@ -1100,19 +1065,15 @@ exports.IvschatServiceException = IvschatServiceException$1;
1100
1065
  exports.ListLoggingConfigurationsCommand = ListLoggingConfigurationsCommand;
1101
1066
  exports.ListRoomsCommand = ListRoomsCommand;
1102
1067
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1103
- exports.LoggingConfigurationState = LoggingConfigurationState;
1104
1068
  exports.PendingVerification = PendingVerification$1;
1105
1069
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
1106
- exports.ResourceType = ResourceType;
1107
1070
  exports.SendEventCommand = SendEventCommand;
1108
1071
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1109
1072
  exports.TagResourceCommand = TagResourceCommand;
1110
1073
  exports.ThrottlingException = ThrottlingException$1;
1111
1074
  exports.UntagResourceCommand = UntagResourceCommand;
1112
1075
  exports.UpdateLoggingConfigurationCommand = UpdateLoggingConfigurationCommand;
1113
- exports.UpdateLoggingConfigurationState = UpdateLoggingConfigurationState;
1114
1076
  exports.UpdateRoomCommand = UpdateRoomCommand;
1115
1077
  exports.ValidationException = ValidationException$1;
1116
- exports.ValidationExceptionReason = ValidationExceptionReason;
1117
1078
  exports.paginateListLoggingConfigurations = paginateListLoggingConfigurations;
1118
1079
  exports.paginateListRooms = paginateListRooms;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./IvschatClient";
2
2
  export * from "./Ivschat";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { IvschatServiceException } from "./models/IvschatServiceException";
@@ -0,0 +1,121 @@
1
+ import { IvschatServiceException as __BaseException } from "./IvschatServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class PendingVerification extends __BaseException {
15
+ name = "PendingVerification";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "PendingVerification",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, PendingVerification.prototype);
24
+ }
25
+ }
26
+ export class ResourceNotFoundException extends __BaseException {
27
+ name = "ResourceNotFoundException";
28
+ $fault = "client";
29
+ resourceId;
30
+ resourceType;
31
+ constructor(opts) {
32
+ super({
33
+ name: "ResourceNotFoundException",
34
+ $fault: "client",
35
+ ...opts,
36
+ });
37
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
38
+ this.resourceId = opts.resourceId;
39
+ this.resourceType = opts.resourceType;
40
+ }
41
+ }
42
+ export class ValidationException extends __BaseException {
43
+ name = "ValidationException";
44
+ $fault = "client";
45
+ reason;
46
+ fieldList;
47
+ constructor(opts) {
48
+ super({
49
+ name: "ValidationException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, ValidationException.prototype);
54
+ this.reason = opts.reason;
55
+ this.fieldList = opts.fieldList;
56
+ }
57
+ }
58
+ export class ConflictException extends __BaseException {
59
+ name = "ConflictException";
60
+ $fault = "client";
61
+ resourceId;
62
+ resourceType;
63
+ constructor(opts) {
64
+ super({
65
+ name: "ConflictException",
66
+ $fault: "client",
67
+ ...opts,
68
+ });
69
+ Object.setPrototypeOf(this, ConflictException.prototype);
70
+ this.resourceId = opts.resourceId;
71
+ this.resourceType = opts.resourceType;
72
+ }
73
+ }
74
+ export class ServiceQuotaExceededException extends __BaseException {
75
+ name = "ServiceQuotaExceededException";
76
+ $fault = "client";
77
+ resourceId;
78
+ resourceType;
79
+ limit;
80
+ constructor(opts) {
81
+ super({
82
+ name: "ServiceQuotaExceededException",
83
+ $fault: "client",
84
+ ...opts,
85
+ });
86
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
87
+ this.resourceId = opts.resourceId;
88
+ this.resourceType = opts.resourceType;
89
+ this.limit = opts.limit;
90
+ }
91
+ }
92
+ export class ThrottlingException extends __BaseException {
93
+ name = "ThrottlingException";
94
+ $fault = "client";
95
+ resourceId;
96
+ resourceType;
97
+ limit;
98
+ constructor(opts) {
99
+ super({
100
+ name: "ThrottlingException",
101
+ $fault: "client",
102
+ ...opts,
103
+ });
104
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
105
+ this.resourceId = opts.resourceId;
106
+ this.resourceType = opts.resourceType;
107
+ this.limit = opts.limit;
108
+ }
109
+ }
110
+ export class InternalServerException extends __BaseException {
111
+ name = "InternalServerException";
112
+ $fault = "server";
113
+ constructor(opts) {
114
+ super({
115
+ name: "InternalServerException",
116
+ $fault: "server",
117
+ ...opts,
118
+ });
119
+ Object.setPrototypeOf(this, InternalServerException.prototype);
120
+ }
121
+ }
@@ -1,132 +1,23 @@
1
- import { IvschatServiceException as __BaseException } from "./IvschatServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "AccessDeniedException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
- }
13
- }
14
1
  export const ChatTokenCapability = {
15
2
  DELETE_MESSAGE: "DELETE_MESSAGE",
16
3
  DISCONNECT_USER: "DISCONNECT_USER",
17
4
  SEND_MESSAGE: "SEND_MESSAGE",
18
5
  };
19
- export class PendingVerification extends __BaseException {
20
- name = "PendingVerification";
21
- $fault = "client";
22
- constructor(opts) {
23
- super({
24
- name: "PendingVerification",
25
- $fault: "client",
26
- ...opts,
27
- });
28
- Object.setPrototypeOf(this, PendingVerification.prototype);
29
- }
30
- }
31
6
  export const ResourceType = {
32
7
  ROOM: "ROOM",
33
8
  };
34
- export class ResourceNotFoundException extends __BaseException {
35
- name = "ResourceNotFoundException";
36
- $fault = "client";
37
- resourceId;
38
- resourceType;
39
- constructor(opts) {
40
- super({
41
- name: "ResourceNotFoundException",
42
- $fault: "client",
43
- ...opts,
44
- });
45
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
46
- this.resourceId = opts.resourceId;
47
- this.resourceType = opts.resourceType;
48
- }
49
- }
50
9
  export const ValidationExceptionReason = {
51
10
  FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
52
11
  OTHER: "OTHER",
53
12
  UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
54
13
  };
55
- export class ValidationException extends __BaseException {
56
- name = "ValidationException";
57
- $fault = "client";
58
- reason;
59
- fieldList;
60
- constructor(opts) {
61
- super({
62
- name: "ValidationException",
63
- $fault: "client",
64
- ...opts,
65
- });
66
- Object.setPrototypeOf(this, ValidationException.prototype);
67
- this.reason = opts.reason;
68
- this.fieldList = opts.fieldList;
69
- }
70
- }
71
- export class ConflictException extends __BaseException {
72
- name = "ConflictException";
73
- $fault = "client";
74
- resourceId;
75
- resourceType;
76
- constructor(opts) {
77
- super({
78
- name: "ConflictException",
79
- $fault: "client",
80
- ...opts,
81
- });
82
- Object.setPrototypeOf(this, ConflictException.prototype);
83
- this.resourceId = opts.resourceId;
84
- this.resourceType = opts.resourceType;
85
- }
86
- }
87
14
  export const CreateLoggingConfigurationState = {
88
15
  ACTIVE: "ACTIVE",
89
16
  };
90
- export class ServiceQuotaExceededException extends __BaseException {
91
- name = "ServiceQuotaExceededException";
92
- $fault = "client";
93
- resourceId;
94
- resourceType;
95
- limit;
96
- constructor(opts) {
97
- super({
98
- name: "ServiceQuotaExceededException",
99
- $fault: "client",
100
- ...opts,
101
- });
102
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
103
- this.resourceId = opts.resourceId;
104
- this.resourceType = opts.resourceType;
105
- this.limit = opts.limit;
106
- }
107
- }
108
17
  export const FallbackResult = {
109
18
  ALLOW: "ALLOW",
110
19
  DENY: "DENY",
111
20
  };
112
- export class ThrottlingException extends __BaseException {
113
- name = "ThrottlingException";
114
- $fault = "client";
115
- resourceId;
116
- resourceType;
117
- limit;
118
- constructor(opts) {
119
- super({
120
- name: "ThrottlingException",
121
- $fault: "client",
122
- ...opts,
123
- });
124
- Object.setPrototypeOf(this, ThrottlingException.prototype);
125
- this.resourceId = opts.resourceId;
126
- this.resourceType = opts.resourceType;
127
- this.limit = opts.limit;
128
- }
129
- }
130
21
  export const LoggingConfigurationState = {
131
22
  ACTIVE: "ACTIVE",
132
23
  CREATE_FAILED: "CREATE_FAILED",
@@ -136,18 +27,6 @@ export const LoggingConfigurationState = {
136
27
  UPDATE_FAILED: "UPDATE_FAILED",
137
28
  UPDATING: "UPDATING",
138
29
  };
139
- export class InternalServerException extends __BaseException {
140
- name = "InternalServerException";
141
- $fault = "server";
142
- constructor(opts) {
143
- super({
144
- name: "InternalServerException",
145
- $fault: "server",
146
- ...opts,
147
- });
148
- Object.setPrototypeOf(this, InternalServerException.prototype);
149
- }
150
- }
151
30
  export const UpdateLoggingConfigurationState = {
152
31
  ACTIVE: "ACTIVE",
153
32
  };
@@ -122,7 +122,7 @@ const _uI = "userId";
122
122
  const _uT = "updateTime";
123
123
  const n0 = "com.amazonaws.ivschat";
124
124
  import { TypeRegistry } from "@smithy/core/schema";
125
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, PendingVerification as __PendingVerification, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
125
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, PendingVerification as __PendingVerification, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
126
126
  import { IvschatServiceException as __IvschatServiceException } from "../models/IvschatServiceException";
127
127
  export var ChatToken = [0, n0, _CT, 8, 0];
128
128
  export var UserID = [0, n0, _UID, 8, 0];
@@ -115,5 +115,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
115
115
  export type { IvschatExtensionConfiguration } from "./extensionConfiguration";
116
116
  export * from "./commands";
117
117
  export * from "./pagination";
118
- export * from "./models";
118
+ export * from "./models/errors";
119
+ export type * from "./models/models_0";
119
120
  export { IvschatServiceException } from "./models/IvschatServiceException";
@@ -0,0 +1,159 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { IvschatServiceException as __BaseException } from "./IvschatServiceException";
3
+ import { ResourceType, ValidationExceptionField, ValidationExceptionReason } from "./models_0";
4
+ /**
5
+ * <p/>
6
+ * @public
7
+ */
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p/>
18
+ * @public
19
+ */
20
+ export declare class PendingVerification extends __BaseException {
21
+ readonly name: "PendingVerification";
22
+ readonly $fault: "client";
23
+ /**
24
+ * @internal
25
+ */
26
+ constructor(opts: __ExceptionOptionType<PendingVerification, __BaseException>);
27
+ }
28
+ /**
29
+ * <p/>
30
+ * @public
31
+ */
32
+ export declare class ResourceNotFoundException extends __BaseException {
33
+ readonly name: "ResourceNotFoundException";
34
+ readonly $fault: "client";
35
+ /**
36
+ * <p/>
37
+ * @public
38
+ */
39
+ resourceId: string | undefined;
40
+ /**
41
+ * <p/>
42
+ * @public
43
+ */
44
+ resourceType: ResourceType | undefined;
45
+ /**
46
+ * @internal
47
+ */
48
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
49
+ }
50
+ /**
51
+ * <p/>
52
+ * @public
53
+ */
54
+ export declare class ValidationException extends __BaseException {
55
+ readonly name: "ValidationException";
56
+ readonly $fault: "client";
57
+ /**
58
+ * <p/>
59
+ * @public
60
+ */
61
+ reason: ValidationExceptionReason | undefined;
62
+ /**
63
+ * <p/>
64
+ * @public
65
+ */
66
+ fieldList?: ValidationExceptionField[] | undefined;
67
+ /**
68
+ * @internal
69
+ */
70
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
71
+ }
72
+ /**
73
+ * <p/>
74
+ * @public
75
+ */
76
+ export declare class ConflictException extends __BaseException {
77
+ readonly name: "ConflictException";
78
+ readonly $fault: "client";
79
+ /**
80
+ * <p/>
81
+ * @public
82
+ */
83
+ resourceId: string | undefined;
84
+ /**
85
+ * <p/>
86
+ * @public
87
+ */
88
+ resourceType: ResourceType | undefined;
89
+ /**
90
+ * @internal
91
+ */
92
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
93
+ }
94
+ /**
95
+ * <p/>
96
+ * @public
97
+ */
98
+ export declare class ServiceQuotaExceededException extends __BaseException {
99
+ readonly name: "ServiceQuotaExceededException";
100
+ readonly $fault: "client";
101
+ /**
102
+ * <p/>
103
+ * @public
104
+ */
105
+ resourceId: string | undefined;
106
+ /**
107
+ * <p/>
108
+ * @public
109
+ */
110
+ resourceType: ResourceType | undefined;
111
+ /**
112
+ * <p/>
113
+ * @public
114
+ */
115
+ limit: number | undefined;
116
+ /**
117
+ * @internal
118
+ */
119
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
120
+ }
121
+ /**
122
+ * <p/>
123
+ * @public
124
+ */
125
+ export declare class ThrottlingException extends __BaseException {
126
+ readonly name: "ThrottlingException";
127
+ readonly $fault: "client";
128
+ /**
129
+ * <p/>
130
+ * @public
131
+ */
132
+ resourceId: string | undefined;
133
+ /**
134
+ * <p/>
135
+ * @public
136
+ */
137
+ resourceType: ResourceType | undefined;
138
+ /**
139
+ * <p/>
140
+ * @public
141
+ */
142
+ limit: number | undefined;
143
+ /**
144
+ * @internal
145
+ */
146
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
147
+ }
148
+ /**
149
+ * <p/>
150
+ * @public
151
+ */
152
+ export declare class InternalServerException extends __BaseException {
153
+ readonly name: "InternalServerException";
154
+ readonly $fault: "server";
155
+ /**
156
+ * @internal
157
+ */
158
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
159
+ }
@@ -1,17 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { IvschatServiceException as __BaseException } from "./IvschatServiceException";
3
- /**
4
- * <p/>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
- }
15
1
  /**
16
2
  * @public
17
3
  * @enum
@@ -84,18 +70,6 @@ export interface CreateChatTokenResponse {
84
70
  */
85
71
  sessionExpirationTime?: Date | undefined;
86
72
  }
87
- /**
88
- * <p/>
89
- * @public
90
- */
91
- export declare class PendingVerification extends __BaseException {
92
- readonly name: "PendingVerification";
93
- readonly $fault: "client";
94
- /**
95
- * @internal
96
- */
97
- constructor(opts: __ExceptionOptionType<PendingVerification, __BaseException>);
98
- }
99
73
  /**
100
74
  * @public
101
75
  * @enum
@@ -107,28 +81,6 @@ export declare const ResourceType: {
107
81
  * @public
108
82
  */
109
83
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
110
- /**
111
- * <p/>
112
- * @public
113
- */
114
- export declare class ResourceNotFoundException extends __BaseException {
115
- readonly name: "ResourceNotFoundException";
116
- readonly $fault: "client";
117
- /**
118
- * <p/>
119
- * @public
120
- */
121
- resourceId: string | undefined;
122
- /**
123
- * <p/>
124
- * @public
125
- */
126
- resourceType: ResourceType | undefined;
127
- /**
128
- * @internal
129
- */
130
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
131
- }
132
84
  /**
133
85
  * <p>This object is used in the ValidationException error.</p>
134
86
  * @public
@@ -158,50 +110,6 @@ export declare const ValidationExceptionReason: {
158
110
  * @public
159
111
  */
160
112
  export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
161
- /**
162
- * <p/>
163
- * @public
164
- */
165
- export declare class ValidationException extends __BaseException {
166
- readonly name: "ValidationException";
167
- readonly $fault: "client";
168
- /**
169
- * <p/>
170
- * @public
171
- */
172
- reason: ValidationExceptionReason | undefined;
173
- /**
174
- * <p/>
175
- * @public
176
- */
177
- fieldList?: ValidationExceptionField[] | undefined;
178
- /**
179
- * @internal
180
- */
181
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
182
- }
183
- /**
184
- * <p/>
185
- * @public
186
- */
187
- export declare class ConflictException extends __BaseException {
188
- readonly name: "ConflictException";
189
- readonly $fault: "client";
190
- /**
191
- * <p/>
192
- * @public
193
- */
194
- resourceId: string | undefined;
195
- /**
196
- * <p/>
197
- * @public
198
- */
199
- resourceType: ResourceType | undefined;
200
- /**
201
- * @internal
202
- */
203
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
204
- }
205
113
  /**
206
114
  * <p>Specifies a CloudWatch Logs location where chat logs will be stored.</p>
207
115
  * @public
@@ -388,33 +296,6 @@ export interface CreateLoggingConfigurationResponse {
388
296
  */
389
297
  tags?: Record<string, string> | undefined;
390
298
  }
391
- /**
392
- * <p/>
393
- * @public
394
- */
395
- export declare class ServiceQuotaExceededException extends __BaseException {
396
- readonly name: "ServiceQuotaExceededException";
397
- readonly $fault: "client";
398
- /**
399
- * <p/>
400
- * @public
401
- */
402
- resourceId: string | undefined;
403
- /**
404
- * <p/>
405
- * @public
406
- */
407
- resourceType: ResourceType | undefined;
408
- /**
409
- * <p/>
410
- * @public
411
- */
412
- limit: number | undefined;
413
- /**
414
- * @internal
415
- */
416
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
417
- }
418
299
  /**
419
300
  * @public
420
301
  * @enum
@@ -593,33 +474,6 @@ export interface DeleteMessageResponse {
593
474
  */
594
475
  id?: string | undefined;
595
476
  }
596
- /**
597
- * <p/>
598
- * @public
599
- */
600
- export declare class ThrottlingException extends __BaseException {
601
- readonly name: "ThrottlingException";
602
- readonly $fault: "client";
603
- /**
604
- * <p/>
605
- * @public
606
- */
607
- resourceId: string | undefined;
608
- /**
609
- * <p/>
610
- * @public
611
- */
612
- resourceType: ResourceType | undefined;
613
- /**
614
- * <p/>
615
- * @public
616
- */
617
- limit: number | undefined;
618
- /**
619
- * @internal
620
- */
621
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
622
- }
623
477
  /**
624
478
  * @public
625
479
  */
@@ -995,18 +849,6 @@ export interface ListRoomsResponse {
995
849
  */
996
850
  nextToken?: string | undefined;
997
851
  }
998
- /**
999
- * <p/>
1000
- * @public
1001
- */
1002
- export declare class InternalServerException extends __BaseException {
1003
- readonly name: "InternalServerException";
1004
- readonly $fault: "server";
1005
- /**
1006
- * @internal
1007
- */
1008
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
1009
- }
1010
852
  /**
1011
853
  * @public
1012
854
  */
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { IvschatExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { IvschatServiceException } from "./models/IvschatServiceException";
@@ -0,0 +1,73 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { IvschatServiceException as __BaseException } from "./IvschatServiceException";
3
+ import {
4
+ ResourceType,
5
+ ValidationExceptionField,
6
+ ValidationExceptionReason,
7
+ } from "./models_0";
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ constructor(
12
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
13
+ );
14
+ }
15
+ export declare class PendingVerification extends __BaseException {
16
+ readonly name: "PendingVerification";
17
+ readonly $fault: "client";
18
+ constructor(
19
+ opts: __ExceptionOptionType<PendingVerification, __BaseException>
20
+ );
21
+ }
22
+ export declare class ResourceNotFoundException extends __BaseException {
23
+ readonly name: "ResourceNotFoundException";
24
+ readonly $fault: "client";
25
+ resourceId: string | undefined;
26
+ resourceType: ResourceType | undefined;
27
+ constructor(
28
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
29
+ );
30
+ }
31
+ export declare class ValidationException extends __BaseException {
32
+ readonly name: "ValidationException";
33
+ readonly $fault: "client";
34
+ reason: ValidationExceptionReason | undefined;
35
+ fieldList?: ValidationExceptionField[] | undefined;
36
+ constructor(
37
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
38
+ );
39
+ }
40
+ export declare class ConflictException extends __BaseException {
41
+ readonly name: "ConflictException";
42
+ readonly $fault: "client";
43
+ resourceId: string | undefined;
44
+ resourceType: ResourceType | undefined;
45
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
46
+ }
47
+ export declare class ServiceQuotaExceededException extends __BaseException {
48
+ readonly name: "ServiceQuotaExceededException";
49
+ readonly $fault: "client";
50
+ resourceId: string | undefined;
51
+ resourceType: ResourceType | undefined;
52
+ limit: number | undefined;
53
+ constructor(
54
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
55
+ );
56
+ }
57
+ export declare class ThrottlingException extends __BaseException {
58
+ readonly name: "ThrottlingException";
59
+ readonly $fault: "client";
60
+ resourceId: string | undefined;
61
+ resourceType: ResourceType | undefined;
62
+ limit: number | undefined;
63
+ constructor(
64
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
65
+ );
66
+ }
67
+ export declare class InternalServerException extends __BaseException {
68
+ readonly name: "InternalServerException";
69
+ readonly $fault: "server";
70
+ constructor(
71
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
72
+ );
73
+ }
@@ -1,12 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { IvschatServiceException as __BaseException } from "./IvschatServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
10
1
  export declare const ChatTokenCapability: {
11
2
  readonly DELETE_MESSAGE: "DELETE_MESSAGE";
12
3
  readonly DISCONNECT_USER: "DISCONNECT_USER";
@@ -26,26 +17,10 @@ export interface CreateChatTokenResponse {
26
17
  tokenExpirationTime?: Date | undefined;
27
18
  sessionExpirationTime?: Date | undefined;
28
19
  }
29
- export declare class PendingVerification extends __BaseException {
30
- readonly name: "PendingVerification";
31
- readonly $fault: "client";
32
- constructor(
33
- opts: __ExceptionOptionType<PendingVerification, __BaseException>
34
- );
35
- }
36
20
  export declare const ResourceType: {
37
21
  readonly ROOM: "ROOM";
38
22
  };
39
23
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
40
- export declare class ResourceNotFoundException extends __BaseException {
41
- readonly name: "ResourceNotFoundException";
42
- readonly $fault: "client";
43
- resourceId: string | undefined;
44
- resourceType: ResourceType | undefined;
45
- constructor(
46
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
47
- );
48
- }
49
24
  export interface ValidationExceptionField {
50
25
  name: string | undefined;
51
26
  message: string | undefined;
@@ -57,22 +32,6 @@ export declare const ValidationExceptionReason: {
57
32
  };
58
33
  export type ValidationExceptionReason =
59
34
  (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
60
- export declare class ValidationException extends __BaseException {
61
- readonly name: "ValidationException";
62
- readonly $fault: "client";
63
- reason: ValidationExceptionReason | undefined;
64
- fieldList?: ValidationExceptionField[] | undefined;
65
- constructor(
66
- opts: __ExceptionOptionType<ValidationException, __BaseException>
67
- );
68
- }
69
- export declare class ConflictException extends __BaseException {
70
- readonly name: "ConflictException";
71
- readonly $fault: "client";
72
- resourceId: string | undefined;
73
- resourceType: ResourceType | undefined;
74
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
75
- }
76
35
  export interface CloudWatchLogsDestinationConfiguration {
77
36
  logGroupName: string | undefined;
78
37
  }
@@ -139,16 +98,6 @@ export interface CreateLoggingConfigurationResponse {
139
98
  state?: CreateLoggingConfigurationState | undefined;
140
99
  tags?: Record<string, string> | undefined;
141
100
  }
142
- export declare class ServiceQuotaExceededException extends __BaseException {
143
- readonly name: "ServiceQuotaExceededException";
144
- readonly $fault: "client";
145
- resourceId: string | undefined;
146
- resourceType: ResourceType | undefined;
147
- limit: number | undefined;
148
- constructor(
149
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
150
- );
151
- }
152
101
  export declare const FallbackResult: {
153
102
  readonly ALLOW: "ALLOW";
154
103
  readonly DENY: "DENY";
@@ -190,16 +139,6 @@ export interface DeleteMessageRequest {
190
139
  export interface DeleteMessageResponse {
191
140
  id?: string | undefined;
192
141
  }
193
- export declare class ThrottlingException extends __BaseException {
194
- readonly name: "ThrottlingException";
195
- readonly $fault: "client";
196
- resourceId: string | undefined;
197
- resourceType: ResourceType | undefined;
198
- limit: number | undefined;
199
- constructor(
200
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
201
- );
202
- }
203
142
  export interface DeleteRoomRequest {
204
143
  identifier: string | undefined;
205
144
  }
@@ -287,13 +226,6 @@ export interface ListRoomsResponse {
287
226
  rooms: RoomSummary[] | undefined;
288
227
  nextToken?: string | undefined;
289
228
  }
290
- export declare class InternalServerException extends __BaseException {
291
- readonly name: "InternalServerException";
292
- readonly $fault: "server";
293
- constructor(
294
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
295
- );
296
- }
297
229
  export interface ListTagsForResourceRequest {
298
230
  resourceArn: string | undefined;
299
231
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ivschat",
3
3
  "description": "AWS SDK for JavaScript Ivschat Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ivschat",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";