@aws-sdk/client-chime-sdk-messaging 3.427.0 → 3.429.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/models/models_0.d.ts +41 -41
- package/dist-types/ts3.4/models/models_0.d.ts +41 -41
- package/package.json +31 -31
|
@@ -34,7 +34,7 @@ export interface AppInstanceUserMembershipSummary {
|
|
|
34
34
|
* @public
|
|
35
35
|
* <p>The type of <code>ChannelMembership</code>.</p>
|
|
36
36
|
*/
|
|
37
|
-
Type?: ChannelMembershipType
|
|
37
|
+
Type?: ChannelMembershipType;
|
|
38
38
|
/**
|
|
39
39
|
* @public
|
|
40
40
|
* <p>The time at which an <code>AppInstanceUser</code> last marked a channel as read.</p>
|
|
@@ -98,7 +98,7 @@ 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
|
|
101
|
+
Code?: ErrorCode;
|
|
102
102
|
Message?: string;
|
|
103
103
|
/**
|
|
104
104
|
* @internal
|
|
@@ -113,7 +113,7 @@ 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
|
|
116
|
+
Code?: ErrorCode;
|
|
117
117
|
Message?: string;
|
|
118
118
|
/**
|
|
119
119
|
* @internal
|
|
@@ -127,7 +127,7 @@ 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
|
|
130
|
+
Code?: ErrorCode;
|
|
131
131
|
Message?: string;
|
|
132
132
|
/**
|
|
133
133
|
* @internal
|
|
@@ -141,7 +141,7 @@ 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
|
|
144
|
+
Code?: ErrorCode;
|
|
145
145
|
Message?: string;
|
|
146
146
|
/**
|
|
147
147
|
* @internal
|
|
@@ -155,7 +155,7 @@ 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
|
|
158
|
+
Code?: ErrorCode;
|
|
159
159
|
Message?: string;
|
|
160
160
|
/**
|
|
161
161
|
* @internal
|
|
@@ -169,7 +169,7 @@ 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
|
|
172
|
+
Code?: ErrorCode;
|
|
173
173
|
Message?: string;
|
|
174
174
|
/**
|
|
175
175
|
* @internal
|
|
@@ -183,7 +183,7 @@ 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
|
|
186
|
+
Code?: ErrorCode;
|
|
187
187
|
Message?: string;
|
|
188
188
|
/**
|
|
189
189
|
* @internal
|
|
@@ -197,7 +197,7 @@ 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
|
|
200
|
+
Code?: ErrorCode;
|
|
201
201
|
Message?: string;
|
|
202
202
|
/**
|
|
203
203
|
* @internal
|
|
@@ -235,7 +235,7 @@ export interface BatchChannelMemberships {
|
|
|
235
235
|
* @public
|
|
236
236
|
* <p>The membership types set for the channel members.</p>
|
|
237
237
|
*/
|
|
238
|
-
Type?: ChannelMembershipType
|
|
238
|
+
Type?: ChannelMembershipType;
|
|
239
239
|
/**
|
|
240
240
|
* @public
|
|
241
241
|
* <p>The users successfully added to the request.</p>
|
|
@@ -269,7 +269,7 @@ export interface BatchCreateChannelMembershipRequest {
|
|
|
269
269
|
* <code>HIDDEN</code>. Otherwise hidden members are not returned. This is only supported
|
|
270
270
|
* by moderators.</p>
|
|
271
271
|
*/
|
|
272
|
-
Type?: ChannelMembershipType
|
|
272
|
+
Type?: ChannelMembershipType;
|
|
273
273
|
/**
|
|
274
274
|
* @public
|
|
275
275
|
* <p>The ARNs of the members you want to add to the channel. Only <code>AppInstanceUsers</code> and
|
|
@@ -305,7 +305,7 @@ export interface BatchCreateChannelMembershipError {
|
|
|
305
305
|
* @public
|
|
306
306
|
* <p>The error code.</p>
|
|
307
307
|
*/
|
|
308
|
-
ErrorCode?: ErrorCode
|
|
308
|
+
ErrorCode?: ErrorCode;
|
|
309
309
|
/**
|
|
310
310
|
* @public
|
|
311
311
|
* <p>The error message.</p>
|
|
@@ -335,7 +335,7 @@ export interface BatchCreateChannelMembershipResponse {
|
|
|
335
335
|
export declare class ResourceLimitExceededException extends __BaseException {
|
|
336
336
|
readonly name: "ResourceLimitExceededException";
|
|
337
337
|
readonly $fault: "client";
|
|
338
|
-
Code?: ErrorCode
|
|
338
|
+
Code?: ErrorCode;
|
|
339
339
|
Message?: string;
|
|
340
340
|
/**
|
|
341
341
|
* @internal
|
|
@@ -389,7 +389,7 @@ export interface ExpirationSettings {
|
|
|
389
389
|
* @public
|
|
390
390
|
* <p>The conditions that must be met for a channel to expire.</p>
|
|
391
391
|
*/
|
|
392
|
-
ExpirationCriterion: ExpirationCriterion |
|
|
392
|
+
ExpirationCriterion: ExpirationCriterion | undefined;
|
|
393
393
|
}
|
|
394
394
|
/**
|
|
395
395
|
* @public
|
|
@@ -434,12 +434,12 @@ export interface Channel {
|
|
|
434
434
|
* @public
|
|
435
435
|
* <p>The mode of the channel.</p>
|
|
436
436
|
*/
|
|
437
|
-
Mode?: ChannelMode
|
|
437
|
+
Mode?: ChannelMode;
|
|
438
438
|
/**
|
|
439
439
|
* @public
|
|
440
440
|
* <p>The channel's privacy setting.</p>
|
|
441
441
|
*/
|
|
442
|
-
Privacy?: ChannelPrivacy
|
|
442
|
+
Privacy?: ChannelPrivacy;
|
|
443
443
|
/**
|
|
444
444
|
* @public
|
|
445
445
|
* <p>The channel's metadata.</p>
|
|
@@ -500,12 +500,12 @@ export interface ChannelAssociatedWithFlowSummary {
|
|
|
500
500
|
* @public
|
|
501
501
|
* <p>The mode of the channel.</p>
|
|
502
502
|
*/
|
|
503
|
-
Mode?: ChannelMode
|
|
503
|
+
Mode?: ChannelMode;
|
|
504
504
|
/**
|
|
505
505
|
* @public
|
|
506
506
|
* <p>The channel's privacy setting.</p>
|
|
507
507
|
*/
|
|
508
|
-
Privacy?: ChannelPrivacy
|
|
508
|
+
Privacy?: ChannelPrivacy;
|
|
509
509
|
/**
|
|
510
510
|
* @public
|
|
511
511
|
* <p>The channel's metadata.</p>
|
|
@@ -574,7 +574,7 @@ export interface LambdaConfiguration {
|
|
|
574
574
|
* @public
|
|
575
575
|
* <p>Controls how the Lambda function is invoked.</p>
|
|
576
576
|
*/
|
|
577
|
-
InvocationType: InvocationType |
|
|
577
|
+
InvocationType: InvocationType | undefined;
|
|
578
578
|
}
|
|
579
579
|
/**
|
|
580
580
|
* @public
|
|
@@ -626,7 +626,7 @@ export interface Processor {
|
|
|
626
626
|
* communication with it fails, the processor sets the message status to <code>FAILED</code> and does not send the message to any recipients. Note that if the last processor in the channel flow sequence
|
|
627
627
|
* has a fallback action of <code>CONTINUE</code> and communication with the processor fails, then the message is considered processed and sent to recipients of the channel.</p>
|
|
628
628
|
*/
|
|
629
|
-
FallbackAction: FallbackAction |
|
|
629
|
+
FallbackAction: FallbackAction | undefined;
|
|
630
630
|
}
|
|
631
631
|
/**
|
|
632
632
|
* @public
|
|
@@ -703,7 +703,7 @@ export interface PushNotificationConfiguration {
|
|
|
703
703
|
* <code>DEFAULT</code>: Normal mobile push notification.
|
|
704
704
|
* <code>VOIP</code>: VOIP mobile push notification.</p>
|
|
705
705
|
*/
|
|
706
|
-
Type?: PushNotificationType
|
|
706
|
+
Type?: PushNotificationType;
|
|
707
707
|
}
|
|
708
708
|
/**
|
|
709
709
|
* @public
|
|
@@ -828,7 +828,7 @@ export interface ChannelMembership {
|
|
|
828
828
|
* @public
|
|
829
829
|
* <p>The membership type set for the channel member.</p>
|
|
830
830
|
*/
|
|
831
|
-
Type?: ChannelMembershipType
|
|
831
|
+
Type?: ChannelMembershipType;
|
|
832
832
|
/**
|
|
833
833
|
* @public
|
|
834
834
|
* <p>The data of the channel member.</p>
|
|
@@ -874,12 +874,12 @@ export interface ChannelSummary {
|
|
|
874
874
|
* @public
|
|
875
875
|
* <p>The mode of the channel.</p>
|
|
876
876
|
*/
|
|
877
|
-
Mode?: ChannelMode
|
|
877
|
+
Mode?: ChannelMode;
|
|
878
878
|
/**
|
|
879
879
|
* @public
|
|
880
880
|
* <p>The privacy setting of the channel.</p>
|
|
881
881
|
*/
|
|
882
|
-
Privacy?: ChannelPrivacy
|
|
882
|
+
Privacy?: ChannelPrivacy;
|
|
883
883
|
/**
|
|
884
884
|
* @public
|
|
885
885
|
* <p>The metadata of the channel.</p>
|
|
@@ -918,7 +918,7 @@ export interface PushNotificationPreferences {
|
|
|
918
918
|
* <code>ALL</code> sends all push notifications, <code>NONE</code> sends no push notifications, <code>FILTERED</code> sends only filtered push notifications.
|
|
919
919
|
* </p>
|
|
920
920
|
*/
|
|
921
|
-
AllowNotifications: AllowNotifications |
|
|
921
|
+
AllowNotifications: AllowNotifications | undefined;
|
|
922
922
|
/**
|
|
923
923
|
* @public
|
|
924
924
|
* <p>The simple JSON object used to send a subset of a push notification to the requested member.</p>
|
|
@@ -982,7 +982,7 @@ export interface ChannelMessageStatusStructure {
|
|
|
982
982
|
* @public
|
|
983
983
|
* <p>The message status value.</p>
|
|
984
984
|
*/
|
|
985
|
-
Value?: ChannelMessageStatus
|
|
985
|
+
Value?: ChannelMessageStatus;
|
|
986
986
|
/**
|
|
987
987
|
* @public
|
|
988
988
|
* <p>Contains more details about the message status.</p>
|
|
@@ -1044,7 +1044,7 @@ export interface ChannelMessage {
|
|
|
1044
1044
|
* @public
|
|
1045
1045
|
* <p>The message type.</p>
|
|
1046
1046
|
*/
|
|
1047
|
-
Type?: ChannelMessageType
|
|
1047
|
+
Type?: ChannelMessageType;
|
|
1048
1048
|
/**
|
|
1049
1049
|
* @public
|
|
1050
1050
|
* <p>The time at which the message was created.</p>
|
|
@@ -1074,7 +1074,7 @@ export interface ChannelMessage {
|
|
|
1074
1074
|
* @public
|
|
1075
1075
|
* <p>The persistence setting for a channel message.</p>
|
|
1076
1076
|
*/
|
|
1077
|
-
Persistence?: ChannelMessagePersistenceType
|
|
1077
|
+
Persistence?: ChannelMessagePersistenceType;
|
|
1078
1078
|
/**
|
|
1079
1079
|
* @public
|
|
1080
1080
|
* <p>The status of the channel message.</p>
|
|
@@ -1133,7 +1133,7 @@ export interface ChannelMessageSummary {
|
|
|
1133
1133
|
* @public
|
|
1134
1134
|
* <p>The type of message.</p>
|
|
1135
1135
|
*/
|
|
1136
|
-
Type?: ChannelMessageType
|
|
1136
|
+
Type?: ChannelMessageType;
|
|
1137
1137
|
/**
|
|
1138
1138
|
* @public
|
|
1139
1139
|
* <p>The time at which the message summary was created.</p>
|
|
@@ -1271,14 +1271,14 @@ export interface CreateChannelRequest {
|
|
|
1271
1271
|
* moderators, and channel members can add themselves and other members to unrestricted
|
|
1272
1272
|
* channels. Only administrators and moderators can add members to restricted channels.</p>
|
|
1273
1273
|
*/
|
|
1274
|
-
Mode?: ChannelMode
|
|
1274
|
+
Mode?: ChannelMode;
|
|
1275
1275
|
/**
|
|
1276
1276
|
* @public
|
|
1277
1277
|
* <p>The channel's privacy level: <code>PUBLIC</code> or <code>PRIVATE</code>. Private
|
|
1278
1278
|
* channels aren't discoverable by users outside the channel. Public channels are discoverable
|
|
1279
1279
|
* by anyone in the <code>AppInstance</code>.</p>
|
|
1280
1280
|
*/
|
|
1281
|
-
Privacy?: ChannelPrivacy
|
|
1281
|
+
Privacy?: ChannelPrivacy;
|
|
1282
1282
|
/**
|
|
1283
1283
|
* @public
|
|
1284
1284
|
* <p>The metadata of the creation request. Limited to 1KB and UTF-8.</p>
|
|
@@ -1433,7 +1433,7 @@ export interface CreateChannelMembershipRequest {
|
|
|
1433
1433
|
* <code>HIDDEN</code>. Otherwise hidden members are not returned. This is only supported
|
|
1434
1434
|
* by moderators.</p>
|
|
1435
1435
|
*/
|
|
1436
|
-
Type: ChannelMembershipType |
|
|
1436
|
+
Type: ChannelMembershipType | undefined;
|
|
1437
1437
|
/**
|
|
1438
1438
|
* @public
|
|
1439
1439
|
* <p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code>
|
|
@@ -2044,7 +2044,7 @@ export interface StreamingConfiguration {
|
|
|
2044
2044
|
* @public
|
|
2045
2045
|
* <p>The data type of the configuration.</p>
|
|
2046
2046
|
*/
|
|
2047
|
-
DataType: MessagingDataType |
|
|
2047
|
+
DataType: MessagingDataType | undefined;
|
|
2048
2048
|
/**
|
|
2049
2049
|
* @public
|
|
2050
2050
|
* <p>The ARN of the resource in the configuration. </p>
|
|
@@ -2158,7 +2158,7 @@ export interface ListChannelMembershipsRequest {
|
|
|
2158
2158
|
* are only returned if the type filter in <code>ListChannelMemberships</code> equals
|
|
2159
2159
|
* <code>HIDDEN</code>.</p>
|
|
2160
2160
|
*/
|
|
2161
|
-
Type?: ChannelMembershipType
|
|
2161
|
+
Type?: ChannelMembershipType;
|
|
2162
2162
|
/**
|
|
2163
2163
|
* @public
|
|
2164
2164
|
* <p>The maximum number of channel memberships that you want returned.</p>
|
|
@@ -2274,7 +2274,7 @@ export interface ListChannelMessagesRequest {
|
|
|
2274
2274
|
* <p>The order in which you want messages sorted. Default is Descending, based on time
|
|
2275
2275
|
* created.</p>
|
|
2276
2276
|
*/
|
|
2277
|
-
SortOrder?: SortOrder
|
|
2277
|
+
SortOrder?: SortOrder;
|
|
2278
2278
|
/**
|
|
2279
2279
|
* @public
|
|
2280
2280
|
* <p>The initial or starting time stamp for your requested messages.</p>
|
|
@@ -2398,7 +2398,7 @@ export interface ListChannelsRequest {
|
|
|
2398
2398
|
* <code>PRIVATE</code> retrieves private channels. Only an <code>AppInstanceAdmin</code>
|
|
2399
2399
|
* can retrieve private channels. </p>
|
|
2400
2400
|
*/
|
|
2401
|
-
Privacy?: ChannelPrivacy
|
|
2401
|
+
Privacy?: ChannelPrivacy;
|
|
2402
2402
|
/**
|
|
2403
2403
|
* @public
|
|
2404
2404
|
* <p>The maximum number of channels that you want to return.</p>
|
|
@@ -2778,7 +2778,7 @@ export interface SearchField {
|
|
|
2778
2778
|
* <p>An <code>enum</code> value that indicates the key to search the channel on. <code>MEMBERS</code> allows you to search channels based on memberships. You can use it with the <code>EQUALS</code>
|
|
2779
2779
|
* operator to get channels whose memberships are equal to the specified values, and with the <code>INCLUDES</code> operator to get channels whose memberships include the specified values.</p>
|
|
2780
2780
|
*/
|
|
2781
|
-
Key: SearchFieldKey |
|
|
2781
|
+
Key: SearchFieldKey | undefined;
|
|
2782
2782
|
/**
|
|
2783
2783
|
* @public
|
|
2784
2784
|
* <p>The values that you want to search for, a list of strings. The values must be <code>AppInstanceUserArns</code> specified as a list of strings.</p>
|
|
@@ -2792,7 +2792,7 @@ export interface SearchField {
|
|
|
2792
2792
|
* <p>The operator used to compare field values, currently <code>EQUALS</code> or <code>INCLUDES</code>. Use the <code>EQUALS</code> operator to find channels whose memberships equal the specified values.
|
|
2793
2793
|
* Use the <code>INCLUDES</code> operator to find channels whose memberships include the specified values.</p>
|
|
2794
2794
|
*/
|
|
2795
|
-
Operator: SearchFieldOperator |
|
|
2795
|
+
Operator: SearchFieldOperator | undefined;
|
|
2796
2796
|
}
|
|
2797
2797
|
/**
|
|
2798
2798
|
* @public
|
|
@@ -2857,12 +2857,12 @@ export interface SendChannelMessageRequest {
|
|
|
2857
2857
|
* <p>
|
|
2858
2858
|
* <code>CONTROL</code> messages are limited to 30 bytes and do not contain metadata.</p>
|
|
2859
2859
|
*/
|
|
2860
|
-
Type: ChannelMessageType |
|
|
2860
|
+
Type: ChannelMessageType | undefined;
|
|
2861
2861
|
/**
|
|
2862
2862
|
* @public
|
|
2863
2863
|
* <p>Boolean that controls whether the message is persisted on the back end. Required.</p>
|
|
2864
2864
|
*/
|
|
2865
|
-
Persistence: ChannelMessagePersistenceType |
|
|
2865
|
+
Persistence: ChannelMessagePersistenceType | undefined;
|
|
2866
2866
|
/**
|
|
2867
2867
|
* @public
|
|
2868
2868
|
* <p>The optional metadata for each message.</p>
|
|
@@ -2980,7 +2980,7 @@ export interface UpdateChannelRequest {
|
|
|
2980
2980
|
* @public
|
|
2981
2981
|
* <p>The mode of the update request.</p>
|
|
2982
2982
|
*/
|
|
2983
|
-
Mode?: ChannelMode
|
|
2983
|
+
Mode?: ChannelMode;
|
|
2984
2984
|
/**
|
|
2985
2985
|
* @public
|
|
2986
2986
|
* <p>The metadata for the update request.</p>
|
|
@@ -14,7 +14,7 @@ export declare const ChannelMembershipType: {
|
|
|
14
14
|
export type ChannelMembershipType =
|
|
15
15
|
(typeof ChannelMembershipType)[keyof typeof ChannelMembershipType];
|
|
16
16
|
export interface AppInstanceUserMembershipSummary {
|
|
17
|
-
Type?: ChannelMembershipType
|
|
17
|
+
Type?: ChannelMembershipType;
|
|
18
18
|
ReadMarkerTimestamp?: Date;
|
|
19
19
|
SubChannelId?: string;
|
|
20
20
|
}
|
|
@@ -44,7 +44,7 @@ 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
|
|
47
|
+
Code?: ErrorCode;
|
|
48
48
|
Message?: string;
|
|
49
49
|
constructor(
|
|
50
50
|
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
@@ -53,28 +53,28 @@ 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
|
|
56
|
+
Code?: ErrorCode;
|
|
57
57
|
Message?: string;
|
|
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
|
|
63
|
+
Code?: ErrorCode;
|
|
64
64
|
Message?: string;
|
|
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
|
|
70
|
+
Code?: ErrorCode;
|
|
71
71
|
Message?: string;
|
|
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
|
|
77
|
+
Code?: ErrorCode;
|
|
78
78
|
Message?: string;
|
|
79
79
|
constructor(
|
|
80
80
|
opts: __ExceptionOptionType<ServiceFailureException, __BaseException>
|
|
@@ -83,7 +83,7 @@ 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
|
|
86
|
+
Code?: ErrorCode;
|
|
87
87
|
Message?: string;
|
|
88
88
|
constructor(
|
|
89
89
|
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
@@ -92,7 +92,7 @@ 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
|
|
95
|
+
Code?: ErrorCode;
|
|
96
96
|
Message?: string;
|
|
97
97
|
constructor(
|
|
98
98
|
opts: __ExceptionOptionType<ThrottledClientException, __BaseException>
|
|
@@ -101,7 +101,7 @@ 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
|
|
104
|
+
Code?: ErrorCode;
|
|
105
105
|
Message?: string;
|
|
106
106
|
constructor(
|
|
107
107
|
opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>
|
|
@@ -113,21 +113,21 @@ export interface Identity {
|
|
|
113
113
|
}
|
|
114
114
|
export interface BatchChannelMemberships {
|
|
115
115
|
InvitedBy?: Identity;
|
|
116
|
-
Type?: ChannelMembershipType
|
|
116
|
+
Type?: ChannelMembershipType;
|
|
117
117
|
Members?: Identity[];
|
|
118
118
|
ChannelArn?: string;
|
|
119
119
|
SubChannelId?: string;
|
|
120
120
|
}
|
|
121
121
|
export interface BatchCreateChannelMembershipRequest {
|
|
122
122
|
ChannelArn: string | undefined;
|
|
123
|
-
Type?: ChannelMembershipType
|
|
123
|
+
Type?: ChannelMembershipType;
|
|
124
124
|
MemberArns: string[] | undefined;
|
|
125
125
|
ChimeBearer: string | undefined;
|
|
126
126
|
SubChannelId?: string;
|
|
127
127
|
}
|
|
128
128
|
export interface BatchCreateChannelMembershipError {
|
|
129
129
|
MemberArn?: string;
|
|
130
|
-
ErrorCode?: ErrorCode
|
|
130
|
+
ErrorCode?: ErrorCode;
|
|
131
131
|
ErrorMessage?: string;
|
|
132
132
|
}
|
|
133
133
|
export interface BatchCreateChannelMembershipResponse {
|
|
@@ -137,7 +137,7 @@ export interface BatchCreateChannelMembershipResponse {
|
|
|
137
137
|
export declare class ResourceLimitExceededException extends __BaseException {
|
|
138
138
|
readonly name: "ResourceLimitExceededException";
|
|
139
139
|
readonly $fault: "client";
|
|
140
|
-
Code?: ErrorCode
|
|
140
|
+
Code?: ErrorCode;
|
|
141
141
|
Message?: string;
|
|
142
142
|
constructor(
|
|
143
143
|
opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
|
|
@@ -156,7 +156,7 @@ export type ExpirationCriterion =
|
|
|
156
156
|
(typeof ExpirationCriterion)[keyof typeof ExpirationCriterion];
|
|
157
157
|
export interface ExpirationSettings {
|
|
158
158
|
ExpirationDays: number | undefined;
|
|
159
|
-
ExpirationCriterion: ExpirationCriterion |
|
|
159
|
+
ExpirationCriterion: ExpirationCriterion | undefined;
|
|
160
160
|
}
|
|
161
161
|
export declare const ChannelMode: {
|
|
162
162
|
readonly RESTRICTED: "RESTRICTED";
|
|
@@ -172,8 +172,8 @@ export type ChannelPrivacy =
|
|
|
172
172
|
export interface Channel {
|
|
173
173
|
Name?: string;
|
|
174
174
|
ChannelArn?: string;
|
|
175
|
-
Mode?: ChannelMode
|
|
176
|
-
Privacy?: ChannelPrivacy
|
|
175
|
+
Mode?: ChannelMode;
|
|
176
|
+
Privacy?: ChannelPrivacy;
|
|
177
177
|
Metadata?: string;
|
|
178
178
|
CreatedBy?: Identity;
|
|
179
179
|
CreatedTimestamp?: Date;
|
|
@@ -186,8 +186,8 @@ export interface Channel {
|
|
|
186
186
|
export interface ChannelAssociatedWithFlowSummary {
|
|
187
187
|
Name?: string;
|
|
188
188
|
ChannelArn?: string;
|
|
189
|
-
Mode?: ChannelMode
|
|
190
|
-
Privacy?: ChannelPrivacy
|
|
189
|
+
Mode?: ChannelMode;
|
|
190
|
+
Privacy?: ChannelPrivacy;
|
|
191
191
|
Metadata?: string;
|
|
192
192
|
}
|
|
193
193
|
export interface ChannelBan {
|
|
@@ -206,7 +206,7 @@ export type InvocationType =
|
|
|
206
206
|
(typeof InvocationType)[keyof typeof InvocationType];
|
|
207
207
|
export interface LambdaConfiguration {
|
|
208
208
|
ResourceArn: string | undefined;
|
|
209
|
-
InvocationType: InvocationType |
|
|
209
|
+
InvocationType: InvocationType | undefined;
|
|
210
210
|
}
|
|
211
211
|
export interface ProcessorConfiguration {
|
|
212
212
|
Lambda: LambdaConfiguration | undefined;
|
|
@@ -221,7 +221,7 @@ export interface Processor {
|
|
|
221
221
|
Name: string | undefined;
|
|
222
222
|
Configuration: ProcessorConfiguration | undefined;
|
|
223
223
|
ExecutionOrder: number | undefined;
|
|
224
|
-
FallbackAction: FallbackAction |
|
|
224
|
+
FallbackAction: FallbackAction | undefined;
|
|
225
225
|
}
|
|
226
226
|
export interface ChannelFlow {
|
|
227
227
|
ChannelFlowArn?: string;
|
|
@@ -242,7 +242,7 @@ export type PushNotificationType =
|
|
|
242
242
|
export interface PushNotificationConfiguration {
|
|
243
243
|
Title?: string;
|
|
244
244
|
Body?: string;
|
|
245
|
-
Type?: PushNotificationType
|
|
245
|
+
Type?: PushNotificationType;
|
|
246
246
|
}
|
|
247
247
|
export interface ChannelMessageCallback {
|
|
248
248
|
MessageId: string | undefined;
|
|
@@ -270,7 +270,7 @@ export interface ChannelFlowSummary {
|
|
|
270
270
|
}
|
|
271
271
|
export interface ChannelMembership {
|
|
272
272
|
InvitedBy?: Identity;
|
|
273
|
-
Type?: ChannelMembershipType
|
|
273
|
+
Type?: ChannelMembershipType;
|
|
274
274
|
Member?: Identity;
|
|
275
275
|
ChannelArn?: string;
|
|
276
276
|
CreatedTimestamp?: Date;
|
|
@@ -280,8 +280,8 @@ export interface ChannelMembership {
|
|
|
280
280
|
export interface ChannelSummary {
|
|
281
281
|
Name?: string;
|
|
282
282
|
ChannelArn?: string;
|
|
283
|
-
Mode?: ChannelMode
|
|
284
|
-
Privacy?: ChannelPrivacy
|
|
283
|
+
Mode?: ChannelMode;
|
|
284
|
+
Privacy?: ChannelPrivacy;
|
|
285
285
|
Metadata?: string;
|
|
286
286
|
LastMessageTimestamp?: Date;
|
|
287
287
|
}
|
|
@@ -290,7 +290,7 @@ export interface ChannelMembershipForAppInstanceUserSummary {
|
|
|
290
290
|
AppInstanceUserMembershipSummary?: AppInstanceUserMembershipSummary;
|
|
291
291
|
}
|
|
292
292
|
export interface PushNotificationPreferences {
|
|
293
|
-
AllowNotifications: AllowNotifications |
|
|
293
|
+
AllowNotifications: AllowNotifications | undefined;
|
|
294
294
|
FilterRule?: string;
|
|
295
295
|
}
|
|
296
296
|
export interface ChannelMembershipPreferences {
|
|
@@ -314,7 +314,7 @@ export declare const ChannelMessageStatus: {
|
|
|
314
314
|
export type ChannelMessageStatus =
|
|
315
315
|
(typeof ChannelMessageStatus)[keyof typeof ChannelMessageStatus];
|
|
316
316
|
export interface ChannelMessageStatusStructure {
|
|
317
|
-
Value?: ChannelMessageStatus
|
|
317
|
+
Value?: ChannelMessageStatus;
|
|
318
318
|
Detail?: string;
|
|
319
319
|
}
|
|
320
320
|
export interface Target {
|
|
@@ -331,13 +331,13 @@ export interface ChannelMessage {
|
|
|
331
331
|
MessageId?: string;
|
|
332
332
|
Content?: string;
|
|
333
333
|
Metadata?: string;
|
|
334
|
-
Type?: ChannelMessageType
|
|
334
|
+
Type?: ChannelMessageType;
|
|
335
335
|
CreatedTimestamp?: Date;
|
|
336
336
|
LastEditedTimestamp?: Date;
|
|
337
337
|
LastUpdatedTimestamp?: Date;
|
|
338
338
|
Sender?: Identity;
|
|
339
339
|
Redacted?: boolean;
|
|
340
|
-
Persistence?: ChannelMessagePersistenceType
|
|
340
|
+
Persistence?: ChannelMessagePersistenceType;
|
|
341
341
|
Status?: ChannelMessageStatusStructure;
|
|
342
342
|
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
343
343
|
SubChannelId?: string;
|
|
@@ -348,7 +348,7 @@ export interface ChannelMessageSummary {
|
|
|
348
348
|
MessageId?: string;
|
|
349
349
|
Content?: string;
|
|
350
350
|
Metadata?: string;
|
|
351
|
-
Type?: ChannelMessageType
|
|
351
|
+
Type?: ChannelMessageType;
|
|
352
352
|
CreatedTimestamp?: Date;
|
|
353
353
|
LastUpdatedTimestamp?: Date;
|
|
354
354
|
LastEditedTimestamp?: Date;
|
|
@@ -378,8 +378,8 @@ export interface Tag {
|
|
|
378
378
|
export interface CreateChannelRequest {
|
|
379
379
|
AppInstanceArn: string | undefined;
|
|
380
380
|
Name: string | undefined;
|
|
381
|
-
Mode?: ChannelMode
|
|
382
|
-
Privacy?: ChannelPrivacy
|
|
381
|
+
Mode?: ChannelMode;
|
|
382
|
+
Privacy?: ChannelPrivacy;
|
|
383
383
|
Metadata?: string;
|
|
384
384
|
ClientRequestToken?: string;
|
|
385
385
|
Tags?: Tag[];
|
|
@@ -415,7 +415,7 @@ export interface CreateChannelFlowResponse {
|
|
|
415
415
|
export interface CreateChannelMembershipRequest {
|
|
416
416
|
ChannelArn: string | undefined;
|
|
417
417
|
MemberArn: string | undefined;
|
|
418
|
-
Type: ChannelMembershipType |
|
|
418
|
+
Type: ChannelMembershipType | undefined;
|
|
419
419
|
ChimeBearer: string | undefined;
|
|
420
420
|
SubChannelId?: string;
|
|
421
421
|
}
|
|
@@ -569,7 +569,7 @@ export declare const MessagingDataType: {
|
|
|
569
569
|
export type MessagingDataType =
|
|
570
570
|
(typeof MessagingDataType)[keyof typeof MessagingDataType];
|
|
571
571
|
export interface StreamingConfiguration {
|
|
572
|
-
DataType: MessagingDataType |
|
|
572
|
+
DataType: MessagingDataType | undefined;
|
|
573
573
|
ResourceArn: string | undefined;
|
|
574
574
|
}
|
|
575
575
|
export interface GetMessagingStreamingConfigurationsResponse {
|
|
@@ -597,7 +597,7 @@ export interface ListChannelFlowsResponse {
|
|
|
597
597
|
}
|
|
598
598
|
export interface ListChannelMembershipsRequest {
|
|
599
599
|
ChannelArn: string | undefined;
|
|
600
|
-
Type?: ChannelMembershipType
|
|
600
|
+
Type?: ChannelMembershipType;
|
|
601
601
|
MaxResults?: number;
|
|
602
602
|
NextToken?: string;
|
|
603
603
|
ChimeBearer: string | undefined;
|
|
@@ -625,7 +625,7 @@ export declare const SortOrder: {
|
|
|
625
625
|
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
626
626
|
export interface ListChannelMessagesRequest {
|
|
627
627
|
ChannelArn: string | undefined;
|
|
628
|
-
SortOrder?: SortOrder
|
|
628
|
+
SortOrder?: SortOrder;
|
|
629
629
|
NotBefore?: Date;
|
|
630
630
|
NotAfter?: Date;
|
|
631
631
|
MaxResults?: number;
|
|
@@ -652,7 +652,7 @@ export interface ListChannelModeratorsResponse {
|
|
|
652
652
|
}
|
|
653
653
|
export interface ListChannelsRequest {
|
|
654
654
|
AppInstanceArn: string | undefined;
|
|
655
|
-
Privacy?: ChannelPrivacy
|
|
655
|
+
Privacy?: ChannelPrivacy;
|
|
656
656
|
MaxResults?: number;
|
|
657
657
|
NextToken?: string;
|
|
658
658
|
ChimeBearer: string | undefined;
|
|
@@ -751,9 +751,9 @@ export declare const SearchFieldOperator: {
|
|
|
751
751
|
export type SearchFieldOperator =
|
|
752
752
|
(typeof SearchFieldOperator)[keyof typeof SearchFieldOperator];
|
|
753
753
|
export interface SearchField {
|
|
754
|
-
Key: SearchFieldKey |
|
|
754
|
+
Key: SearchFieldKey | undefined;
|
|
755
755
|
Values: string[] | undefined;
|
|
756
|
-
Operator: SearchFieldOperator |
|
|
756
|
+
Operator: SearchFieldOperator | undefined;
|
|
757
757
|
}
|
|
758
758
|
export interface SearchChannelsRequest {
|
|
759
759
|
ChimeBearer?: string;
|
|
@@ -768,8 +768,8 @@ export interface SearchChannelsResponse {
|
|
|
768
768
|
export interface SendChannelMessageRequest {
|
|
769
769
|
ChannelArn: string | undefined;
|
|
770
770
|
Content: string | undefined;
|
|
771
|
-
Type: ChannelMessageType |
|
|
772
|
-
Persistence: ChannelMessagePersistenceType |
|
|
771
|
+
Type: ChannelMessageType | undefined;
|
|
772
|
+
Persistence: ChannelMessagePersistenceType | undefined;
|
|
773
773
|
Metadata?: string;
|
|
774
774
|
ClientRequestToken?: string;
|
|
775
775
|
ChimeBearer: string | undefined;
|
|
@@ -796,7 +796,7 @@ export interface UntagResourceRequest {
|
|
|
796
796
|
export interface UpdateChannelRequest {
|
|
797
797
|
ChannelArn: string | undefined;
|
|
798
798
|
Name?: string;
|
|
799
|
-
Mode?: ChannelMode
|
|
799
|
+
Mode?: ChannelMode;
|
|
800
800
|
Metadata?: string;
|
|
801
801
|
ChimeBearer: string | undefined;
|
|
802
802
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-chime-sdk-messaging",
|
|
3
3
|
"description": "AWS SDK for JavaScript Chime Sdk Messaging Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.429.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.429.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.429.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.428.0",
|
|
32
|
+
"@aws-sdk/types": "3.428.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.428.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.14",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
|
+
"@smithy/hash-node": "^2.0.11",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.16",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.11",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.1",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.7",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.7",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.11",
|
|
49
|
+
"@smithy/types": "^2.3.5",
|
|
50
|
+
"@smithy/url-parser": "^2.0.11",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.19",
|
|
56
|
+
"@smithy/util-retry": "^2.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0",
|
|
59
59
|
"uuid": "^8.3.2"
|