@aws-sdk/client-chime-sdk-messaging 3.295.0 → 3.297.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.
Files changed (96) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/ChimeSDKMessaging.js +45 -0
  3. package/dist-cjs/commands/DeleteMessagingStreamingConfigurationsCommand.js +46 -0
  4. package/dist-cjs/commands/GetMessagingStreamingConfigurationsCommand.js +46 -0
  5. package/dist-cjs/commands/PutMessagingStreamingConfigurationsCommand.js +46 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/endpoint/ruleset.js +3 -3
  8. package/dist-cjs/models/models_0.js +32 -3
  9. package/dist-cjs/protocols/Aws_restJson1.js +243 -2
  10. package/dist-es/ChimeSDKMessaging.js +45 -0
  11. package/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js +42 -0
  12. package/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js +42 -0
  13. package/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js +42 -0
  14. package/dist-es/commands/index.js +3 -0
  15. package/dist-es/endpoint/ruleset.js +3 -3
  16. package/dist-es/models/models_0.js +23 -0
  17. package/dist-es/protocols/Aws_restJson1.js +235 -0
  18. package/dist-types/ChimeSDKMessaging.d.ts +76 -40
  19. package/dist-types/ChimeSDKMessagingClient.d.ts +29 -6
  20. package/dist-types/commands/AssociateChannelFlowCommand.d.ts +16 -1
  21. package/dist-types/commands/BatchCreateChannelMembershipCommand.d.ts +16 -0
  22. package/dist-types/commands/ChannelFlowCallbackCommand.d.ts +16 -0
  23. package/dist-types/commands/CreateChannelBanCommand.d.ts +16 -1
  24. package/dist-types/commands/CreateChannelCommand.d.ts +16 -2
  25. package/dist-types/commands/CreateChannelFlowCommand.d.ts +17 -3
  26. package/dist-types/commands/CreateChannelMembershipCommand.d.ts +16 -4
  27. package/dist-types/commands/CreateChannelModeratorCommand.d.ts +16 -2
  28. package/dist-types/commands/DeleteChannelBanCommand.d.ts +16 -1
  29. package/dist-types/commands/DeleteChannelCommand.d.ts +16 -1
  30. package/dist-types/commands/DeleteChannelFlowCommand.d.ts +16 -0
  31. package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +16 -1
  32. package/dist-types/commands/DeleteChannelMessageCommand.d.ts +16 -1
  33. package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +16 -1
  34. package/dist-types/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +76 -0
  35. package/dist-types/commands/DescribeChannelBanCommand.d.ts +16 -2
  36. package/dist-types/commands/DescribeChannelCommand.d.ts +16 -2
  37. package/dist-types/commands/DescribeChannelFlowCommand.d.ts +16 -0
  38. package/dist-types/commands/DescribeChannelMembershipCommand.d.ts +16 -0
  39. package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +16 -1
  40. package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +16 -1
  41. package/dist-types/commands/DescribeChannelModeratorCommand.d.ts +16 -0
  42. package/dist-types/commands/DisassociateChannelFlowCommand.d.ts +16 -0
  43. package/dist-types/commands/GetChannelMembershipPreferencesCommand.d.ts +16 -0
  44. package/dist-types/commands/GetChannelMessageCommand.d.ts +16 -1
  45. package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +16 -3
  46. package/dist-types/commands/GetMessagingSessionEndpointCommand.d.ts +16 -0
  47. package/dist-types/commands/GetMessagingStreamingConfigurationsCommand.d.ts +82 -0
  48. package/dist-types/commands/ListChannelBansCommand.d.ts +16 -1
  49. package/dist-types/commands/ListChannelFlowsCommand.d.ts +16 -0
  50. package/dist-types/commands/ListChannelMembershipsCommand.d.ts +16 -2
  51. package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +16 -1
  52. package/dist-types/commands/ListChannelMessagesCommand.d.ts +16 -0
  53. package/dist-types/commands/ListChannelModeratorsCommand.d.ts +16 -0
  54. package/dist-types/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +16 -0
  55. package/dist-types/commands/ListChannelsCommand.d.ts +16 -2
  56. package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +16 -1
  57. package/dist-types/commands/ListSubChannelsCommand.d.ts +16 -0
  58. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  59. package/dist-types/commands/PutChannelMembershipPreferencesCommand.d.ts +16 -0
  60. package/dist-types/commands/PutMessagingStreamingConfigurationsCommand.d.ts +86 -0
  61. package/dist-types/commands/RedactChannelMessageCommand.d.ts +16 -1
  62. package/dist-types/commands/SearchChannelsCommand.d.ts +16 -0
  63. package/dist-types/commands/SendChannelMessageCommand.d.ts +16 -2
  64. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  65. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  66. package/dist-types/commands/UpdateChannelCommand.d.ts +16 -0
  67. package/dist-types/commands/UpdateChannelFlowCommand.d.ts +16 -0
  68. package/dist-types/commands/UpdateChannelMessageCommand.d.ts +16 -1
  69. package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +16 -1
  70. package/dist-types/commands/index.d.ts +3 -0
  71. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  72. package/dist-types/models/ChimeSDKMessagingServiceException.d.ts +2 -0
  73. package/dist-types/models/models_0.d.ts +430 -0
  74. package/dist-types/pagination/Interfaces.d.ts +3 -0
  75. package/dist-types/pagination/ListChannelBansPaginator.d.ts +3 -0
  76. package/dist-types/pagination/ListChannelFlowsPaginator.d.ts +3 -0
  77. package/dist-types/pagination/ListChannelMembershipsForAppInstanceUserPaginator.d.ts +3 -0
  78. package/dist-types/pagination/ListChannelMembershipsPaginator.d.ts +3 -0
  79. package/dist-types/pagination/ListChannelMessagesPaginator.d.ts +3 -0
  80. package/dist-types/pagination/ListChannelModeratorsPaginator.d.ts +3 -0
  81. package/dist-types/pagination/ListChannelsAssociatedWithChannelFlowPaginator.d.ts +3 -0
  82. package/dist-types/pagination/ListChannelsModeratedByAppInstanceUserPaginator.d.ts +3 -0
  83. package/dist-types/pagination/ListChannelsPaginator.d.ts +3 -0
  84. package/dist-types/pagination/ListSubChannelsPaginator.d.ts +3 -0
  85. package/dist-types/pagination/SearchChannelsPaginator.d.ts +3 -0
  86. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  87. package/dist-types/ts3.4/ChimeSDKMessaging.d.ts +69 -0
  88. package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +18 -0
  89. package/dist-types/ts3.4/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +37 -0
  90. package/dist-types/ts3.4/commands/GetMessagingStreamingConfigurationsCommand.d.ts +41 -0
  91. package/dist-types/ts3.4/commands/PutMessagingStreamingConfigurationsCommand.d.ts +41 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  93. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  94. package/dist-types/ts3.4/models/models_0.d.ts +42 -0
  95. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  96. package/package.json +29 -29
