@aws-sdk/client-chime-sdk-messaging 3.300.0 → 3.303.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist-cjs/models/models_0.js +78 -94
  2. package/dist-es/models/models_0.js +78 -94
  3. package/dist-types/commands/AssociateChannelFlowCommand.d.ts +1 -1
  4. package/dist-types/commands/BatchCreateChannelMembershipCommand.d.ts +2 -2
  5. package/dist-types/commands/ChannelFlowCallbackCommand.d.ts +6 -6
  6. package/dist-types/commands/CreateChannelBanCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateChannelCommand.d.ts +7 -7
  8. package/dist-types/commands/CreateChannelFlowCommand.d.ts +7 -7
  9. package/dist-types/commands/CreateChannelMembershipCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateChannelModeratorCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteChannelBanCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteChannelCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteChannelFlowCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteChannelMessageCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeChannelBanCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeChannelCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeChannelFlowCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeChannelMembershipCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeChannelModeratorCommand.d.ts +1 -1
  25. package/dist-types/commands/DisassociateChannelFlowCommand.d.ts +1 -1
  26. package/dist-types/commands/GetChannelMembershipPreferencesCommand.d.ts +1 -1
  27. package/dist-types/commands/GetChannelMessageCommand.d.ts +1 -1
  28. package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +1 -1
  29. package/dist-types/commands/GetMessagingStreamingConfigurationsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListChannelBansCommand.d.ts +1 -1
  31. package/dist-types/commands/ListChannelFlowsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListChannelMembershipsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +1 -1
  34. package/dist-types/commands/ListChannelMessagesCommand.d.ts +1 -1
  35. package/dist-types/commands/ListChannelModeratorsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +1 -1
  37. package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +1 -1
  39. package/dist-types/commands/ListSubChannelsCommand.d.ts +1 -1
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  41. package/dist-types/commands/PutChannelExpirationSettingsCommand.d.ts +2 -2
  42. package/dist-types/commands/PutChannelMembershipPreferencesCommand.d.ts +3 -3
  43. package/dist-types/commands/PutMessagingStreamingConfigurationsCommand.d.ts +3 -3
  44. package/dist-types/commands/RedactChannelMessageCommand.d.ts +1 -1
  45. package/dist-types/commands/SearchChannelsCommand.d.ts +4 -4
  46. package/dist-types/commands/SendChannelMessageCommand.d.ts +5 -5
  47. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  48. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  49. package/dist-types/commands/UpdateChannelCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateChannelFlowCommand.d.ts +5 -5
  51. package/dist-types/commands/UpdateChannelMessageCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +1 -1
  53. package/dist-types/models/models_0.d.ts +158 -78
  54. package/dist-types/ts3.4/models/models_0.d.ts +107 -78
  55. package/package.json +34 -34
@@ -2,19 +2,29 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { ChimeSDKMessagingServiceException as __BaseException } from "./ChimeSDKMessagingServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum AllowNotifications {
7
- ALL = "ALL",
8
- FILTERED = "FILTERED",
9
- NONE = "NONE"
10
- }
7
+ export declare const AllowNotifications: {
8
+ readonly ALL: "ALL";
9
+ readonly FILTERED: "FILTERED";
10
+ readonly NONE: "NONE";
11
+ };
11
12
  /**
12
13
  * @public
13
14
  */
14
- export declare enum ChannelMembershipType {
15
- DEFAULT = "DEFAULT",
16
- HIDDEN = "HIDDEN"
17
- }
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];
18
28
  /**
19
29
  * @public
20
30
  * <p>Summary of the membership details of an <code>AppInstanceUser</code>.</p>
@@ -52,24 +62,29 @@ export interface AssociateChannelFlowRequest {
52
62
  }
53
63
  /**
54
64
  * @public
65
+ * @enum
55
66
  */
