@aws-sdk/client-chime-sdk-messaging 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 +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 +19 -19
- 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
|
@@ -1,30 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ChimeSDKMessagingServiceException as __BaseException } from "./ChimeSDKMessagingServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const AllowNotifications: {
|
|
8
|
-
readonly ALL: "ALL";
|
|
9
|
-
readonly FILTERED: "FILTERED";
|
|
10
|
-
readonly NONE: "NONE";
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
export type AllowNotifications = (typeof AllowNotifications)[keyof typeof AllowNotifications];
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
* @enum
|
|
19
|
-
*/
|
|
20
|
-
export declare const ChannelMembershipType: {
|
|
21
|
-
readonly DEFAULT: "DEFAULT";
|
|
22
|
-
readonly HIDDEN: "HIDDEN";
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* @public
|
|
26
|
-
*/
|
|
27
|
-
export type ChannelMembershipType = (typeof ChannelMembershipType)[keyof typeof ChannelMembershipType];
|
|
1
|
+
import { AllowNotifications, ChannelMembershipType, ChannelMessagePersistenceType, ChannelMessageStatus, ChannelMessageType, ChannelMode, ChannelPrivacy, ErrorCode, ExpirationCriterion, FallbackAction, InvocationType, MessagingDataType, NetworkType, PushNotificationType, SearchFieldKey, SearchFieldOperator, SortOrder } from "./enums";
|
|
28
2
|
/**
|
|
29
3
|
* <p>Summary of the membership details of an <code>AppInstanceUser</code>.</p>
|
|
30
4
|
* @public
|
|
@@ -66,144 +40,6 @@ export interface AssociateChannelFlowRequest {
|
|
|
66
40
|
*/
|
|
67
41
|
ChimeBearer: string | undefined;
|
|
68
42
|
}
|
|
69
|
-
/**
|
|
70
|
-
* @public
|
|
71
|
-
* @enum
|
|
72
|
-
*/
|
|
73
|
-
export declare const ErrorCode: {
|
|
74
|
-
readonly AccessDenied: "AccessDenied";
|
|
75
|
-
readonly BadRequest: "BadRequest";
|
|
76
|
-
readonly Conflict: "Conflict";
|
|
77
|
-
readonly Forbidden: "Forbidden";
|
|
78
|
-
readonly NotFound: "NotFound";
|
|
79
|
-
readonly PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist";
|
|
80
|
-
readonly PreconditionFailed: "PreconditionFailed";
|
|
81
|
-
readonly ResourceLimitExceeded: "ResourceLimitExceeded";
|
|
82
|
-
readonly ServiceFailure: "ServiceFailure";
|
|
83
|
-
readonly ServiceUnavailable: "ServiceUnavailable";
|
|
84
|
-
readonly Throttled: "Throttled";
|
|
85
|
-
readonly Throttling: "Throttling";
|
|
86
|
-
readonly Unauthorized: "Unauthorized";
|
|
87
|
-
readonly Unprocessable: "Unprocessable";
|
|
88
|
-
readonly VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist";
|
|
89
|
-
};
|
|
90
|
-
/**
|
|
91
|
-
* @public
|
|
92
|
-
*/
|
|
93
|
-
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
94
|
-
/**
|
|
95
|
-
* <p>The input parameters don't match the service's restrictions.</p>
|
|
96
|
-
* @public
|
|
97
|
-
*/
|
|
98
|
-
export declare class BadRequestException extends __BaseException {
|
|
99
|
-
readonly name: "BadRequestException";
|
|
100
|
-
readonly $fault: "client";
|
|
101
|
-
Code?: ErrorCode | undefined;
|
|
102
|
-
Message?: string | undefined;
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* <p>The request could not be processed because of conflict in the current state of the
|
|
110
|
-
* resource.</p>
|
|
111
|
-
* @public
|
|
112
|
-
*/
|
|
113
|
-
export declare class ConflictException extends __BaseException {
|
|
114
|
-
readonly name: "ConflictException";
|
|
115
|
-
readonly $fault: "client";
|
|
116
|
-
Code?: ErrorCode | undefined;
|
|
117
|
-
Message?: string | undefined;
|
|
118
|
-
/**
|
|
119
|
-
* @internal
|
|
120
|
-
*/
|
|
121
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* <p>The client is permanently forbidden from making the request.</p>
|
|
125
|
-
* @public
|
|
126
|
-
*/
|
|
127
|
-
export declare class ForbiddenException extends __BaseException {
|
|
128
|
-
readonly name: "ForbiddenException";
|
|
129
|
-
readonly $fault: "client";
|
|
130
|
-
Code?: ErrorCode | undefined;
|
|
131
|
-
Message?: string | undefined;
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
|
-
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* <p>One or more of the resources in the request does not exist in the system.</p>
|
|
139
|
-
* @public
|
|
140
|
-
*/
|
|
141
|
-
export declare class NotFoundException extends __BaseException {
|
|
142
|
-
readonly name: "NotFoundException";
|
|
143
|
-
readonly $fault: "client";
|
|
144
|
-
Code?: ErrorCode | undefined;
|
|
145
|
-
Message?: string | undefined;
|
|
146
|
-
/**
|
|
147
|
-
* @internal
|
|
148
|
-
*/
|
|
149
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* <p>The service encountered an unexpected error.</p>
|
|
153
|
-
* @public
|
|
154
|
-
*/
|
|
155
|
-
export declare class ServiceFailureException extends __BaseException {
|
|
156
|
-
readonly name: "ServiceFailureException";
|
|
157
|
-
readonly $fault: "server";
|
|
158
|
-
Code?: ErrorCode | undefined;
|
|
159
|
-
Message?: string | undefined;
|
|
160
|
-
/**
|
|
161
|
-
* @internal
|
|
162
|
-
*/
|
|
163
|
-
constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* <p>The service is currently unavailable.</p>
|
|
167
|
-
* @public
|
|
168
|
-
*/
|
|
169
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
170
|
-
readonly name: "ServiceUnavailableException";
|
|
171
|
-
readonly $fault: "server";
|
|
172
|
-
Code?: ErrorCode | undefined;
|
|
173
|
-
Message?: string | undefined;
|
|
174
|
-
/**
|
|
175
|
-
* @internal
|
|
176
|
-
*/
|
|
177
|
-
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* <p>The client exceeded its request rate limit.</p>
|
|
181
|
-
* @public
|
|
182
|
-
*/
|
|
183
|
-
export declare class ThrottledClientException extends __BaseException {
|
|
184
|
-
readonly name: "ThrottledClientException";
|
|
185
|
-
readonly $fault: "client";
|
|
186
|
-
Code?: ErrorCode | undefined;
|
|
187
|
-
Message?: string | undefined;
|
|
188
|
-
/**
|
|
189
|
-
* @internal
|
|
190
|
-
*/
|
|
191
|
-
constructor(opts: __ExceptionOptionType<ThrottledClientException, __BaseException>);
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* <p>The client is not currently authorized to make the request.</p>
|
|
195
|
-
* @public
|
|
196
|
-
*/
|
|
197
|
-
export declare class UnauthorizedClientException extends __BaseException {
|
|
198
|
-
readonly name: "UnauthorizedClientException";
|
|
199
|
-
readonly $fault: "client";
|
|
200
|
-
Code?: ErrorCode | undefined;
|
|
201
|
-
Message?: string | undefined;
|
|
202
|
-
/**
|
|
203
|
-
* @internal
|
|
204
|
-
*/
|
|
205
|
-
constructor(opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>);
|
|
206
|
-
}
|
|
207
43
|
/**
|
|
208
44
|
* <p>The details of a user or bot.</p>
|
|
209
45
|
* @public
|
|
@@ -328,20 +164,6 @@ export interface BatchCreateChannelMembershipResponse {
|
|
|
328
164
|
*/
|
|
329
165
|
Errors?: BatchCreateChannelMembershipError[] | undefined;
|
|
330
166
|
}
|
|
331
|
-
/**
|
|
332
|
-
* <p>The request exceeds the resource limit.</p>
|
|
333
|
-
* @public
|
|
334
|
-
*/
|
|
335
|
-
export declare class ResourceLimitExceededException extends __BaseException {
|
|
336
|
-
readonly name: "ResourceLimitExceededException";
|
|
337
|
-
readonly $fault: "client";
|
|
338
|
-
Code?: ErrorCode | undefined;
|
|
339
|
-
Message?: string | undefined;
|
|
340
|
-
/**
|
|
341
|
-
* @internal
|
|
342
|
-
*/
|
|
343
|
-
constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
|
|
344
|
-
}
|
|
345
167
|
/**
|
|
346
168
|
* <p>The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.</p>
|
|
347
169
|
* @public
|
|
@@ -363,18 +185,6 @@ export interface ElasticChannelConfiguration {
|
|
|
363
185
|
*/
|
|
364
186
|
MinimumMembershipPercentage: number | undefined;
|
|
365
187
|
}
|
|
366
|
-
/**
|
|
367
|
-
* @public
|
|
368
|
-
* @enum
|
|
369
|
-
*/
|
|
370
|
-
export declare const ExpirationCriterion: {
|
|
371
|
-
readonly CREATED_TIMESTAMP: "CREATED_TIMESTAMP";
|
|
372
|
-
readonly LAST_MESSAGE_TIMESTAMP: "LAST_MESSAGE_TIMESTAMP";
|
|
373
|
-
};
|
|
374
|
-
/**
|
|
375
|
-
* @public
|
|
376
|
-
*/
|
|
377
|
-
export type ExpirationCriterion = (typeof ExpirationCriterion)[keyof typeof ExpirationCriterion];
|
|
378
188
|
/**
|
|
379
189
|
* <p>Settings that control the interval after which a channel is deleted.</p>
|
|
380
190
|
* @public
|
|
@@ -391,30 +201,6 @@ export interface ExpirationSettings {
|
|
|
391
201
|
*/
|
|
392
202
|
ExpirationCriterion: ExpirationCriterion | undefined;
|
|
393
203
|
}
|
|
394
|
-
/**
|
|
395
|
-
* @public
|
|
396
|
-
* @enum
|
|
397
|
-
*/
|
|
398
|
-
export declare const ChannelMode: {
|
|
399
|
-
readonly RESTRICTED: "RESTRICTED";
|
|
400
|
-
readonly UNRESTRICTED: "UNRESTRICTED";
|
|
401
|
-
};
|
|
402
|
-
/**
|
|
403
|
-
* @public
|
|
404
|
-
*/
|
|
405
|
-
export type ChannelMode = (typeof ChannelMode)[keyof typeof ChannelMode];
|
|
406
|
-
/**
|
|
407
|
-
* @public
|
|
408
|
-
* @enum
|
|
409
|
-
*/
|
|
410
|
-
export declare const ChannelPrivacy: {
|
|
411
|
-
readonly PRIVATE: "PRIVATE";
|
|
412
|
-
readonly PUBLIC: "PUBLIC";
|
|
413
|
-
};
|
|
414
|
-
/**
|
|
415
|
-
* @public
|
|
416
|
-
*/
|
|
417
|
-
export type ChannelPrivacy = (typeof ChannelPrivacy)[keyof typeof ChannelPrivacy];
|
|
418
204
|
/**
|
|
419
205
|
* <p>The details of a channel.</p>
|
|
420
206
|
* @public
|
|
@@ -549,17 +335,6 @@ export interface ChannelBanSummary {
|
|
|
549
335
|
*/
|
|
550
336
|
Member?: Identity | undefined;
|
|
551
337
|
}
|
|
552
|
-
/**
|
|
553
|
-
* @public
|
|
554
|
-
* @enum
|
|
555
|
-
*/
|
|
556
|
-
export declare const InvocationType: {
|
|
557
|
-
readonly ASYNC: "ASYNC";
|
|
558
|
-
};
|
|
559
|
-
/**
|
|
560
|
-
* @public
|
|
561
|
-
*/
|
|
562
|
-
export type InvocationType = (typeof InvocationType)[keyof typeof InvocationType];
|
|
563
338
|
/**
|
|
564
339
|
* <p>Stores metadata about a Lambda processor.</p>
|
|
565
340
|
* @public
|
|
@@ -587,18 +362,6 @@ export interface ProcessorConfiguration {
|
|
|
587
362
|
*/
|
|
588
363
|
Lambda: LambdaConfiguration | undefined;
|
|
589
364
|
}
|
|
590
|
-
/**
|
|
591
|
-
* @public
|
|
592
|
-
* @enum
|
|
593
|
-
*/
|
|
594
|
-
export declare const FallbackAction: {
|
|
595
|
-
readonly ABORT: "ABORT";
|
|
596
|
-
readonly CONTINUE: "CONTINUE";
|
|
597
|
-
};
|
|
598
|
-
/**
|
|
599
|
-
* @public
|
|
600
|
-
*/
|
|
601
|
-
export type FallbackAction = (typeof FallbackAction)[keyof typeof FallbackAction];
|
|
602
365
|
/**
|
|
603
366
|
* <p>The information about a processor in a channel flow.</p>
|
|
604
367
|
* @public
|
|
@@ -670,18 +433,6 @@ export interface MessageAttributeValue {
|
|
|
670
433
|
*/
|
|
671
434
|
StringValues?: string[] | undefined;
|
|
672
435
|
}
|
|
673
|
-
/**
|
|
674
|
-
* @public
|
|
675
|
-
* @enum
|
|
676
|
-
*/
|
|
677
|
-
export declare const PushNotificationType: {
|
|
678
|
-
readonly DEFAULT: "DEFAULT";
|
|
679
|
-
readonly VOIP: "VOIP";
|
|
680
|
-
};
|
|
681
|
-
/**
|
|
682
|
-
* @public
|
|
683
|
-
*/
|
|
684
|
-
export type PushNotificationType = (typeof PushNotificationType)[keyof typeof PushNotificationType];
|
|
685
436
|
/**
|
|
686
437
|
* <p>The push notification configuration of the message.</p>
|
|
687
438
|
* @public
|
|
@@ -947,32 +698,6 @@ export interface ChannelMembershipSummary {
|
|
|
947
698
|
*/
|
|
948
699
|
Member?: Identity | undefined;
|
|
949
700
|
}
|
|
950
|
-
/**
|
|
951
|
-
* @public
|
|
952
|
-
* @enum
|
|
953
|
-
*/
|
|
954
|
-
export declare const ChannelMessagePersistenceType: {
|
|
955
|
-
readonly NON_PERSISTENT: "NON_PERSISTENT";
|
|
956
|
-
readonly PERSISTENT: "PERSISTENT";
|
|
957
|
-
};
|
|
958
|
-
/**
|
|
959
|
-
* @public
|
|
960
|
-
*/
|
|
961
|
-
export type ChannelMessagePersistenceType = (typeof ChannelMessagePersistenceType)[keyof typeof ChannelMessagePersistenceType];
|
|
962
|
-
/**
|
|
963
|
-
* @public
|
|
964
|
-
* @enum
|
|
965
|
-
*/
|
|
966
|
-
export declare const ChannelMessageStatus: {
|
|
967
|
-
readonly DENIED: "DENIED";
|
|
968
|
-
readonly FAILED: "FAILED";
|
|
969
|
-
readonly PENDING: "PENDING";
|
|
970
|
-
readonly SENT: "SENT";
|
|
971
|
-
};
|
|
972
|
-
/**
|
|
973
|
-
* @public
|
|
974
|
-
*/
|
|
975
|
-
export type ChannelMessageStatus = (typeof ChannelMessageStatus)[keyof typeof ChannelMessageStatus];
|
|
976
701
|
/**
|
|
977
702
|
* <p>Stores information about a message status.</p>
|
|
978
703
|
* @public
|
|
@@ -1001,18 +726,6 @@ export interface Target {
|
|
|
1001
726
|
*/
|
|
1002
727
|
MemberArn?: string | undefined;
|
|
1003
728
|
}
|
|
1004
|
-
/**
|
|
1005
|
-
* @public
|
|
1006
|
-
* @enum
|
|
1007
|
-
*/
|
|
1008
|
-
export declare const ChannelMessageType: {
|
|
1009
|
-
readonly CONTROL: "CONTROL";
|
|
1010
|
-
readonly STANDARD: "STANDARD";
|
|
1011
|
-
};
|
|
1012
|
-
/**
|
|
1013
|
-
* @public
|
|
1014
|
-
*/
|
|
1015
|
-
export type ChannelMessageType = (typeof ChannelMessageType)[keyof typeof ChannelMessageType];
|
|
1016
729
|
/**
|
|
1017
730
|
* <p>The details of a message in a channel.</p>
|
|
1018
731
|
* @public
|
|
@@ -1987,18 +1700,6 @@ export interface GetChannelMessageStatusResponse {
|
|
|
1987
1700
|
*/
|
|
1988
1701
|
Status?: ChannelMessageStatusStructure | undefined;
|
|
1989
1702
|
}
|
|
1990
|
-
/**
|
|
1991
|
-
* @public
|
|
1992
|
-
* @enum
|
|
1993
|
-
*/
|
|
1994
|
-
export declare const NetworkType: {
|
|
1995
|
-
readonly DUAL_STACK: "DUAL_STACK";
|
|
1996
|
-
readonly IPV4_ONLY: "IPV4_ONLY";
|
|
1997
|
-
};
|
|
1998
|
-
/**
|
|
1999
|
-
* @public
|
|
2000
|
-
*/
|
|
2001
|
-
export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
|
|
2002
1703
|
/**
|
|
2003
1704
|
* @public
|
|
2004
1705
|
*/
|
|
@@ -2040,18 +1741,6 @@ export interface GetMessagingStreamingConfigurationsRequest {
|
|
|
2040
1741
|
*/
|
|
2041
1742
|
AppInstanceArn: string | undefined;
|
|
2042
1743
|
}
|
|
2043
|
-
/**
|
|
2044
|
-
* @public
|
|
2045
|
-
* @enum
|
|
2046
|
-
*/
|
|
2047
|
-
export declare const MessagingDataType: {
|
|
2048
|
-
readonly Channel: "Channel";
|
|
2049
|
-
readonly ChannelMessage: "ChannelMessage";
|
|
2050
|
-
};
|
|
2051
|
-
/**
|
|
2052
|
-
* @public
|
|
2053
|
-
*/
|
|
2054
|
-
export type MessagingDataType = (typeof MessagingDataType)[keyof typeof MessagingDataType];
|
|
2055
1744
|
/**
|
|
2056
1745
|
* <p>The configuration for connecting a messaging stream to Amazon Kinesis.</p>
|
|
2057
1746
|
* @public
|
|
@@ -2265,18 +1954,6 @@ export interface ListChannelMembershipsForAppInstanceUserResponse {
|
|
|
2265
1954
|
*/
|
|
2266
1955
|
NextToken?: string | undefined;
|
|
2267
1956
|
}
|
|
2268
|
-
/**
|
|
2269
|
-
* @public
|
|
2270
|
-
* @enum
|
|
2271
|
-
*/
|
|
2272
|
-
export declare const SortOrder: {
|
|
2273
|
-
readonly ASCENDING: "ASCENDING";
|
|
2274
|
-
readonly DESCENDING: "DESCENDING";
|
|
2275
|
-
};
|
|
2276
|
-
/**
|
|
2277
|
-
* @public
|
|
2278
|
-
*/
|
|
2279
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
2280
1957
|
/**
|
|
2281
1958
|
* @public
|
|
2282
1959
|
*/
|
|
@@ -2762,29 +2439,6 @@ export interface RedactChannelMessageResponse {
|
|
|
2762
2439
|
*/
|
|
2763
2440
|
SubChannelId?: string | undefined;
|
|
2764
2441
|
}
|
|
2765
|
-
/**
|
|
2766
|
-
* @public
|
|
2767
|
-
* @enum
|
|
2768
|
-
*/
|
|
2769
|
-
export declare const SearchFieldKey: {
|
|
2770
|
-
readonly MEMBERS: "MEMBERS";
|
|
2771
|
-
};
|
|
2772
|
-
/**
|
|
2773
|
-
* @public
|
|
2774
|
-
*/
|
|
2775
|
-
export type SearchFieldKey = (typeof SearchFieldKey)[keyof typeof SearchFieldKey];
|
|
2776
|
-
/**
|
|
2777
|
-
* @public
|
|
2778
|
-
* @enum
|
|
2779
|
-
*/
|
|
2780
|
-
export declare const SearchFieldOperator: {
|
|
2781
|
-
readonly EQUALS: "EQUALS";
|
|
2782
|
-
readonly INCLUDES: "INCLUDES";
|
|
2783
|
-
};
|
|
2784
|
-
/**
|
|
2785
|
-
* @public
|
|
2786
|
-
*/
|
|
2787
|
-
export type SearchFieldOperator = (typeof SearchFieldOperator)[keyof typeof SearchFieldOperator];
|
|
2788
2442
|
/**
|
|
2789
2443
|
* <p>A <code>Field</code> of the channel that you want to search.</p>
|
|
2790
2444
|
* <note>
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { ChimeSDKMessagingExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { ChimeSDKMessagingServiceException } from "./models/ChimeSDKMessagingServiceException";
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
export declare const AllowNotifications: {
|
|
2
|
+
readonly ALL: "ALL";
|
|
3
|
+
readonly FILTERED: "FILTERED";
|
|
4
|
+
readonly NONE: "NONE";
|
|
5
|
+
};
|
|
6
|
+
export type AllowNotifications =
|
|
7
|
+
(typeof AllowNotifications)[keyof typeof AllowNotifications];
|
|
8
|
+
export declare const ChannelMembershipType: {
|
|
9
|
+
readonly DEFAULT: "DEFAULT";
|
|
10
|
+
readonly HIDDEN: "HIDDEN";
|
|
11
|
+
};
|
|
12
|
+
export type ChannelMembershipType =
|
|
13
|
+
(typeof ChannelMembershipType)[keyof typeof ChannelMembershipType];
|
|
14
|
+
export declare const ErrorCode: {
|
|
15
|
+
readonly AccessDenied: "AccessDenied";
|
|
16
|
+
readonly BadRequest: "BadRequest";
|
|
17
|
+
readonly Conflict: "Conflict";
|
|
18
|
+
readonly Forbidden: "Forbidden";
|
|
19
|
+
readonly NotFound: "NotFound";
|
|
20
|
+
readonly PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist";
|
|
21
|
+
readonly PreconditionFailed: "PreconditionFailed";
|
|
22
|
+
readonly ResourceLimitExceeded: "ResourceLimitExceeded";
|
|
23
|
+
readonly ServiceFailure: "ServiceFailure";
|
|
24
|
+
readonly ServiceUnavailable: "ServiceUnavailable";
|
|
25
|
+
readonly Throttled: "Throttled";
|
|
26
|
+
readonly Throttling: "Throttling";
|
|
27
|
+
readonly Unauthorized: "Unauthorized";
|
|
28
|
+
readonly Unprocessable: "Unprocessable";
|
|
29
|
+
readonly VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist";
|
|
30
|
+
};
|
|
31
|
+
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
32
|
+
export declare const ExpirationCriterion: {
|
|
33
|
+
readonly CREATED_TIMESTAMP: "CREATED_TIMESTAMP";
|
|
34
|
+
readonly LAST_MESSAGE_TIMESTAMP: "LAST_MESSAGE_TIMESTAMP";
|
|
35
|
+
};
|
|
36
|
+
export type ExpirationCriterion =
|
|
37
|
+
(typeof ExpirationCriterion)[keyof typeof ExpirationCriterion];
|
|
38
|
+
export declare const ChannelMode: {
|
|
39
|
+
readonly RESTRICTED: "RESTRICTED";
|
|
40
|
+
readonly UNRESTRICTED: "UNRESTRICTED";
|
|
41
|
+
};
|
|
42
|
+
export type ChannelMode = (typeof ChannelMode)[keyof typeof ChannelMode];
|
|
43
|
+
export declare const ChannelPrivacy: {
|
|
44
|
+
readonly PRIVATE: "PRIVATE";
|
|
45
|
+
readonly PUBLIC: "PUBLIC";
|
|
46
|
+
};
|
|
47
|
+
export type ChannelPrivacy =
|
|
48
|
+
(typeof ChannelPrivacy)[keyof typeof ChannelPrivacy];
|
|
49
|
+
export declare const InvocationType: {
|
|
50
|
+
readonly ASYNC: "ASYNC";
|
|
51
|
+
};
|
|
52
|
+
export type InvocationType =
|
|
53
|
+
(typeof InvocationType)[keyof typeof InvocationType];
|
|
54
|
+
export declare const FallbackAction: {
|
|
55
|
+
readonly ABORT: "ABORT";
|
|
56
|
+
readonly CONTINUE: "CONTINUE";
|
|
57
|
+
};
|
|
58
|
+
export type FallbackAction =
|
|
59
|
+
(typeof FallbackAction)[keyof typeof FallbackAction];
|
|
60
|
+
export declare const PushNotificationType: {
|
|
61
|
+
readonly DEFAULT: "DEFAULT";
|
|
62
|
+
readonly VOIP: "VOIP";
|
|
63
|
+
};
|
|
64
|
+
export type PushNotificationType =
|
|
65
|
+
(typeof PushNotificationType)[keyof typeof PushNotificationType];
|
|
66
|
+
export declare const ChannelMessagePersistenceType: {
|
|
67
|
+
readonly NON_PERSISTENT: "NON_PERSISTENT";
|
|
68
|
+
readonly PERSISTENT: "PERSISTENT";
|
|
69
|
+
};
|
|
70
|
+
export type ChannelMessagePersistenceType =
|
|
71
|
+
(typeof ChannelMessagePersistenceType)[keyof typeof ChannelMessagePersistenceType];
|
|
72
|
+
export declare const ChannelMessageStatus: {
|
|
73
|
+
readonly DENIED: "DENIED";
|
|
74
|
+
readonly FAILED: "FAILED";
|
|
75
|
+
readonly PENDING: "PENDING";
|
|
76
|
+
readonly SENT: "SENT";
|
|
77
|
+
};
|
|
78
|
+
export type ChannelMessageStatus =
|
|
79
|
+
(typeof ChannelMessageStatus)[keyof typeof ChannelMessageStatus];
|
|
80
|
+
export declare const ChannelMessageType: {
|
|
81
|
+
readonly CONTROL: "CONTROL";
|
|
82
|
+
readonly STANDARD: "STANDARD";
|
|
83
|
+
};
|
|
84
|
+
export type ChannelMessageType =
|
|
85
|
+
(typeof ChannelMessageType)[keyof typeof ChannelMessageType];
|
|
86
|
+
export declare const NetworkType: {
|
|
87
|
+
readonly DUAL_STACK: "DUAL_STACK";
|
|
88
|
+
readonly IPV4_ONLY: "IPV4_ONLY";
|
|
89
|
+
};
|
|
90
|
+
export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
|
|
91
|
+
export declare const MessagingDataType: {
|
|
92
|
+
readonly Channel: "Channel";
|
|
93
|
+
readonly ChannelMessage: "ChannelMessage";
|
|
94
|
+
};
|
|
95
|
+
export type MessagingDataType =
|
|
96
|
+
(typeof MessagingDataType)[keyof typeof MessagingDataType];
|
|
97
|
+
export declare const SortOrder: {
|
|
98
|
+
readonly ASCENDING: "ASCENDING";
|
|
99
|
+
readonly DESCENDING: "DESCENDING";
|
|
100
|
+
};
|
|
101
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
102
|
+
export declare const SearchFieldKey: {
|
|
103
|
+
readonly MEMBERS: "MEMBERS";
|
|
104
|
+
};
|
|
105
|
+
export type SearchFieldKey =
|
|
106
|
+
(typeof SearchFieldKey)[keyof typeof SearchFieldKey];
|
|
107
|
+
export declare const SearchFieldOperator: {
|
|
108
|
+
readonly EQUALS: "EQUALS";
|
|
109
|
+
readonly INCLUDES: "INCLUDES";
|
|
110
|
+
};
|
|
111
|
+
export type SearchFieldOperator =
|
|
112
|
+
(typeof SearchFieldOperator)[keyof typeof SearchFieldOperator];
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ChimeSDKMessagingServiceException as __BaseException } from "./ChimeSDKMessagingServiceException";
|
|
3
|
+
import { ErrorCode } from "./enums";
|
|
4
|
+
export declare class BadRequestException extends __BaseException {
|
|
5
|
+
readonly name: "BadRequestException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
Code?: ErrorCode | undefined;
|
|
8
|
+
Message?: string | undefined;
|
|
9
|
+
constructor(
|
|
10
|
+
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
export declare class ConflictException extends __BaseException {
|
|
14
|
+
readonly name: "ConflictException";
|
|
15
|
+
readonly $fault: "client";
|
|
16
|
+
Code?: ErrorCode | undefined;
|
|
17
|
+
Message?: string | undefined;
|
|
18
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
19
|
+
}
|
|
20
|
+
export declare class ForbiddenException extends __BaseException {
|
|
21
|
+
readonly name: "ForbiddenException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
Code?: ErrorCode | undefined;
|
|
24
|
+
Message?: string | undefined;
|
|
25
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
export declare class NotFoundException extends __BaseException {
|
|
28
|
+
readonly name: "NotFoundException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
Code?: ErrorCode | undefined;
|
|
31
|
+
Message?: string | undefined;
|
|
32
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
33
|
+
}
|
|
34
|
+
export declare class ServiceFailureException extends __BaseException {
|
|
35
|
+
readonly name: "ServiceFailureException";
|
|
36
|
+
readonly $fault: "server";
|
|
37
|
+
Code?: ErrorCode | undefined;
|
|
38
|
+
Message?: string | undefined;
|
|
39
|
+
constructor(
|
|
40
|
+
opts: __ExceptionOptionType<ServiceFailureException, __BaseException>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
44
|
+
readonly name: "ServiceUnavailableException";
|
|
45
|
+
readonly $fault: "server";
|
|
46
|
+
Code?: ErrorCode | undefined;
|
|
47
|
+
Message?: string | undefined;
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export declare class ThrottledClientException extends __BaseException {
|
|
53
|
+
readonly name: "ThrottledClientException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
Code?: ErrorCode | undefined;
|
|
56
|
+
Message?: string | undefined;
|
|
57
|
+
constructor(
|
|
58
|
+
opts: __ExceptionOptionType<ThrottledClientException, __BaseException>
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
export declare class UnauthorizedClientException extends __BaseException {
|
|
62
|
+
readonly name: "UnauthorizedClientException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
Code?: ErrorCode | undefined;
|
|
65
|
+
Message?: string | undefined;
|
|
66
|
+
constructor(
|
|
67
|
+
opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
export declare class ResourceLimitExceededException extends __BaseException {
|
|
71
|
+
readonly name: "ResourceLimitExceededException";
|
|
72
|
+
readonly $fault: "client";
|
|
73
|
+
Code?: ErrorCode | undefined;
|
|
74
|
+
Message?: string | undefined;
|
|
75
|
+
constructor(
|
|
76
|
+
opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
|
|
77
|
+
);
|
|
78
|
+
}
|