@aws-sdk/client-chime-sdk-messaging 3.686.0 → 3.691.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.
@@ -34,17 +34,17 @@ export interface AppInstanceUserMembershipSummary {
34
34
  * <p>The type of <code>ChannelMembership</code>.</p>
35
35
  * @public
36
36
  */
37
- Type?: ChannelMembershipType;
37
+ Type?: ChannelMembershipType | undefined;
38
38
  /**
39
39
  * <p>The time at which an <code>AppInstanceUser</code> last marked a channel as read.</p>
40
40
  * @public
41
41
  */
42
- ReadMarkerTimestamp?: Date;
42
+ ReadMarkerTimestamp?: Date | undefined;
43
43
  /**
44
44
  * <p>The ID of the SubChannel that the <code>AppInstanceUser</code> is a member of.</p>
45
45
  * @public
46
46
  */
47
- SubChannelId?: string;
47
+ SubChannelId?: string | undefined;
48
48
  }
49
49
  /**
50
50
  * @public
@@ -98,8 +98,8 @@ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
98
98
  export declare class BadRequestException extends __BaseException {
99
99
  readonly name: "BadRequestException";
100
100
  readonly $fault: "client";
101
- Code?: ErrorCode;
102
- Message?: string;
101
+ Code?: ErrorCode | undefined;
102
+ Message?: string | undefined;
103
103
  /**
104
104
  * @internal
105
105
  */