@@ -4,19 +4,23 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { ListChannelMembershipsForAppInstanceUserRequest, ListChannelMembershipsForAppInstanceUserResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListChannelMembershipsForAppInstanceUserCommand}.
8
10
  */
9
11
  export interface ListChannelMembershipsForAppInstanceUserCommandInput extends ListChannelMembershipsForAppInstanceUserRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListChannelMembershipsForAppInstanceUserCommand}.
13
17
  */
14
18
  export interface ListChannelMembershipsForAppInstanceUserCommandOutput extends ListChannelMembershipsForAppInstanceUserResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p> Lists all channels that a particular <code>AppInstanceUser</code> is a part of. Only an
18
23
  * <code>AppInstanceAdmin</code> can call the API with a user ARN that is not their own. </p>
19
- *
20
24
  * <note>
21
25
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
22
26
  * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
@@ -32,6 +36,8 @@ export interface ListChannelMembershipsForAppInstanceUserCommandOutput extends L
32
36
  * const response = await client.send(command);
33
37
  * ```
34
38
  *
39
+ * @param ListChannelMembershipsForAppInstanceUserCommandInput - {@link ListChannelMembershipsForAppInstanceUserCommandInput}
40
+ * @returns {@link ListChannelMembershipsForAppInstanceUserCommandOutput}
35
41
  * @see {@link ListChannelMembershipsForAppInstanceUserCommandInput} for command's `input` shape.
36
42
  * @see {@link ListChannelMembershipsForAppInstanceUserCommandOutput} for command's `response` shape.
37
43
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -59,11 +65,20 @@ export interface ListChannelMembershipsForAppInstanceUserCommandOutput extends L
59
65
  export declare class ListChannelMembershipsForAppInstanceUserCommand extends $Command<ListChannelMembershipsForAppInstanceUserCommandInput, ListChannelMembershipsForAppInstanceUserCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
60
66
  readonly input: ListChannelMembershipsForAppInstanceUserCommandInput;
61
67
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
+ /**
69
+ * @public
70
+ */
62
71
  constructor(input: ListChannelMembershipsForAppInstanceUserCommandInput);
63
72
  /**
64
73
  * @internal
65
74
  */
66
75
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChannelMembershipsForAppInstanceUserCommandInput, ListChannelMembershipsForAppInstanceUserCommandOutput>;
76
+ /**
77
+ * @internal
78
+ */
67
79
  private serialize;
80
+ /**
81
+ * @internal
82
+ */
68
83
  private deserialize;
69
84
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { ListChannelMessagesRequest, ListChannelMessagesResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListChannelMessagesCommand}.
8
10
  */
9
11
  export interface ListChannelMessagesCommandInput extends ListChannelMessagesRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListChannelMessagesCommand}.
13
17
  */
14
18
  export interface ListChannelMessagesCommandOutput extends ListChannelMessagesResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>List all the messages in a channel. Returns a paginated list of
18
23
  * <code>ChannelMessages</code>. By default, sorted by creation timestamp in descending
19
24
  * order.</p>
@@ -35,6 +40,8 @@ export interface ListChannelMessagesCommandOutput extends ListChannelMessagesRes
35
40
  * const response = await client.send(command);
36
41
  * ```
