@aws-sdk/client-chime-sdk-messaging 3.934.0 → 3.935.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 +83 -82
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +82 -0
- package/dist-es/models/errors.js +145 -0
- package/dist-es/models/models_0.js +1 -227
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +218 -0
- package/dist-types/models/errors.d.ts +130 -0
- package/dist-types/models/models_0.d.ts +1 -347
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +112 -0
- package/dist-types/ts3.4/models/errors.d.ts +78 -0
- package/dist-types/ts3.4/models/models_0.d.ts +19 -189
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,32 +117,6 @@ let ChimeSDKMessagingServiceException$1 = class ChimeSDKMessagingServiceExceptio
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const AllowNotifications = {
|
|
121
|
-
ALL: "ALL",
|
|
122
|
-
FILTERED: "FILTERED",
|
|
123
|
-
NONE: "NONE",
|
|
124
|
-
};
|
|
125
|
-
const ChannelMembershipType = {
|
|
126
|
-
DEFAULT: "DEFAULT",
|
|
127
|
-
HIDDEN: "HIDDEN",
|
|
128
|
-
};
|
|
129
|
-
const ErrorCode = {
|
|
130
|
-
AccessDenied: "AccessDenied",
|
|
131
|
-
BadRequest: "BadRequest",
|
|
132
|
-
Conflict: "Conflict",
|
|
133
|
-
Forbidden: "Forbidden",
|
|
134
|
-
NotFound: "NotFound",
|
|
135
|
-
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
136
|
-
PreconditionFailed: "PreconditionFailed",
|
|
137
|
-
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
138
|
-
ServiceFailure: "ServiceFailure",
|
|
139
|
-
ServiceUnavailable: "ServiceUnavailable",
|
|
140
|
-
Throttled: "Throttled",
|
|
141
|
-
Throttling: "Throttling",
|
|
142
|
-
Unauthorized: "Unauthorized",
|
|
143
|
-
Unprocessable: "Unprocessable",
|
|
144
|
-
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
145
|
-
};
|
|
146
120
|
let BadRequestException$1 = class BadRequestException extends ChimeSDKMessagingServiceException$1 {
|
|
147
121
|
name = "BadRequestException";
|
|
148
122
|
$fault = "client";
|
|
@@ -287,62 +261,6 @@ let ResourceLimitExceededException$1 = class ResourceLimitExceededException exte
|
|
|
287
261
|
this.Message = opts.Message;
|
|
288
262
|
}
|
|
289
263
|
};
|
|
290
|
-
const ExpirationCriterion = {
|
|
291
|
-
CREATED_TIMESTAMP: "CREATED_TIMESTAMP",
|
|
292
|
-
LAST_MESSAGE_TIMESTAMP: "LAST_MESSAGE_TIMESTAMP",
|
|
293
|
-
};
|
|
294
|
-
const ChannelMode = {
|
|
295
|
-
RESTRICTED: "RESTRICTED",
|
|
296
|
-
UNRESTRICTED: "UNRESTRICTED",
|
|
297
|
-
};
|
|
298
|
-
const ChannelPrivacy = {
|
|
299
|
-
PRIVATE: "PRIVATE",
|
|
300
|
-
PUBLIC: "PUBLIC",
|
|
301
|
-
};
|
|
302
|
-
const InvocationType = {
|
|
303
|
-
ASYNC: "ASYNC",
|
|
304
|
-
};
|
|
305
|
-
const FallbackAction = {
|
|
306
|
-
ABORT: "ABORT",
|
|
307
|
-
CONTINUE: "CONTINUE",
|
|
308
|
-
};
|
|
309
|
-
const PushNotificationType = {
|
|
310
|
-
DEFAULT: "DEFAULT",
|
|
311
|
-
VOIP: "VOIP",
|
|
312
|
-
};
|
|
313
|
-
const ChannelMessagePersistenceType = {
|
|
314
|
-
NON_PERSISTENT: "NON_PERSISTENT",
|
|
315
|
-
PERSISTENT: "PERSISTENT",
|
|
316
|
-
};
|
|
317
|
-
const ChannelMessageStatus = {
|
|
318
|
-
DENIED: "DENIED",
|
|
319
|
-
FAILED: "FAILED",
|
|
320
|
-
PENDING: "PENDING",
|
|
321
|
-
SENT: "SENT",
|
|
322
|
-
};
|
|
323
|
-
const ChannelMessageType = {
|
|
324
|
-
CONTROL: "CONTROL",
|
|
325
|
-
STANDARD: "STANDARD",
|
|
326
|
-
};
|
|
327
|
-
const NetworkType = {
|
|
328
|
-
DUAL_STACK: "DUAL_STACK",
|
|
329
|
-
IPV4_ONLY: "IPV4_ONLY",
|
|
330
|
-
};
|
|
331
|
-
const MessagingDataType = {
|
|
332
|
-
Channel: "Channel",
|
|
333
|
-
ChannelMessage: "ChannelMessage",
|
|
334
|
-
};
|
|
335
|
-
const SortOrder = {
|
|
336
|
-
ASCENDING: "ASCENDING",
|
|
337
|
-
DESCENDING: "DESCENDING",
|
|
338
|
-
};
|
|
339
|
-
const SearchFieldKey = {
|
|
340
|
-
MEMBERS: "MEMBERS",
|
|
341
|
-
};
|
|
342
|
-
const SearchFieldOperator = {
|
|
343
|
-
EQUALS: "EQUALS",
|
|
344
|
-
INCLUDES: "INCLUDES",
|
|
345
|
-
};
|
|
346
264
|
|
|
347
265
|
const _A = "Arn";
|
|
348
266
|
const _ACF = "AssociateChannelFlow";
|
|
@@ -3516,6 +3434,89 @@ const paginateListSubChannels = core.createPaginator(ChimeSDKMessagingClient, Li
|
|
|
3516
3434
|
|
|
3517
3435
|
const paginateSearchChannels = core.createPaginator(ChimeSDKMessagingClient, SearchChannelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3518
3436
|
|
|
3437
|
+
const AllowNotifications = {
|
|
3438
|
+
ALL: "ALL",
|
|
3439
|
+
FILTERED: "FILTERED",
|
|
3440
|
+
NONE: "NONE",
|
|
3441
|
+
};
|
|
3442
|
+
const ChannelMembershipType = {
|
|
3443
|
+
DEFAULT: "DEFAULT",
|
|
3444
|
+
HIDDEN: "HIDDEN",
|
|
3445
|
+
};
|
|
3446
|
+
const ErrorCode = {
|
|
3447
|
+
AccessDenied: "AccessDenied",
|
|
3448
|
+
BadRequest: "BadRequest",
|
|
3449
|
+
Conflict: "Conflict",
|
|
3450
|
+
Forbidden: "Forbidden",
|
|
3451
|
+
NotFound: "NotFound",
|
|
3452
|
+
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
3453
|
+
PreconditionFailed: "PreconditionFailed",
|
|
3454
|
+
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
3455
|
+
ServiceFailure: "ServiceFailure",
|
|
3456
|
+
ServiceUnavailable: "ServiceUnavailable",
|
|
3457
|
+
Throttled: "Throttled",
|
|
3458
|
+
Throttling: "Throttling",
|
|
3459
|
+
Unauthorized: "Unauthorized",
|
|
3460
|
+
Unprocessable: "Unprocessable",
|
|
3461
|
+
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
3462
|
+
};
|
|
3463
|
+
const ExpirationCriterion = {
|
|
3464
|
+
CREATED_TIMESTAMP: "CREATED_TIMESTAMP",
|
|
3465
|
+
LAST_MESSAGE_TIMESTAMP: "LAST_MESSAGE_TIMESTAMP",
|
|
3466
|
+
};
|
|
3467
|
+
const ChannelMode = {
|
|
3468
|
+
RESTRICTED: "RESTRICTED",
|
|
3469
|
+
UNRESTRICTED: "UNRESTRICTED",
|
|
3470
|
+
};
|
|
3471
|
+
const ChannelPrivacy = {
|
|
3472
|
+
PRIVATE: "PRIVATE",
|
|
3473
|
+
PUBLIC: "PUBLIC",
|
|
3474
|
+
};
|
|
3475
|
+
const InvocationType = {
|
|
3476
|
+
ASYNC: "ASYNC",
|
|
3477
|
+
};
|
|
3478
|
+
const FallbackAction = {
|
|
3479
|
+
ABORT: "ABORT",
|
|
3480
|
+
CONTINUE: "CONTINUE",
|
|
3481
|
+
};
|
|
3482
|
+
const PushNotificationType = {
|
|
3483
|
+
DEFAULT: "DEFAULT",
|
|
3484
|
+
VOIP: "VOIP",
|
|
3485
|
+
};
|
|
3486
|
+
const ChannelMessagePersistenceType = {
|
|
3487
|
+
NON_PERSISTENT: "NON_PERSISTENT",
|
|
3488
|
+
PERSISTENT: "PERSISTENT",
|
|
3489
|
+
};
|
|
3490
|
+
const ChannelMessageStatus = {
|
|
3491
|
+
DENIED: "DENIED",
|
|
3492
|
+
FAILED: "FAILED",
|
|
3493
|
+
PENDING: "PENDING",
|
|
3494
|
+
SENT: "SENT",
|
|
3495
|
+
};
|
|
3496
|
+
const ChannelMessageType = {
|
|
3497
|
+
CONTROL: "CONTROL",
|
|
3498
|
+
STANDARD: "STANDARD",
|
|
3499
|
+
};
|
|
3500
|
+
const NetworkType = {
|
|
3501
|
+
DUAL_STACK: "DUAL_STACK",
|
|
3502
|
+
IPV4_ONLY: "IPV4_ONLY",
|
|
3503
|
+
};
|
|
3504
|
+
const MessagingDataType = {
|
|
3505
|
+
Channel: "Channel",
|
|
3506
|
+
ChannelMessage: "ChannelMessage",
|
|
3507
|
+
};
|
|
3508
|
+
const SortOrder = {
|
|
3509
|
+
ASCENDING: "ASCENDING",
|
|
3510
|
+
DESCENDING: "DESCENDING",
|
|
3511
|
+
};
|
|
3512
|
+
const SearchFieldKey = {
|
|
3513
|
+
MEMBERS: "MEMBERS",
|
|
3514
|
+
};
|
|
3515
|
+
const SearchFieldOperator = {
|
|
3516
|
+
EQUALS: "EQUALS",
|
|
3517
|
+
INCLUDES: "INCLUDES",
|
|
3518
|
+
};
|
|
3519
|
+
|
|
3519
3520
|
Object.defineProperty(exports, "$Command", {
|
|
3520
3521
|
enumerable: true,
|
|
3521
3522
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./ChimeSDKMessagingClient";
|
|
|
2
2
|
export * from "./ChimeSDKMessaging";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { ChimeSDKMessagingServiceException } from "./models/ChimeSDKMessagingServiceException";
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export const AllowNotifications = {
|
|
2
|
+
ALL: "ALL",
|
|
3
|
+
FILTERED: "FILTERED",
|
|
4
|
+
NONE: "NONE",
|
|
5
|
+
};
|
|
6
|
+
export const ChannelMembershipType = {
|
|
7
|
+
DEFAULT: "DEFAULT",
|
|
8
|
+
HIDDEN: "HIDDEN",
|
|
9
|
+
};
|
|
10
|
+
export const ErrorCode = {
|
|
11
|
+
AccessDenied: "AccessDenied",
|
|
12
|
+
BadRequest: "BadRequest",
|
|
13
|
+
Conflict: "Conflict",
|
|
14
|
+
Forbidden: "Forbidden",
|
|
15
|
+
NotFound: "NotFound",
|
|
16
|
+
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
17
|
+
PreconditionFailed: "PreconditionFailed",
|
|
18
|
+
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
19
|
+
ServiceFailure: "ServiceFailure",
|
|
20
|
+
ServiceUnavailable: "ServiceUnavailable",
|
|
21
|
+
Throttled: "Throttled",
|
|
22
|
+
Throttling: "Throttling",
|
|
23
|
+
Unauthorized: "Unauthorized",
|
|
24
|
+
Unprocessable: "Unprocessable",
|
|
25
|
+
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
26
|
+
};
|
|
27
|
+
export const ExpirationCriterion = {
|
|
28
|
+
CREATED_TIMESTAMP: "CREATED_TIMESTAMP",
|
|
29
|
+
LAST_MESSAGE_TIMESTAMP: "LAST_MESSAGE_TIMESTAMP",
|
|
30
|
+
};
|
|
31
|
+
export const ChannelMode = {
|
|
32
|
+
RESTRICTED: "RESTRICTED",
|
|
33
|
+
UNRESTRICTED: "UNRESTRICTED",
|
|
34
|
+
};
|
|
35
|
+
export const ChannelPrivacy = {
|
|
36
|
+
PRIVATE: "PRIVATE",
|
|
37
|
+
PUBLIC: "PUBLIC",
|
|
38
|
+
};
|
|
39
|
+
export const InvocationType = {
|
|
40
|
+
ASYNC: "ASYNC",
|
|
41
|
+
};
|
|
42
|
+
export const FallbackAction = {
|
|
43
|
+
ABORT: "ABORT",
|
|
44
|
+
CONTINUE: "CONTINUE",
|
|
45
|
+
};
|
|
46
|
+
export const PushNotificationType = {
|
|
47
|
+
DEFAULT: "DEFAULT",
|
|
48
|
+
VOIP: "VOIP",
|
|
49
|
+
};
|
|
50
|
+
export const ChannelMessagePersistenceType = {
|
|
51
|
+
NON_PERSISTENT: "NON_PERSISTENT",
|
|
52
|
+
PERSISTENT: "PERSISTENT",
|
|
53
|
+
};
|
|
54
|
+
export const ChannelMessageStatus = {
|
|
55
|
+
DENIED: "DENIED",
|
|
56
|
+
FAILED: "FAILED",
|
|
57
|
+
PENDING: "PENDING",
|
|
58
|
+
SENT: "SENT",
|
|
59
|
+
};
|
|
60
|
+
export const ChannelMessageType = {
|
|
61
|
+
CONTROL: "CONTROL",
|
|
62
|
+
STANDARD: "STANDARD",
|
|
63
|
+
};
|
|
64
|
+
export const NetworkType = {
|
|
65
|
+
DUAL_STACK: "DUAL_STACK",
|
|
66
|
+
IPV4_ONLY: "IPV4_ONLY",
|
|
67
|
+
};
|
|
68
|
+
export const MessagingDataType = {
|
|
69
|
+
Channel: "Channel",
|
|
70
|
+
ChannelMessage: "ChannelMessage",
|
|
71
|
+
};
|
|
72
|
+
export const SortOrder = {
|
|
73
|
+
ASCENDING: "ASCENDING",
|
|
74
|
+
DESCENDING: "DESCENDING",
|
|
75
|
+
};
|
|
76
|
+
export const SearchFieldKey = {
|
|
77
|
+
MEMBERS: "MEMBERS",
|
|
78
|
+
};
|
|
79
|
+
export const SearchFieldOperator = {
|
|
80
|
+
EQUALS: "EQUALS",
|
|
81
|
+
INCLUDES: "INCLUDES",
|
|
82
|
+
};
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { ChimeSDKMessagingServiceException as __BaseException } from "./ChimeSDKMessagingServiceException";
|
|
2
|
+
export class BadRequestException extends __BaseException {
|
|
3
|
+
name = "BadRequestException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Code;
|
|
6
|
+
Message;
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "BadRequestException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
14
|
+
this.Code = opts.Code;
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class ConflictException extends __BaseException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
Code;
|
|
22
|
+
Message;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "ConflictException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.Code = opts.Code;
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class ForbiddenException extends __BaseException {
|
|
35
|
+
name = "ForbiddenException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
Code;
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ForbiddenException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
46
|
+
this.Code = opts.Code;
|
|
47
|
+
this.Message = opts.Message;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class NotFoundException extends __BaseException {
|
|
51
|
+
name = "NotFoundException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Code;
|
|
54
|
+
Message;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "NotFoundException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
62
|
+
this.Code = opts.Code;
|
|
63
|
+
this.Message = opts.Message;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class ServiceFailureException extends __BaseException {
|
|
67
|
+
name = "ServiceFailureException";
|
|
68
|
+
$fault = "server";
|
|
69
|
+
Code;
|
|
70
|
+
Message;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "ServiceFailureException",
|
|
74
|
+
$fault: "server",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, ServiceFailureException.prototype);
|
|
78
|
+
this.Code = opts.Code;
|
|
79
|
+
this.Message = opts.Message;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export class ServiceUnavailableException extends __BaseException {
|
|
83
|
+
name = "ServiceUnavailableException";
|
|
84
|
+
$fault = "server";
|
|
85
|
+
Code;
|
|
86
|
+
Message;
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ServiceUnavailableException",
|
|
90
|
+
$fault: "server",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
94
|
+
this.Code = opts.Code;
|
|
95
|
+
this.Message = opts.Message;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class ThrottledClientException extends __BaseException {
|
|
99
|
+
name = "ThrottledClientException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
Code;
|
|
102
|
+
Message;
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "ThrottledClientException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
Object.setPrototypeOf(this, ThrottledClientException.prototype);
|
|
110
|
+
this.Code = opts.Code;
|
|
111
|
+
this.Message = opts.Message;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class UnauthorizedClientException extends __BaseException {
|
|
115
|
+
name = "UnauthorizedClientException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
Code;
|
|
118
|
+
Message;
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "UnauthorizedClientException",
|
|
122
|
+
$fault: "client",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
|
|
126
|
+
this.Code = opts.Code;
|
|
127
|
+
this.Message = opts.Message;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export class ResourceLimitExceededException extends __BaseException {
|
|
131
|
+
name = "ResourceLimitExceededException";
|
|
132
|
+
$fault = "client";
|
|
133
|
+
Code;
|
|
134
|
+
Message;
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "ResourceLimitExceededException",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
142
|
+
this.Code = opts.Code;
|
|
143
|
+
this.Message = opts.Message;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -1,227 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const AllowNotifications = {
|
|
3
|
-
ALL: "ALL",
|
|
4
|
-
FILTERED: "FILTERED",
|
|
5
|
-
NONE: "NONE",
|
|
6
|
-
};
|
|
7
|
-
export const ChannelMembershipType = {
|
|
8
|
-
DEFAULT: "DEFAULT",
|
|
9
|
-
HIDDEN: "HIDDEN",
|
|
10
|
-
};
|
|
11
|
-
export const ErrorCode = {
|
|
12
|
-
AccessDenied: "AccessDenied",
|
|
13
|
-
BadRequest: "BadRequest",
|
|
14
|
-
Conflict: "Conflict",
|
|
15
|
-
Forbidden: "Forbidden",
|
|
16
|
-
NotFound: "NotFound",
|
|
17
|
-
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
18
|
-
PreconditionFailed: "PreconditionFailed",
|
|
19
|
-
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
20
|
-
ServiceFailure: "ServiceFailure",
|
|
21
|
-
ServiceUnavailable: "ServiceUnavailable",
|
|
22
|
-
Throttled: "Throttled",
|
|
23
|
-
Throttling: "Throttling",
|
|
24
|
-
Unauthorized: "Unauthorized",
|
|
25
|
-
Unprocessable: "Unprocessable",
|
|
26
|
-
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
27
|
-
};
|
|
28
|
-
export class BadRequestException extends __BaseException {
|
|
29
|
-
name = "BadRequestException";
|
|
30
|
-
$fault = "client";
|
|
31
|
-
Code;
|
|
32
|
-
Message;
|
|
33
|
-
constructor(opts) {
|
|
34
|
-
super({
|
|
35
|
-
name: "BadRequestException",
|
|
36
|
-
$fault: "client",
|
|
37
|
-
...opts,
|
|
38
|
-
});
|
|
39
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
40
|
-
this.Code = opts.Code;
|
|
41
|
-
this.Message = opts.Message;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export class ConflictException extends __BaseException {
|
|
45
|
-
name = "ConflictException";
|
|
46
|
-
$fault = "client";
|
|
47
|
-
Code;
|
|
48
|
-
Message;
|
|
49
|
-
constructor(opts) {
|
|
50
|
-
super({
|
|
51
|
-
name: "ConflictException",
|
|
52
|
-
$fault: "client",
|
|
53
|
-
...opts,
|
|
54
|
-
});
|
|
55
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
56
|
-
this.Code = opts.Code;
|
|
57
|
-
this.Message = opts.Message;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
export class ForbiddenException extends __BaseException {
|
|
61
|
-
name = "ForbiddenException";
|
|
62
|
-
$fault = "client";
|
|
63
|
-
Code;
|
|
64
|
-
Message;
|
|
65
|
-
constructor(opts) {
|
|
66
|
-
super({
|
|
67
|
-
name: "ForbiddenException",
|
|
68
|
-
$fault: "client",
|
|
69
|
-
...opts,
|
|
70
|
-
});
|
|
71
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
72
|
-
this.Code = opts.Code;
|
|
73
|
-
this.Message = opts.Message;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
export class NotFoundException extends __BaseException {
|
|
77
|
-
name = "NotFoundException";
|
|
78
|
-
$fault = "client";
|
|
79
|
-
Code;
|
|
80
|
-
Message;
|
|
81
|
-
constructor(opts) {
|
|
82
|
-
super({
|
|
83
|
-
name: "NotFoundException",
|
|
84
|
-
$fault: "client",
|
|
85
|
-
...opts,
|
|
86
|
-
});
|
|
87
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
88
|
-
this.Code = opts.Code;
|
|
89
|
-
this.Message = opts.Message;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
export class ServiceFailureException extends __BaseException {
|
|
93
|
-
name = "ServiceFailureException";
|
|
94
|
-
$fault = "server";
|
|
95
|
-
Code;
|
|
96
|
-
Message;
|
|
97
|
-
constructor(opts) {
|
|
98
|
-
super({
|
|
99
|
-
name: "ServiceFailureException",
|
|
100
|
-
$fault: "server",
|
|
101
|
-
...opts,
|
|
102
|
-
});
|
|
103
|
-
Object.setPrototypeOf(this, ServiceFailureException.prototype);
|
|
104
|
-
this.Code = opts.Code;
|
|
105
|
-
this.Message = opts.Message;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
export class ServiceUnavailableException extends __BaseException {
|
|
109
|
-
name = "ServiceUnavailableException";
|
|
110
|
-
$fault = "server";
|
|
111
|
-
Code;
|
|
112
|
-
Message;
|
|
113
|
-
constructor(opts) {
|
|
114
|
-
super({
|
|
115
|
-
name: "ServiceUnavailableException",
|
|
116
|
-
$fault: "server",
|
|
117
|
-
...opts,
|
|
118
|
-
});
|
|
119
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
120
|
-
this.Code = opts.Code;
|
|
121
|
-
this.Message = opts.Message;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
export class ThrottledClientException extends __BaseException {
|
|
125
|
-
name = "ThrottledClientException";
|
|
126
|
-
$fault = "client";
|
|
127
|
-
Code;
|
|
128
|
-
Message;
|
|
129
|
-
constructor(opts) {
|
|
130
|
-
super({
|
|
131
|
-
name: "ThrottledClientException",
|
|
132
|
-
$fault: "client",
|
|
133
|
-
...opts,
|
|
134
|
-
});
|
|
135
|
-
Object.setPrototypeOf(this, ThrottledClientException.prototype);
|
|
136
|
-
this.Code = opts.Code;
|
|
137
|
-
this.Message = opts.Message;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
export class UnauthorizedClientException extends __BaseException {
|
|
141
|
-
name = "UnauthorizedClientException";
|
|
142
|
-
$fault = "client";
|
|
143
|
-
Code;
|
|
144
|
-
Message;
|
|
145
|
-
constructor(opts) {
|
|
146
|
-
super({
|
|
147
|
-
name: "UnauthorizedClientException",
|
|
148
|
-
$fault: "client",
|
|
149
|
-
...opts,
|
|
150
|
-
});
|
|
151
|
-
Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
|
|
152
|
-
this.Code = opts.Code;
|
|
153
|
-
this.Message = opts.Message;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
export class ResourceLimitExceededException extends __BaseException {
|
|
157
|
-
name = "ResourceLimitExceededException";
|
|
158
|
-
$fault = "client";
|
|
159
|
-
Code;
|
|
160
|
-
Message;
|
|
161
|
-
constructor(opts) {
|
|
162
|
-
super({
|
|
163
|
-
name: "ResourceLimitExceededException",
|
|
164
|
-
$fault: "client",
|
|
165
|
-
...opts,
|
|
166
|
-
});
|
|
167
|
-
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
168
|
-
this.Code = opts.Code;
|
|
169
|
-
this.Message = opts.Message;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
export const ExpirationCriterion = {
|
|
173
|
-
CREATED_TIMESTAMP: "CREATED_TIMESTAMP",
|
|
174
|
-
LAST_MESSAGE_TIMESTAMP: "LAST_MESSAGE_TIMESTAMP",
|
|
175
|
-
};
|
|
176
|
-
export const ChannelMode = {
|
|
177
|
-
RESTRICTED: "RESTRICTED",
|
|
178
|
-
UNRESTRICTED: "UNRESTRICTED",
|
|
179
|
-
};
|
|
180
|
-
export const ChannelPrivacy = {
|
|
181
|
-
PRIVATE: "PRIVATE",
|
|
182
|
-
PUBLIC: "PUBLIC",
|
|
183
|
-
};
|
|
184
|
-
export const InvocationType = {
|
|
185
|
-
ASYNC: "ASYNC",
|
|
186
|
-
};
|
|
187
|
-
export const FallbackAction = {
|
|
188
|
-
ABORT: "ABORT",
|
|
189
|
-
CONTINUE: "CONTINUE",
|
|
190
|
-
};
|
|
191
|
-
export const PushNotificationType = {
|
|
192
|
-
DEFAULT: "DEFAULT",
|
|
193
|
-
VOIP: "VOIP",
|
|
194
|
-
};
|
|
195
|
-
export const ChannelMessagePersistenceType = {
|
|
196
|
-
NON_PERSISTENT: "NON_PERSISTENT",
|
|
197
|
-
PERSISTENT: "PERSISTENT",
|
|
198
|
-
};
|
|
199
|
-
export const ChannelMessageStatus = {
|
|
200
|
-
DENIED: "DENIED",
|
|
201
|
-
FAILED: "FAILED",
|
|
202
|
-
PENDING: "PENDING",
|
|
203
|
-
SENT: "SENT",
|
|
204
|
-
};
|
|
205
|
-
export const ChannelMessageType = {
|
|
206
|
-
CONTROL: "CONTROL",
|
|
207
|
-
STANDARD: "STANDARD",
|
|
208
|
-
};
|
|
209
|
-
export const NetworkType = {
|
|
210
|
-
DUAL_STACK: "DUAL_STACK",
|
|
211
|
-
IPV4_ONLY: "IPV4_ONLY",
|
|
212
|
-
};
|
|
213
|
-
export const MessagingDataType = {
|
|
214
|
-
Channel: "Channel",
|
|
215
|
-
ChannelMessage: "ChannelMessage",
|
|
216
|
-
};
|
|
217
|
-
export const SortOrder = {
|
|
218
|
-
ASCENDING: "ASCENDING",
|
|
219
|
-
DESCENDING: "DESCENDING",
|
|
220
|
-
};
|
|
221
|
-
export const SearchFieldKey = {
|
|
222
|
-
MEMBERS: "MEMBERS",
|
|
223
|
-
};
|
|
224
|
-
export const SearchFieldOperator = {
|
|
225
|
-
EQUALS: "EQUALS",
|
|
226
|
-
INCLUDES: "INCLUDES",
|
|
227
|
-
};
|
|
1
|
+
export {};
|
|
@@ -328,7 +328,7 @@ const _xacb = "x-amz-chime-bearer";
|
|
|
328
328
|
const n0 = "com.amazonaws.chimesdkmessaging";
|
|
329
329
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
330
330
|
import { ChimeSDKMessagingServiceException as __ChimeSDKMessagingServiceException } from "../models/ChimeSDKMessagingServiceException";
|
|
331
|
-
import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, NotFoundException as __NotFoundException, ResourceLimitExceededException as __ResourceLimitExceededException, ServiceFailureException as __ServiceFailureException, ServiceUnavailableException as __ServiceUnavailableException, ThrottledClientException as __ThrottledClientException, UnauthorizedClientException as __UnauthorizedClientException, } from "../models/
|
|
331
|
+
import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, NotFoundException as __NotFoundException, ResourceLimitExceededException as __ResourceLimitExceededException, ServiceFailureException as __ServiceFailureException, ServiceUnavailableException as __ServiceUnavailableException, ThrottledClientException as __ThrottledClientException, UnauthorizedClientException as __UnauthorizedClientException, } from "../models/errors";
|
|
332
332
|
export var ChannelId = [0, n0, _CI, 8, 0];
|
|
333
333
|
export var ClientRequestToken = [0, n0, _CRT, 8, 0];
|
|
334
334
|
export var Content = [0, n0, _C, 8, 0];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -13,5 +13,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
13
13
|
export type { ChimeSDKMessagingExtensionConfiguration } from "./extensionConfiguration";
|
|
14
14
|
export * from "./commands";
|
|
15
15
|
export * from "./pagination";
|
|
16
|
-
export * from "./models";
|
|
16
|
+
export * from "./models/enums";
|
|
17
|
+
export * from "./models/errors";
|
|
18
|
+
export type * from "./models/models_0";
|
|
17
19
|
export { ChimeSDKMessagingServiceException } from "./models/ChimeSDKMessagingServiceException";
|