@@ -113,8 +113,8 @@ export declare class BadRequestException extends __BaseException {
113
113
  export declare class ConflictException extends __BaseException {
114
114
  readonly name: "ConflictException";
115
115
  readonly $fault: "client";
116
- Code?: ErrorCode;
117
- Message?: string;
116
+ Code?: ErrorCode | undefined;
117
+ Message?: string | undefined;
118
118
  /**
119
119
  * @internal
120
120
  */
@@ -127,8 +127,8 @@ export declare class ConflictException extends __BaseException {
127
127
  export declare class ForbiddenException extends __BaseException {
128
128
  readonly name: "ForbiddenException";
129
129
  readonly $fault: "client";
130
- Code?: ErrorCode;
131
- Message?: string;
130
+ Code?: ErrorCode | undefined;
131
+ Message?: string | undefined;
132
132
  /**
133
133
  * @internal
134
134
  */
@@ -141,8 +141,8 @@ export declare class ForbiddenException extends __BaseException {
141
141
  export declare class NotFoundException extends __BaseException {
142
142
  readonly name: "NotFoundException";
143
143
  readonly $fault: "client";
144
- Code?: ErrorCode;
145
- Message?: string;
144
+ Code?: ErrorCode | undefined;
145
+ Message?: string | undefined;
146
146
  /**
147
147
  * @internal
148
148
  */
@@ -155,8 +155,8 @@ export declare class NotFoundException extends __BaseException {
155
155
  export declare class ServiceFailureException extends __BaseException {
156
156
  readonly name: "ServiceFailureException";
157
157
  readonly $fault: "server";
158
- Code?: ErrorCode;
159
- Message?: string;
158
+ Code?: ErrorCode | undefined;
159
+ Message?: string | undefined;
160
160
  /**
161
161
  * @internal
162
162
  */
@@ -169,8 +169,8 @@ export declare class ServiceFailureException extends __BaseException {
169
169
  export declare class ServiceUnavailableException extends __BaseException {
170
170
  readonly name: "ServiceUnavailableException";
171
171
  readonly $fault: "server";
172
- Code?: ErrorCode;
173
- Message?: string;
172
+ Code?: ErrorCode | undefined;
173
+ Message?: string | undefined;
174
174
  /**
175
175
  * @internal
176
176
  */
@@ -183,8 +183,8 @@ export declare class ServiceUnavailableException extends __BaseException {
183
183
  export declare class ThrottledClientException extends __BaseException {
184
184
  readonly name: "ThrottledClientException";
185
185
  readonly $fault: "client";
186
- Code?: ErrorCode;
187
- Message?: string;
186
+ Code?: ErrorCode | undefined;
187
+ Message?: string | undefined;
188
188
  /**
189
189
  * @internal
190
190
  */
@@ -197,8 +197,8 @@ export declare class ThrottledClientException extends __BaseException {
197
197
  export declare class UnauthorizedClientException extends __BaseException {
198
198
  readonly name: "UnauthorizedClientException";
199
199
  readonly $fault: "client";
200
- Code?: ErrorCode;
201
- Message?: string;
200
+ Code?: ErrorCode | undefined;
201
+ Message?: string | undefined;
202
202
  /**
203
203
  * @internal
204
204
  */
@@ -213,12 +213,12 @@ export interface Identity {
213
213
  * <p>The ARN in an Identity.</p>
214
214
  * @public
215
215
  */
216
- Arn?: string;
216
+ Arn?: string | undefined;
217
217
  /**
218
218
  * <p>The name in an Identity.</p>
219
219
  * @public
220
220
  */
221
- Name?: string;
221
+ Name?: string | undefined;
222
222
  }
223
223
  /**
224
224
  * <p>The membership information, including member ARNs, the channel ARN, and membership
@@ -230,27 +230,27 @@ export interface BatchChannelMemberships {
230
230
  * <p>The identifier of the member who invited another member.</p>
231
231
  * @public
232
232
  */
233
- InvitedBy?: Identity;
233
+ InvitedBy?: Identity | undefined;
234
234
  /**
235
235
  * <p>The membership types set for the channel members.</p>
236
236
  * @public
237
237
  */
238
- Type?: ChannelMembershipType;
238
+ Type?: ChannelMembershipType | undefined;
239
239
  /**
240
240
  * <p>The users successfully added to the request.</p>
241
241
  * @public
242
242
  */
243
- Members?: Identity[];
243
+ Members?: Identity[] | undefined;
244
244
  /**
245
245
  * <p>The ARN of the channel to which you're adding members.</p>
246
246
  * @public
247
247
  */
248
- ChannelArn?: string;
248
+ ChannelArn?: string | undefined;
249
249
  /**
250
250
  * <p>The ID of the SubChannel.</p>
251
251
  * @public
252
252
  */
253
- SubChannelId?: string;
253
+ SubChannelId?: string | undefined;
254
254
  }
255
255
  /**
256
256
  * @public
@@ -269,7 +269,7 @@ export interface BatchCreateChannelMembershipRequest {
269
269
  * by moderators.</p>
270
270
  * @public
271
271
  */
272
- Type?: ChannelMembershipType;
272
+ Type?: ChannelMembershipType | undefined;
273
273
  /**
274
274
  * <p>The ARNs of the members you want to add to the channel. Only <code>AppInstanceUsers</code> and
275
275
  * <code>AppInstanceBots</code> can be added as a channel member.</p>
@@ -289,7 +289,7 @@ export interface BatchCreateChannelMembershipRequest {
289
289
  * </note>
290
290
  * @public
291
291
  */
292
- SubChannelId?: string;
292
+ SubChannelId?: string | undefined;
293
293
  }
294
294
  /**
295
295
  * <p>A list of failed member ARNs, error codes, and error messages.</p>
@@ -300,17 +300,17 @@ export interface BatchCreateChannelMembershipError {
300
300
  * <p>The <code>AppInstanceUserArn</code> of the member that the service couldn't add.</p>
301
301
  * @public
302
302
  */
303
- MemberArn?: string;
303
+ MemberArn?: string | undefined;
304
304
  /**
305
305
  * <p>The error code.</p>
306
306
  * @public
307
307
  */
308
- ErrorCode?: ErrorCode;
308
+ ErrorCode?: ErrorCode | undefined;
309
309
  /**
310
310
  * <p>The error message.</p>
311
311
  * @public
312
312
  */
313
- ErrorMessage?: string;
313
+ ErrorMessage?: string | undefined;
314
314
  }
315
315
  /**
316
316
  * @public
@@ -320,13 +320,13 @@ export interface BatchCreateChannelMembershipResponse {
320
320
  * <p>The list of channel memberships in the response.</p>
321
321
  * @public
322
322
  */
323
- BatchChannelMemberships?: BatchChannelMemberships;
323
+ BatchChannelMemberships?: BatchChannelMemberships | undefined;
324
324
  /**
325
325
  * <p>If the action fails for one or more of the memberships in the request, a list of the
326
326
  * memberships is returned, along with error codes and error messages.</p>
327
327
  * @public
328
328
  */
329
- Errors?: BatchCreateChannelMembershipError[];
329
+ Errors?: BatchCreateChannelMembershipError[] | undefined;
330
330
  }
331
331
  /**
332
332
  * <p>The request exceeds the resource limit.</p>
@@ -335,8 +335,8 @@ export interface BatchCreateChannelMembershipResponse {
335
335
  export declare class ResourceLimitExceededException extends __BaseException {
336
336
  readonly name: "ResourceLimitExceededException";
337
337
  readonly $fault: "client";
338
- Code?: ErrorCode;
339
- Message?: string;
338
+ Code?: ErrorCode | undefined;
339
+ Message?: string | undefined;
340
340
  /**
341
341
  * @internal
342
342
  */
@@ -424,62 +424,62 @@ export interface Channel {
424
424
  * <p>The name of a channel.</p>
425
425
  * @public
426
426
  */
427
- Name?: string;
427
+ Name?: string | undefined;
428
428
  /**
429
429
  * <p>The ARN of a channel.</p>
430
430
  * @public
431
431
  */
432
- ChannelArn?: string;
432
+ ChannelArn?: string | undefined;
433
433
  /**
434
434
  * <p>The mode of the channel.</p>
435
435
  * @public
436
436
  */
437
- Mode?: ChannelMode;
437
+ Mode?: ChannelMode | undefined;
438
438
  /**
439
439
  * <p>The channel's privacy setting.</p>
440
440
  * @public
441
441
  */
442
- Privacy?: ChannelPrivacy;
442
+ Privacy?: ChannelPrivacy | undefined;
443
443
  /**
444
444
  * <p>The channel's metadata.</p>
445
445
  * @public
446
446
  */
447
- Metadata?: string;
447
+ Metadata?: string | undefined;
448
448
  /**
449
449
  * <p>The <code>AppInstanceUser</code> who created the channel.</p>
450
450
  * @public
451
451
  */
452
- CreatedBy?: Identity;
452
+ CreatedBy?: Identity | undefined;
453
453
  /**
454
454
  * <p>The time at which the <code>AppInstanceUser</code> created the channel.</p>
455
455
  * @public
456
456
  */
457
- CreatedTimestamp?: Date;
457
+ CreatedTimestamp?: Date | undefined;
458
458
  /**
459
459
  * <p>The time at which a member sent the last message in the channel.</p>
460
460
  * @public
461
461
  */
462
- LastMessageTimestamp?: Date;
462
+ LastMessageTimestamp?: Date | undefined;
463
463
  /**
464
464
  * <p>The time at which a channel was last updated.</p>
465
465
  * @public
466
466
  */
467
- LastUpdatedTimestamp?: Date;
467
+ LastUpdatedTimestamp?: Date | undefined;
468
468
  /**
469
469
  * <p>The ARN of the channel flow.</p>
470
470
  * @public
471
471
  */
472
- ChannelFlowArn?: string;
472
+ ChannelFlowArn?: string | undefined;
473
473
  /**
474
474
  * <p>The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.</p>
475
475
  * @public
476
476
  */
477
- ElasticChannelConfiguration?: ElasticChannelConfiguration;
477
+ ElasticChannelConfiguration?: ElasticChannelConfiguration | undefined;
478
478
  /**
479
479
  * <p>Settings that control when a channel expires.</p>
480
480
  * @public
481
481
  */
482
- ExpirationSettings?: ExpirationSettings;
482
+ ExpirationSettings?: ExpirationSettings | undefined;
483
483
  }
484
484
  /**
485
485
  * <p>Summary of details of a channel associated with channel flow.</p>
@@ -490,27 +490,27 @@ export interface ChannelAssociatedWithFlowSummary {
490
490
  * <p>The name of the channel flow.</p>
491
491
  * @public
492
492
  */
493
- Name?: string;
493
+ Name?: string | undefined;
494
494
  /**
495
495
  * <p>The ARN of the channel.</p>
496
496
  * @public
497
497
  */
498
- ChannelArn?: string;
498
+ ChannelArn?: string | undefined;
499
499
  /**
500
500
  * <p>The mode of the channel.</p>
501
501
  * @public
502
502
  */
503
- Mode?: ChannelMode;
503
+ Mode?: ChannelMode | undefined;
504
504
  /**
505
505
  * <p>The channel's privacy setting.</p>
506
506
  * @public
507
507
  */
508
- Privacy?: ChannelPrivacy;
508
+ Privacy?: ChannelPrivacy | undefined;
509
509
  /**
510
510
  * <p>The channel's metadata.</p>
511
511
  * @public
512
512
  */
513
- Metadata?: string;
513
+ Metadata?: string | undefined;
514
514
  }
515
515
  /**
516
516
  * <p>The details of a channel ban.</p>
@@ -521,22 +521,22 @@ export interface ChannelBan {
521
521
  * <p>The member being banned from the channel.</p>
522
522
  * @public
523
523
  */
524
- Member?: Identity;
524
+ Member?: Identity | undefined;
525
525
  /**
526
526
  * <p>The ARN of the channel from which a member is being banned.</p>
527
527
  * @public
528
528
  */
529
- ChannelArn?: string;
529
+ ChannelArn?: string | undefined;
530
530
  /**
531
531
  * <p>The time at which the ban was created.</p>
532
532
  * @public
533
533
  */
534
- CreatedTimestamp?: Date;
534
+ CreatedTimestamp?: Date | undefined;
535
535
  /**
536
536
  * <p>The <code>AppInstanceUser</code> who created the ban.</p>
537
537
  * @public
538
538
  */
539
- CreatedBy?: Identity;
539
+ CreatedBy?: Identity | undefined;
540
540
  }
541
541
  /**
542
542
  * <p>Summary of the details of a <code>ChannelBan</code>.</p>
@@ -547,7 +547,7 @@ export interface ChannelBanSummary {
547
547
  * <p>The member being banned from a channel.</p>
548
548
  * @public
549
549
  */
550
- Member?: Identity;
550
+ Member?: Identity | undefined;
551
551
  }
552
552
  /**
553
553
  * @public
@@ -637,27 +637,27 @@ export interface ChannelFlow {
637
637
  * <p>The ARN of the channel flow.</p>
638
638
  * @public
639
639
  */
640
- ChannelFlowArn?: string;
640
+ ChannelFlowArn?: string | undefined;
641
641
  /**
642
642
  * <p>Information about the processor Lambda functions.</p>
643
643
  * @public
644
644
  */
645
- Processors?: Processor[];
645
+ Processors?: Processor[] | undefined;
646
646
  /**
647
647
  * <p>The name of the channel flow.</p>
648
648
  * @public
649
649
  */
650
- Name?: string;
650
+ Name?: string | undefined;
651
651
  /**
652
652
  * <p>The time at which the channel flow was created.</p>
653
653
  * @public
654
654
  */
655
- CreatedTimestamp?: Date;
655
+ CreatedTimestamp?: Date | undefined;
656
656
  /**
657
657
  * <p>The time at which a channel flow was updated.</p>
658
658
  * @public
659
659
  */
660
- LastUpdatedTimestamp?: Date;
660
+ LastUpdatedTimestamp?: Date | undefined;
661
661
  }
662
662
  /**
663
663
  * <p>A list of message attribute values.</p>
@@ -668,7 +668,7 @@ export interface MessageAttributeValue {
668
668
  * <p>The strings in a message attribute value.</p>
669
669
  * @public
670
670
  */
671
- StringValues?: string[];
671
+ StringValues?: string[] | undefined;
672
672
  }
673
673
  /**
674
674
  * @public
@@ -691,19 +691,19 @@ export interface PushNotificationConfiguration {
691
691
  * <p>The title of the push notification.</p>
692
692
  * @public
693
693
  */
694
- Title?: string;
694
+ Title?: string | undefined;
695
695
  /**
696
696
  * <p>The body of the push notification.</p>
697
697
  * @public
698
698
  */
699
- Body?: string;
699
+ Body?: string | undefined;
700
700
  /**
701
701
  * <p>Enum value that indicates the type of the push notification for a message.
702
702
  * <code>DEFAULT</code>: Normal mobile push notification.
703
703
  * <code>VOIP</code>: VOIP mobile push notification.</p>
704
704
  * @public
705
705
  */
706
- Type?: PushNotificationType;
706
+ Type?: PushNotificationType | undefined;
707
707
  }
708
708
  /**
709
709
  * <p>Stores information about a callback.</p>
@@ -721,29 +721,29 @@ export interface ChannelMessageCallback {
721
721
  * <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>
722
722
  * @public
723
723
  */
724
- Content?: string;
724
+ Content?: string | undefined;
725
725
  /**
726
726
  * <p>The message metadata.</p>
727
727
  * @public
728
728
  */
729
- Metadata?: string;
729
+ Metadata?: string | undefined;
730
730
  /**
731
731
  * <p>The push notification configuration of the message.</p>
732
732
  * @public
733
733
  */
734
- PushNotification?: PushNotificationConfiguration;
734
+ PushNotification?: PushNotificationConfiguration | undefined;
735
735
  /**
736
736
  * <p>The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to
737
737
  * <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html">Processing responses from an AppInstanceBot</a> in the
738
738
  * <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>
739
739
  * @public
740
740
  */
741
- MessageAttributes?: Record<string, MessageAttributeValue>;
741
+ MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
742
742
  /**
743
743
  * <p>The ID of the SubChannel.</p>
744
744
  * @public
745
745
  */
746
- SubChannelId?: string;
746
+ SubChannelId?: string | undefined;
747
747
  /**
748
748
  * <p>The content type of the call-back message. For Amazon Lex V2 bot responses, the content type is <code>application/amz-chime-lex-msgs</code> for success responses and
749
749
  * <code>application/amz-chime-lex-error</code> for failure responses. For more information, refer to
@@ -751,7 +751,7 @@ export interface ChannelMessageCallback {
751
751
  * <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>
752
752
  * @public
753
753
  */
754
- ContentType?: string;
754
+ ContentType?: string | undefined;
755
755
  }
756
756
  /**
757
757
  * @public
@@ -761,7 +761,7 @@ export interface ChannelFlowCallbackRequest {
761
761
  * <p>The identifier passed to the processor by the service when invoked. Use the identifier to call back the service.</p>
762
762
  * @public
763
763
  */
764
- CallbackId?: string;
764
+ CallbackId?: string | undefined;
765
765
  /**
766
766
  * <p>The ARN of the channel.</p>
767
767
  * @public
@@ -771,7 +771,7 @@ export interface ChannelFlowCallbackRequest {
771
771
  * <p>When a processor determines that a message needs to be <code>DENIED</code>, pass this parameter with a value of true.</p>
772
772
  * @public
773
773
  */
774
- DeleteResource?: boolean;
774
+ DeleteResource?: boolean | undefined;
775
775
  /**
776
776
  * <p>Stores information about the processed message.</p>
777
777
  * @public
@@ -786,12 +786,12 @@ export interface ChannelFlowCallbackResponse {
786
786
  * <p>The ARN of the channel.</p>
787
787
  * @public
788
788
  */
789
- ChannelArn?: string;
789
+ ChannelArn?: string | undefined;
790
790
  /**
791
791
  * <p>The call back ID passed in the request.</p>
792
792
  * @public
793
793
  */
794
- CallbackId?: string;
794
+ CallbackId?: string | undefined;
795
795
  }
796
796
  /**
797
797
  * <p>Summary of details of a channel flow.</p>
@@ -802,17 +802,17 @@ export interface ChannelFlowSummary {
802
802
  * <p>The ARN of the channel flow.</p>
803
803
  * @public
804
804
  */
805
- ChannelFlowArn?: string;
805
+ ChannelFlowArn?: string | undefined;
806
806
  /**
807
807
  * <p>The name of the channel flow.</p>
808
808
  * @public
809
809
  */
810
- Name?: string;
810
+ Name?: string | undefined;
811
811
  /**
812
812
  * <p>Information about the processor Lambda functions.</p>
813
813
  * @public
814
814
  */
815
- Processors?: Processor[];
815
+ Processors?: Processor[] | undefined;
816
816
  }
817
817
  /**
818
818
  * <p>The details of a channel member.</p>
@@ -823,37 +823,37 @@ export interface ChannelMembership {
823
823
  * <p>The identifier of the member who invited another member.</p>
824
824
  * @public
825
825
  */
826
- InvitedBy?: Identity;
826
+ InvitedBy?: Identity | undefined;
827
827
  /**
828
828
  * <p>The membership type set for the channel member.</p>
829
829
  * @public
830
830
  */
831
- Type?: ChannelMembershipType;
831
+ Type?: ChannelMembershipType | undefined;
832
832
  /**
833
833
  * <p>The data of the channel member.</p>
834
834
  * @public
835
835
  */
836
- Member?: Identity;
836
+ Member?: Identity | undefined;
837
837
  /**
838
838
  * <p>The ARN of the member's channel.</p>
839
839
  * @public
840
840
  */
841
- ChannelArn?: string;
841
+ ChannelArn?: string | undefined;
842
842
  /**
843
843
  * <p>The time at which the channel membership was created.</p>
844
844
  * @public
845
845
  */
846
- CreatedTimestamp?: Date;
846
+ CreatedTimestamp?: Date | undefined;
847
847
  /**
848
848
  * <p>The time at which a channel membership was last updated.</p>
849
849
  * @public
850
850
  */
851
- LastUpdatedTimestamp?: Date;
851
+ LastUpdatedTimestamp?: Date | undefined;
852
852
  /**
853
853
  * <p>The ID of the SubChannel that a user belongs to.</p>
854
854
  * @public
855
855
  */
856
- SubChannelId?: string;
856
+ SubChannelId?: string | undefined;
857
857
  }
