@aws-sdk/client-chime-sdk-messaging 3.141.0 → 3.149.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/CHANGELOG.md +30 -0
- package/dist-cjs/ChimeSDKMessaging.js +15 -0
- package/dist-cjs/commands/ListSubChannelsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +36 -18
- package/dist-cjs/pagination/ListSubChannelsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +895 -1364
- package/dist-es/ChimeSDKMessaging.js +15 -0
- package/dist-es/commands/ListSubChannelsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +18 -14
- package/dist-es/pagination/ListSubChannelsPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1134 -1311
- package/dist-types/ChimeSDKMessaging.d.ts +7 -0
- package/dist-types/ChimeSDKMessagingClient.d.ts +3 -2
- package/dist-types/commands/ListSubChannelsCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +232 -13
- package/dist-types/pagination/ListSubChannelsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/ChimeSDKMessaging.d.ts +5 -0
- package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/ListSubChannelsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +105 -9
- package/dist-types/ts3.4/pagination/ListSubChannelsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +11 -6
|
@@ -35,6 +35,7 @@ import { ListChannelModeratorsCommandInput, ListChannelModeratorsCommandOutput }
|
|
|
35
35
|
import { ListChannelsAssociatedWithChannelFlowCommandInput, ListChannelsAssociatedWithChannelFlowCommandOutput } from "./commands/ListChannelsAssociatedWithChannelFlowCommand";
|
|
36
36
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
37
37
|
import { ListChannelsModeratedByAppInstanceUserCommandInput, ListChannelsModeratedByAppInstanceUserCommandOutput } from "./commands/ListChannelsModeratedByAppInstanceUserCommand";
|
|
38
|
+
import { ListSubChannelsCommandInput, ListSubChannelsCommandOutput } from "./commands/ListSubChannelsCommand";
|
|
38
39
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
39
40
|
import { PutChannelMembershipPreferencesCommandInput, PutChannelMembershipPreferencesCommandOutput } from "./commands/PutChannelMembershipPreferencesCommand";
|
|
40
41
|
import { RedactChannelMessageCommandInput, RedactChannelMessageCommandOutput } from "./commands/RedactChannelMessageCommand";
|
|
@@ -573,6 +574,12 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
573
574
|
listChannelsModeratedByAppInstanceUser(args: ListChannelsModeratedByAppInstanceUserCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsModeratedByAppInstanceUserCommandOutput>;
|
|
574
575
|
listChannelsModeratedByAppInstanceUser(args: ListChannelsModeratedByAppInstanceUserCommandInput, cb: (err: any, data?: ListChannelsModeratedByAppInstanceUserCommandOutput) => void): void;
|
|
575
576
|
listChannelsModeratedByAppInstanceUser(args: ListChannelsModeratedByAppInstanceUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsModeratedByAppInstanceUserCommandOutput) => void): void;
|
|
577
|
+
/**
|
|
578
|
+
* <p>Lists all the SubChannels in an elastic channel when given a channel ID. Available only to the app instance admins and channel moderators of elastic channels.</p>
|
|
579
|
+
*/
|
|
580
|
+
listSubChannels(args: ListSubChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListSubChannelsCommandOutput>;
|
|
581
|
+
listSubChannels(args: ListSubChannelsCommandInput, cb: (err: any, data?: ListSubChannelsCommandOutput) => void): void;
|
|
582
|
+
listSubChannels(args: ListSubChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubChannelsCommandOutput) => void): void;
|
|
576
583
|
/**
|
|
577
584
|
* <p>Lists the tags applied to an Amazon Chime SDK messaging resource.</p>
|
|
578
585
|
*/
|
|
@@ -41,6 +41,7 @@ import { ListChannelModeratorsCommandInput, ListChannelModeratorsCommandOutput }
|
|
|
41
41
|
import { ListChannelsAssociatedWithChannelFlowCommandInput, ListChannelsAssociatedWithChannelFlowCommandOutput } from "./commands/ListChannelsAssociatedWithChannelFlowCommand";
|
|
42
42
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
43
43
|
import { ListChannelsModeratedByAppInstanceUserCommandInput, ListChannelsModeratedByAppInstanceUserCommandOutput } from "./commands/ListChannelsModeratedByAppInstanceUserCommand";
|
|
44
|
+
import { ListSubChannelsCommandInput, ListSubChannelsCommandOutput } from "./commands/ListSubChannelsCommand";
|
|
44
45
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
45
46
|
import { PutChannelMembershipPreferencesCommandInput, PutChannelMembershipPreferencesCommandOutput } from "./commands/PutChannelMembershipPreferencesCommand";
|
|
46
47
|
import { RedactChannelMessageCommandInput, RedactChannelMessageCommandOutput } from "./commands/RedactChannelMessageCommand";
|
|
@@ -52,8 +53,8 @@ import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./command
|
|
|
52
53
|
import { UpdateChannelFlowCommandInput, UpdateChannelFlowCommandOutput } from "./commands/UpdateChannelFlowCommand";
|
|
53
54
|
import { UpdateChannelMessageCommandInput, UpdateChannelMessageCommandOutput } from "./commands/UpdateChannelMessageCommand";
|
|
54
55
|
import { UpdateChannelReadMarkerCommandInput, UpdateChannelReadMarkerCommandOutput } from "./commands/UpdateChannelReadMarkerCommand";
|
|
55
|
-
export declare type ServiceInputTypes = AssociateChannelFlowCommandInput | BatchCreateChannelMembershipCommandInput | ChannelFlowCallbackCommandInput | CreateChannelBanCommandInput | CreateChannelCommandInput | CreateChannelFlowCommandInput | CreateChannelMembershipCommandInput | CreateChannelModeratorCommandInput | DeleteChannelBanCommandInput | DeleteChannelCommandInput | DeleteChannelFlowCommandInput | DeleteChannelMembershipCommandInput | DeleteChannelMessageCommandInput | DeleteChannelModeratorCommandInput | DescribeChannelBanCommandInput | DescribeChannelCommandInput | DescribeChannelFlowCommandInput | DescribeChannelMembershipCommandInput | DescribeChannelMembershipForAppInstanceUserCommandInput | DescribeChannelModeratedByAppInstanceUserCommandInput | DescribeChannelModeratorCommandInput | DisassociateChannelFlowCommandInput | GetChannelMembershipPreferencesCommandInput | GetChannelMessageCommandInput | GetChannelMessageStatusCommandInput | GetMessagingSessionEndpointCommandInput | ListChannelBansCommandInput | ListChannelFlowsCommandInput | ListChannelMembershipsCommandInput | ListChannelMembershipsForAppInstanceUserCommandInput | ListChannelMessagesCommandInput | ListChannelModeratorsCommandInput | ListChannelsAssociatedWithChannelFlowCommandInput | ListChannelsCommandInput | ListChannelsModeratedByAppInstanceUserCommandInput | ListTagsForResourceCommandInput | PutChannelMembershipPreferencesCommandInput | RedactChannelMessageCommandInput | SearchChannelsCommandInput | SendChannelMessageCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput | UpdateChannelFlowCommandInput | UpdateChannelMessageCommandInput | UpdateChannelReadMarkerCommandInput;
|
|
56
|
-
export declare type ServiceOutputTypes = AssociateChannelFlowCommandOutput | BatchCreateChannelMembershipCommandOutput | ChannelFlowCallbackCommandOutput | CreateChannelBanCommandOutput | CreateChannelCommandOutput | CreateChannelFlowCommandOutput | CreateChannelMembershipCommandOutput | CreateChannelModeratorCommandOutput | DeleteChannelBanCommandOutput | DeleteChannelCommandOutput | DeleteChannelFlowCommandOutput | DeleteChannelMembershipCommandOutput | DeleteChannelMessageCommandOutput | DeleteChannelModeratorCommandOutput | DescribeChannelBanCommandOutput | DescribeChannelCommandOutput | DescribeChannelFlowCommandOutput | DescribeChannelMembershipCommandOutput | DescribeChannelMembershipForAppInstanceUserCommandOutput | DescribeChannelModeratedByAppInstanceUserCommandOutput | DescribeChannelModeratorCommandOutput | DisassociateChannelFlowCommandOutput | GetChannelMembershipPreferencesCommandOutput | GetChannelMessageCommandOutput | GetChannelMessageStatusCommandOutput | GetMessagingSessionEndpointCommandOutput | ListChannelBansCommandOutput | ListChannelFlowsCommandOutput | ListChannelMembershipsCommandOutput | ListChannelMembershipsForAppInstanceUserCommandOutput | ListChannelMessagesCommandOutput | ListChannelModeratorsCommandOutput | ListChannelsAssociatedWithChannelFlowCommandOutput | ListChannelsCommandOutput | ListChannelsModeratedByAppInstanceUserCommandOutput | ListTagsForResourceCommandOutput | PutChannelMembershipPreferencesCommandOutput | RedactChannelMessageCommandOutput | SearchChannelsCommandOutput | SendChannelMessageCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput | UpdateChannelFlowCommandOutput | UpdateChannelMessageCommandOutput | UpdateChannelReadMarkerCommandOutput;
|
|
56
|
+
export declare type ServiceInputTypes = AssociateChannelFlowCommandInput | BatchCreateChannelMembershipCommandInput | ChannelFlowCallbackCommandInput | CreateChannelBanCommandInput | CreateChannelCommandInput | CreateChannelFlowCommandInput | CreateChannelMembershipCommandInput | CreateChannelModeratorCommandInput | DeleteChannelBanCommandInput | DeleteChannelCommandInput | DeleteChannelFlowCommandInput | DeleteChannelMembershipCommandInput | DeleteChannelMessageCommandInput | DeleteChannelModeratorCommandInput | DescribeChannelBanCommandInput | DescribeChannelCommandInput | DescribeChannelFlowCommandInput | DescribeChannelMembershipCommandInput | DescribeChannelMembershipForAppInstanceUserCommandInput | DescribeChannelModeratedByAppInstanceUserCommandInput | DescribeChannelModeratorCommandInput | DisassociateChannelFlowCommandInput | GetChannelMembershipPreferencesCommandInput | GetChannelMessageCommandInput | GetChannelMessageStatusCommandInput | GetMessagingSessionEndpointCommandInput | ListChannelBansCommandInput | ListChannelFlowsCommandInput | ListChannelMembershipsCommandInput | ListChannelMembershipsForAppInstanceUserCommandInput | ListChannelMessagesCommandInput | ListChannelModeratorsCommandInput | ListChannelsAssociatedWithChannelFlowCommandInput | ListChannelsCommandInput | ListChannelsModeratedByAppInstanceUserCommandInput | ListSubChannelsCommandInput | ListTagsForResourceCommandInput | PutChannelMembershipPreferencesCommandInput | RedactChannelMessageCommandInput | SearchChannelsCommandInput | SendChannelMessageCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput | UpdateChannelFlowCommandInput | UpdateChannelMessageCommandInput | UpdateChannelReadMarkerCommandInput;
|
|
57
|
+
export declare type ServiceOutputTypes = AssociateChannelFlowCommandOutput | BatchCreateChannelMembershipCommandOutput | ChannelFlowCallbackCommandOutput | CreateChannelBanCommandOutput | CreateChannelCommandOutput | CreateChannelFlowCommandOutput | CreateChannelMembershipCommandOutput | CreateChannelModeratorCommandOutput | DeleteChannelBanCommandOutput | DeleteChannelCommandOutput | DeleteChannelFlowCommandOutput | DeleteChannelMembershipCommandOutput | DeleteChannelMessageCommandOutput | DeleteChannelModeratorCommandOutput | DescribeChannelBanCommandOutput | DescribeChannelCommandOutput | DescribeChannelFlowCommandOutput | DescribeChannelMembershipCommandOutput | DescribeChannelMembershipForAppInstanceUserCommandOutput | DescribeChannelModeratedByAppInstanceUserCommandOutput | DescribeChannelModeratorCommandOutput | DisassociateChannelFlowCommandOutput | GetChannelMembershipPreferencesCommandOutput | GetChannelMessageCommandOutput | GetChannelMessageStatusCommandOutput | GetMessagingSessionEndpointCommandOutput | ListChannelBansCommandOutput | ListChannelFlowsCommandOutput | ListChannelMembershipsCommandOutput | ListChannelMembershipsForAppInstanceUserCommandOutput | ListChannelMessagesCommandOutput | ListChannelModeratorsCommandOutput | ListChannelsAssociatedWithChannelFlowCommandOutput | ListChannelsCommandOutput | ListChannelsModeratedByAppInstanceUserCommandOutput | ListSubChannelsCommandOutput | ListTagsForResourceCommandOutput | PutChannelMembershipPreferencesCommandOutput | RedactChannelMessageCommandOutput | SearchChannelsCommandOutput | SendChannelMessageCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput | UpdateChannelFlowCommandOutput | UpdateChannelMessageCommandOutput | UpdateChannelReadMarkerCommandOutput;
|
|
57
58
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
58
59
|
/**
|
|
59
60
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
|
|
4
|
+
import { ListSubChannelsRequest, ListSubChannelsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListSubChannelsCommandInput extends ListSubChannelsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListSubChannelsCommandOutput extends ListSubChannelsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists all the SubChannels in an elastic channel when given a channel ID. Available only to the app instance admins and channel moderators of elastic channels.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ChimeSDKMessagingClient, ListSubChannelsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
15
|
+
* // const { ChimeSDKMessagingClient, ListSubChannelsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
16
|
+
* const client = new ChimeSDKMessagingClient(config);
|
|
17
|
+
* const command = new ListSubChannelsCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListSubChannelsCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListSubChannelsCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListSubChannelsCommand extends $Command<ListSubChannelsCommandInput, ListSubChannelsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
|
|
27
|
+
readonly input: ListSubChannelsCommandInput;
|
|
28
|
+
constructor(input: ListSubChannelsCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSubChannelsCommandInput, ListSubChannelsCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -33,6 +33,7 @@ export * from "./ListChannelModeratorsCommand";
|
|
|
33
33
|
export * from "./ListChannelsAssociatedWithChannelFlowCommand";
|
|
34
34
|
export * from "./ListChannelsCommand";
|
|
35
35
|
export * from "./ListChannelsModeratedByAppInstanceUserCommand";
|
|
36
|
+
export * from "./ListSubChannelsCommand";
|
|
36
37
|
export * from "./ListTagsForResourceCommand";
|
|
37
38
|
export * from "./PutChannelMembershipPreferencesCommand";
|
|
38
39
|
export * from "./RedactChannelMessageCommand";
|
|
@@ -21,6 +21,10 @@ export interface AppInstanceUserMembershipSummary {
|
|
|
21
21
|
* <p>The time at which an <code>AppInstanceUser</code> last marked a channel as read.</p>
|
|
22
22
|
*/
|
|
23
23
|
ReadMarkerTimestamp?: Date;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The ID of the SubChannel that the <code>AppInstanceUser</code> is a member of.</p>
|
|
26
|
+
*/
|
|
27
|
+
SubChannelId?: string;
|
|
24
28
|
}
|
|
25
29
|
export interface AssociateChannelFlowRequest {
|
|
26
30
|
/**
|
|
@@ -192,6 +196,10 @@ export interface BatchChannelMemberships {
|
|
|
192
196
|
* <p>The ARN of the channel to which you're adding users.</p>
|
|
193
197
|
*/
|
|
194
198
|
ChannelArn?: string;
|
|
199
|
+
/**
|
|
200
|
+
* <p>The ID of the SubChannel.</p>
|
|
201
|
+
*/
|
|
202
|
+
SubChannelId?: string;
|
|
195
203
|
}
|
|
196
204
|
export interface BatchCreateChannelMembershipRequest {
|
|
197
205
|
/**
|
|
@@ -214,6 +222,13 @@ export interface BatchCreateChannelMembershipRequest {
|
|
|
214
222
|
* <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
|
|
215
223
|
*/
|
|
216
224
|
ChimeBearer: string | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* <p>The ID of the SubChannel in the request. </p>
|
|
227
|
+
* <note>
|
|
228
|
+
* <p>Only required when creating membership in a SubChannel for a moderator in an elastic channel.</p>
|
|
229
|
+
* </note>
|
|
230
|
+
*/
|
|
231
|
+
SubChannelId?: string;
|
|
217
232
|
}
|
|
218
233
|
/**
|
|
219
234
|
* <p>A list of failed member ARNs, error codes, and error messages.</p>
|
|
@@ -243,6 +258,36 @@ export interface BatchCreateChannelMembershipResponse {
|
|
|
243
258
|
*/
|
|
244
259
|
Errors?: BatchCreateChannelMembershipError[];
|
|
245
260
|
}
|
|
261
|
+
/**
|
|
262
|
+
* <p>The request exceeds the resource limit.</p>
|
|
263
|
+
*/
|
|
264
|
+
export declare class ResourceLimitExceededException extends __BaseException {
|
|
265
|
+
readonly name: "ResourceLimitExceededException";
|
|
266
|
+
readonly $fault: "client";
|
|
267
|
+
Code?: ErrorCode | string;
|
|
268
|
+
Message?: string;
|
|
269
|
+
/**
|
|
270
|
+
* @internal
|
|
271
|
+
*/
|
|
272
|
+
constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* <p>The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.</p>
|
|
276
|
+
*/
|
|
277
|
+
export interface ElasticChannelConfiguration {
|
|
278
|
+
/**
|
|
279
|
+
* <p>The maximum number of SubChannels that you want to allow in the elastic channel.</p>
|
|
280
|
+
*/
|
|
281
|
+
MaximumSubChannels: number | undefined;
|
|
282
|
+
/**
|
|
283
|
+
* <p>The maximum number of members allowed in a SubChannel.</p>
|
|
284
|
+
*/
|
|
285
|
+
TargetMembershipsPerSubChannel: number | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* <p>The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of the calculated value is used in balancing members among SubChannels of the elastic channel.</p>
|
|
288
|
+
*/
|
|
289
|
+
MinimumMembershipPercentage: number | undefined;
|
|
290
|
+
}
|
|
246
291
|
export declare enum ChannelMode {
|
|
247
292
|
RESTRICTED = "RESTRICTED",
|
|
248
293
|
UNRESTRICTED = "UNRESTRICTED"
|
|
@@ -295,6 +340,10 @@ export interface Channel {
|
|
|
295
340
|
* <p>The ARN of the channel flow.</p>
|
|
296
341
|
*/
|
|
297
342
|
ChannelFlowArn?: string;
|
|
343
|
+
/**
|
|
344
|
+
* <p>The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.</p>
|
|
345
|
+
*/
|
|
346
|
+
ElasticChannelConfiguration?: ElasticChannelConfiguration;
|
|
298
347
|
}
|
|
299
348
|
/**
|
|
300
349
|
* <p>Summary of details of a channel associated with channel flow.</p>
|
|
@@ -485,6 +534,10 @@ export interface ChannelMessageCallback {
|
|
|
485
534
|
* <p>The attributes for the message, used for message filtering along with a <code>FilterRule</code> defined in the <code>PushNotificationPreferences</code>. </p>
|
|
486
535
|
*/
|
|
487
536
|
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
537
|
+
/**
|
|
538
|
+
* <p>The ID of the SubChannel.</p>
|
|
539
|
+
*/
|
|
540
|
+
SubChannelId?: string;
|
|
488
541
|
}
|
|
489
542
|
export interface ChannelFlowCallbackRequest {
|
|
490
543
|
/**
|
|
@@ -559,6 +612,10 @@ export interface ChannelMembership {
|
|
|
559
612
|
* <p>The time at which a channel membership was last updated.</p>
|
|
560
613
|
*/
|
|
561
614
|
LastUpdatedTimestamp?: Date;
|
|
615
|
+
/**
|
|
616
|
+
* <p>The ID of the SubChannel that a user belongs to.</p>
|
|
617
|
+
*/
|
|
618
|
+
SubChannelId?: string;
|
|
562
619
|
}
|
|
563
620
|
/**
|
|
564
621
|
* <p>Summary of the details of a <code>Channel</code>.</p>
|
|
@@ -718,6 +775,10 @@ export interface ChannelMessage {
|
|
|
718
775
|
* <p>The attributes for the message, used for message filtering along with a <code>FilterRule</code> defined in the <code>PushNotificationPreferences</code>.</p>
|
|
719
776
|
*/
|
|
720
777
|
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
778
|
+
/**
|
|
779
|
+
* <p>The ID of the SubChannel.</p>
|
|
780
|
+
*/
|
|
781
|
+
SubChannelId?: string;
|
|
721
782
|
}
|
|
722
783
|
/**
|
|
723
784
|
* <p>Summary of the messages in a <code>Channel</code>.</p>
|
|
@@ -870,6 +931,10 @@ export interface CreateChannelRequest {
|
|
|
870
931
|
* <p>The ARNs of the channel moderators in the request.</p>
|
|
871
932
|
*/
|
|
872
933
|
ModeratorArns?: string[];
|
|
934
|
+
/**
|
|
935
|
+
* <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>
|
|
936
|
+
*/
|
|
937
|
+
ElasticChannelConfiguration?: ElasticChannelConfiguration;
|
|
873
938
|
}
|
|
874
939
|
export interface CreateChannelResponse {
|
|
875
940
|
/**
|
|
@@ -877,19 +942,6 @@ export interface CreateChannelResponse {
|
|
|
877
942
|
*/
|
|
878
943
|
ChannelArn?: string;
|
|
879
944
|
}
|
|
880
|
-
/**
|
|
881
|
-
* <p>The request exceeds the resource limit.</p>
|
|
882
|
-
*/
|
|
883
|
-
export declare class ResourceLimitExceededException extends __BaseException {
|
|
884
|
-
readonly name: "ResourceLimitExceededException";
|
|
885
|
-
readonly $fault: "client";
|
|
886
|
-
Code?: ErrorCode | string;
|
|
887
|
-
Message?: string;
|
|
888
|
-
/**
|
|
889
|
-
* @internal
|
|
890
|
-
*/
|
|
891
|
-
constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
|
|
892
|
-
}
|
|
893
945
|
export interface CreateChannelBanRequest {
|
|
894
946
|
/**
|
|
895
947
|
* <p>The ARN of the ban request.</p>
|
|
@@ -964,6 +1016,13 @@ export interface CreateChannelMembershipRequest {
|
|
|
964
1016
|
* <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
|
|
965
1017
|
*/
|
|
966
1018
|
ChimeBearer: string | undefined;
|
|
1019
|
+
/**
|
|
1020
|
+
* <p>The ID of the SubChannel in the request.</p>
|
|
1021
|
+
* <note>
|
|
1022
|
+
* <p>Only required when creating membership in a SubChannel for a moderator in an elastic channel.</p>
|
|
1023
|
+
* </note>
|
|
1024
|
+
*/
|
|
1025
|
+
SubChannelId?: string;
|
|
967
1026
|
}
|
|
968
1027
|
export interface CreateChannelMembershipResponse {
|
|
969
1028
|
/**
|
|
@@ -974,6 +1033,10 @@ export interface CreateChannelMembershipResponse {
|
|
|
974
1033
|
* <p>The ARN and metadata of the member being added.</p>
|
|
975
1034
|
*/
|
|
976
1035
|
Member?: Identity;
|
|
1036
|
+
/**
|
|
1037
|
+
* <p>The ID of the SubChannel in the response.</p>
|
|
1038
|
+
*/
|
|
1039
|
+
SubChannelId?: string;
|
|
977
1040
|
}
|
|
978
1041
|
export interface CreateChannelModeratorRequest {
|
|
979
1042
|
/**
|
|
@@ -1008,6 +1071,10 @@ export interface DeleteChannelRequest {
|
|
|
1008
1071
|
* <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
|
|
1009
1072
|
*/
|
|
1010
1073
|
ChimeBearer: string | undefined;
|
|
1074
|
+
/**
|
|
1075
|
+
* <p>The ID of the SubChannel in the request.</p>
|
|
1076
|
+
*/
|
|
1077
|
+
SubChannelId?: string;
|
|
1011
1078
|
}
|
|
1012
1079
|
export interface DeleteChannelBanRequest {
|
|
1013
1080
|
/**
|
|
@@ -1042,6 +1109,13 @@ export interface DeleteChannelMembershipRequest {
|
|
|
1042
1109
|
* <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
|
|
1043
1110
|
*/
|
|
1044
1111
|
ChimeBearer: string | undefined;
|
|
1112
|
+
/**
|
|
1113
|
+
* <p>The ID of the SubChannel in the request.</p>
|
|
1114
|
+
* <note>
|
|
1115
|
+
* <p>Only for use by moderators.</p>
|
|
1116
|
+
* </note>
|
|
1117
|
+
*/
|
|
1118
|
+
SubChannelId?: string;
|
|
1045
1119
|
}
|
|
1046
1120
|
export interface DeleteChannelMessageRequest {
|
|
1047
1121
|
/**
|
|
@@ -1056,6 +1130,13 @@ export interface DeleteChannelMessageRequest {
|
|
|
1056
1130
|
* <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
|
|
1057
1131
|
*/
|
|
1058
1132
|
ChimeBearer: string | undefined;
|
|
1133
|
+
/**
|
|
1134
|
+
* <p>The ID of the SubChannel in the request.</p>
|
|
1135
|
+
* <note>
|
|
1136
|
+
* <p>Only required when deleting messages in a SubChannel that the user belongs to.</p>
|
|
1137
|
+
* </note>
|
|
1138
|
+
*/
|
|
1139
|
+
SubChannelId?: string;
|
|
1059
1140
|
}
|
|
1060
1141
|
export interface DeleteChannelModeratorRequest {
|
|
1061
1142
|
/**
|
|
@@ -1132,6 +1213,13 @@ export interface DescribeChannelMembershipRequest {
|
|
|
1132
1213
|
* <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
|
|
1133
1214
|
*/
|
|
1134
1215
|
ChimeBearer: string | undefined;
|
|
1216
|
+
/**
|
|
1217
|
+
* <p>The ID of the SubChannel in the request. The response contains an <code>ElasticChannelConfiguration</code> object.</p>
|
|
1218
|
+
* <note>
|
|
1219
|
+
* <p>Only required to get a user’s SubChannel membership details.</p>
|
|
1220
|
+
* </note>
|
|
1221
|
+
*/
|
|
1222
|
+
SubChannelId?: string;
|
|
1135
1223
|
}
|
|
1136
1224
|
export interface DescribeChannelMembershipResponse {
|
|
1137
1225
|
/**
|
|
@@ -1254,6 +1342,13 @@ export interface GetChannelMessageRequest {
|
|
|
1254
1342
|
* <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
|
|
1255
1343
|
*/
|
|
1256
1344
|
ChimeBearer: string | undefined;
|
|
1345
|
+
/**
|
|
1346
|
+
* <p>The ID of the SubChannel in the request.</p>
|
|
1347
|
+
* <note>
|
|
1348
|
+
* <p>Only required when getting messages in a SubChannel that the user belongs to.</p>
|
|
1349
|
+
* </note>
|
|
1350
|
+
*/
|
|
1351
|
+
SubChannelId?: string;
|
|
1257
1352
|
}
|
|
1258
1353
|
export interface GetChannelMessageResponse {
|
|
1259
1354
|
/**
|
|
@@ -1274,6 +1369,13 @@ export interface GetChannelMessageStatusRequest {
|
|
|
1274
1369
|
* <p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>
|
|
1275
1370
|
*/
|
|
1276
1371
|
ChimeBearer: string | undefined;
|
|
1372
|
+
/**
|
|
1373
|
+
* <p>The ID of the SubChannel in the request.</p>
|
|
1374
|
+
* <note>
|
|
1375
|
+
* <p>Only required when getting message status in a SubChannel that the user belongs to.</p>
|
|
1376
|
+
* </note>
|
|
1377
|
+
*/
|
|
1378
|
+
SubChannelId?: string;
|
|
1277
1379
|
}
|
|
1278
1380
|
export interface GetChannelMessageStatusResponse {
|
|
1279
1381
|
/**
|
|
@@ -1379,6 +1481,13 @@ export interface ListChannelMembershipsRequest {
|
|
|
1379
1481
|
* <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
|
|
1380
1482
|
*/
|
|
1381
1483
|
ChimeBearer: string | undefined;
|
|
1484
|
+
/**
|
|
1485
|
+
* <p>The ID of the SubChannel in the request.</p>
|
|
1486
|
+
* <note>
|
|
1487
|
+
* <p>Only required when listing a user's memberships in a particular sub-channel of an elastic channel.</p>
|
|
1488
|
+
* </note>
|
|
1489
|
+
*/
|
|
1490
|
+
SubChannelId?: string;
|
|
1382
1491
|
}
|
|
1383
1492
|
export interface ListChannelMembershipsResponse {
|
|
1384
1493
|
/**
|
|
@@ -1458,6 +1567,13 @@ export interface ListChannelMessagesRequest {
|
|
|
1458
1567
|
* <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
|
|
1459
1568
|
*/
|
|
1460
1569
|
ChimeBearer: string | undefined;
|
|
1570
|
+
/**
|
|
1571
|
+
* <p>The ID of the SubChannel in the request.</p>
|
|
1572
|
+
* <note>
|
|
1573
|
+
* <p>Only required when listing the messages in a SubChannel that the user belongs to.</p>
|
|
1574
|
+
* </note>
|
|
1575
|
+
*/
|
|
1576
|
+
SubChannelId?: string;
|
|
1461
1577
|
}
|
|
1462
1578
|
export interface ListChannelMessagesResponse {
|
|
1463
1579
|
/**
|
|
@@ -1472,6 +1588,10 @@ export interface ListChannelMessagesResponse {
|
|
|
1472
1588
|
* <p>The information about, and content of, each requested message.</p>
|
|
1473
1589
|
*/
|
|
1474
1590
|
ChannelMessages?: ChannelMessageSummary[];
|
|
1591
|
+
/**
|
|
1592
|
+
* <p>The ID of the SubChannel in the response.</p>
|
|
1593
|
+
*/
|
|
1594
|
+
SubChannelId?: string;
|
|
1475
1595
|
}
|
|
1476
1596
|
export interface ListChannelModeratorsRequest {
|
|
1477
1597
|
/**
|
|
@@ -1596,6 +1716,51 @@ export interface ListChannelsModeratedByAppInstanceUserResponse {
|
|
|
1596
1716
|
*/
|
|
1597
1717
|
NextToken?: string;
|
|
1598
1718
|
}
|
|
1719
|
+
export interface ListSubChannelsRequest {
|
|
1720
|
+
/**
|
|
1721
|
+
* <p>The ARN of elastic channel.</p>
|
|
1722
|
+
*/
|
|
1723
|
+
ChannelArn: string | undefined;
|
|
1724
|
+
/**
|
|
1725
|
+
* <p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>
|
|
1726
|
+
*/
|
|
1727
|
+
ChimeBearer: string | undefined;
|
|
1728
|
+
/**
|
|
1729
|
+
* <p>The maximum number of sub-channels that you want to return.</p>
|
|
1730
|
+
*/
|
|
1731
|
+
MaxResults?: number;
|
|
1732
|
+
/**
|
|
1733
|
+
* <p>The token passed by previous API calls until all requested sub-channels are returned.</p>
|
|
1734
|
+
*/
|
|
1735
|
+
NextToken?: string;
|
|
1736
|
+
}
|
|
1737
|
+
/**
|
|
1738
|
+
* <p>Summary of the sub-channels associated with the elastic channel.</p>
|
|
1739
|
+
*/
|
|
1740
|
+
export interface SubChannelSummary {
|
|
1741
|
+
/**
|
|
1742
|
+
* <p>The unique ID of a SubChannel.</p>
|
|
1743
|
+
*/
|
|
1744
|
+
SubChannelId?: string;
|
|
1745
|
+
/**
|
|
1746
|
+
* <p>The number of members in a SubChannel.</p>
|
|
1747
|
+
*/
|
|
1748
|
+
MembershipCount?: number;
|
|
1749
|
+
}
|
|
1750
|
+
export interface ListSubChannelsResponse {
|
|
1751
|
+
/**
|
|
1752
|
+
* <p>The ARN of elastic channel.</p>
|
|
1753
|
+
*/
|
|
1754
|
+
ChannelArn?: string;
|
|
1755
|
+
/**
|
|
1756
|
+
* <p>The information about each sub-channel.</p>
|
|
1757
|
+
*/
|
|
1758
|
+
SubChannels?: SubChannelSummary[];
|
|
1759
|
+
/**
|
|
1760
|
+
* <p>The token passed by previous API calls until all requested sub-channels are returned.</p>
|
|
1761
|
+
*/
|
|
1762
|
+
NextToken?: string;
|
|
1763
|
+
}
|
|
1599
1764
|
export interface ListTagsForResourceRequest {
|
|
1600
1765
|
/**
|
|
1601
1766
|
* <p>The ARN of the resource.</p>
|
|
@@ -1653,6 +1818,10 @@ export interface RedactChannelMessageRequest {
|
|
|
1653
1818
|
* <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
|
|
1654
1819
|
*/
|
|
1655
1820
|
ChimeBearer: string | undefined;
|
|
1821
|
+
/**
|
|
1822
|
+
* <p>The ID of the SubChannel in the request.</p>
|
|
1823
|
+
*/
|
|
1824
|
+
SubChannelId?: string;
|
|
1656
1825
|
}
|
|
1657
1826
|
export interface RedactChannelMessageResponse {
|
|
1658
1827
|
/**
|
|
@@ -1663,6 +1832,13 @@ export interface RedactChannelMessageResponse {
|
|
|
1663
1832
|
* <p>The ID of the message being redacted.</p>
|
|
1664
1833
|
*/
|
|
1665
1834
|
MessageId?: string;
|
|
1835
|
+
/**
|
|
1836
|
+
* <p>The ID of the SubChannel in the response.</p>
|
|
1837
|
+
* <note>
|
|
1838
|
+
* <p>Only required when redacting messages in a SubChannel that the user belongs to.</p>
|
|
1839
|
+
* </note>
|
|
1840
|
+
*/
|
|
1841
|
+
SubChannelId?: string;
|
|
1666
1842
|
}
|
|
1667
1843
|
export declare enum SearchFieldKey {
|
|
1668
1844
|
MEMBERS = "MEMBERS"
|
|
@@ -1758,6 +1934,10 @@ export interface SendChannelMessageRequest {
|
|
|
1758
1934
|
* <p>The attributes for the message, used for message filtering along with a <code>FilterRule</code> defined in the <code>PushNotificationPreferences</code>.</p>
|
|
1759
1935
|
*/
|
|
1760
1936
|
MessageAttributes?: Record<string, MessageAttributeValue>;
|
|
1937
|
+
/**
|
|
1938
|
+
* <p>The ID of the SubChannel in the request.</p>
|
|
1939
|
+
*/
|
|
1940
|
+
SubChannelId?: string;
|
|
1761
1941
|
}
|
|
1762
1942
|
export interface SendChannelMessageResponse {
|
|
1763
1943
|
/**
|
|
@@ -1772,6 +1952,10 @@ export interface SendChannelMessageResponse {
|
|
|
1772
1952
|
* <p>The status of the channel message.</p>
|
|
1773
1953
|
*/
|
|
1774
1954
|
Status?: ChannelMessageStatusStructure;
|
|
1955
|
+
/**
|
|
1956
|
+
* <p>The ID of the SubChannel in the response.</p>
|
|
1957
|
+
*/
|
|
1958
|
+
SubChannelId?: string;
|
|
1775
1959
|
}
|
|
1776
1960
|
export interface TagResourceRequest {
|
|
1777
1961
|
/**
|
|
@@ -1862,6 +2046,13 @@ export interface UpdateChannelMessageRequest {
|
|
|
1862
2046
|
* <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
|
|
1863
2047
|
*/
|
|
1864
2048
|
ChimeBearer: string | undefined;
|
|
2049
|
+
/**
|
|
2050
|
+
* <p>The ID of the SubChannel in the request.</p>
|
|
2051
|
+
* <note>
|
|
2052
|
+
* <p>Only required when updating messages in a SubChannel that the user belongs to.</p>
|
|
2053
|
+
* </note>
|
|
2054
|
+
*/
|
|
2055
|
+
SubChannelId?: string;
|
|
1865
2056
|
}
|
|
1866
2057
|
export interface UpdateChannelMessageResponse {
|
|
1867
2058
|
/**
|
|
@@ -1876,6 +2067,10 @@ export interface UpdateChannelMessageResponse {
|
|
|
1876
2067
|
* <p>The status of the message update.</p>
|
|
1877
2068
|
*/
|
|
1878
2069
|
Status?: ChannelMessageStatusStructure;
|
|
2070
|
+
/**
|
|
2071
|
+
* <p>The ID of the SubChannel in the response.</p>
|
|
2072
|
+
*/
|
|
2073
|
+
SubChannelId?: string;
|
|
1879
2074
|
}
|
|
1880
2075
|
export interface UpdateChannelReadMarkerRequest {
|
|
1881
2076
|
/**
|
|
@@ -1886,12 +2081,20 @@ export interface UpdateChannelReadMarkerRequest {
|
|
|
1886
2081
|
* <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
|
|
1887
2082
|
*/
|
|
1888
2083
|
ChimeBearer: string | undefined;
|
|
2084
|
+
/**
|
|
2085
|
+
* <p>The ID of the SubChannel in the request.</p>
|
|
2086
|
+
*/
|
|
2087
|
+
SubChannelId?: string;
|
|
1889
2088
|
}
|
|
1890
2089
|
export interface UpdateChannelReadMarkerResponse {
|
|
1891
2090
|
/**
|
|
1892
2091
|
* <p>The ARN of the channel.</p>
|
|
1893
2092
|
*/
|
|
1894
2093
|
ChannelArn?: string;
|
|
2094
|
+
/**
|
|
2095
|
+
* <p>The ID of the SubChannel in the response.</p>
|
|
2096
|
+
*/
|
|
2097
|
+
SubChannelId?: string;
|
|
1895
2098
|
}
|
|
1896
2099
|
/**
|
|
1897
2100
|
* @internal
|
|
@@ -1921,6 +2124,10 @@ export declare const BatchCreateChannelMembershipErrorFilterSensitiveLog: (obj:
|
|
|
1921
2124
|
* @internal
|
|
1922
2125
|
*/
|
|
1923
2126
|
export declare const BatchCreateChannelMembershipResponseFilterSensitiveLog: (obj: BatchCreateChannelMembershipResponse) => any;
|
|
2127
|
+
/**
|
|
2128
|
+
* @internal
|
|
2129
|
+
*/
|
|
2130
|
+
export declare const ElasticChannelConfigurationFilterSensitiveLog: (obj: ElasticChannelConfiguration) => any;
|
|
1924
2131
|
/**
|
|
1925
2132
|
* @internal
|
|
1926
2133
|
*/
|
|
@@ -2261,6 +2468,18 @@ export declare const ListChannelsModeratedByAppInstanceUserRequestFilterSensitiv
|
|
|
2261
2468
|
* @internal
|
|
2262
2469
|
*/
|
|
2263
2470
|
export declare const ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog: (obj: ListChannelsModeratedByAppInstanceUserResponse) => any;
|
|
2471
|
+
/**
|
|
2472
|
+
* @internal
|
|
2473
|
+
*/
|
|
2474
|
+
export declare const ListSubChannelsRequestFilterSensitiveLog: (obj: ListSubChannelsRequest) => any;
|
|
2475
|
+
/**
|
|
2476
|
+
* @internal
|
|
2477
|
+
*/
|
|
2478
|
+
export declare const SubChannelSummaryFilterSensitiveLog: (obj: SubChannelSummary) => any;
|
|
2479
|
+
/**
|
|
2480
|
+
* @internal
|
|
2481
|
+
*/
|
|
2482
|
+
export declare const ListSubChannelsResponseFilterSensitiveLog: (obj: ListSubChannelsResponse) => any;
|
|
2264
2483
|
/**
|
|
2265
2484
|
* @internal
|
|
2266
2485
|
*/
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListSubChannelsCommandInput, ListSubChannelsCommandOutput } from "../commands/ListSubChannelsCommand";
|
|
3
|
+
import { ChimeSDKMessagingPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListSubChannels(config: ChimeSDKMessagingPaginationConfiguration, input: ListSubChannelsCommandInput, ...additionalArguments: any): Paginator<ListSubChannelsCommandOutput>;
|
|
@@ -8,4 +8,5 @@ export * from "./ListChannelModeratorsPaginator";
|
|
|
8
8
|
export * from "./ListChannelsAssociatedWithChannelFlowPaginator";
|
|
9
9
|
export * from "./ListChannelsModeratedByAppInstanceUserPaginator";
|
|
10
10
|
export * from "./ListChannelsPaginator";
|
|
11
|
+
export * from "./ListSubChannelsPaginator";
|
|
11
12
|
export * from "./SearchChannelsPaginator";
|
|
@@ -35,6 +35,7 @@ import { ListChannelModeratorsCommandInput, ListChannelModeratorsCommandOutput }
|
|
|
35
35
|
import { ListChannelsAssociatedWithChannelFlowCommandInput, ListChannelsAssociatedWithChannelFlowCommandOutput } from "../commands/ListChannelsAssociatedWithChannelFlowCommand";
|
|
36
36
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "../commands/ListChannelsCommand";
|
|
37
37
|
import { ListChannelsModeratedByAppInstanceUserCommandInput, ListChannelsModeratedByAppInstanceUserCommandOutput } from "../commands/ListChannelsModeratedByAppInstanceUserCommand";
|
|
38
|
+
import { ListSubChannelsCommandInput, ListSubChannelsCommandOutput } from "../commands/ListSubChannelsCommand";
|
|
38
39
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
39
40
|
import { PutChannelMembershipPreferencesCommandInput, PutChannelMembershipPreferencesCommandOutput } from "../commands/PutChannelMembershipPreferencesCommand";
|
|
40
41
|
import { RedactChannelMessageCommandInput, RedactChannelMessageCommandOutput } from "../commands/RedactChannelMessageCommand";
|
|
@@ -81,6 +82,7 @@ export declare const serializeAws_restJson1ListChannelModeratorsCommand: (input:
|
|
|
81
82
|
export declare const serializeAws_restJson1ListChannelsCommand: (input: ListChannelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
82
83
|
export declare const serializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand: (input: ListChannelsAssociatedWithChannelFlowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
83
84
|
export declare const serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand: (input: ListChannelsModeratedByAppInstanceUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
85
|
+
export declare const serializeAws_restJson1ListSubChannelsCommand: (input: ListSubChannelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
84
86
|
export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
85
87
|
export declare const serializeAws_restJson1PutChannelMembershipPreferencesCommand: (input: PutChannelMembershipPreferencesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
86
88
|
export declare const serializeAws_restJson1RedactChannelMessageCommand: (input: RedactChannelMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -127,6 +129,7 @@ export declare const deserializeAws_restJson1ListChannelModeratorsCommand: (outp
|
|
|
127
129
|
export declare const deserializeAws_restJson1ListChannelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelsCommandOutput>;
|
|
128
130
|
export declare const deserializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelsAssociatedWithChannelFlowCommandOutput>;
|
|
129
131
|
export declare const deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelsModeratedByAppInstanceUserCommandOutput>;
|
|
132
|
+
export declare const deserializeAws_restJson1ListSubChannelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSubChannelsCommandOutput>;
|
|
130
133
|
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
131
134
|
export declare const deserializeAws_restJson1PutChannelMembershipPreferencesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutChannelMembershipPreferencesCommandOutput>;
|
|
132
135
|
export declare const deserializeAws_restJson1RedactChannelMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RedactChannelMessageCommandOutput>;
|
|
@@ -35,6 +35,7 @@ import { ListChannelModeratorsCommandInput, ListChannelModeratorsCommandOutput }
|
|
|
35
35
|
import { ListChannelsAssociatedWithChannelFlowCommandInput, ListChannelsAssociatedWithChannelFlowCommandOutput } from "./commands/ListChannelsAssociatedWithChannelFlowCommand";
|
|
36
36
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
37
37
|
import { ListChannelsModeratedByAppInstanceUserCommandInput, ListChannelsModeratedByAppInstanceUserCommandOutput } from "./commands/ListChannelsModeratedByAppInstanceUserCommand";
|
|
38
|
+
import { ListSubChannelsCommandInput, ListSubChannelsCommandOutput } from "./commands/ListSubChannelsCommand";
|
|
38
39
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
39
40
|
import { PutChannelMembershipPreferencesCommandInput, PutChannelMembershipPreferencesCommandOutput } from "./commands/PutChannelMembershipPreferencesCommand";
|
|
40
41
|
import { RedactChannelMessageCommandInput, RedactChannelMessageCommandOutput } from "./commands/RedactChannelMessageCommand";
|
|
@@ -189,6 +190,10 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
189
190
|
listChannelsModeratedByAppInstanceUser(args: ListChannelsModeratedByAppInstanceUserCommandInput, cb: (err: any, data?: ListChannelsModeratedByAppInstanceUserCommandOutput) => void): void;
|
|
190
191
|
listChannelsModeratedByAppInstanceUser(args: ListChannelsModeratedByAppInstanceUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsModeratedByAppInstanceUserCommandOutput) => void): void;
|
|
191
192
|
|
|
193
|
+
listSubChannels(args: ListSubChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListSubChannelsCommandOutput>;
|
|
194
|
+
listSubChannels(args: ListSubChannelsCommandInput, cb: (err: any, data?: ListSubChannelsCommandOutput) => void): void;
|
|
195
|
+
listSubChannels(args: ListSubChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubChannelsCommandOutput) => void): void;
|
|
196
|
+
|
|
192
197
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
193
198
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
194
199
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
@@ -41,6 +41,7 @@ import { ListChannelModeratorsCommandInput, ListChannelModeratorsCommandOutput }
|
|
|
41
41
|
import { ListChannelsAssociatedWithChannelFlowCommandInput, ListChannelsAssociatedWithChannelFlowCommandOutput } from "./commands/ListChannelsAssociatedWithChannelFlowCommand";
|
|
42
42
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
43
43
|
import { ListChannelsModeratedByAppInstanceUserCommandInput, ListChannelsModeratedByAppInstanceUserCommandOutput } from "./commands/ListChannelsModeratedByAppInstanceUserCommand";
|
|
44
|
+
import { ListSubChannelsCommandInput, ListSubChannelsCommandOutput } from "./commands/ListSubChannelsCommand";
|
|
44
45
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
45
46
|
import { PutChannelMembershipPreferencesCommandInput, PutChannelMembershipPreferencesCommandOutput } from "./commands/PutChannelMembershipPreferencesCommand";
|
|
46
47
|
import { RedactChannelMessageCommandInput, RedactChannelMessageCommandOutput } from "./commands/RedactChannelMessageCommand";
|
|
@@ -52,8 +53,8 @@ import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./command
|
|
|
52
53
|
import { UpdateChannelFlowCommandInput, UpdateChannelFlowCommandOutput } from "./commands/UpdateChannelFlowCommand";
|
|
53
54
|
import { UpdateChannelMessageCommandInput, UpdateChannelMessageCommandOutput } from "./commands/UpdateChannelMessageCommand";
|
|
54
55
|
import { UpdateChannelReadMarkerCommandInput, UpdateChannelReadMarkerCommandOutput } from "./commands/UpdateChannelReadMarkerCommand";
|
|
55
|
-
export declare type ServiceInputTypes = AssociateChannelFlowCommandInput | BatchCreateChannelMembershipCommandInput | ChannelFlowCallbackCommandInput | CreateChannelBanCommandInput | CreateChannelCommandInput | CreateChannelFlowCommandInput | CreateChannelMembershipCommandInput | CreateChannelModeratorCommandInput | DeleteChannelBanCommandInput | DeleteChannelCommandInput | DeleteChannelFlowCommandInput | DeleteChannelMembershipCommandInput | DeleteChannelMessageCommandInput | DeleteChannelModeratorCommandInput | DescribeChannelBanCommandInput | DescribeChannelCommandInput | DescribeChannelFlowCommandInput | DescribeChannelMembershipCommandInput | DescribeChannelMembershipForAppInstanceUserCommandInput | DescribeChannelModeratedByAppInstanceUserCommandInput | DescribeChannelModeratorCommandInput | DisassociateChannelFlowCommandInput | GetChannelMembershipPreferencesCommandInput | GetChannelMessageCommandInput | GetChannelMessageStatusCommandInput | GetMessagingSessionEndpointCommandInput | ListChannelBansCommandInput | ListChannelFlowsCommandInput | ListChannelMembershipsCommandInput | ListChannelMembershipsForAppInstanceUserCommandInput | ListChannelMessagesCommandInput | ListChannelModeratorsCommandInput | ListChannelsAssociatedWithChannelFlowCommandInput | ListChannelsCommandInput | ListChannelsModeratedByAppInstanceUserCommandInput | ListTagsForResourceCommandInput | PutChannelMembershipPreferencesCommandInput | RedactChannelMessageCommandInput | SearchChannelsCommandInput | SendChannelMessageCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput | UpdateChannelFlowCommandInput | UpdateChannelMessageCommandInput | UpdateChannelReadMarkerCommandInput;
|
|
56
|
-
export declare type ServiceOutputTypes = AssociateChannelFlowCommandOutput | BatchCreateChannelMembershipCommandOutput | ChannelFlowCallbackCommandOutput | CreateChannelBanCommandOutput | CreateChannelCommandOutput | CreateChannelFlowCommandOutput | CreateChannelMembershipCommandOutput | CreateChannelModeratorCommandOutput | DeleteChannelBanCommandOutput | DeleteChannelCommandOutput | DeleteChannelFlowCommandOutput | DeleteChannelMembershipCommandOutput | DeleteChannelMessageCommandOutput | DeleteChannelModeratorCommandOutput | DescribeChannelBanCommandOutput | DescribeChannelCommandOutput | DescribeChannelFlowCommandOutput | DescribeChannelMembershipCommandOutput | DescribeChannelMembershipForAppInstanceUserCommandOutput | DescribeChannelModeratedByAppInstanceUserCommandOutput | DescribeChannelModeratorCommandOutput | DisassociateChannelFlowCommandOutput | GetChannelMembershipPreferencesCommandOutput | GetChannelMessageCommandOutput | GetChannelMessageStatusCommandOutput | GetMessagingSessionEndpointCommandOutput | ListChannelBansCommandOutput | ListChannelFlowsCommandOutput | ListChannelMembershipsCommandOutput | ListChannelMembershipsForAppInstanceUserCommandOutput | ListChannelMessagesCommandOutput | ListChannelModeratorsCommandOutput | ListChannelsAssociatedWithChannelFlowCommandOutput | ListChannelsCommandOutput | ListChannelsModeratedByAppInstanceUserCommandOutput | ListTagsForResourceCommandOutput | PutChannelMembershipPreferencesCommandOutput | RedactChannelMessageCommandOutput | SearchChannelsCommandOutput | SendChannelMessageCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput | UpdateChannelFlowCommandOutput | UpdateChannelMessageCommandOutput | UpdateChannelReadMarkerCommandOutput;
|
|
56
|
+
export declare type ServiceInputTypes = AssociateChannelFlowCommandInput | BatchCreateChannelMembershipCommandInput | ChannelFlowCallbackCommandInput | CreateChannelBanCommandInput | CreateChannelCommandInput | CreateChannelFlowCommandInput | CreateChannelMembershipCommandInput | CreateChannelModeratorCommandInput | DeleteChannelBanCommandInput | DeleteChannelCommandInput | DeleteChannelFlowCommandInput | DeleteChannelMembershipCommandInput | DeleteChannelMessageCommandInput | DeleteChannelModeratorCommandInput | DescribeChannelBanCommandInput | DescribeChannelCommandInput | DescribeChannelFlowCommandInput | DescribeChannelMembershipCommandInput | DescribeChannelMembershipForAppInstanceUserCommandInput | DescribeChannelModeratedByAppInstanceUserCommandInput | DescribeChannelModeratorCommandInput | DisassociateChannelFlowCommandInput | GetChannelMembershipPreferencesCommandInput | GetChannelMessageCommandInput | GetChannelMessageStatusCommandInput | GetMessagingSessionEndpointCommandInput | ListChannelBansCommandInput | ListChannelFlowsCommandInput | ListChannelMembershipsCommandInput | ListChannelMembershipsForAppInstanceUserCommandInput | ListChannelMessagesCommandInput | ListChannelModeratorsCommandInput | ListChannelsAssociatedWithChannelFlowCommandInput | ListChannelsCommandInput | ListChannelsModeratedByAppInstanceUserCommandInput | ListSubChannelsCommandInput | ListTagsForResourceCommandInput | PutChannelMembershipPreferencesCommandInput | RedactChannelMessageCommandInput | SearchChannelsCommandInput | SendChannelMessageCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput | UpdateChannelFlowCommandInput | UpdateChannelMessageCommandInput | UpdateChannelReadMarkerCommandInput;
|
|
57
|
+
export declare type ServiceOutputTypes = AssociateChannelFlowCommandOutput | BatchCreateChannelMembershipCommandOutput | ChannelFlowCallbackCommandOutput | CreateChannelBanCommandOutput | CreateChannelCommandOutput | CreateChannelFlowCommandOutput | CreateChannelMembershipCommandOutput | CreateChannelModeratorCommandOutput | DeleteChannelBanCommandOutput | DeleteChannelCommandOutput | DeleteChannelFlowCommandOutput | DeleteChannelMembershipCommandOutput | DeleteChannelMessageCommandOutput | DeleteChannelModeratorCommandOutput | DescribeChannelBanCommandOutput | DescribeChannelCommandOutput | DescribeChannelFlowCommandOutput | DescribeChannelMembershipCommandOutput | DescribeChannelMembershipForAppInstanceUserCommandOutput | DescribeChannelModeratedByAppInstanceUserCommandOutput | DescribeChannelModeratorCommandOutput | DisassociateChannelFlowCommandOutput | GetChannelMembershipPreferencesCommandOutput | GetChannelMessageCommandOutput | GetChannelMessageStatusCommandOutput | GetMessagingSessionEndpointCommandOutput | ListChannelBansCommandOutput | ListChannelFlowsCommandOutput | ListChannelMembershipsCommandOutput | ListChannelMembershipsForAppInstanceUserCommandOutput | ListChannelMessagesCommandOutput | ListChannelModeratorsCommandOutput | ListChannelsAssociatedWithChannelFlowCommandOutput | ListChannelsCommandOutput | ListChannelsModeratedByAppInstanceUserCommandOutput | ListSubChannelsCommandOutput | ListTagsForResourceCommandOutput | PutChannelMembershipPreferencesCommandOutput | RedactChannelMessageCommandOutput | SearchChannelsCommandOutput | SendChannelMessageCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput | UpdateChannelFlowCommandOutput | UpdateChannelMessageCommandOutput | UpdateChannelReadMarkerCommandOutput;
|
|
57
58
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
58
59
|
|
|
59
60
|
requestHandler?: __HttpHandler;
|