56
- export declare enum ErrorCode {
57
- AccessDenied = "AccessDenied",
58
- BadRequest = "BadRequest",
59
- Conflict = "Conflict",
60
- Forbidden = "Forbidden",
61
- NotFound = "NotFound",
62
- PhoneNumberAssociationsExist = "PhoneNumberAssociationsExist",
63
- PreconditionFailed = "PreconditionFailed",
64
- ResourceLimitExceeded = "ResourceLimitExceeded",
65
- ServiceFailure = "ServiceFailure",
66
- ServiceUnavailable = "ServiceUnavailable",
67
- Throttled = "Throttled",
68
- Throttling = "Throttling",
69
- Unauthorized = "Unauthorized",
70
- Unprocessable = "Unprocessable",
71
- VoiceConnectorGroupAssociationsExist = "VoiceConnectorGroupAssociationsExist"
72
- }
67
+ export declare const ErrorCode: {
68
+ readonly AccessDenied: "AccessDenied";
69
+ readonly BadRequest: "BadRequest";
70
+ readonly Conflict: "Conflict";
71
+ readonly Forbidden: "Forbidden";
72
+ readonly NotFound: "NotFound";
73
+ readonly PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist";
74
+ readonly PreconditionFailed: "PreconditionFailed";
75
+ readonly ResourceLimitExceeded: "ResourceLimitExceeded";
76
+ readonly ServiceFailure: "ServiceFailure";
77
+ readonly ServiceUnavailable: "ServiceUnavailable";
78
+ readonly Throttled: "Throttled";
79
+ readonly Throttling: "Throttling";
80
+ readonly Unauthorized: "Unauthorized";
81
+ readonly Unprocessable: "Unprocessable";
82
+ readonly VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist";
83
+ };
84
+ /**
85
+ * @public
86
+ */
87
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
73
88
  /**
74
89
  * @public
75
90
  * <p>The input parameters don't match the service's restrictions.</p>
@@ -324,11 +339,16 @@ export interface ElasticChannelConfiguration {
324
339
  }
325
340
  /**
326
341
  * @public
342
+ * @enum
327
343
  */
328
- export declare enum ExpirationCriterion {
329
- CREATED_TIMESTAMP = "CREATED_TIMESTAMP",
330
- LAST_MESSAGE_TIMESTAMP = "LAST_MESSAGE_TIMESTAMP"
331
- }
344
+ export declare const ExpirationCriterion: {
345
+ readonly CREATED_TIMESTAMP: "CREATED_TIMESTAMP";
346
+ readonly LAST_MESSAGE_TIMESTAMP: "LAST_MESSAGE_TIMESTAMP";
347
+ };
348
+ /**
349
+ * @public
350
+ */
351
+ export type ExpirationCriterion = (typeof ExpirationCriterion)[keyof typeof ExpirationCriterion];
332
352
  /**
333
353
  * @public
334
354
  * <p>Settings that control the interval after which a channel is deleted.</p>
@@ -345,18 +365,28 @@ export interface ExpirationSettings {
345
365
  }
346
366
  /**
347
367
  * @public
368
+ * @enum
348
369
  */
349
- export declare enum ChannelMode {
350
- RESTRICTED = "RESTRICTED",
351
- UNRESTRICTED = "UNRESTRICTED"
352
- }
370
+ export declare const ChannelMode: {
371
+ readonly RESTRICTED: "RESTRICTED";
372
+ readonly UNRESTRICTED: "UNRESTRICTED";
373
+ };
353
374
  /**
354
375
  * @public
355
376
  */
356
- export declare enum ChannelPrivacy {
357
- PRIVATE = "PRIVATE",
358
- PUBLIC = "PUBLIC"
359
- }
377
+ export type ChannelMode = (typeof ChannelMode)[keyof typeof ChannelMode];
378
+ /**
379
+ * @public
380
+ * @enum
381
+ */
382
+ export declare const ChannelPrivacy: {
383
+ readonly PRIVATE: "PRIVATE";
384
+ readonly PUBLIC: "PUBLIC";
385
+ };
386
+ /**
387
+ * @public
388
+ */
389
+ export type ChannelPrivacy = (typeof ChannelPrivacy)[keyof typeof ChannelPrivacy];
360
390
  /**
361
391
  * @public
362
392
  * <p>The details of a channel.</p>
@@ -471,10 +501,15 @@ export interface ChannelBanSummary {
471
501
  }
472
502
  /**
473
503
  * @public
504
+ * @enum
474
505
  */