858
858
  /**
859
859
  * <p>Summary of the details of a <code>Channel</code>.</p>
@@ -864,32 +864,32 @@ export interface ChannelSummary {
864
864
  * <p>The name of the channel.</p>
865
865
  * @public
866
866
  */
867
- Name?: string;
867
+ Name?: string | undefined;
868
868
  /**
869
869
  * <p>The ARN of the channel.</p>
870
870
  * @public
871
871
  */
872
- ChannelArn?: string;
872
+ ChannelArn?: string | undefined;
873
873
  /**
874
874
  * <p>The mode of the channel.</p>
875
875
  * @public
876
876
  */
877
- Mode?: ChannelMode;
877
+ Mode?: ChannelMode | undefined;
878
878
  /**
879
879
  * <p>The privacy setting of the channel.</p>
880
880
  * @public
881
881
  */
882
- Privacy?: ChannelPrivacy;
882
+ Privacy?: ChannelPrivacy | undefined;
883
883
  /**
884
884
  * <p>The metadata of the channel.</p>
885
885
  * @public
886
886
  */
887
- Metadata?: string;
887
+ Metadata?: string | undefined;
888
888
  /**
889
889
  * <p>The time at which the last persistent message visible to the caller in a channel was sent.</p>
890
890
  * @public
891
891
  */
892
- LastMessageTimestamp?: Date;
892
+ LastMessageTimestamp?: Date | undefined;
893
893
  }
894
894
  /**
895
895
  * <p>Summary of the channel membership details of an <code>AppInstanceUser</code>.</p>
@@ -900,12 +900,12 @@ export interface ChannelMembershipForAppInstanceUserSummary {
900
900
  * <p>Returns the channel data for an <code>AppInstance</code>.</p>
901
901
  * @public
902
902
  */
903
- ChannelSummary?: ChannelSummary;
903
+ ChannelSummary?: ChannelSummary | undefined;
904
904
  /**
905
905
  * <p>Returns the channel membership data for an <code>AppInstance</code>.</p>
906
906
  * @public
907
907
  */
908
- AppInstanceUserMembershipSummary?: AppInstanceUserMembershipSummary;
908
+ AppInstanceUserMembershipSummary?: AppInstanceUserMembershipSummary | undefined;
909
909
  }
910
910
  /**
911
911
  * <p>The channel membership preferences for push notification.</p>
@@ -923,7 +923,7 @@ export interface PushNotificationPreferences {
923
923
  * <p>The simple JSON object used to send a subset of a push notification to the requested member.</p>
924
924
  * @public
925
925
  */
926
- FilterRule?: string;
926
+ FilterRule?: string | undefined;
927
927
  }
928
928
  /**
929
929
  * <p>The channel membership preferences for an <code>AppInstanceUser</code>.</p>
@@ -934,7 +934,7 @@ export interface ChannelMembershipPreferences {
934
934
  * <p>The push notification configuration of a message.</p>
935
935
  * @public
936
936
  */
937
- PushNotifications?: PushNotificationPreferences;
937
+ PushNotifications?: PushNotificationPreferences | undefined;
938
938
  }
939
939
  /**
940
940
  * <p>Summary of the details of a <code>ChannelMembership</code>.</p>
@@ -945,7 +945,7 @@ export interface ChannelMembershipSummary {
945
945
  * <p>A member's summary data.</p>
946
946
  * @public
947
947
  */
948
- Member?: Identity;
948
+ Member?: Identity | undefined;
949
949
  }
950
950
  /**
951
951
  * @public
@@ -982,12 +982,12 @@ export interface ChannelMessageStatusStructure {
982
982
  * <p>The message status value.</p>
983
983
  * @public
984
984
  */
985
- Value?: ChannelMessageStatus;
985
+ Value?: ChannelMessageStatus | undefined;
986
986
  /**
987
987
  * <p>Contains more details about the message status.</p>
988
988
  * @public
989
989
  */
990
- Detail?: string;
990
+ Detail?: string | undefined;
991
991
  }
992
992
  /**
993
993
  * <p>The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages.
@@ -999,7 +999,7 @@ export interface Target {
999
999
  * <p>The ARN of the target channel member.</p>
1000
1000
  * @public
1001
1001
  */
1002
- MemberArn?: string;
1002
+ MemberArn?: string | undefined;
1003
1003
  }
1004
1004
  /**
1005
1005
  * @public
@@ -1022,76 +1022,76 @@ export interface ChannelMessage {
1022
1022
  * <p>The ARN of the channel.</p>
1023
1023
  * @public
1024
1024
  */
1025
- ChannelArn?: string;
1025
+ ChannelArn?: string | undefined;
1026
1026
  /**
1027
1027
  * <p>The ID of a message.</p>
1028
1028
  * @public
1029
1029
  */
1030
- MessageId?: string;
1030
+ MessageId?: string | undefined;
1031
1031
  /**
1032
1032
  * <p>The content of the channel message. For Amazon Lex V2 bot responses, this field holds a list of messages originating from the bot. For more information, refer to
1033
1033
  * <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html">Processing responses from an AppInstanceBot</a> in the
1034
1034
  * <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>
1035
1035
  * @public
1036
1036
  */
1037
- Content?: string;
1037
+ Content?: string | undefined;
1038
1038
  /**
1039
1039
  * <p>The message metadata.</p>
1040
1040
  * @public
1041
1041
  */
1042
- Metadata?: string;
1042
+ Metadata?: string | undefined;
1043
1043
  /**
1044
1044
  * <p>The message type.</p>
1045
1045
  * @public
1046
1046
  */
1047
- Type?: ChannelMessageType;
1047
+ Type?: ChannelMessageType | undefined;
1048
1048
  /**
1049
1049
  * <p>The time at which the message was created.</p>
1050
1050
  * @public
1051
1051
  */
1052
- CreatedTimestamp?: Date;
1052
+ CreatedTimestamp?: Date | undefined;
1053
1053
  /**
1054
1054
  * <p>The time at which a message was edited.</p>
1055
1055
  * @public
1056
1056
  */
1057
- LastEditedTimestamp?: Date;
1057
+ LastEditedTimestamp?: Date | undefined;
1058
1058
  /**
1059
1059
  * <p>The time at which a message was updated.</p>
1060
1060
  * @public
1061
1061
  */
1062
- LastUpdatedTimestamp?: Date;
1062
+ LastUpdatedTimestamp?: Date | undefined;
1063
1063
  /**
1064
1064
  * <p>The message sender.</p>
1065
1065
  * @public
1066
1066
  */
1067
- Sender?: Identity;
1067
+ Sender?: Identity | undefined;
1068
1068
  /**
1069
1069
  * <p>Hides the content of a message.</p>
1070
1070
  * @public
1071
1071
  */
1072
- Redacted?: boolean;
1072
+ Redacted?: boolean | undefined;
1073
1073
  /**
1074
1074
  * <p>The persistence setting for a channel message.</p>
1075
1075
  * @public
1076
1076
  */
1077
- Persistence?: ChannelMessagePersistenceType;
1077
+ Persistence?: ChannelMessagePersistenceType | undefined;
1078
1078
  /**
1079
1079
  * <p>The status of the channel message.</p>
1080
1080
  * @public
1081
1081
  */
1082
- Status?: ChannelMessageStatusStructure;
1082
+ Status?: ChannelMessageStatusStructure | undefined;
1083
1083
  /**
1084
1084
  * <p>The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to
1085
1085
  * <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html">Processing responses from an AppInstanceBot</a> in the
1086
1086
  * <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>
1087
1087
  * @public
1088
1088
  */
1089
- MessageAttributes?: Record<string, MessageAttributeValue>;
1089
+ MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
1090
1090
  /**
1091
1091
  * <p>The ID of the SubChannel.</p>
1092
1092
  * @public
1093
1093
  */
1094
- SubChannelId?: string;
1094
+ SubChannelId?: string | undefined;
1095
1095
  /**
1096
1096
  * <p>The content type of the channel message. For Amazon Lex V2 bot responses, the content type is <code>application/amz-chime-lex-msgs</code> for success responses and
1097
1097
  * <code>application/amz-chime-lex-error</code> for failure responses. For more information, refer to
@@ -1099,13 +1099,13 @@ export interface ChannelMessage {
1099
1099
  * <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>
1100
1100
  * @public
1101
1101
  */