37
42
  *
43
+ * @param ListChannelMessagesCommandInput - {@link ListChannelMessagesCommandInput}
44
+ * @returns {@link ListChannelMessagesCommandOutput}
38
45
  * @see {@link ListChannelMessagesCommandInput} for command's `input` shape.
39
46
  * @see {@link ListChannelMessagesCommandOutput} for command's `response` shape.
40
47
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -62,11 +69,20 @@ export interface ListChannelMessagesCommandOutput extends ListChannelMessagesRes
62
69
  export declare class ListChannelMessagesCommand extends $Command<ListChannelMessagesCommandInput, ListChannelMessagesCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
63
70
  readonly input: ListChannelMessagesCommandInput;
64
71
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
+ /**
73
+ * @public
74
+ */
65
75
  constructor(input: ListChannelMessagesCommandInput);
66
76
  /**
67
77
  * @internal
68
78
  */
69
79
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChannelMessagesCommandInput, ListChannelMessagesCommandOutput>;
80
+ /**
81
+ * @internal
82
+ */
70
83
  private serialize;
84
+ /**
85
+ * @internal
86
+ */
71
87
  private deserialize;
72
88
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { ListChannelModeratorsRequest, ListChannelModeratorsResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListChannelModeratorsCommand}.
8
10
  */
9
11
  export interface ListChannelModeratorsCommandInput extends ListChannelModeratorsRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListChannelModeratorsCommand}.
13
17
  */
14
18
  export interface ListChannelModeratorsCommandOutput extends ListChannelModeratorsResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Lists all the moderators for a channel.</p>
18
23
  * <note>
19
24
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
@@ -30,6 +35,8 @@ export interface ListChannelModeratorsCommandOutput extends ListChannelModerator
30
35
  * const response = await client.send(command);