475
- export declare enum InvocationType {
476
- ASYNC = "ASYNC"
477
- }
506
+ export declare const InvocationType: {
507
+ readonly ASYNC: "ASYNC";
508
+ };
509
+ /**
510
+ * @public
511
+ */
512
+ export type InvocationType = (typeof InvocationType)[keyof typeof InvocationType];
478
513
  /**
479
514
  * @public
480
515
  * <p>Stores metadata about a Lambda processor.</p>
@@ -501,11 +536,16 @@ export interface ProcessorConfiguration {
501
536
  }
502
537
  /**
503
538
  * @public
539
+ * @enum
504
540
  */
505
- export declare enum FallbackAction {
506
- ABORT = "ABORT",
507
- CONTINUE = "CONTINUE"
508
- }
541
+ export declare const FallbackAction: {
542
+ readonly ABORT: "ABORT";
543
+ readonly CONTINUE: "CONTINUE";
544
+ };
545
+ /**
546
+ * @public
547
+ */
548
+ export type FallbackAction = (typeof FallbackAction)[keyof typeof FallbackAction];
509
549
  /**
510
550
  * @public
511
551
  * <p>The information about a processor in a channel flow.</p>
@@ -569,11 +609,16 @@ export interface MessageAttributeValue {
569
609
  }
570
610
  /**
571
611
  * @public
612
+ * @enum
572
613
  */
573
- export declare enum PushNotificationType {
574
- DEFAULT = "DEFAULT",
575
- VOIP = "VOIP"
576
- }
614
+ export declare const PushNotificationType: {
615
+ readonly DEFAULT: "DEFAULT";
616
+ readonly VOIP: "VOIP";
617
+ };
618
+ /**
619
+ * @public
620
+ */
621
+ export type PushNotificationType = (typeof PushNotificationType)[keyof typeof PushNotificationType];
577
622
  /**
578
623
  * @public
579
624
  * <p>The push notification configuration of the message.</p>
@@ -796,20 +841,30 @@ export interface ChannelMembershipSummary {
796
841
  }
797
842
  /**
798
843
  * @public
844
+ * @enum
799
845
  */
800
- export declare enum ChannelMessagePersistenceType {
801
- NON_PERSISTENT = "NON_PERSISTENT",
802
- PERSISTENT = "PERSISTENT"
803
- }
846
+ export declare const ChannelMessagePersistenceType: {
847
+ readonly NON_PERSISTENT: "NON_PERSISTENT";
848
+ readonly PERSISTENT: "PERSISTENT";
849
+ };
804
850
  /**
805
851
  * @public
806
852
  */
807
- export declare enum ChannelMessageStatus {
808
- DENIED = "DENIED",
809
- FAILED = "FAILED",
810
- PENDING = "PENDING",
811
- SENT = "SENT"
812
- }
853
+ export type ChannelMessagePersistenceType = (typeof ChannelMessagePersistenceType)[keyof typeof ChannelMessagePersistenceType];
854
+ /**
855
+ * @public
856
+ * @enum
857
+ */
858
+ export declare const ChannelMessageStatus: {
859
+ readonly DENIED: "DENIED";
860
+ readonly FAILED: "FAILED";
861
+ readonly PENDING: "PENDING";
862
+ readonly SENT: "SENT";
863
+ };
864
+ /**
865
+ * @public
866
+ */
867
+ export type ChannelMessageStatus = (typeof ChannelMessageStatus)[keyof typeof ChannelMessageStatus];
813
868
  /**
814
869
  * @public
815
870
  * <p>Stores information about a message status.</p>
@@ -826,11 +881,16 @@ export interface ChannelMessageStatusStructure {
826
881
  }
827
882
  /**
828
883
  * @public
884
+ * @enum
829
885
  */
