@aws-sdk/client-ivschat 3.478.0 → 3.481.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 (73) hide show
  1. package/dist-cjs/commands/CreateChatTokenCommand.js +18 -41
  2. package/dist-cjs/commands/CreateLoggingConfigurationCommand.js +18 -41
  3. package/dist-cjs/commands/CreateRoomCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteMessageCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteRoomCommand.js +18 -41
  7. package/dist-cjs/commands/DisconnectUserCommand.js +18 -41
  8. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +18 -41
  9. package/dist-cjs/commands/GetRoomCommand.js +18 -41
  10. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +18 -41
  11. package/dist-cjs/commands/ListRoomsCommand.js +18 -41
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  13. package/dist-cjs/commands/SendEventCommand.js +18 -41
  14. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  15. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  16. package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +18 -41
  17. package/dist-cjs/commands/UpdateRoomCommand.js +18 -41
  18. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  19. package/dist-es/commands/CreateChatTokenCommand.js +18 -41
  20. package/dist-es/commands/CreateLoggingConfigurationCommand.js +18 -41
  21. package/dist-es/commands/CreateRoomCommand.js +18 -41
  22. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +18 -41
  23. package/dist-es/commands/DeleteMessageCommand.js +18 -41
  24. package/dist-es/commands/DeleteRoomCommand.js +18 -41
  25. package/dist-es/commands/DisconnectUserCommand.js +18 -41
  26. package/dist-es/commands/GetLoggingConfigurationCommand.js +18 -41
  27. package/dist-es/commands/GetRoomCommand.js +18 -41
  28. package/dist-es/commands/ListLoggingConfigurationsCommand.js +18 -41
  29. package/dist-es/commands/ListRoomsCommand.js +18 -41
  30. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  31. package/dist-es/commands/SendEventCommand.js +18 -41
  32. package/dist-es/commands/TagResourceCommand.js +18 -41
  33. package/dist-es/commands/UntagResourceCommand.js +18 -41
  34. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +18 -41
  35. package/dist-es/commands/UpdateRoomCommand.js +18 -41
  36. package/dist-es/endpoint/EndpointParameters.js +6 -0
  37. package/dist-types/commands/CreateChatTokenCommand.d.ts +6 -21
  38. package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +6 -21
  39. package/dist-types/commands/CreateRoomCommand.d.ts +6 -21
  40. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +6 -21
  41. package/dist-types/commands/DeleteMessageCommand.d.ts +6 -21
  42. package/dist-types/commands/DeleteRoomCommand.d.ts +6 -21
  43. package/dist-types/commands/DisconnectUserCommand.d.ts +6 -21
  44. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +6 -21
  45. package/dist-types/commands/GetRoomCommand.d.ts +6 -21
  46. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +6 -21
  47. package/dist-types/commands/ListRoomsCommand.d.ts +6 -21
  48. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  49. package/dist-types/commands/SendEventCommand.d.ts +6 -21
  50. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  51. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  52. package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +6 -21
  53. package/dist-types/commands/UpdateRoomCommand.d.ts +6 -21
  54. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  55. package/dist-types/ts3.4/commands/CreateChatTokenCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +12 -24
  57. package/dist-types/ts3.4/commands/CreateRoomCommand.d.ts +14 -23
  58. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +12 -24
  59. package/dist-types/ts3.4/commands/DeleteMessageCommand.d.ts +14 -23
  60. package/dist-types/ts3.4/commands/DeleteRoomCommand.d.ts +14 -23
  61. package/dist-types/ts3.4/commands/DisconnectUserCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +12 -24
  63. package/dist-types/ts3.4/commands/GetRoomCommand.d.ts +12 -23
  64. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +12 -24
  65. package/dist-types/ts3.4/commands/ListRoomsCommand.d.ts +14 -23
  66. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  67. package/dist-types/ts3.4/commands/SendEventCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  69. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  70. package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +12 -24
  71. package/dist-types/ts3.4/commands/UpdateRoomCommand.d.ts +14 -23
  72. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  73. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListRoomsCommand, se_ListRoomsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListRoomsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListRoomsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IvschatClient";