1102
- ContentType?: string;
1102
+ ContentType?: string | undefined;
1103
1103
  /**
1104
1104
  * <p>The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages.
1105
1105
  * Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.</p>
1106
1106
  * @public
1107
1107
  */
1108
- Target?: Target[];
1108
+ Target?: Target[] | undefined;
1109
1109
  }
1110
1110
  /**
1111
1111
  * <p>Summary of the messages in a <code>Channel</code>.</p>
@@ -1116,62 +1116,62 @@ export interface ChannelMessageSummary {
1116
1116
  * <p>The ID of the message.</p>
1117
1117
  * @public
1118
1118
  */
1119
- MessageId?: string;
1119
+ MessageId?: string | undefined;
1120
1120
  /**
1121
1121
  * <p>The content of the channel message. For Amazon Lex V2 bot responses, this field holds a list of messages originating from the bot. For more information, refer to
1122
1122
  * <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html">Processing responses from an AppInstanceBot</a> in the
1123
1123
  * <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>
1124
1124
  * @public
1125
1125
  */
1126
- Content?: string;
1126
+ Content?: string | undefined;
1127
1127
  /**
1128
1128
  * <p>The metadata of the message.</p>
1129
1129
  * @public
1130
1130
  */
1131
- Metadata?: string;
1131
+ Metadata?: string | undefined;
1132
1132
  /**
1133
1133
  * <p>The type of message.</p>
1134
1134
  * @public
1135
1135
  */
1136
- Type?: ChannelMessageType;
1136
+ Type?: ChannelMessageType | undefined;
1137
1137
  /**
1138
1138
  * <p>The time at which the message summary was created.</p>
1139
1139
  * @public
1140
1140
  */
1141
- CreatedTimestamp?: Date;
1141
+ CreatedTimestamp?: Date | undefined;
1142
1142
  /**
1143
1143
  * <p>The time at which a message was last updated.</p>
1144
1144
  * @public
1145
1145
  */
1146
- LastUpdatedTimestamp?: Date;
1146
+ LastUpdatedTimestamp?: Date | undefined;
1147
1147
  /**
1148
1148
  * <p>The time at which a message was last edited.</p>
1149
1149
  * @public
1150
1150
  */
1151
- LastEditedTimestamp?: Date;
1151
+ LastEditedTimestamp?: Date | undefined;
1152
1152
  /**
1153
1153
  * <p>The message sender.</p>
1154
1154
  * @public
1155
1155
  */
1156
- Sender?: Identity;
1156
+ Sender?: Identity | undefined;
1157
1157
  /**
1158
1158
  * <p>Indicates whether a message was redacted.</p>
1159
1159
  * @public
1160
1160
  */
1161
- Redacted?: boolean;
1161
+ Redacted?: boolean | undefined;
1162
1162
  /**
1163
1163
  * <p>The message status. The status value is <code>SENT</code> for messages sent to a channel without a channel flow. For channels associated with channel flow, the value determines the
1164
1164
  * processing stage.</p>
1165
1165
  * @public
1166
1166
  */
1167
- Status?: ChannelMessageStatusStructure;
1167
+ Status?: ChannelMessageStatusStructure | undefined;
1168
1168
  /**
1169
1169
  * <p>The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to
1170
1170
  * <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html">Processing responses from an AppInstanceBot</a> in the
1171
1171
  * <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>
1172
1172
  * @public
1173
1173
  */
1174
- MessageAttributes?: Record<string, MessageAttributeValue>;
1174
+ MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
1175
1175
  /**
1176
1176
  * <p>The content type of the channel message listed in the summary. For Amazon Lex V2 bot responses, the content type is <code>application/amz-chime-lex-msgs</code> for success responses and
1177
1177
  * <code>application/amz-chime-lex-error</code> for failure responses. For more information, refer to
@@ -1179,13 +1179,13 @@ export interface ChannelMessageSummary {
1179
1179
  * <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>
1180
1180
  * @public
1181
1181
  */
1182
- ContentType?: string;
1182
+ ContentType?: string | undefined;
1183
1183
  /**
1184
1184
  * <p>The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages.
1185
1185
  * Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.</p>
1186
1186
  * @public
1187
1187
  */
1188
- Target?: Target[];
1188
+ Target?: Target[] | undefined;
1189
1189
  }
1190
1190
  /**
1191
1191
  * <p>Summary of the details of a moderated channel.</p>
@@ -1196,7 +1196,7 @@ export interface ChannelModeratedByAppInstanceUserSummary {
1196
1196
  * <p>Summary of the details of a <code>Channel</code>.</p>
1197
1197
  * @public
1198
1198
  */
1199
- ChannelSummary?: ChannelSummary;
1199
+ ChannelSummary?: ChannelSummary | undefined;
1200
1200
  }
1201
1201
  /**
1202
1202
  * <p>The details of a channel moderator.</p>
@@ -1207,22 +1207,22 @@ export interface ChannelModerator {
1207
1207
  * <p>The moderator's data.</p>
1208
1208
  * @public
1209
1209
  */
1210
- Moderator?: Identity;
1210
+ Moderator?: Identity | undefined;
1211
1211
  /**
1212
1212
  * <p>The ARN of the moderator's channel.</p>
1213
1213
  * @public
1214
1214
  */
1215
- ChannelArn?: string;
1215
+ ChannelArn?: string | undefined;
1216
1216
  /**
1217
1217
  * <p>The time at which the moderator was created.</p>
1218
1218
  * @public
1219
1219
  */
1220
- CreatedTimestamp?: Date;
1220
+ CreatedTimestamp?: Date | undefined;
1221
1221
  /**
1222
1222
  * <p>The <code>AppInstanceUser</code> who created the moderator.</p>
1223
1223
  * @public
1224
1224
  */
1225
- CreatedBy?: Identity;
1225
+ CreatedBy?: Identity | undefined;
1226
1226
  }
1227
1227
  /**
1228
1228
  * <p>Summary of the details of a <code>ChannelModerator</code>.</p>
@@ -1233,7 +1233,7 @@ export interface ChannelModeratorSummary {
1233
1233
  * <p>The data for a moderator.</p>
1234
1234
  * @public
1235
1235
  */
1236
- Moderator?: Identity;
1236
+ Moderator?: Identity | undefined;
1237
1237
  }
1238
1238
  /**
1239
1239
  * <p>A tag object containing a key-value pair.</p>
@@ -1271,29 +1271,29 @@ export interface CreateChannelRequest {
1271
1271
  * channels. Only administrators and moderators can add members to restricted channels.</p>
1272
1272
  * @public
1273
1273
  */
1274
- Mode?: ChannelMode;
1274
+ Mode?: ChannelMode | undefined;
1275
1275
  /**
1276
1276
  * <p>The channel's privacy level: <code>PUBLIC</code> or <code>PRIVATE</code>. Private
1277
1277
  * channels aren't discoverable by users outside the channel. Public channels are discoverable
1278
1278
  * by anyone in the <code>AppInstance</code>.</p>
1279
1279
  * @public
1280
1280
  */
1281
- Privacy?: ChannelPrivacy;
1281
+ Privacy?: ChannelPrivacy | undefined;
1282
1282
  /**
1283
1283
  * <p>The metadata of the creation request. Limited to 1KB and UTF-8.</p>
1284
1284
  * @public
1285
1285
  */
1286
- Metadata?: string;
1286
+ Metadata?: string | undefined;
1287
1287
  /**
1288
1288
  * <p>The client token for the request. An <code>Idempotency</code> token.</p>
1289
1289
  * @public
1290
1290
  */
1291
- ClientRequestToken?: string;
1291
+ ClientRequestToken?: string | undefined;
1292
1292
  /**
1293
1293
  * <p>The tags for the creation request.</p>
1294
1294
  * @public
1295
1295
  */
1296
- Tags?: Tag[];
1296
+ Tags?: Tag[] | undefined;
1297
1297
  /**
1298
1298
  * <p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>
1299
1299
  * @public
@@ -1303,27 +1303,27 @@ export interface CreateChannelRequest {
1303
1303
  * <p>The ID of the channel in the request.</p>
1304
1304
  * @public
1305
1305
  */
1306
- ChannelId?: string;
1306
+ ChannelId?: string | undefined;
1307
1307
  /**
1308
1308
  * <p>The ARNs of the channel members in the request.</p>
1309
1309
  * @public
1310
1310
  */
1311
- MemberArns?: string[];
1311
+ MemberArns?: string[] | undefined;
1312
1312
  /**
1313
1313
  * <p>The ARNs of the channel moderators in the request.</p>
1314
1314
  * @public
1315
1315
  */
1316
- ModeratorArns?: string[];
1316
+ ModeratorArns?: string[] | undefined;
1317
1317
  /**
1318
1318
  * <p>The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million users, excluding moderators.</p>
1319
1319
  * @public
1320
1320
  */
1321
- ElasticChannelConfiguration?: ElasticChannelConfiguration;
1321
+ ElasticChannelConfiguration?: ElasticChannelConfiguration | undefined;
1322
1322
  /**
1323
1323
  * <p>Settings that control the interval after which the channel is automatically deleted.</p>
1324
1324
  * @public
1325
1325
  */
1326
- ExpirationSettings?: ExpirationSettings;
1326
+ ExpirationSettings?: ExpirationSettings | undefined;
1327
1327
  }
1328
1328
  /**
1329
1329
  * @public
@@ -1333,7 +1333,7 @@ export interface CreateChannelResponse {
1333
1333
  * <p>The ARN of the channel.</p>
1334
1334
  * @public
1335
1335
  */
1336
- ChannelArn?: string;
1336
+ ChannelArn?: string | undefined;
1337
1337
  }
1338
1338
  /**
1339
1339
  * @public
@@ -1363,13 +1363,13 @@ export interface CreateChannelBanResponse {
1363
1363
  * <p>The ARN of the response to the ban request.</p>
1364
1364
  * @public
1365
1365
  */
1366
- ChannelArn?: string;
1366
+ ChannelArn?: string | undefined;
1367
1367
  /**
1368
1368
  * <p>The <code>ChannelArn</code> and <code>BannedIdentity</code> of the member in the ban
1369
1369
  * response.</p>
1370
1370
  * @public
1371
1371
  */
1372
- Member?: Identity;
1372
+ Member?: Identity | undefined;
1373
1373
  }