830
- export declare enum ChannelMessageType {
831
- CONTROL = "CONTROL",
832
- STANDARD = "STANDARD"
833
- }
886
+ export declare const ChannelMessageType: {
887
+ readonly CONTROL: "CONTROL";
888
+ readonly STANDARD: "STANDARD";
889
+ };
890
+ /**
891
+ * @public
892
+ */
893
+ export type ChannelMessageType = (typeof ChannelMessageType)[keyof typeof ChannelMessageType];
834
894
  /**
835
895
  * @public
836
896
  * <p>The details of a message in a channel.</p>
@@ -1682,11 +1742,16 @@ export interface GetMessagingStreamingConfigurationsRequest {
1682
1742
  }
1683
1743
  /**
1684
1744
  * @public
1745
+ * @enum
1685
1746
  */
1686
- export declare enum MessagingDataType {
1687
- Channel = "Channel",
1688
- ChannelMessage = "ChannelMessage"
1689
- }
1747
+ export declare const MessagingDataType: {
1748
+ readonly Channel: "Channel";
1749
+ readonly ChannelMessage: "ChannelMessage";
1750
+ };
1751
+ /**
1752
+ * @public
1753
+ */
1754
+ export type MessagingDataType = (typeof MessagingDataType)[keyof typeof MessagingDataType];
1690
1755
  /**
1691
1756
  * @public
1692
1757
  * <p>The configuration for connecting a messaging stream to Amazon Kinesis.</p>
@@ -1872,11 +1937,16 @@ export interface ListChannelMembershipsForAppInstanceUserResponse {
1872
1937
  }
1873
1938
  /**
1874
1939
  * @public
1940
+ * @enum
1875
1941
  */
1876
- export declare enum SortOrder {
1877
- ASCENDING = "ASCENDING",
1878
- DESCENDING = "DESCENDING"
1879
- }
1942
+ export declare const SortOrder: {
1943
+ readonly ASCENDING: "ASCENDING";
1944
+ readonly DESCENDING: "DESCENDING";
1945
+ };
1946
+ /**
1947
+ * @public
1948
+ */
1949
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
1880
1950
  /**
1881
1951
  * @public
1882
1952
  */
@@ -2294,17 +2364,27 @@ export interface RedactChannelMessageResponse {
2294
2364
  }
2295
2365
  /**
2296
2366
  * @public
2367
+ * @enum
2297
2368
  */
2298
- export declare enum SearchFieldKey {
2299
- MEMBERS = "MEMBERS"
2300
- }
2369
+ export declare const SearchFieldKey: {
2370
+ readonly MEMBERS: "MEMBERS";
2371
+ };
2301
2372
  /**
2302
2373
  * @public
2303
2374
  */