26
- const commandName = "ListRoomsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceChat",
35
- operation: "ListRooms",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListRoomsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListRoomsCommand(output, context);
46
- }
7
+ export class ListRoomsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonInteractiveVideoServiceChat", "ListRooms", {})
19
+ .n("IvschatClient", "ListRoomsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListRoomsCommand)
22
+ .de(de_ListRoomsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IvschatClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceChat",
35
- operation: "ListTagsForResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonInteractiveVideoServiceChat", "ListTagsForResource", {})
19
+ .n("IvschatClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_SendEventCommand, se_SendEventCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class SendEventCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, SendEventCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IvschatClient";
26
- const commandName = "SendEventCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceChat",
35
- operation: "SendEvent",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_SendEventCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_SendEventCommand(output, context);
46
- }
7
+ export class SendEventCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonInteractiveVideoServiceChat", "SendEvent", {})
19
+ .n("IvschatClient", "SendEventCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_SendEventCommand)
22
+ .de(de_SendEventCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IvschatClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceChat",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonInteractiveVideoServiceChat", "TagResource", {})
19
+ .n("IvschatClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IvschatClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceChat",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonInteractiveVideoServiceChat", "UntagResource", {})
19
+ .n("IvschatClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateLoggingConfigurationCommand, se_UpdateLoggingConfigurationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateLoggingConfigurationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateLoggingConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IvschatClient";
26
- const commandName = "UpdateLoggingConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceChat",
35
- operation: "UpdateLoggingConfiguration",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateLoggingConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateLoggingConfigurationCommand(output, context);
46
- }
7
+ export class UpdateLoggingConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonInteractiveVideoServiceChat", "UpdateLoggingConfiguration", {})
19
+ .n("IvschatClient", "UpdateLoggingConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateLoggingConfigurationCommand)
22
+ .de(de_UpdateLoggingConfigurationCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateRoomCommand, se_UpdateRoomCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateRoomCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRoomCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IvschatClient";
26
- const commandName = "UpdateRoomCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceChat",
35
- operation: "UpdateRoom",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateRoomCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateRoomCommand(output, context);
46
- }
7
+ export class UpdateRoomCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonInteractiveVideoServiceChat", "UpdateRoom", {})
19
+ .n("IvschatClient", "UpdateRoomCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateRoomCommand)
22
+ .de(de_UpdateRoomCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "ivschat",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
5
4
  import { CreateChatTokenRequest, CreateChatTokenResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateChatTokenCommandInput extends CreateChatTokenRequest {
21
20
  */
22
21
  export interface CreateChatTokenCommandOutput extends CreateChatTokenResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateChatTokenCommand_base: {
24
+ new (input: CreateChatTokenCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChatTokenCommandInput, CreateChatTokenCommandOutput, IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an encrypted token that is used by a chat participant to establish an individual
@@ -84,23 +87,5 @@ export interface CreateChatTokenCommandOutput extends CreateChatTokenResponse, _
84
87
  * <p>Base exception class for all service exceptions from Ivschat service.</p>
85
88
  *
86
89
  */
87
- export declare class CreateChatTokenCommand extends $Command<CreateChatTokenCommandInput, CreateChatTokenCommandOutput, IvschatClientResolvedConfig> {
88
- readonly input: CreateChatTokenCommandInput;
89
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
- /**
91
- * @public
92
- */
93
- constructor(input: CreateChatTokenCommandInput);
94
- /**
95
- * @internal
96
- */
97
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateChatTokenCommandInput, CreateChatTokenCommandOutput>;
98
- /**
99
- * @internal
100
- */
101
- private serialize;
102
- /**
103
- * @internal
104
- */
105
- private deserialize;
90
+ export declare class CreateChatTokenCommand extends CreateChatTokenCommand_base {
106
91
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
5
4
  import { CreateLoggingConfigurationRequest, CreateLoggingConfigurationResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateLoggingConfigurationCommandInput extends CreateLoggingCon
21
20
  */
22
21
  export interface CreateLoggingConfigurationCommandOutput extends CreateLoggingConfigurationResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateLoggingConfigurationCommand_base: {
24
+ new (input: CreateLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput, IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a logging configuration that allows clients to store and record sent
@@ -103,23 +106,5 @@ export interface CreateLoggingConfigurationCommandOutput extends CreateLoggingCo
103
106
  * <p>Base exception class for all service exceptions from Ivschat service.</p>
104
107
  *
105
108
  */
106
- export declare class CreateLoggingConfigurationCommand extends $Command<CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput, IvschatClientResolvedConfig> {
107
- readonly input: CreateLoggingConfigurationCommandInput;
108
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
109
- /**
110
- * @public
111
- */
112
- constructor(input: CreateLoggingConfigurationCommandInput);
113
- /**
114
- * @internal
115
- */
116
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput>;
117
- /**
118
- * @internal
119
- */
120
- private serialize;
121
- /**
122
- * @internal
123
- */
124
- private deserialize;
109
+ export declare class CreateLoggingConfigurationCommand extends CreateLoggingConfigurationCommand_base {
125
110
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
5
4
  import { CreateRoomRequest, CreateRoomResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateRoomCommandInput extends CreateRoomRequest {
21
20
  */
22
21
  export interface CreateRoomCommandOutput extends CreateRoomResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateRoomCommand_base: {
24
+ new (input: CreateRoomCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRoomCommandInput, CreateRoomCommandOutput, IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a room that allows clients to connect and pass messages.</p>
@@ -97,23 +100,5 @@ export interface CreateRoomCommandOutput extends CreateRoomResponse, __MetadataB
97
100
  * <p>Base exception class for all service exceptions from Ivschat service.</p>
98
101
  *
99
102
  */
100
- export declare class CreateRoomCommand extends $Command<CreateRoomCommandInput, CreateRoomCommandOutput, IvschatClientResolvedConfig> {
101
- readonly input: CreateRoomCommandInput;
102
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
103
- /**
104
- * @public
105
- */
106
- constructor(input: CreateRoomCommandInput);
107
- /**
108
- * @internal
109
- */
110
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRoomCommandInput, CreateRoomCommandOutput>;
111
- /**
112
- * @internal
113
- */
114
- private serialize;
115
- /**
116
- * @internal
117
- */
118
- private deserialize;
103
+ export declare class CreateRoomCommand extends CreateRoomCommand_base {
119
104
  }