1374
1374
  /**
1375
1375
  * @public
@@ -1394,12 +1394,12 @@ export interface CreateChannelFlowRequest {
1394
1394
  * <p>The tags for the creation request.</p>
1395
1395
  * @public
1396
1396
  */
1397
- Tags?: Tag[];
1397
+ Tags?: Tag[] | undefined;
1398
1398
  /**
1399
1399
  * <p>The client token for the request. An Idempotency token.</p>
1400
1400
  * @public
1401
1401
  */
1402
- ClientRequestToken?: string;
1402
+ ClientRequestToken?: string | undefined;
1403
1403
  }
1404
1404
  /**
1405
1405
  * @public
@@ -1409,7 +1409,7 @@ export interface CreateChannelFlowResponse {
1409
1409
  * <p>The ARN of the channel flow.</p>
1410
1410
  * @public
1411
1411
  */
1412
- ChannelFlowArn?: string;
1412
+ ChannelFlowArn?: string | undefined;
1413
1413
  }
1414
1414
  /**
1415
1415
  * @public
@@ -1447,7 +1447,7 @@ export interface CreateChannelMembershipRequest {
1447
1447
  * </note>
1448
1448
  * @public
1449
1449
  */
1450
- SubChannelId?: string;
1450
+ SubChannelId?: string | undefined;
1451
1451
  }
1452
1452
  /**
1453
1453
  * @public
@@ -1457,17 +1457,17 @@ export interface CreateChannelMembershipResponse {
1457
1457
  * <p>The ARN of the channel.</p>
1458
1458
  * @public
1459
1459
  */
1460
- ChannelArn?: string;
1460
+ ChannelArn?: string | undefined;
1461
1461
  /**
1462
1462
  * <p>The ARN and metadata of the member being added.</p>
1463
1463
  * @public
1464
1464
  */
1465
- Member?: Identity;
1465
+ Member?: Identity | undefined;
1466
1466
  /**
1467
1467
  * <p>The ID of the SubChannel in the response.</p>
1468
1468
  * @public
1469
1469
  */
1470
- SubChannelId?: string;
1470
+ SubChannelId?: string | undefined;
1471
1471
  }
1472
1472
  /**
1473
1473
  * @public
@@ -1498,12 +1498,12 @@ export interface CreateChannelModeratorResponse {
1498
1498
  * <p>The ARN of the channel.</p>
1499
1499
  * @public
1500
1500
  */
1501
- ChannelArn?: string;
1501
+ ChannelArn?: string | undefined;
1502
1502
  /**
1503
1503
  * <p>The ARNs of the channel and the moderator.</p>
1504
1504
  * @public
1505
1505
  */
1506
- ChannelModerator?: Identity;
1506
+ ChannelModerator?: Identity | undefined;
1507
1507
  }
1508
1508
  /**
1509
1509
  * @public
@@ -1579,7 +1579,7 @@ export interface DeleteChannelMembershipRequest {
1579
1579
  * </note>
1580
1580
  * @public
1581
1581
  */
1582
- SubChannelId?: string;
1582
+ SubChannelId?: string | undefined;
1583
1583
  }
1584
1584
  /**
1585
1585
  * @public
@@ -1608,7 +1608,7 @@ export interface DeleteChannelMessageRequest {
1608
1608
  * </note>
1609
1609
  * @public
1610
1610
  */
1611
- SubChannelId?: string;
1611
+ SubChannelId?: string | undefined;
1612
1612
  }
1613
1613
  /**
1614
1614
  * @public
@@ -1665,7 +1665,7 @@ export interface DescribeChannelResponse {
1665
1665
  * <p>The channel details.</p>
1666
1666
  * @public
1667
1667
  */
1668
- Channel?: Channel;
1668
+ Channel?: Channel | undefined;
1669
1669
  }
1670
1670
  /**
1671
1671
  * @public
@@ -1696,7 +1696,7 @@ export interface DescribeChannelBanResponse {
1696
1696
  * <p>The details of the ban.</p>
1697
1697
  * @public
1698
1698
  */
1699
- ChannelBan?: ChannelBan;
1699
+ ChannelBan?: ChannelBan | undefined;
1700
1700
  }
1701
1701
  /**
1702
1702
  * @public
@@ -1716,7 +1716,7 @@ export interface DescribeChannelFlowResponse {
1716
1716
  * <p>The channel flow details.</p>
1717
1717
  * @public
1718
1718
  */
1719
- ChannelFlow?: ChannelFlow;
1719
+ ChannelFlow?: ChannelFlow | undefined;
1720
1720
  }
1721
1721
  /**
1722
1722
  * @public
@@ -1745,7 +1745,7 @@ export interface DescribeChannelMembershipRequest {
1745
1745
  * </note>
1746
1746
  * @public
1747
1747
  */
1748
- SubChannelId?: string;
1748
+ SubChannelId?: string | undefined;
1749
1749
  }
1750
1750
  /**
1751
1751
  * @public
@@ -1755,7 +1755,7 @@ export interface DescribeChannelMembershipResponse {
1755
1755
  * <p>The details of the membership.</p>
1756
1756
  * @public
1757
1757
  */
1758
- ChannelMembership?: ChannelMembership;
1758
+ ChannelMembership?: ChannelMembership | undefined;
1759
1759
  }
1760
1760
  /**
1761
1761
  * @public
@@ -1786,7 +1786,7 @@ export interface DescribeChannelMembershipForAppInstanceUserResponse {
1786
1786
  * <p>The channel to which a user belongs.</p>
1787
1787
  * @public
1788
1788
  */
1789
- ChannelMembership?: ChannelMembershipForAppInstanceUserSummary;
1789
+ ChannelMembership?: ChannelMembershipForAppInstanceUserSummary | undefined;
1790
1790
  }
1791
1791
  /**
1792
1792
  * @public
@@ -1817,7 +1817,7 @@ export interface DescribeChannelModeratedByAppInstanceUserResponse {
1817
1817
  * <p>The moderated channel.</p>
1818
1818
  * @public
1819
1819
  */
1820
- Channel?: ChannelModeratedByAppInstanceUserSummary;
1820
+ Channel?: ChannelModeratedByAppInstanceUserSummary | undefined;
1821
1821
  }
1822
1822
  /**
1823
1823
  * @public
@@ -1848,7 +1848,7 @@ export interface DescribeChannelModeratorResponse {
1848
1848
  * <p>The details of the channel moderator.</p>
1849
1849
  * @public
1850
1850
  */
1851
- ChannelModerator?: ChannelModerator;
1851
+ ChannelModerator?: ChannelModerator | undefined;
1852
1852
  }
1853
1853
  /**
1854
1854
  * @public
@@ -1898,17 +1898,17 @@ export interface GetChannelMembershipPreferencesResponse {
1898
1898
  * <p>The ARN of the channel.</p>
1899
1899
  * @public
1900
1900
  */
1901
- ChannelArn?: string;
1901
+ ChannelArn?: string | undefined;
1902
1902
  /**
1903
1903
  * <p>The details of a user.</p>
1904
1904
  * @public
1905
1905
  */
1906
- Member?: Identity;
1906
+ Member?: Identity | undefined;
1907
1907
  /**
1908
1908
  * <p>The channel membership preferences for an <code>AppInstanceUser</code> .</p>
1909
1909
  * @public
1910
1910
  */
1911
- Preferences?: ChannelMembershipPreferences;
1911
+ Preferences?: ChannelMembershipPreferences | undefined;
1912
1912
  }
1913
1913
  /**
1914
1914
  * @public
@@ -1937,7 +1937,7 @@ export interface GetChannelMessageRequest {
1937
1937
  * </note>
1938
1938
  * @public
1939
1939
  */
1940
- SubChannelId?: string;
1940
+ SubChannelId?: string | undefined;
1941
1941
  }
1942
1942
  /**
1943
1943
  * @public
@@ -1947,7 +1947,7 @@ export interface GetChannelMessageResponse {
1947
1947
  * <p>The details of and content in the message.</p>
1948
1948
  * @public
1949
1949
  */
1950
- ChannelMessage?: ChannelMessage;
1950
+ ChannelMessage?: ChannelMessage | undefined;
1951
1951
  }
1952
1952
  /**
1953
1953
  * @public
@@ -1975,7 +1975,7 @@ export interface GetChannelMessageStatusRequest {
1975
1975
  * </note>
1976
1976
  * @public
1977
1977
  */
1978
- SubChannelId?: string;
1978
+ SubChannelId?: string | undefined;
1979
1979
  }
1980
1980
  /**
1981
1981
  * @public
@@ -1985,7 +1985,7 @@ export interface GetChannelMessageStatusResponse {
1985
1985
  * <p>The message status and details.</p>
1986
1986
  * @public
1987
1987
  */
1988
- Status?: ChannelMessageStatusStructure;
1988
+ Status?: ChannelMessageStatusStructure | undefined;
1989
1989
  }
1990
1990
  /**
1991
1991
  * @public
@@ -2001,7 +2001,7 @@ export interface MessagingSessionEndpoint {
2001
2001
  * <p>The endpoint to which you establish a websocket connection.</p>
2002
2002
  * @public
2003
2003
  */
2004
- Url?: string;
2004
+ Url?: string | undefined;
2005
2005
  }
2006
2006
  /**
2007
2007
  * @public
@@ -2011,7 +2011,7 @@ export interface GetMessagingSessionEndpointResponse {
2011
2011
  * <p>The endpoint returned in the response.</p>
2012
2012
  * @public
2013
2013
  */
2014
- Endpoint?: MessagingSessionEndpoint;
2014
+ Endpoint?: MessagingSessionEndpoint | undefined;
2015
2015
  }
2016
2016
  /**
2017
2017
  * @public
@@ -2059,7 +2059,7 @@ export interface GetMessagingStreamingConfigurationsResponse {
2059
2059
  * <p>The streaming settings.</p>
2060
2060
  * @public
2061
2061
  */
2062
- StreamingConfigurations?: StreamingConfiguration[];
2062
+ StreamingConfigurations?: StreamingConfiguration[] | undefined;
2063
2063
  }