2304
- export declare enum SearchFieldOperator {
2305
- EQUALS = "EQUALS",
2306
- INCLUDES = "INCLUDES"
2307
- }
2375
+ export type SearchFieldKey = (typeof SearchFieldKey)[keyof typeof SearchFieldKey];
2376
+ /**
2377
+ * @public
2378
+ * @enum
2379
+ */
2380
+ export declare const SearchFieldOperator: {
2381
+ readonly EQUALS: "EQUALS";
2382
+ readonly INCLUDES: "INCLUDES";
2383
+ };
2384
+ /**
2385
+ * @public
2386
+ */
2387
+ export type SearchFieldOperator = (typeof SearchFieldOperator)[keyof typeof SearchFieldOperator];
2308
2388
  /**
2309
2389
  * @public
2310
2390
  * <p>A <code>Field</code> of the channel that you want to search.</p>
@@ -1,14 +1,18 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ChimeSDKMessagingServiceException as __BaseException } from "./ChimeSDKMessagingServiceException";
3
- export declare enum AllowNotifications {
4
- ALL = "ALL",
5
- FILTERED = "FILTERED",
6
- NONE = "NONE",
7
- }
8
- export declare enum ChannelMembershipType {
9
- DEFAULT = "DEFAULT",
10
- HIDDEN = "HIDDEN",
11
- }
3
+ export declare const AllowNotifications: {
4
+ readonly ALL: "ALL";
5
+ readonly FILTERED: "FILTERED";
6
+ readonly NONE: "NONE";
7
+ };
8
+ export type AllowNotifications =
9
+ (typeof AllowNotifications)[keyof typeof AllowNotifications];
10
+ export declare const ChannelMembershipType: {
11
+ readonly DEFAULT: "DEFAULT";
12
+ readonly HIDDEN: "HIDDEN";
13
+ };
14
+ export type ChannelMembershipType =
15
+ (typeof ChannelMembershipType)[keyof typeof ChannelMembershipType];
12
16
  export interface AppInstanceUserMembershipSummary {
13
17
  Type?: ChannelMembershipType | string;
14
18
  ReadMarkerTimestamp?: Date;
@@ -19,23 +23,24 @@ export interface AssociateChannelFlowRequest {
19
23
  ChannelFlowArn: string | undefined;
20
24
  ChimeBearer: string | undefined;
21
25
  }
22
- export declare enum ErrorCode {
23
- AccessDenied = "AccessDenied",
24
- BadRequest = "BadRequest",
25
- Conflict = "Conflict",
26
- Forbidden = "Forbidden",
27
- NotFound = "NotFound",
28
- PhoneNumberAssociationsExist = "PhoneNumberAssociationsExist",
29
- PreconditionFailed = "PreconditionFailed",
30
- ResourceLimitExceeded = "ResourceLimitExceeded",
31
- ServiceFailure = "ServiceFailure",
32
- ServiceUnavailable = "ServiceUnavailable",
33
- Throttled = "Throttled",
34
- Throttling = "Throttling",
35
- Unauthorized = "Unauthorized",
36
- Unprocessable = "Unprocessable",
37
- VoiceConnectorGroupAssociationsExist = "VoiceConnectorGroupAssociationsExist",
38
- }
26
+ export declare const ErrorCode: {
27
+ readonly AccessDenied: "AccessDenied";
28
+ readonly BadRequest: "BadRequest";
29
+ readonly Conflict: "Conflict";
30
+ readonly Forbidden: "Forbidden";
31
+ readonly NotFound: "NotFound";
32
+ readonly PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist";
33
+ readonly PreconditionFailed: "PreconditionFailed";
34
+ readonly ResourceLimitExceeded: "ResourceLimitExceeded";
35
+ readonly ServiceFailure: "ServiceFailure";
36
+ readonly ServiceUnavailable: "ServiceUnavailable";
37
+ readonly Throttled: "Throttled";
38
+ readonly Throttling: "Throttling";
39
+ readonly Unauthorized: "Unauthorized";
40
+ readonly Unprocessable: "Unprocessable";
41
+ readonly VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist";
42
+ };
43
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
39
44
  export declare class BadRequestException extends __BaseException {
40
45
  readonly name: "BadRequestException";
41
46
  readonly $fault: "client";
@@ -143,22 +148,27 @@ export interface ElasticChannelConfiguration {
143
148
  TargetMembershipsPerSubChannel: number | undefined;
144
149
  MinimumMembershipPercentage: number | undefined;
145
150
  }
146
- export declare enum ExpirationCriterion {
147
- CREATED_TIMESTAMP = "CREATED_TIMESTAMP",
148
- LAST_MESSAGE_TIMESTAMP = "LAST_MESSAGE_TIMESTAMP",
149
- }
151
+ export declare const ExpirationCriterion: {
152
+ readonly CREATED_TIMESTAMP: "CREATED_TIMESTAMP";
153
+ readonly LAST_MESSAGE_TIMESTAMP: "LAST_MESSAGE_TIMESTAMP";
154
+ };
155
+ export type ExpirationCriterion =
156
+ (typeof ExpirationCriterion)[keyof typeof ExpirationCriterion];
150
157
  export interface ExpirationSettings {
151
158
  ExpirationDays: number | undefined;
152
159
  ExpirationCriterion: ExpirationCriterion | string | undefined;
153
160
  }
154
- export declare enum ChannelMode {
155
- RESTRICTED = "RESTRICTED",
156
- UNRESTRICTED = "UNRESTRICTED",
157
- }
158
- export declare enum ChannelPrivacy {
159
- PRIVATE = "PRIVATE",
160
- PUBLIC = "PUBLIC",
161
- }
161
+ export declare const ChannelMode: {
162
+ readonly RESTRICTED: "RESTRICTED";
163
+ readonly UNRESTRICTED: "UNRESTRICTED";
164
+ };
165
+ export type ChannelMode = (typeof ChannelMode)[keyof typeof ChannelMode];
166
+ export declare const ChannelPrivacy: {
167
+ readonly PRIVATE: "PRIVATE";
168
+ readonly PUBLIC: "PUBLIC";
169
+ };
170
+ export type ChannelPrivacy =
171
+ (typeof ChannelPrivacy)[keyof typeof ChannelPrivacy];
162
172
  export interface Channel {
163
173
  Name?: string;
164
174
  ChannelArn?: string;
@@ -189,9 +199,11 @@ export interface ChannelBan {
189
199
  export interface ChannelBanSummary {
190
200
  Member?: Identity;
191
201
  }
192
- export declare enum InvocationType {
193
- ASYNC = "ASYNC",
194
- }
202
+ export declare const InvocationType: {
203
+ readonly ASYNC: "ASYNC";
204
+ };
205
+ export type InvocationType =
206
+ (typeof InvocationType)[keyof typeof InvocationType];
195
207
  export interface LambdaConfiguration {
196
208
  ResourceArn: string | undefined;
197
209
  InvocationType: InvocationType | string | undefined;
@@ -199,10 +211,12 @@ export interface LambdaConfiguration {
199
211
  export interface ProcessorConfiguration {
200
212
  Lambda: LambdaConfiguration | undefined;
201
213
  }
202
- export declare enum FallbackAction {
203
- ABORT = "ABORT",
204
- CONTINUE = "CONTINUE",
205
- }
214
+ export declare const FallbackAction: {
215
+ readonly ABORT: "ABORT";
216
+ readonly CONTINUE: "CONTINUE";
217
+ };
218
+ export type FallbackAction =
219
+ (typeof FallbackAction)[keyof typeof FallbackAction];
206
220
  export interface Processor {
207
221
  Name: string | undefined;
208
222
  Configuration: ProcessorConfiguration | undefined;
@@ -219,10 +233,12 @@ export interface ChannelFlow {
219
233
  export interface MessageAttributeValue {
220
234
  StringValues?: string[];
221
235
  }
222
- export declare enum PushNotificationType {
223
- DEFAULT = "DEFAULT",
224
- VOIP = "VOIP",
225
- }
236
+ export declare const PushNotificationType: {
237
+ readonly DEFAULT: "DEFAULT";
238
+ readonly VOIP: "VOIP";
239
+ };
240
+ export type PushNotificationType =
241
+ (typeof PushNotificationType)[keyof typeof PushNotificationType];
226
242
  export interface PushNotificationConfiguration {
227
243
  Title?: string;
228
244
  Body?: string;
@@ -283,24 +299,30 @@ export interface ChannelMembershipPreferences {
283
299
  export interface ChannelMembershipSummary {
284
300
  Member?: Identity;
285
301
  }
286
- export declare enum ChannelMessagePersistenceType {
287
- NON_PERSISTENT = "NON_PERSISTENT",
288
- PERSISTENT = "PERSISTENT",
289
- }
290
- export declare enum ChannelMessageStatus {
291
- DENIED = "DENIED",
292
- FAILED = "FAILED",
293
- PENDING = "PENDING",
294
- SENT = "SENT",
295
- }
302
+ export declare const ChannelMessagePersistenceType: {
303
+ readonly NON_PERSISTENT: "NON_PERSISTENT";
304
+ readonly PERSISTENT: "PERSISTENT";
305
+ };
306
+ export type ChannelMessagePersistenceType =
307
+ (typeof ChannelMessagePersistenceType)[keyof typeof ChannelMessagePersistenceType];
308
+ export declare const ChannelMessageStatus: {
309
+ readonly DENIED: "DENIED";
310
+ readonly FAILED: "FAILED";
311
+ readonly PENDING: "PENDING";
312
+ readonly SENT: "SENT";
313
+ };
314
+ export type ChannelMessageStatus =
315
+ (typeof ChannelMessageStatus)[keyof typeof ChannelMessageStatus];
296
316
  export interface ChannelMessageStatusStructure {
297
317
  Value?: ChannelMessageStatus | string;
298
318
  Detail?: string;
299
319
  }
300
- export declare enum ChannelMessageType {
301
- CONTROL = "CONTROL",
302
- STANDARD = "STANDARD",
303
- }
320
+ export declare const ChannelMessageType: {
321
+ readonly CONTROL: "CONTROL";
322
+ readonly STANDARD: "STANDARD";
323
+ };
324
+ export type ChannelMessageType =
325
+ (typeof ChannelMessageType)[keyof typeof ChannelMessageType];
304
326
  export interface ChannelMessage {
305
327
  ChannelArn?: string;
306
328
  MessageId?: string;
@@ -536,10 +558,12 @@ export interface GetMessagingSessionEndpointResponse {
536
558
  export interface GetMessagingStreamingConfigurationsRequest {
537
559
  AppInstanceArn: string | undefined;
538
560
  }
539
- export declare enum MessagingDataType {
540
- Channel = "Channel",
541
- ChannelMessage = "ChannelMessage",
542
- }
561
+ export declare const MessagingDataType: {
562
+ readonly Channel: "Channel";
563
+ readonly ChannelMessage: "ChannelMessage";
564
+ };
565
+ export type MessagingDataType =
566
+ (typeof MessagingDataType)[keyof typeof MessagingDataType];
543
567
  export interface StreamingConfiguration {
544
568
  DataType: MessagingDataType | string | undefined;
545
569
  ResourceArn: string | undefined;
@@ -590,10 +614,11 @@ export interface ListChannelMembershipsForAppInstanceUserResponse {
590
614
  ChannelMemberships?: ChannelMembershipForAppInstanceUserSummary[];
591
615
  NextToken?: string;
592
616
  }
593
- export declare enum SortOrder {
594
- ASCENDING = "ASCENDING",
595
- DESCENDING = "DESCENDING",
596
- }
617
+ export declare const SortOrder: {
618
+ readonly ASCENDING: "ASCENDING";
619
+ readonly DESCENDING: "DESCENDING";
620
+ };
621
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
597
622
  export interface ListChannelMessagesRequest {
598
623
  ChannelArn: string | undefined;
599
624
  SortOrder?: SortOrder | string;
@@ -710,13 +735,17 @@ export interface RedactChannelMessageResponse {
710
735
  MessageId?: string;
711
736
  SubChannelId?: string;
712
737
  }
713
- export declare enum SearchFieldKey {
714
- MEMBERS = "MEMBERS",
715
- }
716
- export declare enum SearchFieldOperator {
717
- EQUALS = "EQUALS",
718
- INCLUDES = "INCLUDES",
719
- }
738
+ export declare const SearchFieldKey: {
739
+ readonly MEMBERS: "MEMBERS";
740
+ };
741
+ export type SearchFieldKey =
742
+ (typeof SearchFieldKey)[keyof typeof SearchFieldKey];
743
+ export declare const SearchFieldOperator: {
744
+ readonly EQUALS: "EQUALS";
745
+ readonly INCLUDES: "INCLUDES";
746
+ };
747
+ export type SearchFieldOperator =
748
+ (typeof SearchFieldOperator)[keyof typeof SearchFieldOperator];
720
749
  export interface SearchField {
721
750
  Key: SearchFieldKey | string | undefined;
722
751
  Values: string[] | undefined;