@aws-sdk/client-chime-sdk-messaging 3.299.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AssociateChannelFlowCommand.d.ts +5 -0
- package/dist-types/commands/BatchCreateChannelMembershipCommand.d.ts +9 -0
- package/dist-types/commands/ChannelFlowCallbackCommand.d.ts +24 -0
- package/dist-types/commands/CreateChannelBanCommand.d.ts +5 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +31 -0
- package/dist-types/commands/CreateChannelFlowCommand.d.ts +24 -0
- package/dist-types/commands/CreateChannelMembershipCommand.d.ts +7 -0
- package/dist-types/commands/CreateChannelModeratorCommand.d.ts +5 -0
- package/dist-types/commands/DeleteChannelBanCommand.d.ts +5 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +5 -0
- package/dist-types/commands/DeleteChannelFlowCommand.d.ts +3 -0
- package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +6 -0
- package/dist-types/commands/DeleteChannelMessageCommand.d.ts +6 -0
- package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +5 -0
- package/dist-types/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeChannelBanCommand.d.ts +5 -0
- package/dist-types/commands/DescribeChannelCommand.d.ts +4 -0
- package/dist-types/commands/DescribeChannelFlowCommand.d.ts +3 -0
- package/dist-types/commands/DescribeChannelMembershipCommand.d.ts +6 -0
- package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +5 -0
- package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +5 -0
- package/dist-types/commands/DescribeChannelModeratorCommand.d.ts +5 -0
- package/dist-types/commands/DisassociateChannelFlowCommand.d.ts +5 -0
- package/dist-types/commands/GetChannelMembershipPreferencesCommand.d.ts +5 -0
- package/dist-types/commands/GetChannelMessageCommand.d.ts +6 -0
- package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +6 -0
- package/dist-types/commands/GetMessagingSessionEndpointCommand.d.ts +1 -0
- package/dist-types/commands/GetMessagingStreamingConfigurationsCommand.d.ts +3 -0
- package/dist-types/commands/ListChannelBansCommand.d.ts +6 -0
- package/dist-types/commands/ListChannelFlowsCommand.d.ts +5 -0
- package/dist-types/commands/ListChannelMembershipsCommand.d.ts +8 -0
- package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +6 -0
- package/dist-types/commands/ListChannelMessagesCommand.d.ts +10 -0
- package/dist-types/commands/ListChannelModeratorsCommand.d.ts +6 -0
- package/dist-types/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +5 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +7 -0
- package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +6 -0
- package/dist-types/commands/ListSubChannelsCommand.d.ts +6 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PutChannelExpirationSettingsCommand.d.ts +8 -0
- package/dist-types/commands/PutChannelMembershipPreferencesCommand.d.ts +11 -0
- package/dist-types/commands/PutMessagingStreamingConfigurationsCommand.d.ts +9 -0
- package/dist-types/commands/RedactChannelMessageCommand.d.ts +6 -0
- package/dist-types/commands/SearchChannelsCommand.d.ts +14 -0
- package/dist-types/commands/SendChannelMessageCommand.d.ts +23 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +7 -0
- package/dist-types/commands/UpdateChannelFlowCommand.d.ts +17 -0
- package/dist-types/commands/UpdateChannelMessageCommand.d.ts +9 -0
- package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +5 -0
- package/package.json +8 -8
|
@@ -33,6 +33,11 @@ export interface AssociateChannelFlowCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* import { ChimeSDKMessagingClient, AssociateChannelFlowCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
34
34
|
* // const { ChimeSDKMessagingClient, AssociateChannelFlowCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
35
35
|
* const client = new ChimeSDKMessagingClient(config);
|
|
36
|
+
* const input = { // AssociateChannelFlowRequest
|
|
37
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
38
|
+
* ChannelFlowArn: "STRING_VALUE", // required
|
|
39
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
36
41
|
* const command = new AssociateChannelFlowCommand(input);
|
|
37
42
|
* const response = await client.send(command);
|
|
38
43
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface BatchCreateChannelMembershipCommandOutput extends BatchCreateCh
|
|
|
26
26
|
* import { ChimeSDKMessagingClient, BatchCreateChannelMembershipCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
27
27
|
* // const { ChimeSDKMessagingClient, BatchCreateChannelMembershipCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
28
28
|
* const client = new ChimeSDKMessagingClient(config);
|
|
29
|
+
* const input = { // BatchCreateChannelMembershipRequest
|
|
30
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
31
|
+
* Type: "DEFAULT" || "HIDDEN",
|
|
32
|
+
* MemberArns: [ // MemberArns // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
36
|
+
* SubChannelId: "STRING_VALUE",
|
|
37
|
+
* };
|
|
29
38
|
* const command = new BatchCreateChannelMembershipCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -38,6 +38,30 @@ export interface ChannelFlowCallbackCommandOutput extends ChannelFlowCallbackRes
|
|
|
38
38
|
* import { ChimeSDKMessagingClient, ChannelFlowCallbackCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
39
39
|
* // const { ChimeSDKMessagingClient, ChannelFlowCallbackCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
40
40
|
* const client = new ChimeSDKMessagingClient(config);
|
|
41
|
+
* const input = { // ChannelFlowCallbackRequest
|
|
42
|
+
* CallbackId: "STRING_VALUE", // required
|
|
43
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
44
|
+
* DeleteResource: true || false,
|
|
45
|
+
* ChannelMessage: { // ChannelMessageCallback
|
|
46
|
+
* MessageId: "STRING_VALUE", // required
|
|
47
|
+
* Content: "STRING_VALUE",
|
|
48
|
+
* Metadata: "STRING_VALUE",
|
|
49
|
+
* PushNotification: { // PushNotificationConfiguration
|
|
50
|
+
* Title: "STRING_VALUE",
|
|
51
|
+
* Body: "STRING_VALUE",
|
|
52
|
+
* Type: "DEFAULT" || "VOIP",
|
|
53
|
+
* },
|
|
54
|
+
* MessageAttributes: { // MessageAttributeMap
|
|
55
|
+
* "<keys>": { // MessageAttributeValue
|
|
56
|
+
* StringValues: [ // MessageAttributeStringValues
|
|
57
|
+
* "STRING_VALUE",
|
|
58
|
+
* ],
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* SubChannelId: "STRING_VALUE",
|
|
62
|
+
* ContentType: "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* };
|
|
41
65
|
* const command = new ChannelFlowCallbackCommand(input);
|
|
42
66
|
* const response = await client.send(command);
|
|
43
67
|
* ```
|
|
@@ -36,6 +36,11 @@ export interface CreateChannelBanCommandOutput extends CreateChannelBanResponse,
|
|
|
36
36
|
* import { ChimeSDKMessagingClient, CreateChannelBanCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
37
37
|
* // const { ChimeSDKMessagingClient, CreateChannelBanCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
38
38
|
* const client = new ChimeSDKMessagingClient(config);
|
|
39
|
+
* const input = { // CreateChannelBanRequest
|
|
40
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
41
|
+
* MemberArn: "STRING_VALUE", // required
|
|
42
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
39
44
|
* const command = new CreateChannelBanCommand(input);
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
@@ -34,6 +34,37 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
34
34
|
* import { ChimeSDKMessagingClient, CreateChannelCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
35
35
|
* // const { ChimeSDKMessagingClient, CreateChannelCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
36
36
|
* const client = new ChimeSDKMessagingClient(config);
|
|
37
|
+
* const input = { // CreateChannelRequest
|
|
38
|
+
* AppInstanceArn: "STRING_VALUE", // required
|
|
39
|
+
* Name: "STRING_VALUE", // required
|
|
40
|
+
* Mode: "UNRESTRICTED" || "RESTRICTED",
|
|
41
|
+
* Privacy: "PUBLIC" || "PRIVATE",
|
|
42
|
+
* Metadata: "STRING_VALUE",
|
|
43
|
+
* ClientRequestToken: "STRING_VALUE", // required
|
|
44
|
+
* Tags: [ // TagList
|
|
45
|
+
* { // Tag
|
|
46
|
+
* Key: "STRING_VALUE", // required
|
|
47
|
+
* Value: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
51
|
+
* ChannelId: "STRING_VALUE",
|
|
52
|
+
* MemberArns: [ // ChannelMemberArns
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* ModeratorArns: [ // ChannelModeratorArns
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* ElasticChannelConfiguration: { // ElasticChannelConfiguration
|
|
59
|
+
* MaximumSubChannels: Number("int"), // required
|
|
60
|
+
* TargetMembershipsPerSubChannel: Number("int"), // required
|
|
61
|
+
* MinimumMembershipPercentage: Number("int"), // required
|
|
62
|
+
* },
|
|
63
|
+
* ExpirationSettings: { // ExpirationSettings
|
|
64
|
+
* ExpirationDays: Number("int"), // required
|
|
65
|
+
* ExpirationCriterion: "CREATED_TIMESTAMP" || "LAST_MESSAGE_TIMESTAMP", // required
|
|
66
|
+
* },
|
|
67
|
+
* };
|
|
37
68
|
* const command = new CreateChannelCommand(input);
|
|
38
69
|
* const response = await client.send(command);
|
|
39
70
|
* ```
|
|
@@ -45,6 +45,30 @@ export interface CreateChannelFlowCommandOutput extends CreateChannelFlowRespons
|
|
|
45
45
|
* import { ChimeSDKMessagingClient, CreateChannelFlowCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
46
46
|
* // const { ChimeSDKMessagingClient, CreateChannelFlowCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
47
47
|
* const client = new ChimeSDKMessagingClient(config);
|
|
48
|
+
* const input = { // CreateChannelFlowRequest
|
|
49
|
+
* AppInstanceArn: "STRING_VALUE", // required
|
|
50
|
+
* Processors: [ // ProcessorList // required
|
|
51
|
+
* { // Processor
|
|
52
|
+
* Name: "STRING_VALUE", // required
|
|
53
|
+
* Configuration: { // ProcessorConfiguration
|
|
54
|
+
* Lambda: { // LambdaConfiguration
|
|
55
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
56
|
+
* InvocationType: "ASYNC", // required
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* ExecutionOrder: Number("int"), // required
|
|
60
|
+
* FallbackAction: "CONTINUE" || "ABORT", // required
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* Name: "STRING_VALUE", // required
|
|
64
|
+
* Tags: [ // TagList
|
|
65
|
+
* { // Tag
|
|
66
|
+
* Key: "STRING_VALUE", // required
|
|
67
|
+
* Value: "STRING_VALUE", // required
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* ClientRequestToken: "STRING_VALUE", // required
|
|
71
|
+
* };
|
|
48
72
|
* const command = new CreateChannelFlowCommand(input);
|
|
49
73
|
* const response = await client.send(command);
|
|
50
74
|
* ```
|
|
@@ -59,6 +59,13 @@ export interface CreateChannelMembershipCommandOutput extends CreateChannelMembe
|
|
|
59
59
|
* import { ChimeSDKMessagingClient, CreateChannelMembershipCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
60
60
|
* // const { ChimeSDKMessagingClient, CreateChannelMembershipCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
61
61
|
* const client = new ChimeSDKMessagingClient(config);
|
|
62
|
+
* const input = { // CreateChannelMembershipRequest
|
|
63
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
64
|
+
* MemberArn: "STRING_VALUE", // required
|
|
65
|
+
* Type: "DEFAULT" || "HIDDEN", // required
|
|
66
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
67
|
+
* SubChannelId: "STRING_VALUE",
|
|
68
|
+
* };
|
|
62
69
|
* const command = new CreateChannelMembershipCommand(input);
|
|
63
70
|
* const response = await client.send(command);
|
|
64
71
|
* ```
|
|
@@ -48,6 +48,11 @@ export interface CreateChannelModeratorCommandOutput extends CreateChannelModera
|
|
|
48
48
|
* import { ChimeSDKMessagingClient, CreateChannelModeratorCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
49
49
|
* // const { ChimeSDKMessagingClient, CreateChannelModeratorCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
50
50
|
* const client = new ChimeSDKMessagingClient(config);
|
|
51
|
+
* const input = { // CreateChannelModeratorRequest
|
|
52
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
53
|
+
* ChannelModeratorArn: "STRING_VALUE", // required
|
|
54
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
55
|
+
* };
|
|
51
56
|
* const command = new CreateChannelModeratorCommand(input);
|
|
52
57
|
* const response = await client.send(command);
|
|
53
58
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface DeleteChannelBanCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* import { ChimeSDKMessagingClient, DeleteChannelBanCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
32
32
|
* // const { ChimeSDKMessagingClient, DeleteChannelBanCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
33
33
|
* const client = new ChimeSDKMessagingClient(config);
|
|
34
|
+
* const input = { // DeleteChannelBanRequest
|
|
35
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
36
|
+
* MemberArn: "STRING_VALUE", // required
|
|
37
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
34
39
|
* const command = new DeleteChannelBanCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -32,6 +32,11 @@ export interface DeleteChannelCommandOutput extends __MetadataBearer {
|
|
|
32
32
|
* import { ChimeSDKMessagingClient, DeleteChannelCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
33
33
|
* // const { ChimeSDKMessagingClient, DeleteChannelCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
34
34
|
* const client = new ChimeSDKMessagingClient(config);
|
|
35
|
+
* const input = { // DeleteChannelRequest
|
|
36
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
37
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
38
|
+
* SubChannelId: "STRING_VALUE",
|
|
39
|
+
* };
|
|
35
40
|
* const command = new DeleteChannelCommand(input);
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DeleteChannelFlowCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* import { ChimeSDKMessagingClient, DeleteChannelFlowCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
31
31
|
* // const { ChimeSDKMessagingClient, DeleteChannelFlowCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
32
32
|
* const client = new ChimeSDKMessagingClient(config);
|
|
33
|
+
* const input = { // DeleteChannelFlowRequest
|
|
34
|
+
* ChannelFlowArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DeleteChannelFlowCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -31,6 +31,12 @@ export interface DeleteChannelMembershipCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* import { ChimeSDKMessagingClient, DeleteChannelMembershipCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
32
32
|
* // const { ChimeSDKMessagingClient, DeleteChannelMembershipCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
33
33
|
* const client = new ChimeSDKMessagingClient(config);
|
|
34
|
+
* const input = { // DeleteChannelMembershipRequest
|
|
35
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
36
|
+
* MemberArn: "STRING_VALUE", // required
|
|
37
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
38
|
+
* SubChannelId: "STRING_VALUE",
|
|
39
|
+
* };
|
|
34
40
|
* const command = new DeleteChannelMembershipCommand(input);
|
|
35
41
|
* const response = await client.send(command);
|
|
36
42
|
* ```
|
|
@@ -33,6 +33,12 @@ export interface DeleteChannelMessageCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* import { ChimeSDKMessagingClient, DeleteChannelMessageCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
34
34
|
* // const { ChimeSDKMessagingClient, DeleteChannelMessageCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
35
35
|
* const client = new ChimeSDKMessagingClient(config);
|
|
36
|
+
* const input = { // DeleteChannelMessageRequest
|
|
37
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
38
|
+
* MessageId: "STRING_VALUE", // required
|
|
39
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
40
|
+
* SubChannelId: "STRING_VALUE",
|
|
41
|
+
* };
|
|
36
42
|
* const command = new DeleteChannelMessageCommand(input);
|
|
37
43
|
* const response = await client.send(command);
|
|
38
44
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface DeleteChannelModeratorCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* import { ChimeSDKMessagingClient, DeleteChannelModeratorCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
32
32
|
* // const { ChimeSDKMessagingClient, DeleteChannelModeratorCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
33
33
|
* const client = new ChimeSDKMessagingClient(config);
|
|
34
|
+
* const input = { // DeleteChannelModeratorRequest
|
|
35
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
36
|
+
* ChannelModeratorArn: "STRING_VALUE", // required
|
|
37
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
34
39
|
* const command = new DeleteChannelModeratorCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteMessagingStreamingConfigurationsCommandOutput extends __M
|
|
|
27
27
|
* import { ChimeSDKMessagingClient, DeleteMessagingStreamingConfigurationsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
28
28
|
* // const { ChimeSDKMessagingClient, DeleteMessagingStreamingConfigurationsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
29
29
|
* const client = new ChimeSDKMessagingClient(config);
|
|
30
|
+
* const input = { // DeleteMessagingStreamingConfigurationsRequest
|
|
31
|
+
* AppInstanceArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteMessagingStreamingConfigurationsCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface DescribeChannelBanCommandOutput extends DescribeChannelBanRespo
|
|
|
31
31
|
* import { ChimeSDKMessagingClient, DescribeChannelBanCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
32
32
|
* // const { ChimeSDKMessagingClient, DescribeChannelBanCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
33
33
|
* const client = new ChimeSDKMessagingClient(config);
|
|
34
|
+
* const input = { // DescribeChannelBanRequest
|
|
35
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
36
|
+
* MemberArn: "STRING_VALUE", // required
|
|
37
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
34
39
|
* const command = new DescribeChannelBanCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -32,6 +32,10 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
|
|
|
32
32
|
* import { ChimeSDKMessagingClient, DescribeChannelCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
33
33
|
* // const { ChimeSDKMessagingClient, DescribeChannelCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
34
34
|
* const client = new ChimeSDKMessagingClient(config);
|
|
35
|
+
* const input = { // DescribeChannelRequest
|
|
36
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
37
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
35
39
|
* const command = new DescribeChannelCommand(input);
|
|
36
40
|
* const response = await client.send(command);
|
|
37
41
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeChannelFlowCommandOutput extends DescribeChannelFlowRes
|
|
|
26
26
|
* import { ChimeSDKMessagingClient, DescribeChannelFlowCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
27
27
|
* // const { ChimeSDKMessagingClient, DescribeChannelFlowCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
28
28
|
* const client = new ChimeSDKMessagingClient(config);
|
|
29
|
+
* const input = { // DescribeChannelFlowRequest
|
|
30
|
+
* ChannelFlowArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeChannelFlowCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -31,6 +31,12 @@ export interface DescribeChannelMembershipCommandOutput extends DescribeChannelM
|
|
|
31
31
|
* import { ChimeSDKMessagingClient, DescribeChannelMembershipCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
32
32
|
* // const { ChimeSDKMessagingClient, DescribeChannelMembershipCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
33
33
|
* const client = new ChimeSDKMessagingClient(config);
|
|
34
|
+
* const input = { // DescribeChannelMembershipRequest
|
|
35
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
36
|
+
* MemberArn: "STRING_VALUE", // required
|
|
37
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
38
|
+
* SubChannelId: "STRING_VALUE",
|
|
39
|
+
* };
|
|
34
40
|
* const command = new DescribeChannelMembershipCommand(input);
|
|
35
41
|
* const response = await client.send(command);
|
|
36
42
|
* ```
|
|
@@ -32,6 +32,11 @@ export interface DescribeChannelMembershipForAppInstanceUserCommandOutput extend
|
|
|
32
32
|
* import { ChimeSDKMessagingClient, DescribeChannelMembershipForAppInstanceUserCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
33
33
|
* // const { ChimeSDKMessagingClient, DescribeChannelMembershipForAppInstanceUserCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
34
34
|
* const client = new ChimeSDKMessagingClient(config);
|
|
35
|
+
* const input = { // DescribeChannelMembershipForAppInstanceUserRequest
|
|
36
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
37
|
+
* AppInstanceUserArn: "STRING_VALUE", // required
|
|
38
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
35
40
|
* const command = new DescribeChannelMembershipForAppInstanceUserCommand(input);
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
@@ -32,6 +32,11 @@ export interface DescribeChannelModeratedByAppInstanceUserCommandOutput extends
|
|
|
32
32
|
* import { ChimeSDKMessagingClient, DescribeChannelModeratedByAppInstanceUserCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
33
33
|
* // const { ChimeSDKMessagingClient, DescribeChannelModeratedByAppInstanceUserCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
34
34
|
* const client = new ChimeSDKMessagingClient(config);
|
|
35
|
+
* const input = { // DescribeChannelModeratedByAppInstanceUserRequest
|
|
36
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
37
|
+
* AppInstanceUserArn: "STRING_VALUE", // required
|
|
38
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
35
40
|
* const command = new DescribeChannelModeratedByAppInstanceUserCommand(input);
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface DescribeChannelModeratorCommandOutput extends DescribeChannelMo
|
|
|
31
31
|
* import { ChimeSDKMessagingClient, DescribeChannelModeratorCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
32
32
|
* // const { ChimeSDKMessagingClient, DescribeChannelModeratorCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
33
33
|
* const client = new ChimeSDKMessagingClient(config);
|
|
34
|
+
* const input = { // DescribeChannelModeratorRequest
|
|
35
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
36
|
+
* ChannelModeratorArn: "STRING_VALUE", // required
|
|
37
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
34
39
|
* const command = new DescribeChannelModeratorCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -33,6 +33,11 @@ export interface DisassociateChannelFlowCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* import { ChimeSDKMessagingClient, DisassociateChannelFlowCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
34
34
|
* // const { ChimeSDKMessagingClient, DisassociateChannelFlowCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
35
35
|
* const client = new ChimeSDKMessagingClient(config);
|
|
36
|
+
* const input = { // DisassociateChannelFlowRequest
|
|
37
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
38
|
+
* ChannelFlowArn: "STRING_VALUE", // required
|
|
39
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
36
41
|
* const command = new DisassociateChannelFlowCommand(input);
|
|
37
42
|
* const response = await client.send(command);
|
|
38
43
|
* ```
|
|
@@ -35,6 +35,11 @@ export interface GetChannelMembershipPreferencesCommandOutput extends GetChannel
|
|
|
35
35
|
* import { ChimeSDKMessagingClient, GetChannelMembershipPreferencesCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
36
36
|
* // const { ChimeSDKMessagingClient, GetChannelMembershipPreferencesCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
37
37
|
* const client = new ChimeSDKMessagingClient(config);
|
|
38
|
+
* const input = { // GetChannelMembershipPreferencesRequest
|
|
39
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
40
|
+
* MemberArn: "STRING_VALUE", // required
|
|
41
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
38
43
|
* const command = new GetChannelMembershipPreferencesCommand(input);
|
|
39
44
|
* const response = await client.send(command);
|
|
40
45
|
* ```
|
|
@@ -31,6 +31,12 @@ export interface GetChannelMessageCommandOutput extends GetChannelMessageRespons
|
|
|
31
31
|
* import { ChimeSDKMessagingClient, GetChannelMessageCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
32
32
|
* // const { ChimeSDKMessagingClient, GetChannelMessageCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
33
33
|
* const client = new ChimeSDKMessagingClient(config);
|
|
34
|
+
* const input = { // GetChannelMessageRequest
|
|
35
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
36
|
+
* MessageId: "STRING_VALUE", // required
|
|
37
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
38
|
+
* SubChannelId: "STRING_VALUE",
|
|
39
|
+
* };
|
|
34
40
|
* const command = new GetChannelMessageCommand(input);
|
|
35
41
|
* const response = await client.send(command);
|
|
36
42
|
* ```
|
|
@@ -61,6 +61,12 @@ export interface GetChannelMessageStatusCommandOutput extends GetChannelMessageS
|
|
|
61
61
|
* import { ChimeSDKMessagingClient, GetChannelMessageStatusCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
62
62
|
* // const { ChimeSDKMessagingClient, GetChannelMessageStatusCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
63
63
|
* const client = new ChimeSDKMessagingClient(config);
|
|
64
|
+
* const input = { // GetChannelMessageStatusRequest
|
|
65
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
66
|
+
* MessageId: "STRING_VALUE", // required
|
|
67
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
68
|
+
* SubChannelId: "STRING_VALUE",
|
|
69
|
+
* };
|
|
64
70
|
* const command = new GetChannelMessageStatusCommand(input);
|
|
65
71
|
* const response = await client.send(command);
|
|
66
72
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface GetMessagingSessionEndpointCommandOutput extends GetMessagingSe
|
|
|
26
26
|
* import { ChimeSDKMessagingClient, GetMessagingSessionEndpointCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
27
27
|
* // const { ChimeSDKMessagingClient, GetMessagingSessionEndpointCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
28
28
|
* const client = new ChimeSDKMessagingClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new GetMessagingSessionEndpointCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetMessagingStreamingConfigurationsCommandOutput extends GetMes
|
|
|
27
27
|
* import { ChimeSDKMessagingClient, GetMessagingStreamingConfigurationsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
28
28
|
* // const { ChimeSDKMessagingClient, GetMessagingStreamingConfigurationsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
29
29
|
* const client = new ChimeSDKMessagingClient(config);
|
|
30
|
+
* const input = { // GetMessagingStreamingConfigurationsRequest
|
|
31
|
+
* AppInstanceArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetMessagingStreamingConfigurationsCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -31,6 +31,12 @@ export interface ListChannelBansCommandOutput extends ListChannelBansResponse, _
|
|
|
31
31
|
* import { ChimeSDKMessagingClient, ListChannelBansCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
32
32
|
* // const { ChimeSDKMessagingClient, ListChannelBansCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
33
33
|
* const client = new ChimeSDKMessagingClient(config);
|
|
34
|
+
* const input = { // ListChannelBansRequest
|
|
35
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
34
40
|
* const command = new ListChannelBansCommand(input);
|
|
35
41
|
* const response = await client.send(command);
|
|
36
42
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListChannelFlowsCommandOutput extends ListChannelFlowsResponse,
|
|
|
26
26
|
* import { ChimeSDKMessagingClient, ListChannelFlowsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
27
27
|
* // const { ChimeSDKMessagingClient, ListChannelFlowsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
28
28
|
* const client = new ChimeSDKMessagingClient(config);
|
|
29
|
+
* const input = { // ListChannelFlowsRequest
|
|
30
|
+
* AppInstanceArn: "STRING_VALUE", // required
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListChannelFlowsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -33,6 +33,14 @@ export interface ListChannelMembershipsCommandOutput extends ListChannelMembersh
|
|
|
33
33
|
* import { ChimeSDKMessagingClient, ListChannelMembershipsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
34
34
|
* // const { ChimeSDKMessagingClient, ListChannelMembershipsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
35
35
|
* const client = new ChimeSDKMessagingClient(config);
|
|
36
|
+
* const input = { // ListChannelMembershipsRequest
|
|
37
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
38
|
+
* Type: "DEFAULT" || "HIDDEN",
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
42
|
+
* SubChannelId: "STRING_VALUE",
|
|
43
|
+
* };
|
|
36
44
|
* const command = new ListChannelMembershipsCommand(input);
|
|
37
45
|
* const response = await client.send(command);
|
|
38
46
|
* ```
|
|
@@ -32,6 +32,12 @@ export interface ListChannelMembershipsForAppInstanceUserCommandOutput extends L
|
|
|
32
32
|
* import { ChimeSDKMessagingClient, ListChannelMembershipsForAppInstanceUserCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
33
33
|
* // const { ChimeSDKMessagingClient, ListChannelMembershipsForAppInstanceUserCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
34
34
|
* const client = new ChimeSDKMessagingClient(config);
|
|
35
|
+
* const input = { // ListChannelMembershipsForAppInstanceUserRequest
|
|
36
|
+
* AppInstanceUserArn: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
35
41
|
* const command = new ListChannelMembershipsForAppInstanceUserCommand(input);
|
|
36
42
|
* const response = await client.send(command);
|
|
37
43
|
* ```
|
|
@@ -36,6 +36,16 @@ export interface ListChannelMessagesCommandOutput extends ListChannelMessagesRes
|
|
|
36
36
|
* import { ChimeSDKMessagingClient, ListChannelMessagesCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
37
37
|
* // const { ChimeSDKMessagingClient, ListChannelMessagesCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
38
38
|
* const client = new ChimeSDKMessagingClient(config);
|
|
39
|
+
* const input = { // ListChannelMessagesRequest
|
|
40
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
41
|
+
* SortOrder: "ASCENDING" || "DESCENDING",
|
|
42
|
+
* NotBefore: new Date("TIMESTAMP"),
|
|
43
|
+
* NotAfter: new Date("TIMESTAMP"),
|
|
44
|
+
* MaxResults: Number("int"),
|
|
45
|
+
* NextToken: "STRING_VALUE",
|
|
46
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
47
|
+
* SubChannelId: "STRING_VALUE",
|
|
48
|
+
* };
|
|
39
49
|
* const command = new ListChannelMessagesCommand(input);
|
|
40
50
|
* const response = await client.send(command);
|
|
41
51
|
* ```
|
|
@@ -31,6 +31,12 @@ export interface ListChannelModeratorsCommandOutput extends ListChannelModerator
|
|
|
31
31
|
* import { ChimeSDKMessagingClient, ListChannelModeratorsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
32
32
|
* // const { ChimeSDKMessagingClient, ListChannelModeratorsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
33
33
|
* const client = new ChimeSDKMessagingClient(config);
|
|
34
|
+
* const input = { // ListChannelModeratorsRequest
|
|
35
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
34
40
|
* const command = new ListChannelModeratorsCommand(input);
|
|
35
41
|
* const response = await client.send(command);
|
|
36
42
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListChannelsAssociatedWithChannelFlowCommandOutput extends List
|
|
|
26
26
|
* import { ChimeSDKMessagingClient, ListChannelsAssociatedWithChannelFlowCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
27
27
|
* // const { ChimeSDKMessagingClient, ListChannelsAssociatedWithChannelFlowCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
28
28
|
* const client = new ChimeSDKMessagingClient(config);
|
|
29
|
+
* const input = { // ListChannelsAssociatedWithChannelFlowRequest
|
|
30
|
+
* ChannelFlowArn: "STRING_VALUE", // required
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListChannelsAssociatedWithChannelFlowCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -45,6 +45,13 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
|
|
|
45
45
|
* import { ChimeSDKMessagingClient, ListChannelsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
46
46
|
* // const { ChimeSDKMessagingClient, ListChannelsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
47
47
|
* const client = new ChimeSDKMessagingClient(config);
|
|
48
|
+
* const input = { // ListChannelsRequest
|
|
49
|
+
* AppInstanceArn: "STRING_VALUE", // required
|
|
50
|
+
* Privacy: "PUBLIC" || "PRIVATE",
|
|
51
|
+
* MaxResults: Number("int"),
|
|
52
|
+
* NextToken: "STRING_VALUE",
|
|
53
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
54
|
+
* };
|
|
48
55
|
* const command = new ListChannelsCommand(input);
|
|
49
56
|
* const response = await client.send(command);
|
|
50
57
|
* ```
|
|
@@ -31,6 +31,12 @@ export interface ListChannelsModeratedByAppInstanceUserCommandOutput extends Lis
|
|
|
31
31
|
* import { ChimeSDKMessagingClient, ListChannelsModeratedByAppInstanceUserCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
32
32
|
* // const { ChimeSDKMessagingClient, ListChannelsModeratedByAppInstanceUserCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
33
33
|
* const client = new ChimeSDKMessagingClient(config);
|
|
34
|
+
* const input = { // ListChannelsModeratedByAppInstanceUserRequest
|
|
35
|
+
* AppInstanceUserArn: "STRING_VALUE",
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
34
40
|
* const command = new ListChannelsModeratedByAppInstanceUserCommand(input);
|
|
35
41
|
* const response = await client.send(command);
|
|
36
42
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListSubChannelsCommandOutput extends ListSubChannelsResponse, _
|
|
|
26
26
|
* import { ChimeSDKMessagingClient, ListSubChannelsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
27
27
|
* // const { ChimeSDKMessagingClient, ListSubChannelsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
28
28
|
* const client = new ChimeSDKMessagingClient(config);
|
|
29
|
+
* const input = { // ListSubChannelsRequest
|
|
30
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
31
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListSubChannelsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { ChimeSDKMessagingClient, ListTagsForResourceCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
27
27
|
* // const { ChimeSDKMessagingClient, ListTagsForResourceCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
28
28
|
* const client = new ChimeSDKMessagingClient(config);
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -43,6 +43,14 @@ export interface PutChannelExpirationSettingsCommandOutput extends PutChannelExp
|
|
|
43
43
|
* import { ChimeSDKMessagingClient, PutChannelExpirationSettingsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
44
44
|
* // const { ChimeSDKMessagingClient, PutChannelExpirationSettingsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
45
45
|
* const client = new ChimeSDKMessagingClient(config);
|
|
46
|
+
* const input = { // PutChannelExpirationSettingsRequest
|
|
47
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
48
|
+
* ChimeBearer: "STRING_VALUE",
|
|
49
|
+
* ExpirationSettings: { // ExpirationSettings
|
|
50
|
+
* ExpirationDays: Number("int"), // required
|
|
51
|
+
* ExpirationCriterion: "CREATED_TIMESTAMP" || "LAST_MESSAGE_TIMESTAMP", // required
|
|
52
|
+
* },
|
|
53
|
+
* };
|
|
46
54
|
* const command = new PutChannelExpirationSettingsCommand(input);
|
|
47
55
|
* const response = await client.send(command);
|
|
48
56
|
* ```
|
|
@@ -35,6 +35,17 @@ export interface PutChannelMembershipPreferencesCommandOutput extends PutChannel
|
|
|
35
35
|
* import { ChimeSDKMessagingClient, PutChannelMembershipPreferencesCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
36
36
|
* // const { ChimeSDKMessagingClient, PutChannelMembershipPreferencesCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
37
37
|
* const client = new ChimeSDKMessagingClient(config);
|
|
38
|
+
* const input = { // PutChannelMembershipPreferencesRequest
|
|
39
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
40
|
+
* MemberArn: "STRING_VALUE", // required
|
|
41
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
42
|
+
* Preferences: { // ChannelMembershipPreferences
|
|
43
|
+
* PushNotifications: { // PushNotificationPreferences
|
|
44
|
+
* AllowNotifications: "ALL" || "NONE" || "FILTERED", // required
|
|
45
|
+
* FilterRule: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* };
|
|
38
49
|
* const command = new PutChannelMembershipPreferencesCommand(input);
|
|
39
50
|
* const response = await client.send(command);
|
|
40
51
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface PutMessagingStreamingConfigurationsCommandOutput extends PutMes
|
|
|
27
27
|
* import { ChimeSDKMessagingClient, PutMessagingStreamingConfigurationsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
28
28
|
* // const { ChimeSDKMessagingClient, PutMessagingStreamingConfigurationsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
29
29
|
* const client = new ChimeSDKMessagingClient(config);
|
|
30
|
+
* const input = { // PutMessagingStreamingConfigurationsRequest
|
|
31
|
+
* AppInstanceArn: "STRING_VALUE", // required
|
|
32
|
+
* StreamingConfigurations: [ // StreamingConfigurationList // required
|
|
33
|
+
* { // StreamingConfiguration
|
|
34
|
+
* DataType: "Channel" || "ChannelMessage", // required
|
|
35
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
30
39
|
* const command = new PutMessagingStreamingConfigurationsCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -32,6 +32,12 @@ export interface RedactChannelMessageCommandOutput extends RedactChannelMessageR
|
|
|
32
32
|
* import { ChimeSDKMessagingClient, RedactChannelMessageCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
33
33
|
* // const { ChimeSDKMessagingClient, RedactChannelMessageCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
34
34
|
* const client = new ChimeSDKMessagingClient(config);
|
|
35
|
+
* const input = { // RedactChannelMessageRequest
|
|
36
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
37
|
+
* MessageId: "STRING_VALUE", // required
|
|
38
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
39
|
+
* SubChannelId: "STRING_VALUE",
|
|
40
|
+
* };
|
|
35
41
|
* const command = new RedactChannelMessageCommand(input);
|
|
36
42
|
* const response = await client.send(command);
|
|
37
43
|
* ```
|
|
@@ -31,6 +31,20 @@ export interface SearchChannelsCommandOutput extends SearchChannelsResponse, __M
|
|
|
31
31
|
* import { ChimeSDKMessagingClient, SearchChannelsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
32
32
|
* // const { ChimeSDKMessagingClient, SearchChannelsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
33
33
|
* const client = new ChimeSDKMessagingClient(config);
|
|
34
|
+
* const input = { // SearchChannelsRequest
|
|
35
|
+
* ChimeBearer: "STRING_VALUE",
|
|
36
|
+
* Fields: [ // SearchFields // required
|
|
37
|
+
* { // SearchField
|
|
38
|
+
* Key: "MEMBERS", // required
|
|
39
|
+
* Values: [ // SearchFieldValues // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* Operator: "EQUALS" || "INCLUDES", // required
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* MaxResults: Number("int"),
|
|
46
|
+
* NextToken: "STRING_VALUE",
|
|
47
|
+
* };
|
|
34
48
|
* const command = new SearchChannelsCommand(input);
|
|
35
49
|
* const response = await client.send(command);
|
|
36
50
|
* ```
|
|
@@ -33,6 +33,29 @@ export interface SendChannelMessageCommandOutput extends SendChannelMessageRespo
|
|
|
33
33
|
* import { ChimeSDKMessagingClient, SendChannelMessageCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
34
34
|
* // const { ChimeSDKMessagingClient, SendChannelMessageCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
35
35
|
* const client = new ChimeSDKMessagingClient(config);
|
|
36
|
+
* const input = { // SendChannelMessageRequest
|
|
37
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
38
|
+
* Content: "STRING_VALUE", // required
|
|
39
|
+
* Type: "STANDARD" || "CONTROL", // required
|
|
40
|
+
* Persistence: "PERSISTENT" || "NON_PERSISTENT", // required
|
|
41
|
+
* Metadata: "STRING_VALUE",
|
|
42
|
+
* ClientRequestToken: "STRING_VALUE", // required
|
|
43
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
44
|
+
* PushNotification: { // PushNotificationConfiguration
|
|
45
|
+
* Title: "STRING_VALUE",
|
|
46
|
+
* Body: "STRING_VALUE",
|
|
47
|
+
* Type: "DEFAULT" || "VOIP",
|
|
48
|
+
* },
|
|
49
|
+
* MessageAttributes: { // MessageAttributeMap
|
|
50
|
+
* "<keys>": { // MessageAttributeValue
|
|
51
|
+
* StringValues: [ // MessageAttributeStringValues
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* SubChannelId: "STRING_VALUE",
|
|
57
|
+
* ContentType: "STRING_VALUE",
|
|
58
|
+
* };
|
|
36
59
|
* const command = new SendChannelMessageCommand(input);
|
|
37
60
|
* const response = await client.send(command);
|
|
38
61
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { ChimeSDKMessagingClient, TagResourceCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
27
27
|
* // const { ChimeSDKMessagingClient, TagResourceCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
28
28
|
* const client = new ChimeSDKMessagingClient(config);
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
+
* Tags: [ // TagList // required
|
|
32
|
+
* { // Tag
|
|
33
|
+
* Key: "STRING_VALUE", // required
|
|
34
|
+
* Value: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
29
38
|
* const command = new TagResourceCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { ChimeSDKMessagingClient, UntagResourceCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
27
27
|
* // const { ChimeSDKMessagingClient, UntagResourceCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
28
28
|
* const client = new ChimeSDKMessagingClient(config);
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // TagKeyList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -33,6 +33,13 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
|
|
|
33
33
|
* import { ChimeSDKMessagingClient, UpdateChannelCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
34
34
|
* // const { ChimeSDKMessagingClient, UpdateChannelCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
35
35
|
* const client = new ChimeSDKMessagingClient(config);
|
|
36
|
+
* const input = { // UpdateChannelRequest
|
|
37
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
38
|
+
* Name: "STRING_VALUE",
|
|
39
|
+
* Mode: "UNRESTRICTED" || "RESTRICTED",
|
|
40
|
+
* Metadata: "STRING_VALUE",
|
|
41
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
36
43
|
* const command = new UpdateChannelCommand(input);
|
|
37
44
|
* const response = await client.send(command);
|
|
38
45
|
* ```
|
|
@@ -26,6 +26,23 @@ export interface UpdateChannelFlowCommandOutput extends UpdateChannelFlowRespons
|
|
|
26
26
|
* import { ChimeSDKMessagingClient, UpdateChannelFlowCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
27
27
|
* // const { ChimeSDKMessagingClient, UpdateChannelFlowCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
28
28
|
* const client = new ChimeSDKMessagingClient(config);
|
|
29
|
+
* const input = { // UpdateChannelFlowRequest
|
|
30
|
+
* ChannelFlowArn: "STRING_VALUE", // required
|
|
31
|
+
* Processors: [ // ProcessorList // required
|
|
32
|
+
* { // Processor
|
|
33
|
+
* Name: "STRING_VALUE", // required
|
|
34
|
+
* Configuration: { // ProcessorConfiguration
|
|
35
|
+
* Lambda: { // LambdaConfiguration
|
|
36
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
37
|
+
* InvocationType: "ASYNC", // required
|
|
38
|
+
* },
|
|
39
|
+
* },
|
|
40
|
+
* ExecutionOrder: Number("int"), // required
|
|
41
|
+
* FallbackAction: "CONTINUE" || "ABORT", // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* Name: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
29
46
|
* const command = new UpdateChannelFlowCommand(input);
|
|
30
47
|
* const response = await client.send(command);
|
|
31
48
|
* ```
|
|
@@ -31,6 +31,15 @@ export interface UpdateChannelMessageCommandOutput extends UpdateChannelMessageR
|
|
|
31
31
|
* import { ChimeSDKMessagingClient, UpdateChannelMessageCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
32
32
|
* // const { ChimeSDKMessagingClient, UpdateChannelMessageCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
33
33
|
* const client = new ChimeSDKMessagingClient(config);
|
|
34
|
+
* const input = { // UpdateChannelMessageRequest
|
|
35
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
36
|
+
* MessageId: "STRING_VALUE", // required
|
|
37
|
+
* Content: "STRING_VALUE", // required
|
|
38
|
+
* Metadata: "STRING_VALUE",
|
|
39
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
40
|
+
* SubChannelId: "STRING_VALUE",
|
|
41
|
+
* ContentType: "STRING_VALUE",
|
|
42
|
+
* };
|
|
34
43
|
* const command = new UpdateChannelMessageCommand(input);
|
|
35
44
|
* const response = await client.send(command);
|
|
36
45
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface UpdateChannelReadMarkerCommandOutput extends UpdateChannelReadM
|
|
|
31
31
|
* import { ChimeSDKMessagingClient, UpdateChannelReadMarkerCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
32
32
|
* // const { ChimeSDKMessagingClient, UpdateChannelReadMarkerCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
33
33
|
* const client = new ChimeSDKMessagingClient(config);
|
|
34
|
+
* const input = { // UpdateChannelReadMarkerRequest
|
|
35
|
+
* ChannelArn: "STRING_VALUE", // required
|
|
36
|
+
* ChimeBearer: "STRING_VALUE", // required
|
|
37
|
+
* SubChannelId: "STRING_VALUE",
|
|
38
|
+
* };
|
|
34
39
|
* const command = new UpdateChannelReadMarkerCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-chime-sdk-messaging",
|
|
3
3
|
"description": "AWS SDK for JavaScript Chime Sdk Messaging Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|