2064
2064
  /**
2065
2065
  * @public
@@ -2074,12 +2074,12 @@ export interface ListChannelBansRequest {
2074
2074
  * <p>The maximum number of bans that you want returned.</p>
2075
2075
  * @public
2076
2076
  */
2077
- MaxResults?: number;
2077
+ MaxResults?: number | undefined;
2078
2078
  /**
2079
2079
  * <p>The token passed by previous API calls until all requested bans are returned.</p>
2080
2080
  * @public
2081
2081
  */
2082
- NextToken?: string;
2082
+ NextToken?: string | undefined;
2083
2083
  /**
2084
2084
  * <p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code>
2085
2085
  * that makes the API call.</p>
@@ -2095,17 +2095,17 @@ export interface ListChannelBansResponse {
2095
2095
  * <p>The ARN of the channel.</p>
2096
2096
  * @public
2097
2097
  */
2098
- ChannelArn?: string;
2098
+ ChannelArn?: string | undefined;
2099
2099
  /**
2100
2100
  * <p>The token passed by previous API calls until all requested bans are returned.</p>
2101
2101
  * @public
2102
2102
  */
2103
- NextToken?: string;
2103
+ NextToken?: string | undefined;
2104
2104
  /**
2105
2105
  * <p>The information for each requested ban.</p>
2106
2106
  * @public
2107
2107
  */
2108
- ChannelBans?: ChannelBanSummary[];
2108
+ ChannelBans?: ChannelBanSummary[] | undefined;
2109
2109
  }
2110
2110
  /**
2111
2111
  * @public
@@ -2120,12 +2120,12 @@ export interface ListChannelFlowsRequest {
2120
2120
  * <p>The maximum number of channel flows that you want to return.</p>
2121
2121
  * @public
2122
2122
  */
2123
- MaxResults?: number;
2123
+ MaxResults?: number | undefined;
2124
2124
  /**
2125
2125
  * <p>The token passed by previous API calls until all requested channel flows are returned.</p>
2126
2126
  * @public
2127
2127
  */
2128
- NextToken?: string;
2128
+ NextToken?: string | undefined;
2129
2129
  }
2130
2130
  /**
2131
2131
  * @public
@@ -2135,12 +2135,12 @@ export interface ListChannelFlowsResponse {
2135
2135
  * <p>The information about each channel flow.</p>
2136
2136
  * @public
2137
2137
  */
2138
- ChannelFlows?: ChannelFlowSummary[];
2138
+ ChannelFlows?: ChannelFlowSummary[] | undefined;
2139
2139
  /**
2140
2140
  * <p>The token passed by previous API calls until all requested channels are returned.</p>
2141
2141
  * @public
2142
2142
  */
2143
- NextToken?: string;
2143
+ NextToken?: string | undefined;
2144
2144
  }
2145
2145
  /**
2146
2146
  * @public
@@ -2158,18 +2158,18 @@ export interface ListChannelMembershipsRequest {
2158
2158
  * <code>HIDDEN</code>.</p>
2159
2159
  * @public
2160
2160
  */
2161
- Type?: ChannelMembershipType;
2161
+ Type?: ChannelMembershipType | undefined;
2162
2162
  /**
2163
2163
  * <p>The maximum number of channel memberships that you want returned.</p>
2164
2164
  * @public
2165
2165
  */
2166
- MaxResults?: number;
2166
+ MaxResults?: number | undefined;
2167
2167
  /**
2168
2168
  * <p>The token passed by previous API calls until all requested channel memberships are
2169
2169
  * returned.</p>
2170
2170
  * @public
2171
2171
  */
2172
- NextToken?: string;
2172
+ NextToken?: string | undefined;
2173
2173
  /**
2174
2174
  * <p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code>
2175
2175
  * that makes the API call.</p>
@@ -2183,7 +2183,7 @@ export interface ListChannelMembershipsRequest {
2183
2183
  * </note>
2184
2184
  * @public
2185
2185
  */
2186
- SubChannelId?: string;
2186
+ SubChannelId?: string | undefined;
2187
2187
  }
2188
2188
  /**
2189
2189
  * @public
@@ -2193,18 +2193,18 @@ export interface ListChannelMembershipsResponse {
2193
2193
  * <p>The ARN of the channel.</p>
2194
2194
  * @public
2195
2195
  */
2196
- ChannelArn?: string;
2196
+ ChannelArn?: string | undefined;
2197
2197
  /**
2198
2198
  * <p>The information for the requested channel memberships.</p>
2199
2199
  * @public
2200
2200
  */
2201
- ChannelMemberships?: ChannelMembershipSummary[];
2201
+ ChannelMemberships?: ChannelMembershipSummary[] | undefined;
2202
2202
  /**
2203
2203
  * <p>The token passed by previous API calls until all requested channel memberships are
2204
2204
  * returned.</p>
2205
2205
  * @public
2206
2206
  */
2207
- NextToken?: string;
2207
+ NextToken?: string | undefined;
2208
2208
  }
2209
2209
  /**
2210
2210
  * @public
@@ -2214,18 +2214,18 @@ export interface ListChannelMembershipsForAppInstanceUserRequest {
2214
2214
  * <p>The ARN of the user or bot.</p>
2215
2215
  * @public
2216
2216
  */
2217
- AppInstanceUserArn?: string;
2217
+ AppInstanceUserArn?: string | undefined;
2218
2218
  /**
2219
2219
  * <p>The maximum number of users that you want returned.</p>
2220
2220
  * @public
2221
2221
  */
2222
- MaxResults?: number;
2222
+ MaxResults?: number | undefined;
2223
2223
  /**
2224
2224
  * <p>The token returned from previous API requests until the number of channel memberships is
2225
2225
  * reached.</p>
2226
2226
  * @public
2227
2227
  */
2228
- NextToken?: string;
2228
+ NextToken?: string | undefined;
2229
2229
  /**
2230
2230
  * <p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code>
2231
2231
  * that makes the API call.</p>
@@ -2241,12 +2241,12 @@ export interface ListChannelMembershipsForAppInstanceUserResponse {
2241
2241
  * <p>The information for the requested channel memberships.</p>
2242
2242
  * @public
2243
2243
  */
2244
- ChannelMemberships?: ChannelMembershipForAppInstanceUserSummary[];
2244
+ ChannelMemberships?: ChannelMembershipForAppInstanceUserSummary[] | undefined;
2245
2245
  /**
2246
2246
  * <p>The token passed by previous API calls until all requested users are returned.</p>
2247
2247
  * @public
2248
2248
  */
2249
- NextToken?: string;
2249
+ NextToken?: string | undefined;
2250
2250
  }
2251
2251
  /**
2252
2252
  * @public
@@ -2274,27 +2274,27 @@ export interface ListChannelMessagesRequest {
2274
2274
  * created.</p>
2275
2275
  * @public
2276
2276
  */
2277
- SortOrder?: SortOrder;
2277
+ SortOrder?: SortOrder | undefined;
2278
2278
  /**
2279
2279
  * <p>The initial or starting time stamp for your requested messages.</p>
2280
2280
  * @public
2281
2281
  */
2282
- NotBefore?: Date;
2282
+ NotBefore?: Date | undefined;
2283
2283
  /**
2284
2284
  * <p>The final or ending time stamp for your requested messages.</p>
2285
2285
  * @public
2286
2286
  */
2287
- NotAfter?: Date;
2287
+ NotAfter?: Date | undefined;
2288
2288
  /**
2289
2289
  * <p>The maximum number of messages that you want returned.</p>
2290
2290
  * @public
2291
2291
  */
2292
- MaxResults?: number;
2292
+ MaxResults?: number | undefined;
2293
2293
  /**
2294
2294
  * <p>The token passed by previous API calls until all requested messages are returned.</p>
2295
2295
  * @public
2296
2296
  */
2297
- NextToken?: string;
2297
+ NextToken?: string | undefined;
2298
2298
  /**
2299
2299
  * <p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code>
2300
2300
  * that makes the API call.</p>
@@ -2308,7 +2308,7 @@ export interface ListChannelMessagesRequest {
2308
2308
  * </note>
2309
2309
  * @public
2310
2310
  */
2311
- SubChannelId?: string;
2311
+ SubChannelId?: string | undefined;
2312
2312
  }
2313
2313
  /**
2314
2314
  * @public
@@ -2318,22 +2318,22 @@ export interface ListChannelMessagesResponse {
2318
2318
  * <p>The ARN of the channel containing the requested messages.</p>
2319
2319
  * @public
2320
2320
  */
2321
- ChannelArn?: string;
2321
+ ChannelArn?: string | undefined;
2322
2322
  /**
2323
2323
  * <p>The token passed by previous API calls until all requested messages are returned.</p>
2324
2324
  * @public
2325
2325
  */
2326
- NextToken?: string;
2326
+ NextToken?: string | undefined;
2327
2327
  /**
2328
2328
  * <p>The information about, and content of, each requested message.</p>
2329
2329
  * @public
2330
2330
  */
2331
- ChannelMessages?: ChannelMessageSummary[];
2331
+ ChannelMessages?: ChannelMessageSummary[] | undefined;
2332
2332
  /**
2333
2333
  * <p>The ID of the SubChannel in the response.</p>
2334
2334
  * @public
2335
2335
  */
2336
- SubChannelId?: string;
2336
+ SubChannelId?: string | undefined;
2337
2337
  }
2338
2338
  /**
2339
2339
  * @public
@@ -2348,13 +2348,13 @@ export interface ListChannelModeratorsRequest {
2348
2348
  * <p>The maximum number of moderators that you want returned.</p>
2349
2349
  * @public
2350
2350
  */
2351
- MaxResults?: number;
2351
+ MaxResults?: number | undefined;
2352
2352
  /**
2353
2353
  * <p>The token passed by previous API calls until all requested moderators are
2354
2354
  * returned.</p>
2355
2355
  * @public
2356
2356
  */
2357
- NextToken?: string;
2357
+ NextToken?: string | undefined;
2358
2358
  /**
2359
2359
  * <p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code>
2360
2360
  * that makes the API call.</p>
@@ -2370,18 +2370,18 @@ export interface ListChannelModeratorsResponse {
2370
2370
  * <p>The ARN of the channel.</p>
2371
2371
  * @public
2372
2372
  */
