@aws-sdk/client-chime-sdk-messaging 3.30.0 → 3.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/ChimeSDKMessaging.ts +2 -1
- package/ChimeSDKMessagingClient.ts +2 -1
- package/README.md +2 -1
- package/dist/cjs/ChimeSDKMessaging.js +2 -1
- package/dist/cjs/ChimeSDKMessaging.js.map +1 -1
- package/dist/cjs/ChimeSDKMessagingClient.js +15 -14
- package/dist/cjs/ChimeSDKMessagingClient.js.map +1 -1
- package/dist/cjs/commands/BatchCreateChannelMembershipCommand.js +3 -3
- package/dist/cjs/commands/BatchCreateChannelMembershipCommand.js.map +1 -1
- package/dist/cjs/commands/CreateChannelBanCommand.js +3 -3
- package/dist/cjs/commands/CreateChannelBanCommand.js.map +1 -1
- package/dist/cjs/commands/CreateChannelCommand.js +3 -3
- package/dist/cjs/commands/CreateChannelCommand.js.map +1 -1
- package/dist/cjs/commands/CreateChannelMembershipCommand.js +3 -3
- package/dist/cjs/commands/CreateChannelMembershipCommand.js.map +1 -1
- package/dist/cjs/commands/CreateChannelModeratorCommand.js +3 -3
- package/dist/cjs/commands/CreateChannelModeratorCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteChannelBanCommand.js +3 -3
- package/dist/cjs/commands/DeleteChannelBanCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteChannelCommand.js +3 -3
- package/dist/cjs/commands/DeleteChannelCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteChannelMembershipCommand.js +3 -3
- package/dist/cjs/commands/DeleteChannelMembershipCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteChannelMessageCommand.js +3 -3
- package/dist/cjs/commands/DeleteChannelMessageCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteChannelModeratorCommand.js +3 -3
- package/dist/cjs/commands/DeleteChannelModeratorCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeChannelBanCommand.js +3 -3
- package/dist/cjs/commands/DescribeChannelBanCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeChannelCommand.js +3 -3
- package/dist/cjs/commands/DescribeChannelCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeChannelMembershipCommand.js +3 -3
- package/dist/cjs/commands/DescribeChannelMembershipCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +3 -3
- package/dist/cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +3 -3
- package/dist/cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeChannelModeratorCommand.js +3 -3
- package/dist/cjs/commands/DescribeChannelModeratorCommand.js.map +1 -1
- package/dist/cjs/commands/GetChannelMessageCommand.js +3 -3
- package/dist/cjs/commands/GetChannelMessageCommand.js.map +1 -1
- package/dist/cjs/commands/GetMessagingSessionEndpointCommand.js +3 -3
- package/dist/cjs/commands/GetMessagingSessionEndpointCommand.js.map +1 -1
- package/dist/cjs/commands/ListChannelBansCommand.js +3 -3
- package/dist/cjs/commands/ListChannelBansCommand.js.map +1 -1
- package/dist/cjs/commands/ListChannelMembershipsCommand.js +3 -3
- package/dist/cjs/commands/ListChannelMembershipsCommand.js.map +1 -1
- package/dist/cjs/commands/ListChannelMembershipsForAppInstanceUserCommand.js +3 -3
- package/dist/cjs/commands/ListChannelMembershipsForAppInstanceUserCommand.js.map +1 -1
- package/dist/cjs/commands/ListChannelMessagesCommand.js +3 -3
- package/dist/cjs/commands/ListChannelMessagesCommand.js.map +1 -1
- package/dist/cjs/commands/ListChannelModeratorsCommand.js +3 -3
- package/dist/cjs/commands/ListChannelModeratorsCommand.js.map +1 -1
- package/dist/cjs/commands/ListChannelsCommand.js +3 -3
- package/dist/cjs/commands/ListChannelsCommand.js.map +1 -1
- package/dist/cjs/commands/ListChannelsModeratedByAppInstanceUserCommand.js +3 -3
- package/dist/cjs/commands/ListChannelsModeratedByAppInstanceUserCommand.js.map +1 -1
- package/dist/cjs/commands/RedactChannelMessageCommand.js +3 -3
- package/dist/cjs/commands/RedactChannelMessageCommand.js.map +1 -1
- package/dist/cjs/commands/SendChannelMessageCommand.js +3 -3
- package/dist/cjs/commands/SendChannelMessageCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateChannelCommand.js +3 -3
- package/dist/cjs/commands/UpdateChannelCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateChannelMessageCommand.js +3 -3
- package/dist/cjs/commands/UpdateChannelMessageCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateChannelReadMarkerCommand.js +3 -3
- package/dist/cjs/commands/UpdateChannelReadMarkerCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +41 -41
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_restJson1.js +153 -153
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/ChimeSDKMessaging.js +1 -7
- package/dist/es/ChimeSDKMessaging.js.map +1 -1
- package/dist/es/ChimeSDKMessagingClient.js +1 -12
- package/dist/es/ChimeSDKMessagingClient.js.map +1 -1
- package/dist/es/commands/BatchCreateChannelMembershipCommand.js +2 -27
- package/dist/es/commands/BatchCreateChannelMembershipCommand.js.map +1 -1
- package/dist/es/commands/CreateChannelBanCommand.js +2 -38
- package/dist/es/commands/CreateChannelBanCommand.js.map +1 -1
- package/dist/es/commands/CreateChannelCommand.js +2 -37
- package/dist/es/commands/CreateChannelCommand.js.map +1 -1
- package/dist/es/commands/CreateChannelMembershipCommand.js +2 -64
- package/dist/es/commands/CreateChannelMembershipCommand.js.map +1 -1
- package/dist/es/commands/CreateChannelModeratorCommand.js +2 -51
- package/dist/es/commands/CreateChannelModeratorCommand.js.map +1 -1
- package/dist/es/commands/DeleteChannelBanCommand.js +2 -33
- package/dist/es/commands/DeleteChannelBanCommand.js.map +1 -1
- package/dist/es/commands/DeleteChannelCommand.js +2 -34
- package/dist/es/commands/DeleteChannelCommand.js.map +1 -1
- package/dist/es/commands/DeleteChannelMembershipCommand.js +2 -33
- package/dist/es/commands/DeleteChannelMembershipCommand.js.map +1 -1
- package/dist/es/commands/DeleteChannelMessageCommand.js +2 -35
- package/dist/es/commands/DeleteChannelMessageCommand.js.map +1 -1
- package/dist/es/commands/DeleteChannelModeratorCommand.js +2 -33
- package/dist/es/commands/DeleteChannelModeratorCommand.js.map +1 -1
- package/dist/es/commands/DescribeChannelBanCommand.js +2 -34
- package/dist/es/commands/DescribeChannelBanCommand.js.map +1 -1
- package/dist/es/commands/DescribeChannelCommand.js +2 -35
- package/dist/es/commands/DescribeChannelCommand.js.map +1 -1
- package/dist/es/commands/DescribeChannelMembershipCommand.js +2 -32
- package/dist/es/commands/DescribeChannelMembershipCommand.js.map +1 -1
- package/dist/es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +2 -34
- package/dist/es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js.map +1 -1
- package/dist/es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +2 -34
- package/dist/es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js.map +1 -1
- package/dist/es/commands/DescribeChannelModeratorCommand.js +2 -32
- package/dist/es/commands/DescribeChannelModeratorCommand.js.map +1 -1
- package/dist/es/commands/GetChannelMessageCommand.js +2 -33
- package/dist/es/commands/GetChannelMessageCommand.js.map +1 -1
- package/dist/es/commands/GetMessagingSessionEndpointCommand.js +2 -27
- package/dist/es/commands/GetMessagingSessionEndpointCommand.js.map +1 -1
- package/dist/es/commands/ListChannelBansCommand.js +2 -33
- package/dist/es/commands/ListChannelBansCommand.js.map +1 -1
- package/dist/es/commands/ListChannelMembershipsCommand.js +2 -34
- package/dist/es/commands/ListChannelMembershipsCommand.js.map +1 -1
- package/dist/es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +2 -34
- package/dist/es/commands/ListChannelMembershipsForAppInstanceUserCommand.js.map +1 -1
- package/dist/es/commands/ListChannelMessagesCommand.js +2 -37
- package/dist/es/commands/ListChannelMessagesCommand.js.map +1 -1
- package/dist/es/commands/ListChannelModeratorsCommand.js +2 -32
- package/dist/es/commands/ListChannelModeratorsCommand.js.map +1 -1
- package/dist/es/commands/ListChannelsCommand.js +2 -48
- package/dist/es/commands/ListChannelsCommand.js.map +1 -1
- package/dist/es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +2 -33
- package/dist/es/commands/ListChannelsModeratedByAppInstanceUserCommand.js.map +1 -1
- package/dist/es/commands/RedactChannelMessageCommand.js +2 -34
- package/dist/es/commands/RedactChannelMessageCommand.js.map +1 -1
- package/dist/es/commands/SendChannelMessageCommand.js +2 -36
- package/dist/es/commands/SendChannelMessageCommand.js.map +1 -1
- package/dist/es/commands/UpdateChannelCommand.js +2 -34
- package/dist/es/commands/UpdateChannelCommand.js.map +1 -1
- package/dist/es/commands/UpdateChannelMessageCommand.js +2 -33
- package/dist/es/commands/UpdateChannelMessageCommand.js.map +1 -1
- package/dist/es/commands/UpdateChannelReadMarkerCommand.js +2 -33
- package/dist/es/commands/UpdateChannelReadMarkerCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -246
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/ListChannelBansPaginator.js +16 -28
- package/dist/es/pagination/ListChannelBansPaginator.js.map +1 -1
- package/dist/es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +16 -28
- package/dist/es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js.map +1 -1
- package/dist/es/pagination/ListChannelMembershipsPaginator.js +16 -28
- package/dist/es/pagination/ListChannelMembershipsPaginator.js.map +1 -1
- package/dist/es/pagination/ListChannelMessagesPaginator.js +16 -28
- package/dist/es/pagination/ListChannelMessagesPaginator.js.map +1 -1
- package/dist/es/pagination/ListChannelModeratorsPaginator.js +16 -28
- package/dist/es/pagination/ListChannelModeratorsPaginator.js.map +1 -1
- package/dist/es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +16 -28
- package/dist/es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js.map +1 -1
- package/dist/es/pagination/ListChannelsPaginator.js +16 -28
- package/dist/es/pagination/ListChannelsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restJson1.js +1079 -1084
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/ChimeSDKMessaging.d.ts +2 -1
- package/dist/types/ChimeSDKMessagingClient.d.ts +2 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/ChimeSDKMessaging.d.ts +2 -1
- package/dist/types/ts3.4/ChimeSDKMessagingClient.d.ts +2 -1
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
- package/protocols/Aws_restJson1.ts +17 -15
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,43 +3,13 @@ import { DescribeChannelModeratorRequest, DescribeChannelModeratorResponse } fro
|
|
|
3
3
|
import { deserializeAws_restJson1DescribeChannelModeratorCommand, serializeAws_restJson1DescribeChannelModeratorCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Returns the full details of a single ChannelModerator.</p>
|
|
8
|
-
* <note>
|
|
9
|
-
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
10
|
-
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
11
|
-
* the header.</p>
|
|
12
|
-
* </note>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ChimeSDKMessagingClient, DescribeChannelModeratorCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
17
|
-
* // const { ChimeSDKMessagingClient, DescribeChannelModeratorCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
18
|
-
* const client = new ChimeSDKMessagingClient(config);
|
|
19
|
-
* const command = new DescribeChannelModeratorCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DescribeChannelModeratorCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DescribeChannelModeratorCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
var DescribeChannelModeratorCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DescribeChannelModeratorCommand = (function (_super) {
|
|
29
7
|
__extends(DescribeChannelModeratorCommand, _super);
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
8
|
function DescribeChannelModeratorCommand(input) {
|
|
33
|
-
var _this =
|
|
34
|
-
// Start section: command_constructor
|
|
35
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
36
10
|
_this.input = input;
|
|
37
11
|
return _this;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
DescribeChannelModeratorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeChannelModeratorCommand.js","sourceRoot":"","sources":["../../../commands/DescribeChannelModeratorCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACvG,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"DescribeChannelModeratorCommand.js","sourceRoot":"","sources":["../../../commands/DescribeChannelModeratorCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACvG,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAoC7D;IAAqD,mDAIpD;IAIC,yCAAqB,KAA2C;QAAhE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAsC;;IAIhE,CAAC;IAKD,2DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,IAAM,WAAW,GAAG,iCAAiC,CAAC;QACtD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,+BAA+B,CAAC,kBAAkB;YAC3E,wBAAwB,EAAE,gCAAgC,CAAC,kBAAkB;SAC9E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,mDAAS,GAAjB,UAAkB,KAA2C,EAAE,OAAuB;QACpF,OAAO,qDAAqD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAEO,qDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,uDAAuD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAIH,sCAAC;AAAD,CAAC,AAtDD,CAAqD,QAAQ,GAsD5D"}
|
|
@@ -3,44 +3,13 @@ import { GetChannelMessageRequest, GetChannelMessageResponse } from "../models/m
|
|
|
3
3
|
import { deserializeAws_restJson1GetChannelMessageCommand, serializeAws_restJson1GetChannelMessageCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Gets the full details of a channel message.</p>
|
|
8
|
-
*
|
|
9
|
-
* <note>
|
|
10
|
-
* <p>The x-amz-chime-bearer request header is mandatory. Use the
|
|
11
|
-
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
12
|
-
* the header.</p>
|
|
13
|
-
* </note>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { ChimeSDKMessagingClient, GetChannelMessageCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
18
|
-
* // const { ChimeSDKMessagingClient, GetChannelMessageCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
19
|
-
* const client = new ChimeSDKMessagingClient(config);
|
|
20
|
-
* const command = new GetChannelMessageCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link GetChannelMessageCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link GetChannelMessageCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
var GetChannelMessageCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetChannelMessageCommand = (function (_super) {
|
|
30
7
|
__extends(GetChannelMessageCommand, _super);
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
8
|
function GetChannelMessageCommand(input) {
|
|
34
|
-
var _this =
|
|
35
|
-
// Start section: command_constructor
|
|
36
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
37
10
|
_this.input = input;
|
|
38
11
|
return _this;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
GetChannelMessageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetChannelMessageCommand.js","sourceRoot":"","sources":["../../../commands/GetChannelMessageCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetChannelMessageCommand.js","sourceRoot":"","sources":["../../../commands/GetChannelMessageCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAqC7D;IAA8C,4CAI7C;IAIC,kCAAqB,KAAoC;QAAzD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA+B;;IAIzD,CAAC;IAKD,oDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,IAAM,WAAW,GAAG,0BAA0B,CAAC;QAC/C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,wBAAwB,CAAC,kBAAkB;YACpE,wBAAwB,EAAE,yBAAyB,CAAC,kBAAkB;SACvE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,4CAAS,GAAjB,UAAkB,KAAoC,EAAE,OAAuB;QAC7E,OAAO,8CAA8C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,8CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,gDAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAIH,+BAAC;AAAD,CAAC,AAtDD,CAA8C,QAAQ,GAsDrD"}
|
|
@@ -3,38 +3,13 @@ import { GetMessagingSessionEndpointRequest, GetMessagingSessionEndpointResponse
|
|
|
3
3
|
import { deserializeAws_restJson1GetMessagingSessionEndpointCommand, serializeAws_restJson1GetMessagingSessionEndpointCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>The details of the endpoint for the messaging session.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { ChimeSDKMessagingClient, GetMessagingSessionEndpointCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
12
|
-
* // const { ChimeSDKMessagingClient, GetMessagingSessionEndpointCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
13
|
-
* const client = new ChimeSDKMessagingClient(config);
|
|
14
|
-
* const command = new GetMessagingSessionEndpointCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link GetMessagingSessionEndpointCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link GetMessagingSessionEndpointCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var GetMessagingSessionEndpointCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetMessagingSessionEndpointCommand = (function (_super) {
|
|
24
7
|
__extends(GetMessagingSessionEndpointCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function GetMessagingSessionEndpointCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
GetMessagingSessionEndpointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetMessagingSessionEndpointCommand.js","sourceRoot":"","sources":["../../../commands/GetMessagingSessionEndpointCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,kCAAkC,EAAE,mCAAmC,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EACL,0DAA0D,EAC1D,wDAAwD,GACzD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetMessagingSessionEndpointCommand.js","sourceRoot":"","sources":["../../../commands/GetMessagingSessionEndpointCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,kCAAkC,EAAE,mCAAmC,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EACL,0DAA0D,EAC1D,wDAAwD,GACzD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAiC7D;IAAwD,sDAIvD;IAIC,4CAAqB,KAA8C;QAAnE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyC;;IAInE,CAAC;IAKD,8DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,IAAM,WAAW,GAAG,oCAAoC,CAAC;QACzD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kCAAkC,CAAC,kBAAkB;YAC9E,wBAAwB,EAAE,mCAAmC,CAAC,kBAAkB;SACjF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sDAAS,GAAjB,UAAkB,KAA8C,EAAE,OAAuB;QACvF,OAAO,wDAAwD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAEO,wDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,0DAA0D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAIH,yCAAC;AAAD,CAAC,AAzDD,CAAwD,QAAQ,GAyD/D"}
|
|
@@ -3,44 +3,13 @@ import { ListChannelBansRequest, ListChannelBansResponse } from "../models/model
|
|
|
3
3
|
import { deserializeAws_restJson1ListChannelBansCommand, serializeAws_restJson1ListChannelBansCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Lists all the users banned from a particular channel.</p>
|
|
8
|
-
*
|
|
9
|
-
* <note>
|
|
10
|
-
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
11
|
-
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
12
|
-
* the header.</p>
|
|
13
|
-
* </note>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { ChimeSDKMessagingClient, ListChannelBansCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
18
|
-
* // const { ChimeSDKMessagingClient, ListChannelBansCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
19
|
-
* const client = new ChimeSDKMessagingClient(config);
|
|
20
|
-
* const command = new ListChannelBansCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link ListChannelBansCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link ListChannelBansCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
var ListChannelBansCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListChannelBansCommand = (function (_super) {
|
|
30
7
|
__extends(ListChannelBansCommand, _super);
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
8
|
function ListChannelBansCommand(input) {
|
|
34
|
-
var _this =
|
|
35
|
-
// Start section: command_constructor
|
|
36
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
37
10
|
_this.input = input;
|
|
38
11
|
return _this;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
ListChannelBansCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListChannelBansCommand.js","sourceRoot":"","sources":["../../../commands/ListChannelBansCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListChannelBansCommand.js","sourceRoot":"","sources":["../../../commands/ListChannelBansCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAqC7D;IAA4C,0CAI3C;IAIC,gCAAqB,KAAkC;QAAvD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA6B;;IAIvD,CAAC;IAKD,kDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,IAAM,WAAW,GAAG,wBAAwB,CAAC;QAC7C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,sBAAsB,CAAC,kBAAkB;YAClE,wBAAwB,EAAE,uBAAuB,CAAC,kBAAkB;SACrE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,0CAAS,GAAjB,UAAkB,KAAkC,EAAE,OAAuB;QAC3E,OAAO,4CAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,4CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,8CAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAIH,6BAAC;AAAD,CAAC,AAtDD,CAA4C,QAAQ,GAsDnD"}
|
|
@@ -3,45 +3,13 @@ import { ListChannelMembershipsRequest, ListChannelMembershipsResponse } from ".
|
|
|
3
3
|
import { deserializeAws_restJson1ListChannelMembershipsCommand, serializeAws_restJson1ListChannelMembershipsCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Lists all channel memberships in a channel.</p>
|
|
8
|
-
*
|
|
9
|
-
* <note>
|
|
10
|
-
*
|
|
11
|
-
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
12
|
-
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
13
|
-
* the header.</p>
|
|
14
|
-
* </note>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { ChimeSDKMessagingClient, ListChannelMembershipsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
19
|
-
* // const { ChimeSDKMessagingClient, ListChannelMembershipsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
20
|
-
* const client = new ChimeSDKMessagingClient(config);
|
|
21
|
-
* const command = new ListChannelMembershipsCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link ListChannelMembershipsCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link ListChannelMembershipsCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
var ListChannelMembershipsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListChannelMembershipsCommand = (function (_super) {
|
|
31
7
|
__extends(ListChannelMembershipsCommand, _super);
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
8
|
function ListChannelMembershipsCommand(input) {
|
|
35
|
-
var _this =
|
|
36
|
-
// Start section: command_constructor
|
|
37
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
38
10
|
_this.input = input;
|
|
39
11
|
return _this;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
ListChannelMembershipsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListChannelMembershipsCommand.js","sourceRoot":"","sources":["../../../commands/ListChannelMembershipsCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListChannelMembershipsCommand.js","sourceRoot":"","sources":["../../../commands/ListChannelMembershipsCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAsC7D;IAAmD,iDAIlD;IAIC,uCAAqB,KAAyC;QAA9D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAoC;;IAI9D,CAAC;IAKD,yDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,IAAM,WAAW,GAAG,+BAA+B,CAAC;QACpD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,6BAA6B,CAAC,kBAAkB;YACzE,wBAAwB,EAAE,8BAA8B,CAAC,kBAAkB;SAC5E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,iDAAS,GAAjB,UAAkB,KAAyC,EAAE,OAAuB;QAClF,OAAO,mDAAmD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAEO,mDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,qDAAqD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAIH,oCAAC;AAAD,CAAC,AAtDD,CAAmD,QAAQ,GAsD1D"}
|
|
@@ -3,45 +3,13 @@ import { ListChannelMembershipsForAppInstanceUserRequest, ListChannelMemberships
|
|
|
3
3
|
import { deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand, serializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p> Lists all channels that a particular <code>AppInstanceUser</code> is a part of. Only an
|
|
8
|
-
* <code>AppInstanceAdmin</code> can call the API with a user ARN that is not their own. </p>
|
|
9
|
-
*
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
12
|
-
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
13
|
-
* the header.</p>
|
|
14
|
-
* </note>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { ChimeSDKMessagingClient, ListChannelMembershipsForAppInstanceUserCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
19
|
-
* // const { ChimeSDKMessagingClient, ListChannelMembershipsForAppInstanceUserCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
20
|
-
* const client = new ChimeSDKMessagingClient(config);
|
|
21
|
-
* const command = new ListChannelMembershipsForAppInstanceUserCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link ListChannelMembershipsForAppInstanceUserCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link ListChannelMembershipsForAppInstanceUserCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
var ListChannelMembershipsForAppInstanceUserCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListChannelMembershipsForAppInstanceUserCommand = (function (_super) {
|
|
31
7
|
__extends(ListChannelMembershipsForAppInstanceUserCommand, _super);
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
8
|
function ListChannelMembershipsForAppInstanceUserCommand(input) {
|
|
35
|
-
var _this =
|
|
36
|
-
// Start section: command_constructor
|
|
37
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
38
10
|
_this.input = input;
|
|
39
11
|
return _this;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
ListChannelMembershipsForAppInstanceUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListChannelMembershipsForAppInstanceUserCommand.js","sourceRoot":"","sources":["../../../commands/ListChannelMembershipsForAppInstanceUserCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EACL,+CAA+C,EAC/C,gDAAgD,GACjD,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,uEAAuE,EACvE,qEAAqE,GACtE,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListChannelMembershipsForAppInstanceUserCommand.js","sourceRoot":"","sources":["../../../commands/ListChannelMembershipsForAppInstanceUserCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EACL,+CAA+C,EAC/C,gDAAgD,GACjD,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,uEAAuE,EACvE,qEAAqE,GACtE,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAyC7D;IAAqE,mEAIpE;IAIC,yDAAqB,KAA2D;QAAhF,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAsD;;IAIhF,CAAC;IAKD,2EAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAK9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,IAAM,WAAW,GAAG,iDAAiD,CAAC;QACtE,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,+CAA+C,CAAC,kBAAkB;YAC3F,wBAAwB,EAAE,gDAAgD,CAAC,kBAAkB;SAC9F,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,mEAAS,GAAjB,UACE,KAA2D,EAC3D,OAAuB;QAEvB,OAAO,qEAAqE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC;IAEO,qEAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,uEAAuE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClG,CAAC;IAIH,sDAAC;AAAD,CAAC,AA/DD,CAAqE,QAAQ,GA+D5E"}
|
|
@@ -3,48 +3,13 @@ import { ListChannelMessagesRequest, ListChannelMessagesResponse } from "../mode
|
|
|
3
3
|
import { deserializeAws_restJson1ListChannelMessagesCommand, serializeAws_restJson1ListChannelMessagesCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>List all the messages in a channel. Returns a paginated list of
|
|
8
|
-
* <code>ChannelMessages</code>. By default, sorted by creation timestamp in descending
|
|
9
|
-
* order.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>Redacted messages appear in the results as empty, since they are only redacted, not
|
|
12
|
-
* deleted. Deleted messages do not appear in the results. This action always returns the
|
|
13
|
-
* latest version of an edited message.</p>
|
|
14
|
-
* <p>Also, the x-amz-chime-bearer request header is mandatory. Use the
|
|
15
|
-
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
16
|
-
* the header.</p>
|
|
17
|
-
* </note>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { ChimeSDKMessagingClient, ListChannelMessagesCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
22
|
-
* // const { ChimeSDKMessagingClient, ListChannelMessagesCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
23
|
-
* const client = new ChimeSDKMessagingClient(config);
|
|
24
|
-
* const command = new ListChannelMessagesCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link ListChannelMessagesCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link ListChannelMessagesCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
var ListChannelMessagesCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListChannelMessagesCommand = (function (_super) {
|
|
34
7
|
__extends(ListChannelMessagesCommand, _super);
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
8
|
function ListChannelMessagesCommand(input) {
|
|
38
|
-
var _this =
|
|
39
|
-
// Start section: command_constructor
|
|
40
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
41
10
|
_this.input = input;
|
|
42
11
|
return _this;
|
|
43
|
-
// End section: command_constructor
|
|
44
12
|
}
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
13
|
ListChannelMessagesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
49
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
50
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListChannelMessagesCommand.js","sourceRoot":"","sources":["../../../commands/ListChannelMessagesCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListChannelMessagesCommand.js","sourceRoot":"","sources":["../../../commands/ListChannelMessagesCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAyC7D;IAAgD,8CAI/C;IAIC,oCAAqB,KAAsC;QAA3D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAiC;;IAI3D,CAAC;IAKD,sDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,IAAM,WAAW,GAAG,4BAA4B,CAAC;QACjD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,0BAA0B,CAAC,kBAAkB;YACtE,wBAAwB,EAAE,2BAA2B,CAAC,kBAAkB;SACzE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,8CAAS,GAAjB,UAAkB,KAAsC,EAAE,OAAuB;QAC/E,OAAO,gDAAgD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAEO,gDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,kDAAkD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAIH,iCAAC;AAAD,CAAC,AAtDD,CAAgD,QAAQ,GAsDvD"}
|
|
@@ -3,43 +3,13 @@ import { ListChannelModeratorsRequest, ListChannelModeratorsResponse } from "../
|
|
|
3
3
|
import { deserializeAws_restJson1ListChannelModeratorsCommand, serializeAws_restJson1ListChannelModeratorsCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Lists all the moderators for a channel.</p>
|
|
8
|
-
* <note>
|
|
9
|
-
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
10
|
-
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
11
|
-
* the header.</p>
|
|
12
|
-
* </note>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ChimeSDKMessagingClient, ListChannelModeratorsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
17
|
-
* // const { ChimeSDKMessagingClient, ListChannelModeratorsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
18
|
-
* const client = new ChimeSDKMessagingClient(config);
|
|
19
|
-
* const command = new ListChannelModeratorsCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link ListChannelModeratorsCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link ListChannelModeratorsCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
var ListChannelModeratorsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListChannelModeratorsCommand = (function (_super) {
|
|
29
7
|
__extends(ListChannelModeratorsCommand, _super);
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
8
|
function ListChannelModeratorsCommand(input) {
|
|
33
|
-
var _this =
|
|
34
|
-
// Start section: command_constructor
|
|
35
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
36
10
|
_this.input = input;
|
|
37
11
|
return _this;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
ListChannelModeratorsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListChannelModeratorsCommand.js","sourceRoot":"","sources":["../../../commands/ListChannelModeratorsCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACjG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListChannelModeratorsCommand.js","sourceRoot":"","sources":["../../../commands/ListChannelModeratorsCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACjG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAoC7D;IAAkD,gDAIjD;IAIC,sCAAqB,KAAwC;QAA7D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAmC;;IAI7D,CAAC;IAKD,wDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,IAAM,WAAW,GAAG,8BAA8B,CAAC;QACnD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,4BAA4B,CAAC,kBAAkB;YACxE,wBAAwB,EAAE,6BAA6B,CAAC,kBAAkB;SAC3E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,gDAAS,GAAjB,UAAkB,KAAwC,EAAE,OAAuB;QACjF,OAAO,kDAAkD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEO,kDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,oDAAoD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAIH,mCAAC;AAAD,CAAC,AAtDD,CAAkD,QAAQ,GAsDzD"}
|
|
@@ -3,59 +3,13 @@ import { ListChannelsRequest, ListChannelsResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1ListChannelsCommand, serializeAws_restJson1ListChannelsCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Lists all Channels created under a single Chime App as a paginated list. You can specify
|
|
8
|
-
* filters to narrow results.</p>
|
|
9
|
-
*
|
|
10
|
-
* <p class="title">
|
|
11
|
-
* <b>Functionality & restrictions</b>
|
|
12
|
-
* </p>
|
|
13
|
-
* <ul>
|
|
14
|
-
* <li>
|
|
15
|
-
* <p>Use privacy = <code>PUBLIC</code> to retrieve all public channels in the
|
|
16
|
-
* account.</p>
|
|
17
|
-
* </li>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>Only an <code>AppInstanceAdmin</code> can set privacy = <code>PRIVATE</code> to
|
|
20
|
-
* list the private channels in an account.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* </ul>
|
|
23
|
-
*
|
|
24
|
-
* <note>
|
|
25
|
-
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
26
|
-
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
27
|
-
* the header.</p>
|
|
28
|
-
* </note>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { ChimeSDKMessagingClient, ListChannelsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
33
|
-
* // const { ChimeSDKMessagingClient, ListChannelsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
34
|
-
* const client = new ChimeSDKMessagingClient(config);
|
|
35
|
-
* const command = new ListChannelsCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link ListChannelsCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link ListChannelsCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
var ListChannelsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListChannelsCommand = (function (_super) {
|
|
45
7
|
__extends(ListChannelsCommand, _super);
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
8
|
function ListChannelsCommand(input) {
|
|
49
|
-
var _this =
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
52
10
|
_this.input = input;
|
|
53
11
|
return _this;
|
|
54
|
-
// End section: command_constructor
|
|
55
12
|
}
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
13
|
ListChannelsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
60
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
61
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListChannelsCommand.js","sourceRoot":"","sources":["../../../commands/ListChannelsCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,2CAA2C,EAC3C,yCAAyC,GAC1C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListChannelsCommand.js","sourceRoot":"","sources":["../../../commands/ListChannelsCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,2CAA2C,EAC3C,yCAAyC,GAC1C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAoD7D;IAAyC,uCAIxC;IAIC,6BAAqB,KAA+B;QAApD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0B;;IAIpD,CAAC;IAKD,+CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,IAAM,WAAW,GAAG,qBAAqB,CAAC;QAC1C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,mBAAmB,CAAC,kBAAkB;YAC/D,wBAAwB,EAAE,oBAAoB,CAAC,kBAAkB;SAClE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,uCAAS,GAAjB,UAAkB,KAA+B,EAAE,OAAuB;QACxE,OAAO,yCAAyC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAEO,yCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,2CAA2C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
|
|
@@ -3,44 +3,13 @@ import { ListChannelsModeratedByAppInstanceUserRequest, ListChannelsModeratedByA
|
|
|
3
3
|
import { deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand, serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>A list of the channels moderated by an <code>AppInstanceUser</code>.</p>
|
|
8
|
-
*
|
|
9
|
-
* <note>
|
|
10
|
-
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
11
|
-
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
12
|
-
* the header.</p>
|
|
13
|
-
* </note>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { ChimeSDKMessagingClient, ListChannelsModeratedByAppInstanceUserCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
|
|
18
|
-
* // const { ChimeSDKMessagingClient, ListChannelsModeratedByAppInstanceUserCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
|
|
19
|
-
* const client = new ChimeSDKMessagingClient(config);
|
|
20
|
-
* const command = new ListChannelsModeratedByAppInstanceUserCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link ListChannelsModeratedByAppInstanceUserCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link ListChannelsModeratedByAppInstanceUserCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
var ListChannelsModeratedByAppInstanceUserCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListChannelsModeratedByAppInstanceUserCommand = (function (_super) {
|
|
30
7
|
__extends(ListChannelsModeratedByAppInstanceUserCommand, _super);
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
8
|
function ListChannelsModeratedByAppInstanceUserCommand(input) {
|
|
34
|
-
var _this =
|
|
35
|
-
// Start section: command_constructor
|
|
36
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
37
10
|
_this.input = input;
|
|
38
11
|
return _this;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
ListChannelsModeratedByAppInstanceUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListChannelsModeratedByAppInstanceUserCommand.js","sourceRoot":"","sources":["../../../commands/ListChannelsModeratedByAppInstanceUserCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EACL,6CAA6C,EAC7C,8CAA8C,GAC/C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,qEAAqE,EACrE,mEAAmE,GACpE,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListChannelsModeratedByAppInstanceUserCommand.js","sourceRoot":"","sources":["../../../commands/ListChannelsModeratedByAppInstanceUserCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EACL,6CAA6C,EAC7C,8CAA8C,GAC/C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,qEAAqE,EACrE,mEAAmE,GACpE,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAwC7D;IAAmE,iEAIlE;IAIC,uDAAqB,KAAyD;QAA9E,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAoD;;IAI9E,CAAC;IAKD,yEAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,IAAM,WAAW,GAAG,+CAA+C,CAAC;QACpE,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,6CAA6C,CAAC,kBAAkB;YACzF,wBAAwB,EAAE,8CAA8C,CAAC,kBAAkB;SAC5F,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,iEAAS,GAAjB,UACE,KAAyD,EACzD,OAAuB;QAEvB,OAAO,mEAAmE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;IAEO,mEAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,qEAAqE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChG,CAAC;IAIH,oDAAC;AAAD,CAAC,AA5DD,CAAmE,QAAQ,GA4D1E"}
|