@aws-sdk/client-chime-sdk-messaging 3.477.0 → 3.481.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-cjs/commands/AssociateChannelFlowCommand.js +18 -41
- package/dist-cjs/commands/BatchCreateChannelMembershipCommand.js +18 -41
- package/dist-cjs/commands/ChannelFlowCallbackCommand.js +18 -41
- package/dist-cjs/commands/CreateChannelBanCommand.js +18 -41
- package/dist-cjs/commands/CreateChannelCommand.js +18 -41
- package/dist-cjs/commands/CreateChannelFlowCommand.js +18 -41
- package/dist-cjs/commands/CreateChannelMembershipCommand.js +18 -41
- package/dist-cjs/commands/CreateChannelModeratorCommand.js +18 -41
- package/dist-cjs/commands/DeleteChannelBanCommand.js +18 -41
- package/dist-cjs/commands/DeleteChannelCommand.js +18 -41
- package/dist-cjs/commands/DeleteChannelFlowCommand.js +18 -41
- package/dist-cjs/commands/DeleteChannelMembershipCommand.js +18 -41
- package/dist-cjs/commands/DeleteChannelMessageCommand.js +18 -41
- package/dist-cjs/commands/DeleteChannelModeratorCommand.js +18 -41
- package/dist-cjs/commands/DeleteMessagingStreamingConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/DescribeChannelBanCommand.js +18 -41
- package/dist-cjs/commands/DescribeChannelCommand.js +18 -41
- package/dist-cjs/commands/DescribeChannelFlowCommand.js +18 -41
- package/dist-cjs/commands/DescribeChannelMembershipCommand.js +18 -41
- package/dist-cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +18 -41
- package/dist-cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +18 -41
- package/dist-cjs/commands/DescribeChannelModeratorCommand.js +18 -41
- package/dist-cjs/commands/DisassociateChannelFlowCommand.js +18 -41
- package/dist-cjs/commands/GetChannelMembershipPreferencesCommand.js +18 -41
- package/dist-cjs/commands/GetChannelMessageCommand.js +18 -41
- package/dist-cjs/commands/GetChannelMessageStatusCommand.js +18 -41
- package/dist-cjs/commands/GetMessagingSessionEndpointCommand.js +18 -41
- package/dist-cjs/commands/GetMessagingStreamingConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/ListChannelBansCommand.js +18 -41
- package/dist-cjs/commands/ListChannelFlowsCommand.js +18 -41
- package/dist-cjs/commands/ListChannelMembershipsCommand.js +18 -41
- package/dist-cjs/commands/ListChannelMembershipsForAppInstanceUserCommand.js +18 -41
- package/dist-cjs/commands/ListChannelMessagesCommand.js +18 -41
- package/dist-cjs/commands/ListChannelModeratorsCommand.js +18 -41
- package/dist-cjs/commands/ListChannelsAssociatedWithChannelFlowCommand.js +18 -41
- package/dist-cjs/commands/ListChannelsCommand.js +18 -41
- package/dist-cjs/commands/ListChannelsModeratedByAppInstanceUserCommand.js +18 -41
- package/dist-cjs/commands/ListSubChannelsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PutChannelExpirationSettingsCommand.js +18 -41
- package/dist-cjs/commands/PutChannelMembershipPreferencesCommand.js +18 -41
- package/dist-cjs/commands/PutMessagingStreamingConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/RedactChannelMessageCommand.js +18 -41
- package/dist-cjs/commands/SearchChannelsCommand.js +18 -41
- package/dist-cjs/commands/SendChannelMessageCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateChannelCommand.js +18 -41
- package/dist-cjs/commands/UpdateChannelFlowCommand.js +18 -41
- package/dist-cjs/commands/UpdateChannelMessageCommand.js +18 -41
- package/dist-cjs/commands/UpdateChannelReadMarkerCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListChannelBansPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelFlowsPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelMembershipsPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelMessagesPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelModeratorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSubChannelsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchChannelsPaginator.js +2 -24
- package/dist-es/commands/AssociateChannelFlowCommand.js +18 -41
- package/dist-es/commands/BatchCreateChannelMembershipCommand.js +18 -41
- package/dist-es/commands/ChannelFlowCallbackCommand.js +18 -41
- package/dist-es/commands/CreateChannelBanCommand.js +18 -41
- package/dist-es/commands/CreateChannelCommand.js +18 -41
- package/dist-es/commands/CreateChannelFlowCommand.js +18 -41
- package/dist-es/commands/CreateChannelMembershipCommand.js +18 -41
- package/dist-es/commands/CreateChannelModeratorCommand.js +18 -41
- package/dist-es/commands/DeleteChannelBanCommand.js +18 -41
- package/dist-es/commands/DeleteChannelCommand.js +18 -41
- package/dist-es/commands/DeleteChannelFlowCommand.js +18 -41
- package/dist-es/commands/DeleteChannelMembershipCommand.js +18 -41
- package/dist-es/commands/DeleteChannelMessageCommand.js +18 -41
- package/dist-es/commands/DeleteChannelModeratorCommand.js +18 -41
- package/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js +18 -41
- package/dist-es/commands/DescribeChannelBanCommand.js +18 -41
- package/dist-es/commands/DescribeChannelCommand.js +18 -41
- package/dist-es/commands/DescribeChannelFlowCommand.js +18 -41
- package/dist-es/commands/DescribeChannelMembershipCommand.js +18 -41
- package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +18 -41
- package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +18 -41
- package/dist-es/commands/DescribeChannelModeratorCommand.js +18 -41
- package/dist-es/commands/DisassociateChannelFlowCommand.js +18 -41
- package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +18 -41
- package/dist-es/commands/GetChannelMessageCommand.js +18 -41
- package/dist-es/commands/GetChannelMessageStatusCommand.js +18 -41
- package/dist-es/commands/GetMessagingSessionEndpointCommand.js +18 -41
- package/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js +18 -41
- package/dist-es/commands/ListChannelBansCommand.js +18 -41
- package/dist-es/commands/ListChannelFlowsCommand.js +18 -41
- package/dist-es/commands/ListChannelMembershipsCommand.js +18 -41
- package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +18 -41
- package/dist-es/commands/ListChannelMessagesCommand.js +18 -41
- package/dist-es/commands/ListChannelModeratorsCommand.js +18 -41
- package/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js +18 -41
- package/dist-es/commands/ListChannelsCommand.js +18 -41
- package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +18 -41
- package/dist-es/commands/ListSubChannelsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PutChannelExpirationSettingsCommand.js +18 -41
- package/dist-es/commands/PutChannelMembershipPreferencesCommand.js +18 -41
- package/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js +18 -41
- package/dist-es/commands/RedactChannelMessageCommand.js +18 -41
- package/dist-es/commands/SearchChannelsCommand.js +18 -41
- package/dist-es/commands/SendChannelMessageCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateChannelCommand.js +18 -41
- package/dist-es/commands/UpdateChannelFlowCommand.js +18 -41
- package/dist-es/commands/UpdateChannelMessageCommand.js +18 -41
- package/dist-es/commands/UpdateChannelReadMarkerCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListChannelBansPaginator.js +2 -23
- package/dist-es/pagination/ListChannelFlowsPaginator.js +2 -23
- package/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +2 -23
- package/dist-es/pagination/ListChannelMembershipsPaginator.js +2 -23
- package/dist-es/pagination/ListChannelMessagesPaginator.js +2 -23
- package/dist-es/pagination/ListChannelModeratorsPaginator.js +2 -23
- package/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js +2 -23
- package/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +2 -23
- package/dist-es/pagination/ListChannelsPaginator.js +2 -23
- package/dist-es/pagination/ListSubChannelsPaginator.js +2 -23
- package/dist-es/pagination/SearchChannelsPaginator.js +2 -23
- package/dist-types/commands/AssociateChannelFlowCommand.d.ts +6 -21
- package/dist-types/commands/BatchCreateChannelMembershipCommand.d.ts +6 -21
- package/dist-types/commands/ChannelFlowCallbackCommand.d.ts +6 -21
- package/dist-types/commands/CreateChannelBanCommand.d.ts +6 -21
- package/dist-types/commands/CreateChannelCommand.d.ts +6 -21
- package/dist-types/commands/CreateChannelFlowCommand.d.ts +6 -21
- package/dist-types/commands/CreateChannelMembershipCommand.d.ts +6 -21
- package/dist-types/commands/CreateChannelModeratorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteChannelBanCommand.d.ts +6 -21
- package/dist-types/commands/DeleteChannelCommand.d.ts +6 -21
- package/dist-types/commands/DeleteChannelFlowCommand.d.ts +6 -21
- package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +6 -21
- package/dist-types/commands/DeleteChannelMessageCommand.d.ts +6 -21
- package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeChannelBanCommand.d.ts +6 -21
- package/dist-types/commands/DescribeChannelCommand.d.ts +6 -21
- package/dist-types/commands/DescribeChannelFlowCommand.d.ts +6 -21
- package/dist-types/commands/DescribeChannelMembershipCommand.d.ts +6 -21
- package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +6 -21
- package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +6 -21
- package/dist-types/commands/DescribeChannelModeratorCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateChannelFlowCommand.d.ts +6 -21
- package/dist-types/commands/GetChannelMembershipPreferencesCommand.d.ts +6 -21
- package/dist-types/commands/GetChannelMessageCommand.d.ts +6 -21
- package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +6 -21
- package/dist-types/commands/GetMessagingSessionEndpointCommand.d.ts +6 -21
- package/dist-types/commands/GetMessagingStreamingConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/ListChannelBansCommand.d.ts +6 -21
- package/dist-types/commands/ListChannelFlowsCommand.d.ts +6 -21
- package/dist-types/commands/ListChannelMembershipsCommand.d.ts +6 -21
- package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +6 -21
- package/dist-types/commands/ListChannelMessagesCommand.d.ts +6 -21
- package/dist-types/commands/ListChannelModeratorsCommand.d.ts +6 -21
- package/dist-types/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +6 -21
- package/dist-types/commands/ListChannelsCommand.d.ts +6 -21
- package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +6 -21
- package/dist-types/commands/ListSubChannelsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PutChannelExpirationSettingsCommand.d.ts +6 -21
- package/dist-types/commands/PutChannelMembershipPreferencesCommand.d.ts +6 -21
- package/dist-types/commands/PutMessagingStreamingConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/RedactChannelMessageCommand.d.ts +6 -21
- package/dist-types/commands/SearchChannelsCommand.d.ts +6 -21
- package/dist-types/commands/SendChannelMessageCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateChannelCommand.d.ts +6 -21
- package/dist-types/commands/UpdateChannelFlowCommand.d.ts +6 -21
- package/dist-types/commands/UpdateChannelMessageCommand.d.ts +6 -21
- package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListChannelBansPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelFlowsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelMembershipsForAppInstanceUserPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelMembershipsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelMessagesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelModeratorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelsAssociatedWithChannelFlowPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelsModeratedByAppInstanceUserPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSubChannelsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchChannelsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssociateChannelFlowCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchCreateChannelMembershipCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ChannelFlowCallbackCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateChannelBanCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateChannelFlowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateChannelMembershipCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateChannelModeratorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteChannelBanCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteChannelFlowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteChannelMembershipCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteChannelMessageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteChannelModeratorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeChannelBanCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeChannelFlowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeChannelMembershipCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeChannelModeratorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateChannelFlowCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetChannelMembershipPreferencesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetChannelMessageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetChannelMessageStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetMessagingSessionEndpointCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetMessagingStreamingConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListChannelBansCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListChannelFlowsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListChannelMembershipsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListChannelMessagesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListChannelModeratorsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSubChannelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutChannelExpirationSettingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutChannelMembershipPreferencesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutMessagingStreamingConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RedactChannelMessageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SearchChannelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SendChannelMessageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateChannelFlowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateChannelMessageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateChannelReadMarkerCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListChannelBansPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelFlowsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelMembershipsForAppInstanceUserPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelMembershipsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelMessagesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelModeratorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelsAssociatedWithChannelFlowPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelsModeratedByAppInstanceUserPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSubChannelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchChannelsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListChannelsAssociatedWithChannelFlow = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKMessagingClient_1 = require("../ChimeSDKMessagingClient");
|
|
5
6
|
const ListChannelsAssociatedWithChannelFlowCommand_1 = require("../commands/ListChannelsAssociatedWithChannelFlowCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListChannelsAssociatedWithChannelFlowCommand_1.ListChannelsAssociatedWithChannelFlowCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListChannelsAssociatedWithChannelFlow(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKMessagingClient_1.ChimeSDKMessagingClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListChannelsAssociatedWithChannelFlow = paginateListChannelsAssociatedWithChannelFlow;
|
|
7
|
+
exports.paginateListChannelsAssociatedWithChannelFlow = (0, core_1.createPaginator)(ChimeSDKMessagingClient_1.ChimeSDKMessagingClient, ListChannelsAssociatedWithChannelFlowCommand_1.ListChannelsAssociatedWithChannelFlowCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListChannelsModeratedByAppInstanceUser = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKMessagingClient_1 = require("../ChimeSDKMessagingClient");
|
|
5
6
|
const ListChannelsModeratedByAppInstanceUserCommand_1 = require("../commands/ListChannelsModeratedByAppInstanceUserCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListChannelsModeratedByAppInstanceUserCommand_1.ListChannelsModeratedByAppInstanceUserCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListChannelsModeratedByAppInstanceUser(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKMessagingClient_1.ChimeSDKMessagingClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListChannelsModeratedByAppInstanceUser = paginateListChannelsModeratedByAppInstanceUser;
|
|
7
|
+
exports.paginateListChannelsModeratedByAppInstanceUser = (0, core_1.createPaginator)(ChimeSDKMessagingClient_1.ChimeSDKMessagingClient, ListChannelsModeratedByAppInstanceUserCommand_1.ListChannelsModeratedByAppInstanceUserCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListChannels = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKMessagingClient_1 = require("../ChimeSDKMessagingClient");
|
|
5
6
|
const ListChannelsCommand_1 = require("../commands/ListChannelsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListChannelsCommand_1.ListChannelsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListChannels(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKMessagingClient_1.ChimeSDKMessagingClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListChannels = paginateListChannels;
|
|
7
|
+
exports.paginateListChannels = (0, core_1.createPaginator)(ChimeSDKMessagingClient_1.ChimeSDKMessagingClient, ListChannelsCommand_1.ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSubChannels = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKMessagingClient_1 = require("../ChimeSDKMessagingClient");
|
|
5
6
|
const ListSubChannelsCommand_1 = require("../commands/ListSubChannelsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSubChannelsCommand_1.ListSubChannelsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSubChannels(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKMessagingClient_1.ChimeSDKMessagingClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListSubChannels = paginateListSubChannels;
|
|
7
|
+
exports.paginateListSubChannels = (0, core_1.createPaginator)(ChimeSDKMessagingClient_1.ChimeSDKMessagingClient, ListSubChannelsCommand_1.ListSubChannelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateSearchChannels = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKMessagingClient_1 = require("../ChimeSDKMessagingClient");
|
|
5
6
|
const SearchChannelsCommand_1 = require("../commands/SearchChannelsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new SearchChannelsCommand_1.SearchChannelsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateSearchChannels(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKMessagingClient_1.ChimeSDKMessagingClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateSearchChannels = paginateSearchChannels;
|
|
7
|
+
exports.paginateSearchChannels = (0, core_1.createPaginator)(ChimeSDKMessagingClient_1.ChimeSDKMessagingClient, SearchChannelsCommand_1.SearchChannelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_AssociateChannelFlowCommand, se_AssociateChannelFlowCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AssociateChannelFlowCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ChimeSDKMessagingClient";
|
|
26
|
-
const commandName = "AssociateChannelFlowCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ChimeMessagingService",
|
|
35
|
-
operation: "AssociateChannelFlow",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_AssociateChannelFlowCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AssociateChannelFlowCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AssociateChannelFlowCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ChimeMessagingService", "AssociateChannelFlow", {})
|
|
19
|
+
.n("ChimeSDKMessagingClient", "AssociateChannelFlowCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AssociateChannelFlowCommand)
|
|
22
|
+
.de(de_AssociateChannelFlowCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { BatchCreateChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_BatchCreateChannelMembershipCommand, se_BatchCreateChannelMembershipCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class BatchCreateChannelMembershipCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "ChimeSDKMessagingClient";
|
|
27
|
-
const commandName = "BatchCreateChannelMembershipCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: BatchCreateChannelMembershipResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "ChimeMessagingService",
|
|
36
|
-
operation: "BatchCreateChannelMembership",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_BatchCreateChannelMembershipCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_BatchCreateChannelMembershipCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class BatchCreateChannelMembershipCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ChimeMessagingService", "BatchCreateChannelMembership", {})
|
|
20
|
+
.n("ChimeSDKMessagingClient", "BatchCreateChannelMembershipCommand")
|
|
21
|
+
.f(void 0, BatchCreateChannelMembershipResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_BatchCreateChannelMembershipCommand)
|
|
23
|
+
.de(de_BatchCreateChannelMembershipCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { ChannelFlowCallbackRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_ChannelFlowCallbackCommand, se_ChannelFlowCallbackCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class ChannelFlowCallbackCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "ChimeSDKMessagingClient";
|
|
27
|
-
const commandName = "ChannelFlowCallbackCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: ChannelFlowCallbackRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "ChimeMessagingService",
|
|
36
|
-
operation: "ChannelFlowCallback",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_ChannelFlowCallbackCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ChannelFlowCallbackCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class ChannelFlowCallbackCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ChimeMessagingService", "ChannelFlowCallback", {})
|
|
20
|
+
.n("ChimeSDKMessagingClient", "ChannelFlowCallbackCommand")
|
|
21
|
+
.f(ChannelFlowCallbackRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_ChannelFlowCallbackCommand)
|
|
23
|
+
.de(de_ChannelFlowCallbackCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateChannelBanResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateChannelBanCommand, se_CreateChannelBanCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateChannelBanCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "ChimeSDKMessagingClient";
|
|
27
|
-
const commandName = "CreateChannelBanCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: CreateChannelBanResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "ChimeMessagingService",
|
|
36
|
-
operation: "CreateChannelBan",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateChannelBanCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateChannelBanCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateChannelBanCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ChimeMessagingService", "CreateChannelBan", {})
|
|
20
|
+
.n("ChimeSDKMessagingClient", "CreateChannelBanCommand")
|
|
21
|
+
.f(void 0, CreateChannelBanResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_CreateChannelBanCommand)
|
|
23
|
+
.de(de_CreateChannelBanCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateChannelRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateChannelCommand, se_CreateChannelCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateChannelCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "ChimeSDKMessagingClient";
|
|
27
|
-
const commandName = "CreateChannelCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateChannelRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "ChimeMessagingService",
|
|
36
|
-
operation: "CreateChannel",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateChannelCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateChannelCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateChannelCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ChimeMessagingService", "CreateChannel", {})
|
|
20
|
+
.n("ChimeSDKMessagingClient", "CreateChannelCommand")
|
|
21
|
+
.f(CreateChannelRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_CreateChannelCommand)
|
|
23
|
+
.de(de_CreateChannelCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateChannelFlowRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateChannelFlowCommand, se_CreateChannelFlowCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateChannelFlowCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "ChimeSDKMessagingClient";
|
|
27
|
-
const commandName = "CreateChannelFlowCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateChannelFlowRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "ChimeMessagingService",
|
|
36
|
-
operation: "CreateChannelFlow",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateChannelFlowCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateChannelFlowCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateChannelFlowCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ChimeMessagingService", "CreateChannelFlow", {})
|
|
20
|
+
.n("ChimeSDKMessagingClient", "CreateChannelFlowCommand")
|
|
21
|
+
.f(CreateChannelFlowRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_CreateChannelFlowCommand)
|
|
23
|
+
.de(de_CreateChannelFlowCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateChannelMembershipCommand, se_CreateChannelMembershipCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateChannelMembershipCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "ChimeSDKMessagingClient";
|
|
27
|
-
const commandName = "CreateChannelMembershipCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: CreateChannelMembershipResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "ChimeMessagingService",
|
|
36
|
-
operation: "CreateChannelMembership",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateChannelMembershipCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateChannelMembershipCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateChannelMembershipCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ChimeMessagingService", "CreateChannelMembership", {})
|
|
20
|
+
.n("ChimeSDKMessagingClient", "CreateChannelMembershipCommand")
|
|
21
|
+
.f(void 0, CreateChannelMembershipResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_CreateChannelMembershipCommand)
|
|
23
|
+
.de(de_CreateChannelMembershipCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|