@aws-sdk/client-chime-sdk-messaging 3.933.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.
@@ -0,0 +1,218 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AllowNotifications: {
6
+ readonly ALL: "ALL";
7
+ readonly FILTERED: "FILTERED";
8
+ readonly NONE: "NONE";
9
+ };
10
+ /**
11
+ * @public
12
+ */
13
+ export type AllowNotifications = (typeof AllowNotifications)[keyof typeof AllowNotifications];
14
+ /**
15
+ * @public
16
+ * @enum
17
+ */
18
+ export declare const ChannelMembershipType: {
19
+ readonly DEFAULT: "DEFAULT";
20
+ readonly HIDDEN: "HIDDEN";
21
+ };
22
+ /**
23
+ * @public
24
+ */
25
+ export type ChannelMembershipType = (typeof ChannelMembershipType)[keyof typeof ChannelMembershipType];
26
+ /**
27
+ * @public
28
+ * @enum
29
+ */
30
+ export declare const ErrorCode: {
31
+ readonly AccessDenied: "AccessDenied";
32
+ readonly BadRequest: "BadRequest";
33
+ readonly Conflict: "Conflict";
34
+ readonly Forbidden: "Forbidden";
35
+ readonly NotFound: "NotFound";
36
+ readonly PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist";
37
+ readonly PreconditionFailed: "PreconditionFailed";
38
+ readonly ResourceLimitExceeded: "ResourceLimitExceeded";
39
+ readonly ServiceFailure: "ServiceFailure";
40
+ readonly ServiceUnavailable: "ServiceUnavailable";
41
+ readonly Throttled: "Throttled";
42
+ readonly Throttling: "Throttling";
43
+ readonly Unauthorized: "Unauthorized";
44
+ readonly Unprocessable: "Unprocessable";
45
+ readonly VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist";
46
+ };
47
+ /**
48
+ * @public
49
+ */
50
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
51
+ /**
52
+ * @public
53
+ * @enum
54
+ */
55
+ export declare const ExpirationCriterion: {
56
+ readonly CREATED_TIMESTAMP: "CREATED_TIMESTAMP";
57
+ readonly LAST_MESSAGE_TIMESTAMP: "LAST_MESSAGE_TIMESTAMP";
58
+ };
59
+ /**
60
+ * @public
61
+ */
62
+ export type ExpirationCriterion = (typeof ExpirationCriterion)[keyof typeof ExpirationCriterion];
63
+ /**
64
+ * @public
65
+ * @enum
66
+ */
67
+ export declare const ChannelMode: {
68
+ readonly RESTRICTED: "RESTRICTED";
69
+ readonly UNRESTRICTED: "UNRESTRICTED";
70
+ };
71
+ /**
72
+ * @public
73
+ */
74
+ export type ChannelMode = (typeof ChannelMode)[keyof typeof ChannelMode];
75
+ /**
76
+ * @public
77
+ * @enum
78
+ */
79
+ export declare const ChannelPrivacy: {
80
+ readonly PRIVATE: "PRIVATE";
81
+ readonly PUBLIC: "PUBLIC";
82
+ };
83
+ /**
84
+ * @public
85
+ */
86
+ export type ChannelPrivacy = (typeof ChannelPrivacy)[keyof typeof ChannelPrivacy];
87
+ /**
88
+ * @public
89
+ * @enum
90
+ */
91
+ export declare const InvocationType: {
92
+ readonly ASYNC: "ASYNC";
93
+ };
94
+ /**
95
+ * @public
96
+ */
97
+ export type InvocationType = (typeof InvocationType)[keyof typeof InvocationType];
98
+ /**
99
+ * @public
100
+ * @enum
101
+ */
102
+ export declare const FallbackAction: {
103
+ readonly ABORT: "ABORT";
104
+ readonly CONTINUE: "CONTINUE";
105
+ };
106
+ /**
107
+ * @public
108
+ */
109
+ export type FallbackAction = (typeof FallbackAction)[keyof typeof FallbackAction];
110
+ /**
111
+ * @public
112
+ * @enum
113
+ */
114
+ export declare const PushNotificationType: {
115
+ readonly DEFAULT: "DEFAULT";
116
+ readonly VOIP: "VOIP";
117
+ };
118
+ /**
119
+ * @public
120
+ */
121
+ export type PushNotificationType = (typeof PushNotificationType)[keyof typeof PushNotificationType];
122
+ /**
123
+ * @public
124
+ * @enum
125
+ */
126
+ export declare const ChannelMessagePersistenceType: {
127
+ readonly NON_PERSISTENT: "NON_PERSISTENT";
128
+ readonly PERSISTENT: "PERSISTENT";
129
+ };
130
+ /**
131
+ * @public
132
+ */
133
+ export type ChannelMessagePersistenceType = (typeof ChannelMessagePersistenceType)[keyof typeof ChannelMessagePersistenceType];
134
+ /**
135
+ * @public
136
+ * @enum
137
+ */
138
+ export declare const ChannelMessageStatus: {
139
+ readonly DENIED: "DENIED";
140
+ readonly FAILED: "FAILED";
141
+ readonly PENDING: "PENDING";
142
+ readonly SENT: "SENT";
143
+ };
144
+ /**
145
+ * @public
146
+ */
147
+ export type ChannelMessageStatus = (typeof ChannelMessageStatus)[keyof typeof ChannelMessageStatus];
148
+ /**
149
+ * @public
150
+ * @enum
151
+ */
152
+ export declare const ChannelMessageType: {
153
+ readonly CONTROL: "CONTROL";
154
+ readonly STANDARD: "STANDARD";
155
+ };
156
+ /**
157
+ * @public
158
+ */
159
+ export type ChannelMessageType = (typeof ChannelMessageType)[keyof typeof ChannelMessageType];
160
+ /**
161
+ * @public
162
+ * @enum
163
+ */
164
+ export declare const NetworkType: {
165
+ readonly DUAL_STACK: "DUAL_STACK";
166
+ readonly IPV4_ONLY: "IPV4_ONLY";
167
+ };
168
+ /**
169
+ * @public
170
+ */
171
+ export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
172
+ /**
173
+ * @public
174
+ * @enum
175
+ */
176
+ export declare const MessagingDataType: {
177
+ readonly Channel: "Channel";
178
+ readonly ChannelMessage: "ChannelMessage";
179
+ };
180
+ /**
181
+ * @public
182
+ */
183
+ export type MessagingDataType = (typeof MessagingDataType)[keyof typeof MessagingDataType];
184
+ /**
185
+ * @public
186
+ * @enum
187
+ */
188
+ export declare const SortOrder: {
189
+ readonly ASCENDING: "ASCENDING";
190
+ readonly DESCENDING: "DESCENDING";
191
+ };
192
+ /**
193
+ * @public
194
+ */
195
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
196
+ /**
197
+ * @public
198
+ * @enum
199
+ */
200
+ export declare const SearchFieldKey: {
201
+ readonly MEMBERS: "MEMBERS";
202
+ };
203
+ /**
204
+ * @public
205
+ */
206
+ export type SearchFieldKey = (typeof SearchFieldKey)[keyof typeof SearchFieldKey];
207
+ /**
208
+ * @public
209
+ * @enum
210
+ */
211
+ export declare const SearchFieldOperator: {
212
+ readonly EQUALS: "EQUALS";
213
+ readonly INCLUDES: "INCLUDES";
214
+ };
215
+ /**
216
+ * @public
217
+ */
218
+ export type SearchFieldOperator = (typeof SearchFieldOperator)[keyof typeof SearchFieldOperator];
@@ -0,0 +1,130 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ChimeSDKMessagingServiceException as __BaseException } from "./ChimeSDKMessagingServiceException";
3
+ import { ErrorCode } from "./enums";
4
+ /**
5
+ * <p>The input parameters don't match the service's restrictions.</p>
6
+ * @public
7
+ */
8
+ export declare class BadRequestException extends __BaseException {
9
+ readonly name: "BadRequestException";
10
+ readonly $fault: "client";
11
+ Code?: ErrorCode | undefined;
12
+ Message?: string | undefined;
13
+ /**
14
+ * @internal
15
+ */
16
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
17
+ }
18
+ /**
19
+ * <p>The request could not be processed because of conflict in the current state of the
20
+ * resource.</p>
21
+ * @public
22
+ */
23
+ export declare class ConflictException extends __BaseException {
24
+ readonly name: "ConflictException";
25
+ readonly $fault: "client";
26
+ Code?: ErrorCode | undefined;
27
+ Message?: string | undefined;
28
+ /**
29
+ * @internal
30
+ */
31
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
32
+ }
33
+ /**
34
+ * <p>The client is permanently forbidden from making the request.</p>
35
+ * @public
36
+ */
37
+ export declare class ForbiddenException extends __BaseException {
38
+ readonly name: "ForbiddenException";
39
+ readonly $fault: "client";
40
+ Code?: ErrorCode | undefined;
41
+ Message?: string | undefined;
42
+ /**
43
+ * @internal
44
+ */
45
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
46
+ }
47
+ /**
48
+ * <p>One or more of the resources in the request does not exist in the system.</p>
49
+ * @public
50
+ */
51
+ export declare class NotFoundException extends __BaseException {
52
+ readonly name: "NotFoundException";
53
+ readonly $fault: "client";
54
+ Code?: ErrorCode | undefined;
55
+ Message?: string | undefined;
56
+ /**
57
+ * @internal
58
+ */
59
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
60
+ }
61
+ /**
62
+ * <p>The service encountered an unexpected error.</p>
63
+ * @public
64
+ */
65
+ export declare class ServiceFailureException extends __BaseException {
66
+ readonly name: "ServiceFailureException";
67
+ readonly $fault: "server";
68
+ Code?: ErrorCode | undefined;
69
+ Message?: string | undefined;
70
+ /**
71
+ * @internal
72
+ */
73
+ constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
74
+ }
75
+ /**
76
+ * <p>The service is currently unavailable.</p>
77
+ * @public
78
+ */
79
+ export declare class ServiceUnavailableException extends __BaseException {
80
+ readonly name: "ServiceUnavailableException";
81
+ readonly $fault: "server";
82
+ Code?: ErrorCode | undefined;
83
+ Message?: string | undefined;
84
+ /**
85
+ * @internal
86
+ */
87
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
88
+ }
89
+ /**
90
+ * <p>The client exceeded its request rate limit.</p>
91
+ * @public
92
+ */
93
+ export declare class ThrottledClientException extends __BaseException {
94
+ readonly name: "ThrottledClientException";
95
+ readonly $fault: "client";
96
+ Code?: ErrorCode | undefined;
97
+ Message?: string | undefined;
98
+ /**
99
+ * @internal
100
+ */
101
+ constructor(opts: __ExceptionOptionType<ThrottledClientException, __BaseException>);
102
+ }
103
+ /**
104
+ * <p>The client is not currently authorized to make the request.</p>
105
+ * @public
106
+ */
107
+ export declare class UnauthorizedClientException extends __BaseException {
108
+ readonly name: "UnauthorizedClientException";
109
+ readonly $fault: "client";
110
+ Code?: ErrorCode | undefined;
111
+ Message?: string | undefined;
112
+ /**
113
+ * @internal
114
+ */
115
+ constructor(opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>);
116
+ }
117
+ /**
118
+ * <p>The request exceeds the resource limit.</p>
119
+ * @public
120
+ */
121
+ export declare class ResourceLimitExceededException extends __BaseException {
122
+ readonly name: "ResourceLimitExceededException";
123
+ readonly $fault: "client";
124
+ Code?: ErrorCode | undefined;
125
+ Message?: string | undefined;
126
+ /**
127
+ * @internal
128
+ */
129
+ constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
130
+ }