@aws-sdk/client-chime-sdk-messaging 3.687.0 → 3.692.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.
@@ -14,9 +14,9 @@ export declare const ChannelMembershipType: {
14
14
  export type ChannelMembershipType =
15
15
  (typeof ChannelMembershipType)[keyof typeof ChannelMembershipType];
16
16
  export interface AppInstanceUserMembershipSummary {
17
- Type?: ChannelMembershipType;
18
- ReadMarkerTimestamp?: Date;
19
- SubChannelId?: string;
17
+ Type?: ChannelMembershipType | undefined;
18
+ ReadMarkerTimestamp?: Date | undefined;
19
+ SubChannelId?: string | undefined;
20
20
  }
21
21
  export interface AssociateChannelFlowRequest {
22
22
  ChannelArn: string | undefined;
@@ -44,8 +44,8 @@ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
44
44
  export declare class BadRequestException extends __BaseException {
45
45
  readonly name: "BadRequestException";
46
46
  readonly $fault: "client";
47
- Code?: ErrorCode;
48
- Message?: string;
47
+ Code?: ErrorCode | undefined;
48
+ Message?: string | undefined;
49
49
  constructor(
50
50
  opts: __ExceptionOptionType<BadRequestException, __BaseException>
51
51
  );
@@ -53,29 +53,29 @@ export declare class BadRequestException extends __BaseException {
53
53
  export declare class ConflictException extends __BaseException {
54
54
  readonly name: "ConflictException";
55
55
  readonly $fault: "client";
56
- Code?: ErrorCode;
57
- Message?: string;
56
+ Code?: ErrorCode | undefined;
57
+ Message?: string | undefined;
58
58
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
59
59
  }
60
60
  export declare class ForbiddenException extends __BaseException {
61
61
  readonly name: "ForbiddenException";
62
62
  readonly $fault: "client";
63
- Code?: ErrorCode;
64
- Message?: string;
63
+ Code?: ErrorCode | undefined;
64
+ Message?: string | undefined;
65
65
  constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
66
66
  }
67
67
  export declare class NotFoundException extends __BaseException {
68
68
  readonly name: "NotFoundException";
69
69
  readonly $fault: "client";
70
- Code?: ErrorCode;
71
- Message?: string;
70
+ Code?: ErrorCode | undefined;
71
+ Message?: string | undefined;
72
72
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
73
73
  }
74
74
  export declare class ServiceFailureException extends __BaseException {
75
75
  readonly name: "ServiceFailureException";
76
76
  readonly $fault: "server";
77
- Code?: ErrorCode;
78
- Message?: string;
77
+ Code?: ErrorCode | undefined;
78
+ Message?: string | undefined;
79
79
  constructor(
80
80
  opts: __ExceptionOptionType<ServiceFailureException, __BaseException>
81
81
  );
@@ -83,8 +83,8 @@ export declare class ServiceFailureException extends __BaseException {
83
83
  export declare class ServiceUnavailableException extends __BaseException {
84
84
  readonly name: "ServiceUnavailableException";
85
85
  readonly $fault: "server";
86
- Code?: ErrorCode;
87
- Message?: string;
86
+ Code?: ErrorCode | undefined;
87
+ Message?: string | undefined;
88
88
  constructor(
89
89
  opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
90
90
  );
@@ -92,8 +92,8 @@ export declare class ServiceUnavailableException extends __BaseException {
92
92
  export declare class ThrottledClientException extends __BaseException {
93
93
  readonly name: "ThrottledClientException";
94
94
  readonly $fault: "client";
95
- Code?: ErrorCode;
96
- Message?: string;
95
+ Code?: ErrorCode | undefined;
96
+ Message?: string | undefined;
97
97
  constructor(
98
98
  opts: __ExceptionOptionType<ThrottledClientException, __BaseException>
99
99
  );
@@ -101,44 +101,44 @@ export declare class ThrottledClientException extends __BaseException {
101
101
  export declare class UnauthorizedClientException extends __BaseException {
102
102
  readonly name: "UnauthorizedClientException";
103
103
  readonly $fault: "client";
104
- Code?: ErrorCode;
105
- Message?: string;
104
+ Code?: ErrorCode | undefined;
105
+ Message?: string | undefined;
106
106
  constructor(
107
107
  opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>
108
108
  );
109
109
  }
110
110
  export interface Identity {
111
- Arn?: string;
112
- Name?: string;
111
+ Arn?: string | undefined;
112
+ Name?: string | undefined;
113
113
  }
114
114
  export interface BatchChannelMemberships {
115
- InvitedBy?: Identity;
116
- Type?: ChannelMembershipType;
117
- Members?: Identity[];
118
- ChannelArn?: string;
119
- SubChannelId?: string;
115
+ InvitedBy?: Identity | undefined;
116
+ Type?: ChannelMembershipType | undefined;
117
+ Members?: Identity[] | undefined;
118
+ ChannelArn?: string | undefined;
119
+ SubChannelId?: string | undefined;
120
120
  }
121
121
  export interface BatchCreateChannelMembershipRequest {
122
122
  ChannelArn: string | undefined;
123
- Type?: ChannelMembershipType;
123
+ Type?: ChannelMembershipType | undefined;
124
124
  MemberArns: string[] | undefined;
125
125
  ChimeBearer: string | undefined;
126
- SubChannelId?: string;
126
+ SubChannelId?: string | undefined;
127
127
  }
128
128
  export interface BatchCreateChannelMembershipError {
129
- MemberArn?: string;
130
- ErrorCode?: ErrorCode;
131
- ErrorMessage?: string;
129
+ MemberArn?: string | undefined;
130
+ ErrorCode?: ErrorCode | undefined;
131
+ ErrorMessage?: string | undefined;
132
132
  }
133
133
  export interface BatchCreateChannelMembershipResponse {
134
- BatchChannelMemberships?: BatchChannelMemberships;
135
- Errors?: BatchCreateChannelMembershipError[];
134
+ BatchChannelMemberships?: BatchChannelMemberships | undefined;
135
+ Errors?: BatchCreateChannelMembershipError[] | undefined;
136
136
  }
137
137
  export declare class ResourceLimitExceededException extends __BaseException {
138
138
  readonly name: "ResourceLimitExceededException";
139
139
  readonly $fault: "client";
140
- Code?: ErrorCode;
141
- Message?: string;
140
+ Code?: ErrorCode | undefined;
141
+ Message?: string | undefined;
142
142
  constructor(
143
143
  opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
144
144
  );
@@ -170,34 +170,34 @@ export declare const ChannelPrivacy: {
170
170
  export type ChannelPrivacy =
171
171
  (typeof ChannelPrivacy)[keyof typeof ChannelPrivacy];
172
172
  export interface Channel {
173
- Name?: string;
174
- ChannelArn?: string;
175
- Mode?: ChannelMode;
176
- Privacy?: ChannelPrivacy;
177
- Metadata?: string;
178
- CreatedBy?: Identity;
179
- CreatedTimestamp?: Date;
180
- LastMessageTimestamp?: Date;
181
- LastUpdatedTimestamp?: Date;
182
- ChannelFlowArn?: string;
183
- ElasticChannelConfiguration?: ElasticChannelConfiguration;
184
- ExpirationSettings?: ExpirationSettings;
173
+ Name?: string | undefined;
174
+ ChannelArn?: string | undefined;
175
+ Mode?: ChannelMode | undefined;
176
+ Privacy?: ChannelPrivacy | undefined;
177
+ Metadata?: string | undefined;
178
+ CreatedBy?: Identity | undefined;
179
+ CreatedTimestamp?: Date | undefined;
180
+ LastMessageTimestamp?: Date | undefined;
181
+ LastUpdatedTimestamp?: Date | undefined;
182
+ ChannelFlowArn?: string | undefined;
183
+ ElasticChannelConfiguration?: ElasticChannelConfiguration | undefined;
184
+ ExpirationSettings?: ExpirationSettings | undefined;
185
185
  }
186
186
  export interface ChannelAssociatedWithFlowSummary {
187
- Name?: string;
188
- ChannelArn?: string;
189
- Mode?: ChannelMode;
190
- Privacy?: ChannelPrivacy;
191
- Metadata?: string;
187
+ Name?: string | undefined;
188
+ ChannelArn?: string | undefined;
189
+ Mode?: ChannelMode | undefined;
190
+ Privacy?: ChannelPrivacy | undefined;
191
+ Metadata?: string | undefined;
192
192
  }
193
193
  export interface ChannelBan {
194
- Member?: Identity;
195
- ChannelArn?: string;
196
- CreatedTimestamp?: Date;
197
- CreatedBy?: Identity;
194
+ Member?: Identity | undefined;
195
+ ChannelArn?: string | undefined;
196
+ CreatedTimestamp?: Date | undefined;
197
+ CreatedBy?: Identity | undefined;
198
198
  }
199
199
  export interface ChannelBanSummary {
200
- Member?: Identity;
200
+ Member?: Identity | undefined;
201
201
  }
202
202
  export declare const InvocationType: {
203
203
  readonly ASYNC: "ASYNC";
@@ -224,14 +224,14 @@ export interface Processor {
224
224
  FallbackAction: FallbackAction | undefined;
225
225
  }
226
226
  export interface ChannelFlow {
227
- ChannelFlowArn?: string;
228
- Processors?: Processor[];
229
- Name?: string;
230
- CreatedTimestamp?: Date;
231
- LastUpdatedTimestamp?: Date;
227
+ ChannelFlowArn?: string | undefined;
228
+ Processors?: Processor[] | undefined;
229
+ Name?: string | undefined;
230
+ CreatedTimestamp?: Date | undefined;
231
+ LastUpdatedTimestamp?: Date | undefined;
232
232
  }
233
233
  export interface MessageAttributeValue {
234
- StringValues?: string[];
234
+ StringValues?: string[] | undefined;
235
235
  }
236
236
  export declare const PushNotificationType: {
237
237
  readonly DEFAULT: "DEFAULT";
@@ -240,64 +240,66 @@ export declare const PushNotificationType: {
240
240
  export type PushNotificationType =
241
241
  (typeof PushNotificationType)[keyof typeof PushNotificationType];
242
242
  export interface PushNotificationConfiguration {
243
- Title?: string;
244
- Body?: string;
245
- Type?: PushNotificationType;
243
+ Title?: string | undefined;
244
+ Body?: string | undefined;
245
+ Type?: PushNotificationType | undefined;
246
246
  }
247
247
  export interface ChannelMessageCallback {
248
248
  MessageId: string | undefined;
249
- Content?: string;
250
- Metadata?: string;
251
- PushNotification?: PushNotificationConfiguration;
252
- MessageAttributes?: Record<string, MessageAttributeValue>;
253
- SubChannelId?: string;
254
- ContentType?: string;
249
+ Content?: string | undefined;
250
+ Metadata?: string | undefined;
251
+ PushNotification?: PushNotificationConfiguration | undefined;
252
+ MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
253
+ SubChannelId?: string | undefined;
254
+ ContentType?: string | undefined;
255
255
  }
256
256
  export interface ChannelFlowCallbackRequest {
257
- CallbackId?: string;
257
+ CallbackId?: string | undefined;
258
258
  ChannelArn: string | undefined;
259
- DeleteResource?: boolean;
259
+ DeleteResource?: boolean | undefined;
260
260
  ChannelMessage: ChannelMessageCallback | undefined;
261
261
  }
262
262
  export interface ChannelFlowCallbackResponse {
263
- ChannelArn?: string;
264
- CallbackId?: string;
263
+ ChannelArn?: string | undefined;
264
+ CallbackId?: string | undefined;
265
265
  }
266
266
  export interface ChannelFlowSummary {
267
- ChannelFlowArn?: string;
268
- Name?: string;
269
- Processors?: Processor[];
267
+ ChannelFlowArn?: string | undefined;
268
+ Name?: string | undefined;
269
+ Processors?: Processor[] | undefined;
270
270
  }
271
271
  export interface ChannelMembership {
272
- InvitedBy?: Identity;
273
- Type?: ChannelMembershipType;
274
- Member?: Identity;
275
- ChannelArn?: string;
276
- CreatedTimestamp?: Date;
277
- LastUpdatedTimestamp?: Date;
278
- SubChannelId?: string;
272
+ InvitedBy?: Identity | undefined;
273
+ Type?: ChannelMembershipType | undefined;
274
+ Member?: Identity | undefined;
275
+ ChannelArn?: string | undefined;
276
+ CreatedTimestamp?: Date | undefined;
277
+ LastUpdatedTimestamp?: Date | undefined;
278
+ SubChannelId?: string | undefined;
279
279
  }
280
280
  export interface ChannelSummary {
281
- Name?: string;
282
- ChannelArn?: string;
283
- Mode?: ChannelMode;
284
- Privacy?: ChannelPrivacy;
285
- Metadata?: string;
286
- LastMessageTimestamp?: Date;
281
+ Name?: string | undefined;
282
+ ChannelArn?: string | undefined;
283
+ Mode?: ChannelMode | undefined;
284
+ Privacy?: ChannelPrivacy | undefined;
285
+ Metadata?: string | undefined;
286
+ LastMessageTimestamp?: Date | undefined;
287
287
  }
288
288
  export interface ChannelMembershipForAppInstanceUserSummary {
289
- ChannelSummary?: ChannelSummary;
290
- AppInstanceUserMembershipSummary?: AppInstanceUserMembershipSummary;
289
+ ChannelSummary?: ChannelSummary | undefined;
290
+ AppInstanceUserMembershipSummary?:
291
+ | AppInstanceUserMembershipSummary
292
+ | undefined;
291
293
  }
292
294
  export interface PushNotificationPreferences {
293
295
  AllowNotifications: AllowNotifications | undefined;
294
- FilterRule?: string;
296
+ FilterRule?: string | undefined;
295
297
  }
296
298
  export interface ChannelMembershipPreferences {
297
- PushNotifications?: PushNotificationPreferences;
299
+ PushNotifications?: PushNotificationPreferences | undefined;
298
300
  }
299
301
  export interface ChannelMembershipSummary {
300
- Member?: Identity;
302
+ Member?: Identity | undefined;
301
303
  }
302
304
  export declare const ChannelMessagePersistenceType: {
303
305
  readonly NON_PERSISTENT: "NON_PERSISTENT";
@@ -314,11 +316,11 @@ export declare const ChannelMessageStatus: {
314
316
  export type ChannelMessageStatus =
315
317
  (typeof ChannelMessageStatus)[keyof typeof ChannelMessageStatus];
316
318
  export interface ChannelMessageStatusStructure {
317
- Value?: ChannelMessageStatus;
318
- Detail?: string;
319
+ Value?: ChannelMessageStatus | undefined;
320
+ Detail?: string | undefined;
319
321
  }
320
322
  export interface Target {
321
- MemberArn?: string;
323
+ MemberArn?: string | undefined;
322
324
  }
323
325
  export declare const ChannelMessageType: {
324
326
  readonly CONTROL: "CONTROL";
@@ -327,49 +329,49 @@ export declare const ChannelMessageType: {
327
329
  export type ChannelMessageType =
328
330
  (typeof ChannelMessageType)[keyof typeof ChannelMessageType];
329
331
  export interface ChannelMessage {
330
- ChannelArn?: string;
331
- MessageId?: string;
332
- Content?: string;
333
- Metadata?: string;
334
- Type?: ChannelMessageType;
335
- CreatedTimestamp?: Date;
336
- LastEditedTimestamp?: Date;
337
- LastUpdatedTimestamp?: Date;
338
- Sender?: Identity;
339
- Redacted?: boolean;
340
- Persistence?: ChannelMessagePersistenceType;
341
- Status?: ChannelMessageStatusStructure;
342
- MessageAttributes?: Record<string, MessageAttributeValue>;
343
- SubChannelId?: string;
344
- ContentType?: string;
345
- Target?: Target[];
332
+ ChannelArn?: string | undefined;
333
+ MessageId?: string | undefined;
334
+ Content?: string | undefined;
335
+ Metadata?: string | undefined;
336
+ Type?: ChannelMessageType | undefined;
337
+ CreatedTimestamp?: Date | undefined;
338
+ LastEditedTimestamp?: Date | undefined;
339
+ LastUpdatedTimestamp?: Date | undefined;
340
+ Sender?: Identity | undefined;
341
+ Redacted?: boolean | undefined;
342
+ Persistence?: ChannelMessagePersistenceType | undefined;
343
+ Status?: ChannelMessageStatusStructure | undefined;
344
+ MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
345
+ SubChannelId?: string | undefined;
346
+ ContentType?: string | undefined;
347
+ Target?: Target[] | undefined;
346
348
  }
347
349
  export interface ChannelMessageSummary {
348
- MessageId?: string;
349
- Content?: string;
350
- Metadata?: string;
351
- Type?: ChannelMessageType;
352
- CreatedTimestamp?: Date;
353
- LastUpdatedTimestamp?: Date;
354
- LastEditedTimestamp?: Date;
355
- Sender?: Identity;
356
- Redacted?: boolean;
357
- Status?: ChannelMessageStatusStructure;
358
- MessageAttributes?: Record<string, MessageAttributeValue>;
359
- ContentType?: string;
360
- Target?: Target[];
350
+ MessageId?: string | undefined;
351
+ Content?: string | undefined;
352
+ Metadata?: string | undefined;
353
+ Type?: ChannelMessageType | undefined;
354
+ CreatedTimestamp?: Date | undefined;
355
+ LastUpdatedTimestamp?: Date | undefined;
356
+ LastEditedTimestamp?: Date | undefined;
357
+ Sender?: Identity | undefined;
358
+ Redacted?: boolean | undefined;
359
+ Status?: ChannelMessageStatusStructure | undefined;
360
+ MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
361
+ ContentType?: string | undefined;
362
+ Target?: Target[] | undefined;
361
363
  }
362
364
  export interface ChannelModeratedByAppInstanceUserSummary {
363
- ChannelSummary?: ChannelSummary;
365
+ ChannelSummary?: ChannelSummary | undefined;
364
366
  }
365
367
  export interface ChannelModerator {
366
- Moderator?: Identity;
367
- ChannelArn?: string;
368
- CreatedTimestamp?: Date;
369
- CreatedBy?: Identity;
368
+ Moderator?: Identity | undefined;
369
+ ChannelArn?: string | undefined;
370
+ CreatedTimestamp?: Date | undefined;
371
+ CreatedBy?: Identity | undefined;
370
372
  }
371
373
  export interface ChannelModeratorSummary {
372
- Moderator?: Identity;
374
+ Moderator?: Identity | undefined;
373
375
  }
374
376
  export interface Tag {
375
377
  Key: string | undefined;
@@ -378,20 +380,20 @@ export interface Tag {
378
380
  export interface CreateChannelRequest {
379
381
  AppInstanceArn: string | undefined;
380
382
  Name: string | undefined;
381
- Mode?: ChannelMode;
382
- Privacy?: ChannelPrivacy;
383
- Metadata?: string;
384
- ClientRequestToken?: string;
385
- Tags?: Tag[];
383
+ Mode?: ChannelMode | undefined;
384
+ Privacy?: ChannelPrivacy | undefined;
385
+ Metadata?: string | undefined;
386
+ ClientRequestToken?: string | undefined;
387
+ Tags?: Tag[] | undefined;
386
388
  ChimeBearer: string | undefined;
387
- ChannelId?: string;
388
- MemberArns?: string[];
389
- ModeratorArns?: string[];
390
- ElasticChannelConfiguration?: ElasticChannelConfiguration;
391
- ExpirationSettings?: ExpirationSettings;
389
+ ChannelId?: string | undefined;
390
+ MemberArns?: string[] | undefined;
391
+ ModeratorArns?: string[] | undefined;
392
+ ElasticChannelConfiguration?: ElasticChannelConfiguration | undefined;
393
+ ExpirationSettings?: ExpirationSettings | undefined;
392
394
  }
393
395
  export interface CreateChannelResponse {
394
- ChannelArn?: string;
396
+ ChannelArn?: string | undefined;
395
397
  }
396
398
  export interface CreateChannelBanRequest {
397
399
  ChannelArn: string | undefined;
@@ -399,30 +401,30 @@ export interface CreateChannelBanRequest {
399
401
  ChimeBearer: string | undefined;
400
402
  }
401
403
  export interface CreateChannelBanResponse {
402
- ChannelArn?: string;
403
- Member?: Identity;
404
+ ChannelArn?: string | undefined;
405
+ Member?: Identity | undefined;
404
406
  }
405
407
  export interface CreateChannelFlowRequest {
406
408
  AppInstanceArn: string | undefined;
407
409
  Processors: Processor[] | undefined;
408
410
  Name: string | undefined;
409
- Tags?: Tag[];
410
- ClientRequestToken?: string;
411
+ Tags?: Tag[] | undefined;
412
+ ClientRequestToken?: string | undefined;
411
413
  }
412
414
  export interface CreateChannelFlowResponse {
413
- ChannelFlowArn?: string;
415
+ ChannelFlowArn?: string | undefined;
414
416
  }
415
417
  export interface CreateChannelMembershipRequest {
416
418
  ChannelArn: string | undefined;
417
419
  MemberArn: string | undefined;
418
420
  Type: ChannelMembershipType | undefined;
419
421
  ChimeBearer: string | undefined;
420
- SubChannelId?: string;
422
+ SubChannelId?: string | undefined;
421
423
  }
422
424
  export interface CreateChannelMembershipResponse {
423
- ChannelArn?: string;
424
- Member?: Identity;
425
- SubChannelId?: string;
425
+ ChannelArn?: string | undefined;
426
+ Member?: Identity | undefined;
427
+ SubChannelId?: string | undefined;
426
428
  }
427
429
  export interface CreateChannelModeratorRequest {
428
430
  ChannelArn: string | undefined;
@@ -430,8 +432,8 @@ export interface CreateChannelModeratorRequest {
430
432
  ChimeBearer: string | undefined;
431
433
  }
432
434
  export interface CreateChannelModeratorResponse {
433
- ChannelArn?: string;
434
- ChannelModerator?: Identity;
435
+ ChannelArn?: string | undefined;
436
+ ChannelModerator?: Identity | undefined;
435
437
  }
436
438
  export interface DeleteChannelRequest {
437
439
  ChannelArn: string | undefined;
@@ -449,13 +451,13 @@ export interface DeleteChannelMembershipRequest {
449
451
  ChannelArn: string | undefined;
450
452
  MemberArn: string | undefined;
451
453
  ChimeBearer: string | undefined;
452
- SubChannelId?: string;
454
+ SubChannelId?: string | undefined;
453
455
  }
454
456
  export interface DeleteChannelMessageRequest {
455
457
  ChannelArn: string | undefined;
456
458
  MessageId: string | undefined;
457
459
  ChimeBearer: string | undefined;
458
- SubChannelId?: string;
460
+ SubChannelId?: string | undefined;
459
461
  }
460
462
  export interface DeleteChannelModeratorRequest {
461
463
  ChannelArn: string | undefined;
@@ -470,7 +472,7 @@ export interface DescribeChannelRequest {
470
472
  ChimeBearer: string | undefined;
471
473
  }
472
474
  export interface DescribeChannelResponse {
473
- Channel?: Channel;
475
+ Channel?: Channel | undefined;
474
476
  }
475
477
  export interface DescribeChannelBanRequest {
476
478
  ChannelArn: string | undefined;
@@ -478,22 +480,22 @@ export interface DescribeChannelBanRequest {
478
480
  ChimeBearer: string | undefined;
479
481
  }
480
482
  export interface DescribeChannelBanResponse {
481
- ChannelBan?: ChannelBan;
483
+ ChannelBan?: ChannelBan | undefined;
482
484
  }
483
485
  export interface DescribeChannelFlowRequest {
484
486
  ChannelFlowArn: string | undefined;
485
487
  }
486
488
  export interface DescribeChannelFlowResponse {
487
- ChannelFlow?: ChannelFlow;
489
+ ChannelFlow?: ChannelFlow | undefined;
488
490
  }
489
491
  export interface DescribeChannelMembershipRequest {
490
492
  ChannelArn: string | undefined;
491
493
  MemberArn: string | undefined;
492
494
  ChimeBearer: string | undefined;
493
- SubChannelId?: string;
495
+ SubChannelId?: string | undefined;
494
496
  }
495
497
  export interface DescribeChannelMembershipResponse {
496
- ChannelMembership?: ChannelMembership;
498
+ ChannelMembership?: ChannelMembership | undefined;
497
499
  }
498
500
  export interface DescribeChannelMembershipForAppInstanceUserRequest {
499
501
  ChannelArn: string | undefined;
@@ -501,7 +503,7 @@ export interface DescribeChannelMembershipForAppInstanceUserRequest {
501
503
  ChimeBearer: string | undefined;
502
504
  }
503
505
  export interface DescribeChannelMembershipForAppInstanceUserResponse {
504
- ChannelMembership?: ChannelMembershipForAppInstanceUserSummary;
506
+ ChannelMembership?: ChannelMembershipForAppInstanceUserSummary | undefined;
505
507
  }
506
508
  export interface DescribeChannelModeratedByAppInstanceUserRequest {
507
509
  ChannelArn: string | undefined;
@@ -509,7 +511,7 @@ export interface DescribeChannelModeratedByAppInstanceUserRequest {
509
511
  ChimeBearer: string | undefined;
510
512
  }
511
513
  export interface DescribeChannelModeratedByAppInstanceUserResponse {
512
- Channel?: ChannelModeratedByAppInstanceUserSummary;
514
+ Channel?: ChannelModeratedByAppInstanceUserSummary | undefined;
513
515
  }
514
516
  export interface DescribeChannelModeratorRequest {
515
517
  ChannelArn: string | undefined;
@@ -517,7 +519,7 @@ export interface DescribeChannelModeratorRequest {
517
519
  ChimeBearer: string | undefined;
518
520
  }
519
521
  export interface DescribeChannelModeratorResponse {
520
- ChannelModerator?: ChannelModerator;
522
+ ChannelModerator?: ChannelModerator | undefined;
521
523
  }
522
524
  export interface DisassociateChannelFlowRequest {
523
525
  ChannelArn: string | undefined;
@@ -530,34 +532,34 @@ export interface GetChannelMembershipPreferencesRequest {
530
532
  ChimeBearer: string | undefined;
531
533
  }
532
534
  export interface GetChannelMembershipPreferencesResponse {
533
- ChannelArn?: string;
534
- Member?: Identity;
535
- Preferences?: ChannelMembershipPreferences;
535
+ ChannelArn?: string | undefined;
536
+ Member?: Identity | undefined;
537
+ Preferences?: ChannelMembershipPreferences | undefined;
536
538
  }
537
539
  export interface GetChannelMessageRequest {
538
540
  ChannelArn: string | undefined;
539
541
  MessageId: string | undefined;
540
542
  ChimeBearer: string | undefined;
541
- SubChannelId?: string;
543
+ SubChannelId?: string | undefined;
542
544
  }
543
545
  export interface GetChannelMessageResponse {
544
- ChannelMessage?: ChannelMessage;
546
+ ChannelMessage?: ChannelMessage | undefined;
545
547
  }
546
548
  export interface GetChannelMessageStatusRequest {
547
549
  ChannelArn: string | undefined;
548
550
  MessageId: string | undefined;
549
551
  ChimeBearer: string | undefined;
550
- SubChannelId?: string;
552
+ SubChannelId?: string | undefined;
551
553
  }
552
554
  export interface GetChannelMessageStatusResponse {
553
- Status?: ChannelMessageStatusStructure;
555
+ Status?: ChannelMessageStatusStructure | undefined;
554
556
  }
555
557
  export interface GetMessagingSessionEndpointRequest {}
556
558
  export interface MessagingSessionEndpoint {
557
- Url?: string;
559
+ Url?: string | undefined;
558
560
  }
559
561
  export interface GetMessagingSessionEndpointResponse {
560
- Endpoint?: MessagingSessionEndpoint;
562
+ Endpoint?: MessagingSessionEndpoint | undefined;
561
563
  }
562
564
  export interface GetMessagingStreamingConfigurationsRequest {
563
565
  AppInstanceArn: string | undefined;
@@ -573,50 +575,50 @@ export interface StreamingConfiguration {
573
575
  ResourceArn: string | undefined;
574
576
  }
575
577
  export interface GetMessagingStreamingConfigurationsResponse {
576
- StreamingConfigurations?: StreamingConfiguration[];
578
+ StreamingConfigurations?: StreamingConfiguration[] | undefined;
577
579
  }
578
580
  export interface ListChannelBansRequest {
579
581
  ChannelArn: string | undefined;
580
- MaxResults?: number;
581
- NextToken?: string;
582
+ MaxResults?: number | undefined;
583
+ NextToken?: string | undefined;
582
584
  ChimeBearer: string | undefined;
583
585
  }
584
586
  export interface ListChannelBansResponse {
585
- ChannelArn?: string;
586
- NextToken?: string;
587
- ChannelBans?: ChannelBanSummary[];
587
+ ChannelArn?: string | undefined;
588
+ NextToken?: string | undefined;
589
+ ChannelBans?: ChannelBanSummary[] | undefined;
588
590
  }
589
591
  export interface ListChannelFlowsRequest {
590
592
  AppInstanceArn: string | undefined;
591
- MaxResults?: number;
592
- NextToken?: string;
593
+ MaxResults?: number | undefined;
594
+ NextToken?: string | undefined;
593
595
  }
594
596
  export interface ListChannelFlowsResponse {
595
- ChannelFlows?: ChannelFlowSummary[];
596
- NextToken?: string;
597
+ ChannelFlows?: ChannelFlowSummary[] | undefined;
598
+ NextToken?: string | undefined;
597
599
  }
598
600
  export interface ListChannelMembershipsRequest {
599
601
  ChannelArn: string | undefined;
600
- Type?: ChannelMembershipType;
601
- MaxResults?: number;
602
- NextToken?: string;
602
+ Type?: ChannelMembershipType | undefined;
603
+ MaxResults?: number | undefined;
604
+ NextToken?: string | undefined;
603
605
  ChimeBearer: string | undefined;
604
- SubChannelId?: string;
606
+ SubChannelId?: string | undefined;
605
607
  }
606
608
  export interface ListChannelMembershipsResponse {
607
- ChannelArn?: string;
608
- ChannelMemberships?: ChannelMembershipSummary[];
609
- NextToken?: string;
609
+ ChannelArn?: string | undefined;
610
+ ChannelMemberships?: ChannelMembershipSummary[] | undefined;
611
+ NextToken?: string | undefined;
610
612
  }
611
613
  export interface ListChannelMembershipsForAppInstanceUserRequest {
612
- AppInstanceUserArn?: string;
613
- MaxResults?: number;
614
- NextToken?: string;
614
+ AppInstanceUserArn?: string | undefined;
615
+ MaxResults?: number | undefined;
616
+ NextToken?: string | undefined;
615
617
  ChimeBearer: string | undefined;
616
618
  }
617
619
  export interface ListChannelMembershipsForAppInstanceUserResponse {
618
- ChannelMemberships?: ChannelMembershipForAppInstanceUserSummary[];
619
- NextToken?: string;
620
+ ChannelMemberships?: ChannelMembershipForAppInstanceUserSummary[] | undefined;
621
+ NextToken?: string | undefined;
620
622
  }
621
623
  export declare const SortOrder: {
622
624
  readonly ASCENDING: "ASCENDING";
@@ -625,90 +627,90 @@ export declare const SortOrder: {
625
627
  export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
626
628
  export interface ListChannelMessagesRequest {
627
629
  ChannelArn: string | undefined;
628
- SortOrder?: SortOrder;
629
- NotBefore?: Date;
630
- NotAfter?: Date;
631
- MaxResults?: number;
632
- NextToken?: string;
630
+ SortOrder?: SortOrder | undefined;
631
+ NotBefore?: Date | undefined;
632
+ NotAfter?: Date | undefined;
633
+ MaxResults?: number | undefined;
634
+ NextToken?: string | undefined;
633
635
  ChimeBearer: string | undefined;
634
- SubChannelId?: string;
636
+ SubChannelId?: string | undefined;
635
637
  }
636
638
  export interface ListChannelMessagesResponse {
637
- ChannelArn?: string;
638
- NextToken?: string;
639
- ChannelMessages?: ChannelMessageSummary[];
640
- SubChannelId?: string;
639
+ ChannelArn?: string | undefined;
640
+ NextToken?: string | undefined;
641
+ ChannelMessages?: ChannelMessageSummary[] | undefined;
642
+ SubChannelId?: string | undefined;
641
643
  }
642
644
  export interface ListChannelModeratorsRequest {
643
645
  ChannelArn: string | undefined;
644
- MaxResults?: number;
645
- NextToken?: string;
646
+ MaxResults?: number | undefined;
647
+ NextToken?: string | undefined;
646
648
  ChimeBearer: string | undefined;
647
649
  }
648
650
  export interface ListChannelModeratorsResponse {
649
- ChannelArn?: string;
650
- NextToken?: string;
651
- ChannelModerators?: ChannelModeratorSummary[];
651
+ ChannelArn?: string | undefined;
652
+ NextToken?: string | undefined;
653
+ ChannelModerators?: ChannelModeratorSummary[] | undefined;
652
654
  }
653
655
  export interface ListChannelsRequest {
654
656
  AppInstanceArn: string | undefined;
655
- Privacy?: ChannelPrivacy;
656
- MaxResults?: number;
657
- NextToken?: string;
657
+ Privacy?: ChannelPrivacy | undefined;
658
+ MaxResults?: number | undefined;
659
+ NextToken?: string | undefined;
658
660
  ChimeBearer: string | undefined;
659
661
  }
660
662
  export interface ListChannelsResponse {
661
- Channels?: ChannelSummary[];
662
- NextToken?: string;
663
+ Channels?: ChannelSummary[] | undefined;
664
+ NextToken?: string | undefined;
663
665
  }
664
666
  export interface ListChannelsAssociatedWithChannelFlowRequest {
665
667
  ChannelFlowArn: string | undefined;
666
- MaxResults?: number;
667
- NextToken?: string;
668
+ MaxResults?: number | undefined;
669
+ NextToken?: string | undefined;
668
670
  }
669
671
  export interface ListChannelsAssociatedWithChannelFlowResponse {
670
- Channels?: ChannelAssociatedWithFlowSummary[];
671
- NextToken?: string;
672
+ Channels?: ChannelAssociatedWithFlowSummary[] | undefined;
673
+ NextToken?: string | undefined;
672
674
  }
673
675
  export interface ListChannelsModeratedByAppInstanceUserRequest {
674
- AppInstanceUserArn?: string;
675
- MaxResults?: number;
676
- NextToken?: string;
676
+ AppInstanceUserArn?: string | undefined;
677
+ MaxResults?: number | undefined;
678
+ NextToken?: string | undefined;
677
679
  ChimeBearer: string | undefined;
678
680
  }
679
681
  export interface ListChannelsModeratedByAppInstanceUserResponse {
680
- Channels?: ChannelModeratedByAppInstanceUserSummary[];
681
- NextToken?: string;
682
+ Channels?: ChannelModeratedByAppInstanceUserSummary[] | undefined;
683
+ NextToken?: string | undefined;
682
684
  }
683
685
  export interface ListSubChannelsRequest {
684
686
  ChannelArn: string | undefined;
685
687
  ChimeBearer: string | undefined;
686
- MaxResults?: number;
687
- NextToken?: string;
688
+ MaxResults?: number | undefined;
689
+ NextToken?: string | undefined;
688
690
  }
689
691
  export interface SubChannelSummary {
690
- SubChannelId?: string;
691
- MembershipCount?: number;
692
+ SubChannelId?: string | undefined;
693
+ MembershipCount?: number | undefined;
692
694
  }
693
695
  export interface ListSubChannelsResponse {
694
- ChannelArn?: string;
695
- SubChannels?: SubChannelSummary[];
696
- NextToken?: string;
696
+ ChannelArn?: string | undefined;
697
+ SubChannels?: SubChannelSummary[] | undefined;
698
+ NextToken?: string | undefined;
697
699
  }
698
700
  export interface ListTagsForResourceRequest {
699
701
  ResourceARN: string | undefined;
700
702
  }
701
703
  export interface ListTagsForResourceResponse {
702
- Tags?: Tag[];
704
+ Tags?: Tag[] | undefined;
703
705
  }
704
706
  export interface PutChannelExpirationSettingsRequest {
705
707
  ChannelArn: string | undefined;
706
- ChimeBearer?: string;
707
- ExpirationSettings?: ExpirationSettings;
708
+ ChimeBearer?: string | undefined;
709
+ ExpirationSettings?: ExpirationSettings | undefined;
708
710
  }
709
711
  export interface PutChannelExpirationSettingsResponse {
710
- ChannelArn?: string;
711
- ExpirationSettings?: ExpirationSettings;
712
+ ChannelArn?: string | undefined;
713
+ ExpirationSettings?: ExpirationSettings | undefined;
712
714
  }
713
715
  export interface PutChannelMembershipPreferencesRequest {
714
716
  ChannelArn: string | undefined;
@@ -717,27 +719,27 @@ export interface PutChannelMembershipPreferencesRequest {
717
719
  Preferences: ChannelMembershipPreferences | undefined;
718
720
  }
719
721
  export interface PutChannelMembershipPreferencesResponse {
720
- ChannelArn?: string;
721
- Member?: Identity;
722
- Preferences?: ChannelMembershipPreferences;
722
+ ChannelArn?: string | undefined;
723
+ Member?: Identity | undefined;
724
+ Preferences?: ChannelMembershipPreferences | undefined;
723
725
  }
724
726
  export interface PutMessagingStreamingConfigurationsRequest {
725
727
  AppInstanceArn: string | undefined;
726
728
  StreamingConfigurations: StreamingConfiguration[] | undefined;
727
729
  }
728
730
  export interface PutMessagingStreamingConfigurationsResponse {
729
- StreamingConfigurations?: StreamingConfiguration[];
731
+ StreamingConfigurations?: StreamingConfiguration[] | undefined;
730
732
  }
731
733
  export interface RedactChannelMessageRequest {
732
734
  ChannelArn: string | undefined;
733
735
  MessageId: string | undefined;
734
736
  ChimeBearer: string | undefined;
735
- SubChannelId?: string;
737
+ SubChannelId?: string | undefined;
736
738
  }
737
739
  export interface RedactChannelMessageResponse {
738
- ChannelArn?: string;
739
- MessageId?: string;
740
- SubChannelId?: string;
740
+ ChannelArn?: string | undefined;
741
+ MessageId?: string | undefined;
742
+ SubChannelId?: string | undefined;
741
743
  }
742
744
  export declare const SearchFieldKey: {
743
745
  readonly MEMBERS: "MEMBERS";
@@ -756,34 +758,34 @@ export interface SearchField {
756
758
  Operator: SearchFieldOperator | undefined;
757
759
  }
758
760
  export interface SearchChannelsRequest {
759
- ChimeBearer?: string;
761
+ ChimeBearer?: string | undefined;
760
762
  Fields: SearchField[] | undefined;
761
- MaxResults?: number;
762
- NextToken?: string;
763
+ MaxResults?: number | undefined;
764
+ NextToken?: string | undefined;
763
765
  }
764
766
  export interface SearchChannelsResponse {
765
- Channels?: ChannelSummary[];
766
- NextToken?: string;
767
+ Channels?: ChannelSummary[] | undefined;
768
+ NextToken?: string | undefined;
767
769
  }
768
770
  export interface SendChannelMessageRequest {
769
771
  ChannelArn: string | undefined;
770
772
  Content: string | undefined;
771
773
  Type: ChannelMessageType | undefined;
772
774
  Persistence: ChannelMessagePersistenceType | undefined;
773
- Metadata?: string;
774
- ClientRequestToken?: string;
775
+ Metadata?: string | undefined;
776
+ ClientRequestToken?: string | undefined;
775
777
  ChimeBearer: string | undefined;
776
- PushNotification?: PushNotificationConfiguration;
777
- MessageAttributes?: Record<string, MessageAttributeValue>;
778
- SubChannelId?: string;
779
- ContentType?: string;
780
- Target?: Target[];
778
+ PushNotification?: PushNotificationConfiguration | undefined;
779
+ MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
780
+ SubChannelId?: string | undefined;
781
+ ContentType?: string | undefined;
782
+ Target?: Target[] | undefined;
781
783
  }
782
784
  export interface SendChannelMessageResponse {
783
- ChannelArn?: string;
784
- MessageId?: string;
785
- Status?: ChannelMessageStatusStructure;
786
- SubChannelId?: string;
785
+ ChannelArn?: string | undefined;
786
+ MessageId?: string | undefined;
787
+ Status?: ChannelMessageStatusStructure | undefined;
788
+ SubChannelId?: string | undefined;
787
789
  }
788
790
  export interface TagResourceRequest {
789
791
  ResourceARN: string | undefined;
@@ -795,13 +797,13 @@ export interface UntagResourceRequest {
795
797
  }
796
798
  export interface UpdateChannelRequest {
797
799
  ChannelArn: string | undefined;
798
- Name?: string;
799
- Mode?: ChannelMode;
800
- Metadata?: string;
800
+ Name?: string | undefined;
801
+ Mode?: ChannelMode | undefined;
802
+ Metadata?: string | undefined;
801
803
  ChimeBearer: string | undefined;
802
804
  }
803
805
  export interface UpdateChannelResponse {
804
- ChannelArn?: string;
806
+ ChannelArn?: string | undefined;
805
807
  }
806
808
  export interface UpdateChannelFlowRequest {
807
809
  ChannelFlowArn: string | undefined;
@@ -809,29 +811,29 @@ export interface UpdateChannelFlowRequest {
809
811
  Name: string | undefined;
810
812
  }
811
813
  export interface UpdateChannelFlowResponse {
812
- ChannelFlowArn?: string;
814
+ ChannelFlowArn?: string | undefined;
813
815
  }
814
816
  export interface UpdateChannelMessageRequest {
815
817
  ChannelArn: string | undefined;
816
818
  MessageId: string | undefined;
817
819
  Content: string | undefined;
818
- Metadata?: string;
820
+ Metadata?: string | undefined;
819
821
  ChimeBearer: string | undefined;
820
- SubChannelId?: string;
821
- ContentType?: string;
822
+ SubChannelId?: string | undefined;
823
+ ContentType?: string | undefined;
822
824
  }
823
825
  export interface UpdateChannelMessageResponse {
824
- ChannelArn?: string;
825
- MessageId?: string;
826
- Status?: ChannelMessageStatusStructure;
827
- SubChannelId?: string;
826
+ ChannelArn?: string | undefined;
827
+ MessageId?: string | undefined;
828
+ Status?: ChannelMessageStatusStructure | undefined;
829
+ SubChannelId?: string | undefined;
828
830
  }
829
831
  export interface UpdateChannelReadMarkerRequest {
830
832
  ChannelArn: string | undefined;
831
833
  ChimeBearer: string | undefined;
832
834
  }
833
835
  export interface UpdateChannelReadMarkerResponse {
834
- ChannelArn?: string;
836
+ ChannelArn?: string | undefined;
835
837
  }
836
838
  export declare const IdentityFilterSensitiveLog: (obj: Identity) => any;
837
839
  export declare const BatchChannelMembershipsFilterSensitiveLog: (