@aws-sdk/client-chime-sdk-messaging 3.183.0 → 3.185.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 +11 -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 +5 -5
|
@@ -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 { SearchChannelsRequestFilterSensitiveLog, SearchChannelsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1SearchChannelsCommand, serializeAws_restJson1SearchChannelsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SearchChannelsCommand = (function (_super) {
|
|
7
|
+
__extends(SearchChannelsCommand, _super);
|
|
8
|
+
function SearchChannelsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SearchChannelsCommand.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 = "SearchChannelsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SearchChannelsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SearchChannelsResponseFilterSensitiveLog,
|
|
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
|
+
SearchChannelsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1SearchChannelsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SearchChannelsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1SearchChannelsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SearchChannelsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SearchChannelsCommand };
|
|
@@ -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 { SendChannelMessageRequestFilterSensitiveLog, SendChannelMessageResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1SendChannelMessageCommand, serializeAws_restJson1SendChannelMessageCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SendChannelMessageCommand = (function (_super) {
|
|
7
|
+
__extends(SendChannelMessageCommand, _super);
|
|
8
|
+
function SendChannelMessageCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SendChannelMessageCommand.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 = "SendChannelMessageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SendChannelMessageRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SendChannelMessageResponseFilterSensitiveLog,
|
|
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
|
+
SendChannelMessageCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1SendChannelMessageCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SendChannelMessageCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1SendChannelMessageCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SendChannelMessageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SendChannelMessageCommand };
|
|
@@ -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 { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(TagResourceCommand, _super);
|
|
8
|
+
function TagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
TagResourceCommand.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 = "TagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
|
|
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
|
+
TagResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
TagResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1TagResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return TagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { TagResourceCommand };
|
|
@@ -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 { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UntagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(UntagResourceCommand, _super);
|
|
8
|
+
function UntagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UntagResourceCommand.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 = "UntagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
|
|
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
|
+
UntagResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UntagResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UntagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UntagResourceCommand };
|
|
@@ -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 { UpdateChannelRequestFilterSensitiveLog, UpdateChannelResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateChannelCommand, serializeAws_restJson1UpdateChannelCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateChannelCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateChannelCommand, _super);
|
|
8
|
+
function UpdateChannelCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateChannelCommand.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 = "UpdateChannelCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateChannelRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateChannelResponseFilterSensitiveLog,
|
|
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
|
+
UpdateChannelCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateChannelCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateChannelCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateChannelCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateChannelCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateChannelCommand };
|
|
@@ -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 { UpdateChannelFlowRequestFilterSensitiveLog, UpdateChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateChannelFlowCommand, serializeAws_restJson1UpdateChannelFlowCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateChannelFlowCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateChannelFlowCommand, _super);
|
|
8
|
+
function UpdateChannelFlowCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateChannelFlowCommand.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 = "UpdateChannelFlowCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateChannelFlowRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateChannelFlowResponseFilterSensitiveLog,
|
|
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
|
+
UpdateChannelFlowCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateChannelFlowCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateChannelFlowCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateChannelFlowCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateChannelFlowCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateChannelFlowCommand };
|
|
@@ -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 { UpdateChannelMessageRequestFilterSensitiveLog, UpdateChannelMessageResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateChannelMessageCommand, serializeAws_restJson1UpdateChannelMessageCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateChannelMessageCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateChannelMessageCommand, _super);
|
|
8
|
+
function UpdateChannelMessageCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateChannelMessageCommand.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 = "UpdateChannelMessageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateChannelMessageRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateChannelMessageResponseFilterSensitiveLog,
|
|
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
|
+
UpdateChannelMessageCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateChannelMessageCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateChannelMessageCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateChannelMessageCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateChannelMessageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateChannelMessageCommand };
|
|
@@ -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 { UpdateChannelReadMarkerRequestFilterSensitiveLog, UpdateChannelReadMarkerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateChannelReadMarkerCommand, serializeAws_restJson1UpdateChannelReadMarkerCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateChannelReadMarkerCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateChannelReadMarkerCommand, _super);
|
|
8
|
+
function UpdateChannelReadMarkerCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateChannelReadMarkerCommand.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 = "UpdateChannelReadMarkerCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateChannelReadMarkerRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateChannelReadMarkerResponseFilterSensitiveLog,
|
|
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
|
+
UpdateChannelReadMarkerCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateChannelReadMarkerCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateChannelReadMarkerCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateChannelReadMarkerCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateChannelReadMarkerCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateChannelReadMarkerCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"us-east-1": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -9,7 +10,7 @@ const regionHash = {
|
|
|
9
10
|
],
|
|
10
11
|
},
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
var partitionHash = {
|
|
13
14
|
aws: {
|
|
14
15
|
regions: [
|
|
15
16
|
"af-south-1",
|
|
@@ -130,9 +131,8 @@ const partitionHash = {
|
|
|
130
131
|
],
|
|
131
132
|
},
|
|
132
133
|
};
|
|
133
|
-
export
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
});
|
|
134
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
135
|
+
return __generator(this, function (_a) {
|
|
136
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "chime", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
137
|
+
});
|
|
138
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var ChimeSDKMessagingServiceException = (function (_super) {
|
|
4
|
+
__extends(ChimeSDKMessagingServiceException, _super);
|
|
5
|
+
function ChimeSDKMessagingServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, ChimeSDKMessagingServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return ChimeSDKMessagingServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { ChimeSDKMessagingServiceException };
|