@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.
Files changed (71) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/ChimeSDKMessaging.js +197 -190
  4. package/dist-es/ChimeSDKMessagingClient.js +28 -22
  5. package/dist-es/commands/AssociateChannelFlowCommand.js +29 -22
  6. package/dist-es/commands/BatchCreateChannelMembershipCommand.js +28 -21
  7. package/dist-es/commands/ChannelFlowCallbackCommand.js +28 -21
  8. package/dist-es/commands/CreateChannelBanCommand.js +28 -21
  9. package/dist-es/commands/CreateChannelCommand.js +28 -21
  10. package/dist-es/commands/CreateChannelFlowCommand.js +28 -21
  11. package/dist-es/commands/CreateChannelMembershipCommand.js +28 -21
  12. package/dist-es/commands/CreateChannelModeratorCommand.js +28 -21
  13. package/dist-es/commands/DeleteChannelBanCommand.js +29 -22
  14. package/dist-es/commands/DeleteChannelCommand.js +29 -22
  15. package/dist-es/commands/DeleteChannelFlowCommand.js +29 -22
  16. package/dist-es/commands/DeleteChannelMembershipCommand.js +29 -22
  17. package/dist-es/commands/DeleteChannelMessageCommand.js +29 -22
  18. package/dist-es/commands/DeleteChannelModeratorCommand.js +29 -22
  19. package/dist-es/commands/DescribeChannelBanCommand.js +28 -21
  20. package/dist-es/commands/DescribeChannelCommand.js +28 -21
  21. package/dist-es/commands/DescribeChannelFlowCommand.js +28 -21
  22. package/dist-es/commands/DescribeChannelMembershipCommand.js +28 -21
  23. package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +28 -21
  24. package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +28 -21
  25. package/dist-es/commands/DescribeChannelModeratorCommand.js +28 -21
  26. package/dist-es/commands/DisassociateChannelFlowCommand.js +29 -22
  27. package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +28 -21
  28. package/dist-es/commands/GetChannelMessageCommand.js +28 -21
  29. package/dist-es/commands/GetChannelMessageStatusCommand.js +28 -21
  30. package/dist-es/commands/GetMessagingSessionEndpointCommand.js +28 -21
  31. package/dist-es/commands/ListChannelBansCommand.js +28 -21
  32. package/dist-es/commands/ListChannelFlowsCommand.js +28 -21
  33. package/dist-es/commands/ListChannelMembershipsCommand.js +28 -21
  34. package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +28 -21
  35. package/dist-es/commands/ListChannelMessagesCommand.js +28 -21
  36. package/dist-es/commands/ListChannelModeratorsCommand.js +28 -21
  37. package/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js +28 -21
  38. package/dist-es/commands/ListChannelsCommand.js +28 -21
  39. package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +28 -21
  40. package/dist-es/commands/ListSubChannelsCommand.js +28 -21
  41. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  42. package/dist-es/commands/PutChannelMembershipPreferencesCommand.js +28 -21
  43. package/dist-es/commands/RedactChannelMessageCommand.js +28 -21
  44. package/dist-es/commands/SearchChannelsCommand.js +28 -21
  45. package/dist-es/commands/SendChannelMessageCommand.js +28 -21
  46. package/dist-es/commands/TagResourceCommand.js +29 -22
  47. package/dist-es/commands/UntagResourceCommand.js +29 -22
  48. package/dist-es/commands/UpdateChannelCommand.js +28 -21
  49. package/dist-es/commands/UpdateChannelFlowCommand.js +28 -21
  50. package/dist-es/commands/UpdateChannelMessageCommand.js +28 -21
  51. package/dist-es/commands/UpdateChannelReadMarkerCommand.js +28 -21
  52. package/dist-es/endpoints.js +8 -8
  53. package/dist-es/models/ChimeSDKMessagingServiceException.js +10 -5
  54. package/dist-es/models/models_0.js +282 -627
  55. package/dist-es/pagination/ListChannelBansPaginator.js +68 -25
  56. package/dist-es/pagination/ListChannelFlowsPaginator.js +68 -25
  57. package/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +68 -25
  58. package/dist-es/pagination/ListChannelMembershipsPaginator.js +68 -25
  59. package/dist-es/pagination/ListChannelMessagesPaginator.js +68 -25
  60. package/dist-es/pagination/ListChannelModeratorsPaginator.js +68 -25
  61. package/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js +68 -25
  62. package/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +68 -25
  63. package/dist-es/pagination/ListChannelsPaginator.js +68 -25
  64. package/dist-es/pagination/ListSubChannelsPaginator.js +68 -25
  65. package/dist-es/pagination/SearchChannelsPaginator.js +68 -25
  66. package/dist-es/protocols/Aws_restJson1.js +5312 -3792
  67. package/dist-es/runtimeConfig.browser.js +12 -26
  68. package/dist-es/runtimeConfig.js +12 -30
  69. package/dist-es/runtimeConfig.native.js +5 -8
  70. package/dist-es/runtimeConfig.shared.js +11 -8
  71. package/package.json +33 -33
@@ -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
- export class SearchChannelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeSDKMessagingClient";
15
- const commandName = "SearchChannelsCommand";
16
- const handlerExecutionContext = {
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
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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
- export class SendChannelMessageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeSDKMessagingClient";
15
- const commandName = "SendChannelMessageCommand";
16
- const handlerExecutionContext = {
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
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeSDKMessagingClient";
15
- const commandName = "TagResourceCommand";
16
- const handlerExecutionContext = {
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) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeSDKMessagingClient";
15
- const commandName = "UntagResourceCommand";
16
- const handlerExecutionContext = {
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) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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
- export class UpdateChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeSDKMessagingClient";
15
- const commandName = "UpdateChannelCommand";
16
- const handlerExecutionContext = {
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
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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
- export class UpdateChannelFlowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeSDKMessagingClient";
15
- const commandName = "UpdateChannelFlowCommand";
16
- const handlerExecutionContext = {
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
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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
- export class UpdateChannelMessageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeSDKMessagingClient";
15
- const commandName = "UpdateChannelMessageCommand";
16
- const handlerExecutionContext = {
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
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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
- export class UpdateChannelReadMarkerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeSDKMessagingClient";
15
- const commandName = "UpdateChannelReadMarkerCommand";
16
- const handlerExecutionContext = {
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
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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 };
@@ -1,5 +1,6 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
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
- const partitionHash = {
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 const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
134
- ...options,
135
- signingService: "chime",
136
- regionHash,
137
- partitionHash,
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
- export class ChimeSDKMessagingServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, ChimeSDKMessagingServiceException.prototype);
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 };