31
36
  * ```
32
37
  *
38
+ * @param ListChannelModeratorsCommandInput - {@link ListChannelModeratorsCommandInput}
39
+ * @returns {@link ListChannelModeratorsCommandOutput}
33
40
  * @see {@link ListChannelModeratorsCommandInput} for command's `input` shape.
34
41
  * @see {@link ListChannelModeratorsCommandOutput} for command's `response` shape.
35
42
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -57,11 +64,20 @@ export interface ListChannelModeratorsCommandOutput extends ListChannelModerator
57
64
  export declare class ListChannelModeratorsCommand extends $Command<ListChannelModeratorsCommandInput, ListChannelModeratorsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
58
65
  readonly input: ListChannelModeratorsCommandInput;
59
66
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
+ /**
68
+ * @public
69
+ */
60
70
  constructor(input: ListChannelModeratorsCommandInput);
61
71
  /**
62
72
  * @internal
63
73
  */
64
74
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChannelModeratorsCommandInput, ListChannelModeratorsCommandOutput>;
75
+ /**
76
+ * @internal
77
+ */
65
78
  private serialize;
79
+ /**
80
+ * @internal
81
+ */
66
82
  private deserialize;
67
83
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { ListChannelsAssociatedWithChannelFlowRequest, ListChannelsAssociatedWithChannelFlowResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListChannelsAssociatedWithChannelFlowCommand}.
8
10
  */
9
11
  export interface ListChannelsAssociatedWithChannelFlowCommandInput extends ListChannelsAssociatedWithChannelFlowRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListChannelsAssociatedWithChannelFlowCommand}.
13
17
  */
14
18
  export interface ListChannelsAssociatedWithChannelFlowCommandOutput extends ListChannelsAssociatedWithChannelFlowResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Lists all channels associated with a specified channel flow. You can associate a channel flow with multiple channels, but you can only associate a channel with one channel flow. This is a developer API.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface ListChannelsAssociatedWithChannelFlowCommandOutput extends List
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param ListChannelsAssociatedWithChannelFlowCommandInput - {@link ListChannelsAssociatedWithChannelFlowCommandInput}
34
+ * @returns {@link ListChannelsAssociatedWithChannelFlowCommandOutput}
28
35
  * @see {@link ListChannelsAssociatedWithChannelFlowCommandInput} for command's `input` shape.
29
36
  * @see {@link ListChannelsAssociatedWithChannelFlowCommandOutput} for command's `response` shape.
30
37
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -52,11 +59,20 @@ export interface ListChannelsAssociatedWithChannelFlowCommandOutput extends List
52
59
  export declare class ListChannelsAssociatedWithChannelFlowCommand extends $Command<ListChannelsAssociatedWithChannelFlowCommandInput, ListChannelsAssociatedWithChannelFlowCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
53
60
  readonly input: ListChannelsAssociatedWithChannelFlowCommandInput;
54
61
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
62
+ /**
63
+ * @public
64
+ */
55
65
  constructor(input: ListChannelsAssociatedWithChannelFlowCommandInput);
56
66
  /**
57
67
  * @internal
58
68
  */
59
69
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChannelsAssociatedWithChannelFlowCommandInput, ListChannelsAssociatedWithChannelFlowCommandOutput>;
70
+ /**
71
+ * @internal
72
+ */
60
73
  private serialize;
74
+ /**
75
+ * @internal
76
+ */
61
77
  private deserialize;
62
78
  }
@@ -4,19 +4,23 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { ListChannelsRequest, ListChannelsResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListChannelsCommand}.
8
10
  */
9
11
  export interface ListChannelsCommandInput extends ListChannelsRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListChannelsCommand}.
13
17
  */
14
18
  export interface ListChannelsCommandOutput extends ListChannelsResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Lists all Channels created under a single Chime App as a paginated list. You can specify
18
23
  * filters to narrow results.</p>
19
- *
20
24
  * <p class="title">
21
25
  * <b>Functionality & restrictions</b>
22
26
  * </p>
@@ -30,7 +34,6 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
30
34
  * list the private channels in an account.</p>
31
35
  * </li>
32
36
  * </ul>
33
- *
34
37
  * <note>
35
38
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
36
39
  * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
@@ -46,6 +49,8 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
46
49
  * const response = await client.send(command);
47
50
  * ```
48
51
  *
52
+ * @param ListChannelsCommandInput - {@link ListChannelsCommandInput}
53
+ * @returns {@link ListChannelsCommandOutput}
49
54
  * @see {@link ListChannelsCommandInput} for command's `input` shape.
50
55
  * @see {@link ListChannelsCommandOutput} for command's `response` shape.
51
56
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -73,11 +78,20 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
73
78
  export declare class ListChannelsCommand extends $Command<ListChannelsCommandInput, ListChannelsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
74
79
  readonly input: ListChannelsCommandInput;
75
80
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
+ /**
82
+ * @public
83
+ */
76
84
  constructor(input: ListChannelsCommandInput);
77
85
  /**
78
86
  * @internal
79
87
  */
