@aws-sdk/client-chime-sdk-messaging 3.296.0 → 3.298.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/README.md +8 -0
- package/dist-cjs/ChimeSDKMessaging.js +15 -0
- package/dist-cjs/commands/AssociateChannelFlowCommand.js +2 -3
- package/dist-cjs/commands/BatchCreateChannelMembershipCommand.js +1 -1
- package/dist-cjs/commands/ChannelFlowCallbackCommand.js +1 -1
- package/dist-cjs/commands/CreateChannelBanCommand.js +1 -1
- package/dist-cjs/commands/CreateChannelCommand.js +1 -1
- package/dist-cjs/commands/CreateChannelFlowCommand.js +1 -1
- package/dist-cjs/commands/CreateChannelMembershipCommand.js +1 -1
- package/dist-cjs/commands/CreateChannelModeratorCommand.js +1 -1
- package/dist-cjs/commands/DeleteChannelBanCommand.js +2 -3
- package/dist-cjs/commands/DeleteChannelCommand.js +2 -3
- package/dist-cjs/commands/DeleteChannelFlowCommand.js +2 -3
- package/dist-cjs/commands/DeleteChannelMembershipCommand.js +2 -3
- package/dist-cjs/commands/DeleteChannelMessageCommand.js +2 -3
- package/dist-cjs/commands/DeleteChannelModeratorCommand.js +2 -3
- package/dist-cjs/commands/DeleteMessagingStreamingConfigurationsCommand.js +2 -3
- package/dist-cjs/commands/DescribeChannelBanCommand.js +1 -1
- package/dist-cjs/commands/DescribeChannelCommand.js +1 -1
- package/dist-cjs/commands/DescribeChannelFlowCommand.js +1 -1
- package/dist-cjs/commands/DescribeChannelMembershipCommand.js +1 -1
- package/dist-cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +1 -1
- package/dist-cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +1 -1
- package/dist-cjs/commands/DescribeChannelModeratorCommand.js +1 -1
- package/dist-cjs/commands/DisassociateChannelFlowCommand.js +2 -3
- package/dist-cjs/commands/GetChannelMembershipPreferencesCommand.js +1 -1
- package/dist-cjs/commands/GetChannelMessageCommand.js +1 -1
- package/dist-cjs/commands/GetChannelMessageStatusCommand.js +2 -3
- package/dist-cjs/commands/GetMessagingSessionEndpointCommand.js +2 -3
- package/dist-cjs/commands/GetMessagingStreamingConfigurationsCommand.js +2 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -1
- package/dist-cjs/commands/PutChannelExpirationSettingsCommand.js +45 -0
- package/dist-cjs/commands/PutMessagingStreamingConfigurationsCommand.js +2 -3
- package/dist-cjs/commands/RedactChannelMessageCommand.js +2 -3
- package/dist-cjs/commands/SendChannelMessageCommand.js +1 -1
- package/dist-cjs/commands/TagResourceCommand.js +1 -1
- package/dist-cjs/commands/UntagResourceCommand.js +1 -1
- package/dist-cjs/commands/UpdateChannelCommand.js +1 -1
- package/dist-cjs/commands/UpdateChannelFlowCommand.js +1 -1
- package/dist-cjs/commands/UpdateChannelMessageCommand.js +1 -1
- package/dist-cjs/commands/UpdateChannelReadMarkerCommand.js +2 -3
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +12 -211
- package/dist-cjs/protocols/Aws_restJson1.js +107 -2
- package/dist-es/ChimeSDKMessaging.js +15 -0
- package/dist-es/commands/AssociateChannelFlowCommand.js +2 -3
- package/dist-es/commands/BatchCreateChannelMembershipCommand.js +2 -2
- package/dist-es/commands/ChannelFlowCallbackCommand.js +2 -2
- package/dist-es/commands/CreateChannelBanCommand.js +2 -2
- package/dist-es/commands/CreateChannelCommand.js +2 -2
- package/dist-es/commands/CreateChannelFlowCommand.js +2 -2
- package/dist-es/commands/CreateChannelMembershipCommand.js +2 -2
- package/dist-es/commands/CreateChannelModeratorCommand.js +2 -2
- package/dist-es/commands/DeleteChannelBanCommand.js +2 -3
- package/dist-es/commands/DeleteChannelCommand.js +2 -3
- package/dist-es/commands/DeleteChannelFlowCommand.js +2 -3
- package/dist-es/commands/DeleteChannelMembershipCommand.js +2 -3
- package/dist-es/commands/DeleteChannelMessageCommand.js +2 -3
- package/dist-es/commands/DeleteChannelModeratorCommand.js +2 -3
- package/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js +2 -3
- package/dist-es/commands/DescribeChannelBanCommand.js +2 -2
- package/dist-es/commands/DescribeChannelCommand.js +2 -2
- package/dist-es/commands/DescribeChannelFlowCommand.js +2 -2
- package/dist-es/commands/DescribeChannelMembershipCommand.js +2 -2
- package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +2 -2
- package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +2 -2
- package/dist-es/commands/DescribeChannelModeratorCommand.js +2 -2
- package/dist-es/commands/DisassociateChannelFlowCommand.js +2 -3
- package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +2 -2
- package/dist-es/commands/GetChannelMessageCommand.js +2 -2
- package/dist-es/commands/GetChannelMessageStatusCommand.js +2 -3
- package/dist-es/commands/GetMessagingSessionEndpointCommand.js +2 -3
- package/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js +2 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutChannelExpirationSettingsCommand.js +41 -0
- package/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js +2 -3
- package/dist-es/commands/RedactChannelMessageCommand.js +2 -3
- package/dist-es/commands/SendChannelMessageCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +1 -1
- package/dist-es/commands/UntagResourceCommand.js +1 -1
- package/dist-es/commands/UpdateChannelCommand.js +2 -2
- package/dist-es/commands/UpdateChannelFlowCommand.js +2 -2
- package/dist-es/commands/UpdateChannelMessageCommand.js +2 -2
- package/dist-es/commands/UpdateChannelReadMarkerCommand.js +2 -3
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +10 -156
- package/dist-es/protocols/Aws_restJson1.js +102 -0
- package/dist-types/ChimeSDKMessaging.d.ts +151 -50
- package/dist-types/ChimeSDKMessagingClient.d.ts +27 -6
- package/dist-types/commands/AssociateChannelFlowCommand.d.ts +20 -2
- package/dist-types/commands/BatchCreateChannelMembershipCommand.d.ts +17 -1
- package/dist-types/commands/ChannelFlowCallbackCommand.d.ts +16 -0
- package/dist-types/commands/CreateChannelBanCommand.d.ts +17 -1
- package/dist-types/commands/CreateChannelCommand.d.ts +17 -1
- package/dist-types/commands/CreateChannelFlowCommand.d.ts +16 -0
- package/dist-types/commands/CreateChannelMembershipCommand.d.ts +20 -4
- package/dist-types/commands/CreateChannelModeratorCommand.d.ts +17 -1
- package/dist-types/commands/DeleteChannelBanCommand.d.ts +18 -2
- package/dist-types/commands/DeleteChannelCommand.d.ts +17 -1
- package/dist-types/commands/DeleteChannelFlowCommand.d.ts +16 -0
- package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +16 -0
- package/dist-types/commands/DeleteChannelMessageCommand.d.ts +17 -1
- package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +17 -1
- package/dist-types/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeChannelBanCommand.d.ts +17 -1
- package/dist-types/commands/DescribeChannelCommand.d.ts +17 -1
- package/dist-types/commands/DescribeChannelFlowCommand.d.ts +16 -0
- package/dist-types/commands/DescribeChannelMembershipCommand.d.ts +17 -1
- package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +18 -2
- package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +18 -2
- package/dist-types/commands/DescribeChannelModeratorCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateChannelFlowCommand.d.ts +20 -2
- package/dist-types/commands/GetChannelMembershipPreferencesCommand.d.ts +26 -3
- package/dist-types/commands/GetChannelMessageCommand.d.ts +18 -2
- package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +19 -1
- package/dist-types/commands/GetMessagingSessionEndpointCommand.d.ts +16 -0
- package/dist-types/commands/GetMessagingStreamingConfigurationsCommand.d.ts +16 -0
- package/dist-types/commands/ListChannelBansCommand.d.ts +18 -2
- package/dist-types/commands/ListChannelFlowsCommand.d.ts +16 -0
- package/dist-types/commands/ListChannelMembershipsCommand.d.ts +17 -1
- package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +19 -3
- package/dist-types/commands/ListChannelMessagesCommand.d.ts +18 -2
- package/dist-types/commands/ListChannelModeratorsCommand.d.ts +17 -1
- package/dist-types/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +16 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +17 -1
- package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +17 -1
- package/dist-types/commands/ListSubChannelsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PutChannelExpirationSettingsCommand.d.ts +99 -0
- package/dist-types/commands/PutChannelMembershipPreferencesCommand.d.ts +26 -3
- package/dist-types/commands/PutMessagingStreamingConfigurationsCommand.d.ts +16 -0
- package/dist-types/commands/RedactChannelMessageCommand.d.ts +17 -1
- package/dist-types/commands/SearchChannelsCommand.d.ts +22 -1
- package/dist-types/commands/SendChannelMessageCommand.d.ts +17 -1
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +17 -1
- package/dist-types/commands/UpdateChannelFlowCommand.d.ts +16 -0
- package/dist-types/commands/UpdateChannelMessageCommand.d.ts +17 -1
- package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +17 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/ChimeSDKMessagingServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +504 -250
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListChannelBansPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelFlowsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelMembershipsForAppInstanceUserPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelMembershipsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelMessagesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelModeratorsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelsAssociatedWithChannelFlowPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelsModeratedByAppInstanceUserPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSubChannelsPaginator.d.ts +3 -0
- package/dist-types/pagination/SearchChannelsPaginator.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/ChimeSDKMessaging.d.ts +17 -0
- package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/PutChannelExpirationSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +25 -155
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +4 -3
|
@@ -4,21 +4,26 @@ 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
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
21
|
+
* @public
|
|
22
|
+
* <p> Lists all channels that anr <code>AppInstanceUser</code> or <code>AppInstanceBot</code> is a part of.
|
|
23
|
+
* Only an <code>AppInstanceAdmin</code> can call the API with a user ARN that is not their own. </p>
|
|
19
24
|
* <note>
|
|
20
25
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
21
|
-
*
|
|
26
|
+
* ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
|
|
22
27
|
* the header.</p>
|
|
23
28
|
* </note>
|
|
24
29
|
* @example
|
|
@@ -31,6 +36,8 @@ export interface ListChannelMembershipsForAppInstanceUserCommandOutput extends L
|
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
33
38
|
*
|
|
39
|
+
* @param ListChannelMembershipsForAppInstanceUserCommandInput - {@link ListChannelMembershipsForAppInstanceUserCommandInput}
|
|
40
|
+
* @returns {@link ListChannelMembershipsForAppInstanceUserCommandOutput}
|
|
34
41
|
* @see {@link ListChannelMembershipsForAppInstanceUserCommandInput} for command's `input` shape.
|
|
35
42
|
* @see {@link ListChannelMembershipsForAppInstanceUserCommandOutput} for command's `response` shape.
|
|
36
43
|
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
|
|
@@ -58,11 +65,20 @@ export interface ListChannelMembershipsForAppInstanceUserCommandOutput extends L
|
|
|
58
65
|
export declare class ListChannelMembershipsForAppInstanceUserCommand extends $Command<ListChannelMembershipsForAppInstanceUserCommandInput, ListChannelMembershipsForAppInstanceUserCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
|
|
59
66
|
readonly input: ListChannelMembershipsForAppInstanceUserCommandInput;
|
|
60
67
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
61
71
|
constructor(input: ListChannelMembershipsForAppInstanceUserCommandInput);
|
|
62
72
|
/**
|
|
63
73
|
* @internal
|
|
64
74
|
*/
|
|
65
75
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChannelMembershipsForAppInstanceUserCommandInput, ListChannelMembershipsForAppInstanceUserCommandOutput>;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
66
79
|
private serialize;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
67
83
|
private deserialize;
|
|
68
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>
|
|
@@ -21,8 +26,8 @@ export interface ListChannelMessagesCommandOutput extends ListChannelMessagesRes
|
|
|
21
26
|
* <p>Redacted messages appear in the results as empty, since they are only redacted, not
|
|
22
27
|
* deleted. Deleted messages do not appear in the results. This action always returns the
|
|
23
28
|
* latest version of an edited message.</p>
|
|
24
|
-
* <p>Also, the x-amz-chime-bearer request header is mandatory. Use the
|
|
25
|
-
*
|
|
29
|
+
* <p>Also, the <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
30
|
+
* ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
|
|
26
31
|
* the header.</p>
|
|
27
32
|
* </note>
|
|
28
33
|
* @example
|
|
@@ -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,20 +4,25 @@ 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
|
|
20
|
-
*
|
|
25
|
+
* ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
|
|
21
26
|
* the header.</p>
|
|
22
27
|
* </note>
|
|
23
28
|
* @example
|
|
@@ -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,16 +4,21 @@ 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
24
|
* <p class="title">
|
|
@@ -31,7 +36,7 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
|
|
|
31
36
|
* </ul>
|
|
32
37
|
* <note>
|
|
33
38
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
34
|
-
*
|
|
39
|
+
* ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
|
|
35
40
|
* the header.</p>
|
|
36
41
|
* </note>
|
|
37
42
|
* @example
|
|
@@ -44,6 +49,8 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
|
|
|
44
49
|
* const response = await client.send(command);
|
|
45
50
|
* ```
|
|
46
51
|
*
|
|
52
|
+
* @param ListChannelsCommandInput - {@link ListChannelsCommandInput}
|
|
53
|
+
* @returns {@link ListChannelsCommandOutput}
|
|
47
54
|
* @see {@link ListChannelsCommandInput} for command's `input` shape.
|
|
48
55
|
* @see {@link ListChannelsCommandOutput} for command's `response` shape.
|
|
49
56
|
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
|
|
@@ -71,11 +78,20 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
|
|
|
71
78
|
export declare class ListChannelsCommand extends $Command<ListChannelsCommandInput, ListChannelsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
|
|
72
79
|
readonly input: ListChannelsCommandInput;
|
|
73
80
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
74
84
|
constructor(input: ListChannelsCommandInput);
|
|
75
85
|
/**
|
|
76
86
|
* @internal
|
|
77
87
|
*/
|
|
78
88
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChannelsCommandInput, ListChannelsCommandOutput>;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
79
92
|
private serialize;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
80
96
|
private deserialize;
|
|
81
97
|
}
|
|
@@ -4,20 +4,25 @@ 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
23
|
* <note>
|
|
19
24
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
20
|
-
*
|
|
25
|
+
* ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
|
|
21
26
|
* the header.</p>
|
|
22
27
|
* </note>
|
|
23
28
|
* @example
|
|
@@ -30,6 +35,8 @@ export interface ListChannelsModeratedByAppInstanceUserCommandOutput extends Lis
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param ListChannelsModeratedByAppInstanceUserCommandInput - {@link ListChannelsModeratedByAppInstanceUserCommandInput}
|
|
39
|
+
* @returns {@link ListChannelsModeratedByAppInstanceUserCommandOutput}
|
|
33
40
|
* @see {@link ListChannelsModeratedByAppInstanceUserCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link ListChannelsModeratedByAppInstanceUserCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
|
|
@@ -57,11 +64,20 @@ export interface ListChannelsModeratedByAppInstanceUserCommandOutput extends Lis
|
|
|
57
64
|
export declare class ListChannelsModeratedByAppInstanceUserCommand extends $Command<ListChannelsModeratedByAppInstanceUserCommandInput, ListChannelsModeratedByAppInstanceUserCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
|
|
58
65
|
readonly input: ListChannelsModeratedByAppInstanceUserCommandInput;
|
|
59
66
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
60
70
|
constructor(input: ListChannelsModeratedByAppInstanceUserCommandInput);
|
|
61
71
|
/**
|
|
62
72
|
* @internal
|
|
63
73
|
*/
|
|
64
74
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChannelsModeratedByAppInstanceUserCommandInput, ListChannelsModeratedByAppInstanceUserCommandOutput>;
|
|
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 { 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
|
}
|
|
@@ -0,0 +1,99 @@
|
|
|
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 { PutChannelExpirationSettingsRequest, PutChannelExpirationSettingsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link PutChannelExpirationSettingsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface PutChannelExpirationSettingsCommandInput extends PutChannelExpirationSettingsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link PutChannelExpirationSettingsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface PutChannelExpirationSettingsCommandOutput extends PutChannelExpirationSettingsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Sets the number of days before the channel is automatically deleted.</p>
|
|
23
|
+
* <note>
|
|
24
|
+
* <ul>
|
|
25
|
+
* <li>
|
|
26
|
+
* <p>A background process deletes expired channels within 6 hours of expiration.
|
|
27
|
+
* Actual deletion times may vary.</p>
|
|
28
|
+
* </li>
|
|
29
|
+
* <li>
|
|
30
|
+
* <p>Expired channels that have not yet been deleted appear as active, and you can update
|
|
31
|
+
* their expiration settings. The system honors the new settings.</p>
|
|
32
|
+
* </li>
|
|
33
|
+
* <li>
|
|
34
|
+
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
35
|
+
* ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
|
|
36
|
+
* the header.</p>
|
|
37
|
+
* </li>
|
|
38
|
+
* </ul>
|
|
39
|
+
* </note>
|
|
40
|
+
* @example
|
|
41
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
+
* ```javascript
|
|
43
|
+
* import { ChimeSDKMessagingClient, PutChannelExpirationSettingsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
44
|
+
* // const { ChimeSDKMessagingClient, PutChannelExpirationSettingsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
45
|
+
* const client = new ChimeSDKMessagingClient(config);
|
|
46
|
+
* const command = new PutChannelExpirationSettingsCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param PutChannelExpirationSettingsCommandInput - {@link PutChannelExpirationSettingsCommandInput}
|
|
51
|
+
* @returns {@link PutChannelExpirationSettingsCommandOutput}
|
|
52
|
+
* @see {@link PutChannelExpirationSettingsCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link PutChannelExpirationSettingsCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link BadRequestException} (client fault)
|
|
57
|
+
* <p>The input parameters don't match the service's restrictions.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* <p>The request could not be processed because of conflict in the current state of the
|
|
61
|
+
* resource.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
64
|
+
* <p>The client is permanently forbidden from making the request.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
67
|
+
* <p>The service encountered an unexpected error.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
70
|
+
* <p>The service is currently unavailable.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottledClientException} (client fault)
|
|
73
|
+
* <p>The client exceeded its request rate limit.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link UnauthorizedClientException} (client fault)
|
|
76
|
+
* <p>The client is not currently authorized to make the request.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export declare class PutChannelExpirationSettingsCommand extends $Command<PutChannelExpirationSettingsCommandInput, PutChannelExpirationSettingsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
|
|
81
|
+
readonly input: PutChannelExpirationSettingsCommandInput;
|
|
82
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
constructor(input: PutChannelExpirationSettingsCommandInput);
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutChannelExpirationSettingsCommandInput, PutChannelExpirationSettingsCommandOutput>;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private serialize;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private deserialize;
|
|
99
|
+
}
|
|
@@ -4,19 +4,31 @@ 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
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Sets the membership preferences of an <code>AppInstanceUser</code> or <code>AppIntanceBot</code>
|
|
23
|
+
* for the specified channel. The user or bot must be a member of the channel. Only the user or bot who owns the
|
|
24
|
+
* membership can set preferences. Users or bots in the <code>AppInstanceAdmin</code> and channel moderator roles can't set
|
|
25
|
+
* preferences for other users or users. Banned users or bots can't set membership preferences for the channel from
|
|
26
|
+
* which they are banned.</p>
|
|
27
|
+
* <note>
|
|
28
|
+
* <p>The x-amz-chime-bearer request header is mandatory. Use the ARN of an
|
|
29
|
+
* <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the
|
|
30
|
+
* header.</p>
|
|
31
|
+
* </note>
|
|
20
32
|
* @example
|
|
21
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
22
34
|
* ```javascript
|
|
@@ -27,6 +39,8 @@ export interface PutChannelMembershipPreferencesCommandOutput extends PutChannel
|
|
|
27
39
|
* const response = await client.send(command);
|
|
28
40
|
* ```
|
|
29
41
|
*
|
|
42
|
+
* @param PutChannelMembershipPreferencesCommandInput - {@link PutChannelMembershipPreferencesCommandInput}
|
|
43
|
+
* @returns {@link PutChannelMembershipPreferencesCommandOutput}
|
|
30
44
|
* @see {@link PutChannelMembershipPreferencesCommandInput} for command's `input` shape.
|
|
31
45
|
* @see {@link PutChannelMembershipPreferencesCommandOutput} for command's `response` shape.
|
|
32
46
|
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
|
|
@@ -58,11 +72,20 @@ export interface PutChannelMembershipPreferencesCommandOutput extends PutChannel
|
|
|
58
72
|
export declare class PutChannelMembershipPreferencesCommand extends $Command<PutChannelMembershipPreferencesCommandInput, PutChannelMembershipPreferencesCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
|
|
59
73
|
readonly input: PutChannelMembershipPreferencesCommandInput;
|
|
60
74
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
61
78
|
constructor(input: PutChannelMembershipPreferencesCommandInput);
|
|
62
79
|
/**
|
|
63
80
|
* @internal
|
|
64
81
|
*/
|
|
65
82
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutChannelMembershipPreferencesCommandInput, PutChannelMembershipPreferencesCommandOutput>;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
66
86
|
private serialize;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
67
90
|
private deserialize;
|
|
68
91
|
}
|