2373
- ChannelArn?: string;
2373
+ ChannelArn?: string | undefined;
2374
2374
  /**
2375
2375
  * <p>The token passed by previous API calls until all requested moderators are
2376
2376
  * returned.</p>
2377
2377
  * @public
2378
2378
  */
2379
- NextToken?: string;
2379
+ NextToken?: string | undefined;
2380
2380
  /**
2381
2381
  * <p>The information about and names of each moderator.</p>
2382
2382
  * @public
2383
2383
  */
2384
- ChannelModerators?: ChannelModeratorSummary[];
2384
+ ChannelModerators?: ChannelModeratorSummary[] | undefined;
2385
2385
  }
2386
2386
  /**
2387
2387
  * @public
@@ -2398,17 +2398,17 @@ export interface ListChannelsRequest {
2398
2398
  * can retrieve private channels. </p>
2399
2399
  * @public
2400
2400
  */
2401
- Privacy?: ChannelPrivacy;
2401
+ Privacy?: ChannelPrivacy | undefined;
2402
2402
  /**
2403
2403
  * <p>The maximum number of channels that you want to return.</p>
2404
2404
  * @public
2405
2405
  */
2406
- MaxResults?: number;
2406
+ MaxResults?: number | undefined;
2407
2407
  /**
2408
2408
  * <p>The token passed by previous API calls until all requested channels are returned.</p>
2409
2409
  * @public
2410
2410
  */
2411
- NextToken?: string;
2411
+ NextToken?: string | undefined;
2412
2412
  /**
2413
2413
  * <p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code>
2414
2414
  * that makes the API call.</p>
@@ -2424,13 +2424,13 @@ export interface ListChannelsResponse {
2424
2424
  * <p>The information about each channel.</p>
2425
2425
  * @public
2426
2426
  */
2427
- Channels?: ChannelSummary[];
2427
+ Channels?: ChannelSummary[] | undefined;
2428
2428
  /**
2429
2429
  * <p>The token returned from previous API requests until the number of channels is
2430
2430
  * reached.</p>
2431
2431
  * @public
2432
2432
  */
2433
- NextToken?: string;
2433
+ NextToken?: string | undefined;
2434
2434
  }
2435
2435
  /**
2436
2436
  * @public
@@ -2445,12 +2445,12 @@ export interface ListChannelsAssociatedWithChannelFlowRequest {
2445
2445
  * <p>The maximum number of channels that you want to return.</p>
2446
2446
  * @public
2447
2447
  */
2448
- MaxResults?: number;
2448
+ MaxResults?: number | undefined;
2449
2449
  /**
2450
2450
  * <p>The token passed by previous API calls until all requested channels are returned.</p>
2451
2451
  * @public
2452
2452
  */
2453
- NextToken?: string;
2453
+ NextToken?: string | undefined;
2454
2454
  }
2455
2455
  /**
2456
2456
  * @public
@@ -2460,12 +2460,12 @@ export interface ListChannelsAssociatedWithChannelFlowResponse {
2460
2460
  * <p>The information about each channel.</p>
2461
2461
  * @public
2462
2462
  */
2463
- Channels?: ChannelAssociatedWithFlowSummary[];
2463
+ Channels?: ChannelAssociatedWithFlowSummary[] | undefined;
2464
2464
  /**
2465
2465
  * <p>The token passed by previous API calls until all requested channels are returned.</p>
2466
2466
  * @public
2467
2467
  */
2468
- NextToken?: string;
2468
+ NextToken?: string | undefined;
2469
2469
  }
2470
2470
  /**
2471
2471
  * @public
@@ -2475,18 +2475,18 @@ export interface ListChannelsModeratedByAppInstanceUserRequest {
2475
2475
  * <p>The ARN of the user or bot in the moderated channel.</p>
2476
2476
  * @public
2477
2477
  */
2478
- AppInstanceUserArn?: string;
2478
+ AppInstanceUserArn?: string | undefined;
2479
2479
  /**
2480
2480
  * <p>The maximum number of channels in the request.</p>
2481
2481
  * @public
2482
2482
  */
2483
- MaxResults?: number;
2483
+ MaxResults?: number | undefined;
2484
2484
  /**
2485
2485
  * <p>The token returned from previous API requests until the number of channels moderated by
2486
2486
  * the user is reached.</p>
2487
2487
  * @public
2488
2488
  */
2489
- NextToken?: string;
2489
+ NextToken?: string | undefined;
2490
2490
  /**
2491
2491
  * <p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code>
2492
2492
  * that makes the API call.</p>
@@ -2502,13 +2502,13 @@ export interface ListChannelsModeratedByAppInstanceUserResponse {
2502
2502
  * <p>The moderated channels in the request.</p>
2503
2503
  * @public
2504
2504
  */
2505
- Channels?: ChannelModeratedByAppInstanceUserSummary[];
2505
+ Channels?: ChannelModeratedByAppInstanceUserSummary[] | undefined;
2506
2506
  /**
2507
2507
  * <p>The token returned from previous API requests until the number of channels moderated by
2508
2508
  * the user is reached.</p>
2509
2509
  * @public
2510
2510
  */
2511
- NextToken?: string;
2511
+ NextToken?: string | undefined;
2512
2512
  }
2513
2513
  /**
2514
2514
  * @public
@@ -2528,12 +2528,12 @@ export interface ListSubChannelsRequest {
2528
2528
  * <p>The maximum number of sub-channels that you want to return.</p>
2529
2529
  * @public
2530
2530
  */
2531
- MaxResults?: number;
2531
+ MaxResults?: number | undefined;
2532
2532
  /**
2533
2533
  * <p>The token passed by previous API calls until all requested sub-channels are returned.</p>
2534
2534
  * @public
2535
2535
  */
2536
- NextToken?: string;
2536
+ NextToken?: string | undefined;
2537
2537
  }
2538
2538
  /**
2539
2539
  * <p>Summary of the sub-channels associated with the elastic channel.</p>
@@ -2544,12 +2544,12 @@ export interface SubChannelSummary {
2544
2544
  * <p>The unique ID of a SubChannel.</p>
2545
2545
  * @public
2546
2546
  */
2547
- SubChannelId?: string;
2547
+ SubChannelId?: string | undefined;
2548
2548
  /**
2549
2549
  * <p>The number of members in a SubChannel.</p>
2550
2550
  * @public
2551
2551
  */
2552
- MembershipCount?: number;
2552
+ MembershipCount?: number | undefined;
2553
2553
  }
2554
2554
  /**
2555
2555
  * @public
@@ -2559,17 +2559,17 @@ export interface ListSubChannelsResponse {
2559
2559
  * <p>The ARN of elastic channel.</p>
2560
2560
  * @public
2561
2561
  */
2562
- ChannelArn?: string;
2562
+ ChannelArn?: string | undefined;
2563
2563
  /**
2564
2564
  * <p>The information about each sub-channel.</p>
2565
2565
  * @public
2566
2566
  */
2567
- SubChannels?: SubChannelSummary[];
2567
+ SubChannels?: SubChannelSummary[] | undefined;
2568
2568
  /**
2569
2569
  * <p>The token passed by previous API calls until all requested sub-channels are returned.</p>
2570
2570
  * @public
2571
2571
  */
2572
- NextToken?: string;
2572
+ NextToken?: string | undefined;
2573
2573
  }
2574
2574
  /**
2575
2575
  * @public
@@ -2589,7 +2589,7 @@ export interface ListTagsForResourceResponse {
2589
2589
  * <p>The tag key-value pairs.</p>
2590
2590
  * @public
2591
2591
  */
2592
- Tags?: Tag[];
2592
+ Tags?: Tag[] | undefined;
2593
2593
  }
2594
2594
  /**
2595
2595
  * @public
@@ -2604,12 +2604,12 @@ export interface PutChannelExpirationSettingsRequest {
2604
2604
  * <p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>
2605
2605
  * @public
2606
2606
  */
2607
- ChimeBearer?: string;
2607
+ ChimeBearer?: string | undefined;
2608
2608
  /**
2609
2609
  * <p>Settings that control the interval after which a channel is deleted.</p>
2610
2610
  * @public
2611
2611
  */
2612
- ExpirationSettings?: ExpirationSettings;
2612
+ ExpirationSettings?: ExpirationSettings | undefined;
2613
2613
  }
2614
2614
  /**
2615
2615
  * @public
@@ -2619,12 +2619,12 @@ export interface PutChannelExpirationSettingsResponse {
2619
2619
  * <p>The channel ARN.</p>
2620
2620
  * @public
2621
2621
  */
2622
- ChannelArn?: string;
2622
+ ChannelArn?: string | undefined;
2623
2623
  /**
2624
2624
  * <p>Settings that control the interval after which a channel is deleted.</p>
2625
2625
  * @public
2626
2626
  */
2627
- ExpirationSettings?: ExpirationSettings;
2627
+ ExpirationSettings?: ExpirationSettings | undefined;
2628
2628
  }
2629
2629
  /**
2630
2630
  * @public
@@ -2659,17 +2659,17 @@ export interface PutChannelMembershipPreferencesResponse {
2659
2659
  * <p>The ARN of the channel.</p>
2660
2660
  * @public
2661
2661
  */
2662
- ChannelArn?: string;
2662
+ ChannelArn?: string | undefined;
2663
2663
  /**
2664
2664
  * <p>The details of a user.</p>
2665
2665
  * @public
2666
2666
  */
2667
- Member?: Identity;
2667
+ Member?: Identity | undefined;
2668
2668
  /**
2669
2669
  * <p>The ARN and metadata of the member being added.</p>
2670
2670
  * @public
2671
2671
  */
2672
- Preferences?: ChannelMembershipPreferences;
2672
+ Preferences?: ChannelMembershipPreferences | undefined;
2673
2673
  }
2674
2674
  /**
2675
2675
  * @public
@@ -2694,7 +2694,7 @@ export interface PutMessagingStreamingConfigurationsResponse {
2694
2694
  * <p>The requested streaming configurations.</p>
2695
2695
  * @public
2696
2696
  */
2697
- StreamingConfigurations?: StreamingConfiguration[];
2697
+ StreamingConfigurations?: StreamingConfiguration[] | undefined;
2698
2698
  }
