@aws-sdk/client-chime-sdk-messaging 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/ChimeSDKMessaging.js +197 -190
- package/dist-es/ChimeSDKMessagingClient.js +28 -22
- package/dist-es/commands/AssociateChannelFlowCommand.js +29 -22
- package/dist-es/commands/BatchCreateChannelMembershipCommand.js +28 -21
- package/dist-es/commands/ChannelFlowCallbackCommand.js +28 -21
- package/dist-es/commands/CreateChannelBanCommand.js +28 -21
- package/dist-es/commands/CreateChannelCommand.js +28 -21
- package/dist-es/commands/CreateChannelFlowCommand.js +28 -21
- package/dist-es/commands/CreateChannelMembershipCommand.js +28 -21
- package/dist-es/commands/CreateChannelModeratorCommand.js +28 -21
- package/dist-es/commands/DeleteChannelBanCommand.js +29 -22
- package/dist-es/commands/DeleteChannelCommand.js +29 -22
- package/dist-es/commands/DeleteChannelFlowCommand.js +29 -22
- package/dist-es/commands/DeleteChannelMembershipCommand.js +29 -22
- package/dist-es/commands/DeleteChannelMessageCommand.js +29 -22
- package/dist-es/commands/DeleteChannelModeratorCommand.js +29 -22
- package/dist-es/commands/DescribeChannelBanCommand.js +28 -21
- package/dist-es/commands/DescribeChannelCommand.js +28 -21
- package/dist-es/commands/DescribeChannelFlowCommand.js +28 -21
- package/dist-es/commands/DescribeChannelMembershipCommand.js +28 -21
- package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +28 -21
- package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +28 -21
- package/dist-es/commands/DescribeChannelModeratorCommand.js +28 -21
- package/dist-es/commands/DisassociateChannelFlowCommand.js +29 -22
- package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +28 -21
- package/dist-es/commands/GetChannelMessageCommand.js +28 -21
- package/dist-es/commands/GetChannelMessageStatusCommand.js +28 -21
- package/dist-es/commands/GetMessagingSessionEndpointCommand.js +28 -21
- package/dist-es/commands/ListChannelBansCommand.js +28 -21
- package/dist-es/commands/ListChannelFlowsCommand.js +28 -21
- package/dist-es/commands/ListChannelMembershipsCommand.js +28 -21
- package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +28 -21
- package/dist-es/commands/ListChannelMessagesCommand.js +28 -21
- package/dist-es/commands/ListChannelModeratorsCommand.js +28 -21
- package/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js +28 -21
- package/dist-es/commands/ListChannelsCommand.js +28 -21
- package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +28 -21
- package/dist-es/commands/ListSubChannelsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/PutChannelMembershipPreferencesCommand.js +28 -21
- package/dist-es/commands/RedactChannelMessageCommand.js +28 -21
- package/dist-es/commands/SearchChannelsCommand.js +28 -21
- package/dist-es/commands/SendChannelMessageCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +29 -22
- package/dist-es/commands/UntagResourceCommand.js +29 -22
- package/dist-es/commands/UpdateChannelCommand.js +28 -21
- package/dist-es/commands/UpdateChannelFlowCommand.js +28 -21
- package/dist-es/commands/UpdateChannelMessageCommand.js +28 -21
- package/dist-es/commands/UpdateChannelReadMarkerCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ChimeSDKMessagingServiceException.js +10 -5
- package/dist-es/models/models_0.js +282 -627
- package/dist-es/pagination/ListChannelBansPaginator.js +68 -25
- package/dist-es/pagination/ListChannelFlowsPaginator.js +68 -25
- package/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +68 -25
- package/dist-es/pagination/ListChannelMembershipsPaginator.js +68 -25
- package/dist-es/pagination/ListChannelMessagesPaginator.js +68 -25
- package/dist-es/pagination/ListChannelModeratorsPaginator.js +68 -25
- package/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js +68 -25
- package/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +68 -25
- package/dist-es/pagination/ListChannelsPaginator.js +68 -25
- package/dist-es/pagination/ListSubChannelsPaginator.js +68 -25
- package/dist-es/pagination/SearchChannelsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +5312 -3792
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var ChimeSDKMessagingClient = (function (_super) {
|
|
13
|
+
__extends(ChimeSDKMessagingClient, _super);
|
|
14
|
+
function ChimeSDKMessagingClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
ChimeSDKMessagingClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return ChimeSDKMessagingClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { ChimeSDKMessagingClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateChannelFlowRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AssociateChannelFlowCommand, serializeAws_restJson1AssociateChannelFlowCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateChannelFlowCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateChannelFlowCommand, _super);
|
|
8
|
+
function AssociateChannelFlowCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateChannelFlowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMessagingClient";
|
|
18
|
+
var commandName = "AssociateChannelFlowCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateChannelFlowRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateChannelFlowCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AssociateChannelFlowCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateChannelFlowCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AssociateChannelFlowCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateChannelFlowCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateChannelFlowCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { BatchCreateChannelMembershipRequestFilterSensitiveLog, BatchCreateChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1BatchCreateChannelMembershipCommand, serializeAws_restJson1BatchCreateChannelMembershipCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var BatchCreateChannelMembershipCommand = (function (_super) {
|
|
7
|
+
__extends(BatchCreateChannelMembershipCommand, _super);
|
|
8
|
+
function BatchCreateChannelMembershipCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
BatchCreateChannelMembershipCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMessagingClient";
|
|
18
|
+
var commandName = "BatchCreateChannelMembershipCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: BatchCreateChannelMembershipRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: BatchCreateChannelMembershipResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
BatchCreateChannelMembershipCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1BatchCreateChannelMembershipCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
BatchCreateChannelMembershipCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1BatchCreateChannelMembershipCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return BatchCreateChannelMembershipCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchCreateChannelMembershipCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ChannelFlowCallbackRequestFilterSensitiveLog, ChannelFlowCallbackResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ChannelFlowCallbackCommand, serializeAws_restJson1ChannelFlowCallbackCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ChannelFlowCallbackCommand = (function (_super) {
|
|
7
|
+
__extends(ChannelFlowCallbackCommand, _super);
|
|
8
|
+
function ChannelFlowCallbackCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ChannelFlowCallbackCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMessagingClient";
|
|
18
|
+
var commandName = "ChannelFlowCallbackCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ChannelFlowCallbackRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ChannelFlowCallbackResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ChannelFlowCallbackCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ChannelFlowCallbackCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ChannelFlowCallbackCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ChannelFlowCallbackCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ChannelFlowCallbackCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ChannelFlowCallbackCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateChannelBanRequestFilterSensitiveLog, CreateChannelBanResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateChannelBanCommand, serializeAws_restJson1CreateChannelBanCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateChannelBanCommand = (function (_super) {
|
|
7
|
+
__extends(CreateChannelBanCommand, _super);
|
|
8
|
+
function CreateChannelBanCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateChannelBanCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMessagingClient";
|
|
18
|
+
var commandName = "CreateChannelBanCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateChannelBanRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateChannelBanResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateChannelBanCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateChannelBanCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateChannelBanCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateChannelBanCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateChannelBanCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateChannelBanCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateChannelRequestFilterSensitiveLog, CreateChannelResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateChannelCommand, serializeAws_restJson1CreateChannelCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateChannelCommand = (function (_super) {
|
|
7
|
+
__extends(CreateChannelCommand, _super);
|
|
8
|
+
function CreateChannelCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateChannelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMessagingClient";
|
|
18
|
+
var commandName = "CreateChannelCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateChannelRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateChannelResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateChannelCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateChannelCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateChannelCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateChannelCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateChannelCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateChannelCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateChannelFlowRequestFilterSensitiveLog, CreateChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateChannelFlowCommand, serializeAws_restJson1CreateChannelFlowCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateChannelFlowCommand = (function (_super) {
|
|
7
|
+
__extends(CreateChannelFlowCommand, _super);
|
|
8
|
+
function CreateChannelFlowCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateChannelFlowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMessagingClient";
|
|
18
|
+
var commandName = "CreateChannelFlowCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateChannelFlowRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateChannelFlowResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateChannelFlowCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateChannelFlowCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateChannelFlowCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateChannelFlowCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateChannelFlowCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateChannelFlowCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateChannelMembershipRequestFilterSensitiveLog, CreateChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateChannelMembershipCommand, serializeAws_restJson1CreateChannelMembershipCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateChannelMembershipCommand = (function (_super) {
|
|
7
|
+
__extends(CreateChannelMembershipCommand, _super);
|
|
8
|
+
function CreateChannelMembershipCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateChannelMembershipCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMessagingClient";
|
|
18
|
+
var commandName = "CreateChannelMembershipCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateChannelMembershipRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateChannelMembershipResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateChannelMembershipCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateChannelMembershipCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateChannelMembershipCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateChannelMembershipCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateChannelMembershipCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateChannelMembershipCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateChannelModeratorRequestFilterSensitiveLog, CreateChannelModeratorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateChannelModeratorCommand, serializeAws_restJson1CreateChannelModeratorCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateChannelModeratorCommand = (function (_super) {
|
|
7
|
+
__extends(CreateChannelModeratorCommand, _super);
|
|
8
|
+
function CreateChannelModeratorCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateChannelModeratorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMessagingClient";
|
|
18
|
+
var commandName = "CreateChannelModeratorCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateChannelModeratorRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateChannelModeratorResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateChannelModeratorCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateChannelModeratorCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateChannelModeratorCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateChannelModeratorCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateChannelModeratorCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateChannelModeratorCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteChannelBanRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1DeleteChannelBanCommand, serializeAws_restJson1DeleteChannelBanCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteChannelBanCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteChannelBanCommand, _super);
|
|
8
|
+
function DeleteChannelBanCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteChannelBanCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMessagingClient";
|
|
18
|
+
var commandName = "DeleteChannelBanCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteChannelBanRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteChannelBanCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1DeleteChannelBanCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteChannelBanCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1DeleteChannelBanCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteChannelBanCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteChannelBanCommand };
|