80
88
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChannelsCommandInput, ListChannelsCommandOutput>;
89
+ /**
90
+ * @internal
91
+ */
81
92
  private serialize;
93
+ /**
94
+ * @internal
95
+ */
82
96
  private deserialize;
83
97
  }
@@ -4,18 +4,22 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { ListChannelsModeratedByAppInstanceUserRequest, ListChannelsModeratedByAppInstanceUserResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListChannelsModeratedByAppInstanceUserCommand}.
8
10
  */
9
11
  export interface ListChannelsModeratedByAppInstanceUserCommandInput extends ListChannelsModeratedByAppInstanceUserRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListChannelsModeratedByAppInstanceUserCommand}.
13
17
  */
14
18
  export interface ListChannelsModeratedByAppInstanceUserCommandOutput extends ListChannelsModeratedByAppInstanceUserResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>A list of the channels moderated by an <code>AppInstanceUser</code>.</p>
18
- *
19
23
  * <note>
20
24
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
21
25
  * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
@@ -31,6 +35,8 @@ export interface ListChannelsModeratedByAppInstanceUserCommandOutput extends Lis
31
35
  * const response = await client.send(command);
32
36
  * ```
33
37
  *
38
+ * @param ListChannelsModeratedByAppInstanceUserCommandInput - {@link ListChannelsModeratedByAppInstanceUserCommandInput}
39
+ * @returns {@link ListChannelsModeratedByAppInstanceUserCommandOutput}
34
40
  * @see {@link ListChannelsModeratedByAppInstanceUserCommandInput} for command's `input` shape.
35
41
  * @see {@link ListChannelsModeratedByAppInstanceUserCommandOutput} for command's `response` shape.
36
42
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -58,11 +64,20 @@ export interface ListChannelsModeratedByAppInstanceUserCommandOutput extends Lis
58
64
  export declare class ListChannelsModeratedByAppInstanceUserCommand extends $Command<ListChannelsModeratedByAppInstanceUserCommandInput, ListChannelsModeratedByAppInstanceUserCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
59
65
  readonly input: ListChannelsModeratedByAppInstanceUserCommandInput;
60
66
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
+ /**
68
+ * @public
69
+ */
61
70
  constructor(input: ListChannelsModeratedByAppInstanceUserCommandInput);
62
71
  /**
63
72
  * @internal
64
73
  */
65
74
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChannelsModeratedByAppInstanceUserCommandInput, ListChannelsModeratedByAppInstanceUserCommandOutput>;
75
+ /**
76
+ * @internal
77
+ */
66
78
  private serialize;
79
+ /**
80
+ * @internal
81
+ */
67
82
  private deserialize;
68
83
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { ListSubChannelsRequest, ListSubChannelsResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListSubChannelsCommand}.
8
10
  */
9
11
  export interface ListSubChannelsCommandInput extends ListSubChannelsRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListSubChannelsCommand}.
13
17
  */
14
18
  export interface ListSubChannelsCommandOutput extends ListSubChannelsResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Lists all the SubChannels in an elastic channel when given a channel ID. Available only to the app instance admins and channel moderators of elastic channels.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface ListSubChannelsCommandOutput extends ListSubChannelsResponse, _
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param ListSubChannelsCommandInput - {@link ListSubChannelsCommandInput}
34
+ * @returns {@link ListSubChannelsCommandOutput}
28
35
  * @see {@link ListSubChannelsCommandInput} for command's `input` shape.
29
36
  * @see {@link ListSubChannelsCommandOutput} for command's `response` shape.
30
37
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -52,11 +59,20 @@ export interface ListSubChannelsCommandOutput extends ListSubChannelsResponse, _
52
59
  export declare class ListSubChannelsCommand extends $Command<ListSubChannelsCommandInput, ListSubChannelsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
53
60
  readonly input: ListSubChannelsCommandInput;
54
61
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
62
+ /**
63
+ * @public
64
+ */
55
65
  constructor(input: ListSubChannelsCommandInput);
56
66
  /**
57
67
  * @internal
58
68
  */
59
69
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSubChannelsCommandInput, ListSubChannelsCommandOutput>;
70
+ /**
71
+ * @internal
72
+ */
60
73
  private serialize;
74
+ /**
75
+ * @internal
76
+ */
61
77
  private deserialize;
62
78
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListTagsForResourceCommand}.
8
10
  */
9
11
  export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListTagsForResourceCommand}.
13
17
  */
14
18
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Lists the tags applied to an Amazon Chime SDK messaging resource.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
34
+ * @returns {@link ListTagsForResourceCommandOutput}
28
35
  * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
29
36
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
30
37
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -52,11 +59,20 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
52
59
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
53
60
  readonly input: ListTagsForResourceCommandInput;
54
61
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
62
+ /**
63
+ * @public
64
+ */
55
65
  constructor(input: ListTagsForResourceCommandInput);
56
66
  /**
57
67
  * @internal
58
68
  */
59
69
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
70
+ /**
71
+ * @internal
72
+ */
60
73
  private serialize;
74
+ /**
75
+ * @internal
76
+ */
61
77
  private deserialize;
62
78
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { PutChannelMembershipPreferencesRequest, PutChannelMembershipPreferencesResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link PutChannelMembershipPreferencesCommand}.
8
10
  */
9
11
  export interface PutChannelMembershipPreferencesCommandInput extends PutChannelMembershipPreferencesRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link PutChannelMembershipPreferencesCommand}.
13
17
  */
14
18
  export interface PutChannelMembershipPreferencesCommandOutput extends PutChannelMembershipPreferencesResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Sets the membership preferences of an <code>AppInstanceUser</code> for the specified channel. The <code>AppInstanceUser</code> must be a member of the channel.
18
23
  * Only the <code>AppInstanceUser</code> who owns the membership can set preferences. Users in the <code>AppInstanceAdmin</code> and channel moderator roles can't set preferences for other users.
19
24
  * Banned users can't set membership preferences for the channel from which they are banned.</p>
@@ -27,6 +32,8 @@ export interface PutChannelMembershipPreferencesCommandOutput extends PutChannel
27
32
  * const response = await client.send(command);
28
33
  * ```