2699
2699
  /**
2700
2700
  * @public
@@ -2720,7 +2720,7 @@ export interface RedactChannelMessageRequest {
2720
2720
  * <p>The ID of the SubChannel in the request.</p>
2721
2721
  * @public
2722
2722
  */
2723
- SubChannelId?: string;
2723
+ SubChannelId?: string | undefined;
2724
2724
  }
2725
2725
  /**
2726
2726
  * @public
@@ -2730,12 +2730,12 @@ export interface RedactChannelMessageResponse {
2730
2730
  * <p>The ARN of the channel containing the messages that you want to redact.</p>
2731
2731
  * @public
2732
2732
  */
2733
- ChannelArn?: string;
2733
+ ChannelArn?: string | undefined;
2734
2734
  /**
2735
2735
  * <p>The ID of the message being redacted.</p>
2736
2736
  * @public
2737
2737
  */
2738
- MessageId?: string;
2738
+ MessageId?: string | undefined;
2739
2739
  /**
2740
2740
  * <p>The ID of the SubChannel in the response.</p>
2741
2741
  * <note>
@@ -2743,7 +2743,7 @@ export interface RedactChannelMessageResponse {
2743
2743
  * </note>
2744
2744
  * @public
2745
2745
  */
2746
- SubChannelId?: string;
2746
+ SubChannelId?: string | undefined;
2747
2747
  }
2748
2748
  /**
2749
2749
  * @public
@@ -2802,7 +2802,7 @@ export interface SearchChannelsRequest {
2802
2802
  * <p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>
2803
2803
  * @public
2804
2804
  */
2805
- ChimeBearer?: string;
2805
+ ChimeBearer?: string | undefined;
2806
2806
  /**
2807
2807
  * <p>A list of the <code>Field</code> objects in the channel being searched.</p>
2808
2808
  * @public
@@ -2812,12 +2812,12 @@ export interface SearchChannelsRequest {
2812
2812
  * <p>The maximum number of channels that you want returned.</p>
2813
2813
  * @public
2814
2814
  */
2815
- MaxResults?: number;
2815
+ MaxResults?: number | undefined;
2816
2816
  /**
2817
2817
  * <p>The token returned from previous API requests until the number of channels is reached.</p>
2818
2818
  * @public
2819
2819
  */
2820
- NextToken?: string;
2820
+ NextToken?: string | undefined;
2821
2821
  }
2822
2822
  /**
2823
2823
  * @public
@@ -2827,12 +2827,12 @@ export interface SearchChannelsResponse {
2827
2827
  * <p>A list of the channels in the request.</p>
2828
2828
  * @public
2829
2829
  */
2830
- Channels?: ChannelSummary[];
2830
+ Channels?: ChannelSummary[] | undefined;
2831
2831
  /**
2832
2832
  * <p>The token returned from previous API responses until the number of channels is reached.</p>
2833
2833
  * @public
2834
2834
  */
2835
- NextToken?: string;
2835
+ NextToken?: string | undefined;
2836
2836
  }
2837
2837
  /**
2838
2838
  * @public
@@ -2867,12 +2867,12 @@ export interface SendChannelMessageRequest {
2867
2867
  * <p>The optional metadata for each message.</p>
2868
2868
  * @public
2869
2869
  */
2870
- Metadata?: string;
2870
+ Metadata?: string | undefined;
2871
2871
  /**
2872
2872
  * <p>The <code>Idempotency</code> token for each client request.</p>
2873
2873
  * @public
2874
2874
  */
2875
- ClientRequestToken?: string;
2875
+ ClientRequestToken?: string | undefined;
2876
2876
  /**
2877
2877
  * <p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code>
2878
2878
  * that makes the API call.</p>
@@ -2883,29 +2883,29 @@ export interface SendChannelMessageRequest {
2883
2883
  * <p>The push notification configuration of the message.</p>
2884
2884
  * @public
2885
2885
  */
2886
- PushNotification?: PushNotificationConfiguration;
2886
+ PushNotification?: PushNotificationConfiguration | undefined;
2887
2887
  /**
2888
2888
  * <p>The attributes for the message, used for message filtering along with a <code>FilterRule</code> defined in the <code>PushNotificationPreferences</code>.</p>
2889
2889
  * @public
2890
2890
  */
2891
- MessageAttributes?: Record<string, MessageAttributeValue>;
2891
+ MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
2892
2892
  /**
2893
2893
  * <p>The ID of the SubChannel in the request.</p>
2894
2894
  * @public
2895
2895
  */
2896
- SubChannelId?: string;
2896
+ SubChannelId?: string | undefined;
2897
2897
  /**
2898
2898
  * <p>The content type of the channel message.</p>
2899
2899
  * @public
2900
2900
  */
2901
- ContentType?: string;
2901
+ ContentType?: string | undefined;
2902
2902
  /**
2903
2903
  * <p>The target of a message. Must be a member of the channel, such as another user, a bot, or the sender. Only the target and the sender can view targeted messages.
2904
2904
  * Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.
2905
2905
  * </p>
2906
2906
  * @public
2907
2907
  */
2908
- Target?: Target[];
2908
+ Target?: Target[] | undefined;
2909
2909
  }
2910
2910
  /**
2911
2911
  * @public
@@ -2915,22 +2915,22 @@ export interface SendChannelMessageResponse {
2915
2915
  * <p>The ARN of the channel.</p>
2916
2916
  * @public
2917
2917
  */
2918
- ChannelArn?: string;
2918
+ ChannelArn?: string | undefined;
2919
2919
  /**
2920
2920
  * <p>The ID string assigned to each message.</p>
2921
2921
  * @public
2922
2922
  */
2923
- MessageId?: string;
2923
+ MessageId?: string | undefined;
2924
2924
  /**
2925
2925
  * <p>The status of the channel message.</p>
2926
2926
  * @public
2927
2927
  */
2928
- Status?: ChannelMessageStatusStructure;
2928
+ Status?: ChannelMessageStatusStructure | undefined;
2929
2929
  /**
2930
2930
  * <p>The ID of the SubChannel in the response.</p>
2931
2931
  * @public
2932
2932
  */
2933
- SubChannelId?: string;
2933
+ SubChannelId?: string | undefined;
2934
2934
  }
2935
2935
  /**
2936
2936
  * @public
@@ -2975,17 +2975,17 @@ export interface UpdateChannelRequest {
2975
2975
  * <p>The name of the channel.</p>
2976
2976
  * @public
2977
2977
  */
2978
- Name?: string;
2978
+ Name?: string | undefined;
2979
2979
  /**
2980
2980
  * <p>The mode of the update request.</p>
2981
2981
  * @public
2982
2982
  */
2983
- Mode?: ChannelMode;
2983
+ Mode?: ChannelMode | undefined;
2984
2984
  /**
2985
2985
  * <p>The metadata for the update request.</p>
2986
2986
  * @public
2987
2987
  */
2988
- Metadata?: string;
2988
+ Metadata?: string | undefined;
2989
2989
  /**
2990
2990
  * <p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code>
2991
2991
  * that makes the API call.</p>
@@ -3001,7 +3001,7 @@ export interface UpdateChannelResponse {
3001
3001
  * <p>The ARN of the channel.</p>
3002
3002
  * @public
3003
3003
  */
3004
- ChannelArn?: string;
3004
+ ChannelArn?: string | undefined;
3005
3005
  }
3006
3006
  /**
3007
3007
  * @public
@@ -3031,7 +3031,7 @@ export interface UpdateChannelFlowResponse {
3031
3031
  * <p>The ARN of the channel flow.</p>
3032
3032
  * @public
3033
3033
  */
3034
- ChannelFlowArn?: string;
3034
+ ChannelFlowArn?: string | undefined;
3035
3035
  }
3036
3036
  /**
3037
3037
  * @public
@@ -3056,7 +3056,7 @@ export interface UpdateChannelMessageRequest {
3056
3056
  * <p>The metadata of the message being updated.</p>
3057
3057
  * @public
3058
3058
  */
3059
- Metadata?: string;
3059
+ Metadata?: string | undefined;
3060
3060
  /**
3061
3061
  * <p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code>
3062
3062
  * that makes the API call.</p>
@@ -3070,12 +3070,12 @@ export interface UpdateChannelMessageRequest {
3070
3070
  * </note>
3071
3071
  * @public
3072
3072
  */
3073
- SubChannelId?: string;
3073
+ SubChannelId?: string | undefined;
3074
3074
  /**
3075
3075
  * <p>The content type of the channel message.</p>
3076
3076
  * @public
3077
3077
  */
3078
- ContentType?: string;
3078
+ ContentType?: string | undefined;
3079
3079
  }
3080
3080
  /**
3081
3081
  * @public
@@ -3085,22 +3085,22 @@ export interface UpdateChannelMessageResponse {
3085
3085
  * <p>The ARN of the channel.</p>
3086
3086
  * @public
3087
3087
  */
3088
- ChannelArn?: string;
3088
+ ChannelArn?: string | undefined;
3089
3089
  /**
3090
3090
  * <p>The ID string of the message being updated.</p>
3091
3091
  * @public
3092
3092
  */
3093
- MessageId?: string;
3093
+ MessageId?: string | undefined;
3094
3094
  /**
3095
3095
  * <p>The status of the message update.</p>
3096
3096
  * @public
3097
3097
  */
3098
- Status?: ChannelMessageStatusStructure;
3098
+ Status?: ChannelMessageStatusStructure | undefined;
3099
3099
  /**
3100
3100
  * <p>The ID of the SubChannel in the response.</p>
3101
3101
  * @public
3102
3102
  */
3103
- SubChannelId?: string;
3103
+ SubChannelId?: string | undefined;
3104
3104
  }
3105
3105
  /**
3106
3106
  * @public
@@ -3126,7 +3126,7 @@ export interface UpdateChannelReadMarkerResponse {
3126
3126
  * <p>The ARN of the channel.</p>
3127
3127
  * @public
3128
3128
  */
3129
- ChannelArn?: string;
3129
+ ChannelArn?: string | undefined;
3130
3130
  }
3131
3131
  /**
3132
3132
  * @internal