29
34
  *
35
+ * @param PutChannelMembershipPreferencesCommandInput - {@link PutChannelMembershipPreferencesCommandInput}
36
+ * @returns {@link PutChannelMembershipPreferencesCommandOutput}
30
37
  * @see {@link PutChannelMembershipPreferencesCommandInput} for command's `input` shape.
31
38
  * @see {@link PutChannelMembershipPreferencesCommandOutput} for command's `response` shape.
32
39
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -58,11 +65,20 @@ export interface PutChannelMembershipPreferencesCommandOutput extends PutChannel
58
65
  export declare class PutChannelMembershipPreferencesCommand extends $Command<PutChannelMembershipPreferencesCommandInput, PutChannelMembershipPreferencesCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
59
66
  readonly input: PutChannelMembershipPreferencesCommandInput;
60
67
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
+ /**
69
+ * @public
70
+ */
61
71
  constructor(input: PutChannelMembershipPreferencesCommandInput);
62
72
  /**
63
73
  * @internal
64
74
  */
65
75
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutChannelMembershipPreferencesCommandInput, PutChannelMembershipPreferencesCommandOutput>;
76
+ /**
77
+ * @internal
78
+ */
66
79
  private serialize;
80
+ /**
81
+ * @internal
82
+ */
67
83
  private deserialize;
68
84
  }
@@ -0,0 +1,86 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
+ import { PutMessagingStreamingConfigurationsRequest, PutMessagingStreamingConfigurationsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link PutMessagingStreamingConfigurationsCommand}.
10
+ */
11
+ export interface PutMessagingStreamingConfigurationsCommandInput extends PutMessagingStreamingConfigurationsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link PutMessagingStreamingConfigurationsCommand}.
17
+ */
18
+ export interface PutMessagingStreamingConfigurationsCommandOutput extends PutMessagingStreamingConfigurationsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Sets the data streaming configuration for an <code>AppInstance</code>. For more information, see
23
+ * <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { ChimeSDKMessagingClient, PutMessagingStreamingConfigurationsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
28
+ * // const { ChimeSDKMessagingClient, PutMessagingStreamingConfigurationsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
29
+ * const client = new ChimeSDKMessagingClient(config);
30
+ * const command = new PutMessagingStreamingConfigurationsCommand(input);
31
+ * const response = await client.send(command);
32
+ * ```
33
+ *
34
+ * @param PutMessagingStreamingConfigurationsCommandInput - {@link PutMessagingStreamingConfigurationsCommandInput}
35
+ * @returns {@link PutMessagingStreamingConfigurationsCommandOutput}
36
+ * @see {@link PutMessagingStreamingConfigurationsCommandInput} for command's `input` shape.
37
+ * @see {@link PutMessagingStreamingConfigurationsCommandOutput} for command's `response` shape.
38
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
39
+ *
40
+ * @throws {@link BadRequestException} (client fault)
41
+ * <p>The input parameters don't match the service's restrictions.</p>
42
+ *
43
+ * @throws {@link ConflictException} (client fault)
44
+ * <p>The request could not be processed because of conflict in the current state of the
45
+ * resource.</p>
46
+ *
47
+ * @throws {@link ForbiddenException} (client fault)
48
+ * <p>The client is permanently forbidden from making the request.</p>
49
+ *
50
+ * @throws {@link NotFoundException} (client fault)
51
+ * <p>One or more of the resources in the request does not exist in the system.</p>
52
+ *
53
+ * @throws {@link ServiceFailureException} (server fault)
54
+ * <p>The service encountered an unexpected error.</p>
55
+ *
56
+ * @throws {@link ServiceUnavailableException} (server fault)
57
+ * <p>The service is currently unavailable.</p>
58
+ *
59
+ * @throws {@link ThrottledClientException} (client fault)
60
+ * <p>The client exceeded its request rate limit.</p>
61
+ *
62
+ * @throws {@link UnauthorizedClientException} (client fault)
63
+ * <p>The client is not currently authorized to make the request.</p>
64
+ *
65
+ *
66
+ */
67
+ export declare class PutMessagingStreamingConfigurationsCommand extends $Command<PutMessagingStreamingConfigurationsCommandInput, PutMessagingStreamingConfigurationsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
68
+ readonly input: PutMessagingStreamingConfigurationsCommandInput;
69
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
+ /**
71
+ * @public
72
+ */
73
+ constructor(input: PutMessagingStreamingConfigurationsCommandInput);
74
+ /**
75
+ * @internal
76
+ */
77
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutMessagingStreamingConfigurationsCommandInput, PutMessagingStreamingConfigurationsCommandOutput>;
78
+ /**
79
+ * @internal
80
+ */
81
+ private serialize;
82
+ /**
83
+ * @internal
84
+ */
85
+ private deserialize;
86
+ }
@@ -4,19 +4,23 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { RedactChannelMessageRequest, RedactChannelMessageResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link RedactChannelMessageCommand}.
8
10
  */
9
11
  export interface RedactChannelMessageCommandInput extends RedactChannelMessageRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link RedactChannelMessageCommand}.
13
17
  */
14
18
  export interface RedactChannelMessageCommandOutput extends RedactChannelMessageResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Redacts message content, but not metadata. The message exists in the back end, but the
18
23
  * action returns null content, and the state shows as redacted.</p>
19
- *
20
24
  * <note>
21
25
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
22
26
  * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
@@ -32,6 +36,8 @@ export interface RedactChannelMessageCommandOutput extends RedactChannelMessageR
32
36
  * const response = await client.send(command);
33
37
  * ```
34
38
  *
39
+ * @param RedactChannelMessageCommandInput - {@link RedactChannelMessageCommandInput}
40
+ * @returns {@link RedactChannelMessageCommandOutput}
35
41
  * @see {@link RedactChannelMessageCommandInput} for command's `input` shape.
36
42
  * @see {@link RedactChannelMessageCommandOutput} for command's `response` shape.
37
43
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -63,11 +69,20 @@ export interface RedactChannelMessageCommandOutput extends RedactChannelMessageR
63
69
  export declare class RedactChannelMessageCommand extends $Command<RedactChannelMessageCommandInput, RedactChannelMessageCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
64
70
  readonly input: RedactChannelMessageCommandInput;
65
71
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
+ /**
73
+ * @public
74
+ */
66
75
  constructor(input: RedactChannelMessageCommandInput);
67
76
  /**
68
77
  * @internal
69
78
  */
70
79
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RedactChannelMessageCommandInput, RedactChannelMessageCommandOutput>;
80
+ /**
81
+ * @internal
82
+ */
71
83
  private serialize;
84
+ /**
85
+ * @internal
86
+ */
72
87
  private deserialize;
73
88
  }