@aws-sdk/client-ivschat 3.477.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 (81) 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-cjs/pagination/ListLoggingConfigurationsPaginator.js +2 -24
  20. package/dist-cjs/pagination/ListRoomsPaginator.js +2 -24
  21. package/dist-es/commands/CreateChatTokenCommand.js +18 -41
  22. package/dist-es/commands/CreateLoggingConfigurationCommand.js +18 -41
  23. package/dist-es/commands/CreateRoomCommand.js +18 -41
  24. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +18 -41
  25. package/dist-es/commands/DeleteMessageCommand.js +18 -41
  26. package/dist-es/commands/DeleteRoomCommand.js +18 -41
  27. package/dist-es/commands/DisconnectUserCommand.js +18 -41
  28. package/dist-es/commands/GetLoggingConfigurationCommand.js +18 -41
  29. package/dist-es/commands/GetRoomCommand.js +18 -41
  30. package/dist-es/commands/ListLoggingConfigurationsCommand.js +18 -41
  31. package/dist-es/commands/ListRoomsCommand.js +18 -41
  32. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  33. package/dist-es/commands/SendEventCommand.js +18 -41
  34. package/dist-es/commands/TagResourceCommand.js +18 -41
  35. package/dist-es/commands/UntagResourceCommand.js +18 -41
  36. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +18 -41
  37. package/dist-es/commands/UpdateRoomCommand.js +18 -41
  38. package/dist-es/endpoint/EndpointParameters.js +6 -0
  39. package/dist-es/pagination/ListLoggingConfigurationsPaginator.js +2 -23
  40. package/dist-es/pagination/ListRoomsPaginator.js +2 -23
  41. package/dist-types/commands/CreateChatTokenCommand.d.ts +6 -21
  42. package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +6 -21
  43. package/dist-types/commands/CreateRoomCommand.d.ts +6 -21
  44. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +6 -21
  45. package/dist-types/commands/DeleteMessageCommand.d.ts +6 -21
  46. package/dist-types/commands/DeleteRoomCommand.d.ts +6 -21
  47. package/dist-types/commands/DisconnectUserCommand.d.ts +6 -21
  48. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +6 -21
  49. package/dist-types/commands/GetRoomCommand.d.ts +6 -21
  50. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +6 -21
  51. package/dist-types/commands/ListRoomsCommand.d.ts +6 -21
  52. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  53. package/dist-types/commands/SendEventCommand.d.ts +6 -21
  54. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  55. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  56. package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +6 -21
  57. package/dist-types/commands/UpdateRoomCommand.d.ts +6 -21
  58. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  59. package/dist-types/pagination/ListLoggingConfigurationsPaginator.d.ts +1 -1
  60. package/dist-types/pagination/ListRoomsPaginator.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/CreateChatTokenCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +12 -24
  63. package/dist-types/ts3.4/commands/CreateRoomCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +12 -24
  65. package/dist-types/ts3.4/commands/DeleteMessageCommand.d.ts +14 -23
  66. package/dist-types/ts3.4/commands/DeleteRoomCommand.d.ts +14 -23
  67. package/dist-types/ts3.4/commands/DisconnectUserCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +12 -24
  69. package/dist-types/ts3.4/commands/GetRoomCommand.d.ts +12 -23
  70. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +12 -24
  71. package/dist-types/ts3.4/commands/ListRoomsCommand.d.ts +14 -23
  72. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  73. package/dist-types/ts3.4/commands/SendEventCommand.d.ts +14 -23
  74. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +12 -24
  77. package/dist-types/ts3.4/commands/UpdateRoomCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  79. package/dist-types/ts3.4/pagination/ListLoggingConfigurationsPaginator.d.ts +3 -3
  80. package/dist-types/ts3.4/pagination/ListRoomsPaginator.d.ts +3 -3
  81. package/package.json +11 -11
@@ -1,48 +1,25 @@
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 { CreateChatTokenRequestFilterSensitiveLog, CreateChatTokenResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_CreateChatTokenCommand, se_CreateChatTokenCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class CreateChatTokenCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateChatTokenCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "IvschatClient";
27
- const commandName = "CreateChatTokenCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: CreateChatTokenRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: CreateChatTokenResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AmazonInteractiveVideoServiceChat",
36
- operation: "CreateChatToken",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_CreateChatTokenCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_CreateChatTokenCommand(output, context);
47
- }
8
+ export class CreateChatTokenCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonInteractiveVideoServiceChat", "CreateChatToken", {})
20
+ .n("IvschatClient", "CreateChatTokenCommand")
21
+ .f(CreateChatTokenRequestFilterSensitiveLog, CreateChatTokenResponseFilterSensitiveLog)
22
+ .ser(se_CreateChatTokenCommand)
23
+ .de(de_CreateChatTokenCommand)
24
+ .build() {
48
25
  }
@@ -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_CreateLoggingConfigurationCommand, se_CreateLoggingConfigurationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateLoggingConfigurationCommand 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, CreateLoggingConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IvschatClient";
26
- const commandName = "CreateLoggingConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceChat",
35
- operation: "CreateLoggingConfiguration",
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_CreateLoggingConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateLoggingConfigurationCommand(output, context);
46
- }
7
+ export class CreateLoggingConfigurationCommand 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", "CreateLoggingConfiguration", {})
19
+ .n("IvschatClient", "CreateLoggingConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateLoggingConfigurationCommand)
22
+ .de(de_CreateLoggingConfigurationCommand)
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_CreateRoomCommand, se_CreateRoomCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateRoomCommand 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, CreateRoomCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IvschatClient";
26
- const commandName = "CreateRoomCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceChat",
35
- operation: "CreateRoom",
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_CreateRoomCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateRoomCommand(output, context);
46
- }
7
+ export class CreateRoomCommand 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", "CreateRoom", {})
19
+ .n("IvschatClient", "CreateRoomCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateRoomCommand)
22
+ .de(de_CreateRoomCommand)
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_DeleteLoggingConfigurationCommand, se_DeleteLoggingConfigurationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteLoggingConfigurationCommand 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, DeleteLoggingConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IvschatClient";
26
- const commandName = "DeleteLoggingConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceChat",
35
- operation: "DeleteLoggingConfiguration",
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_DeleteLoggingConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteLoggingConfigurationCommand(output, context);
46
- }
7
+ export class DeleteLoggingConfigurationCommand 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", "DeleteLoggingConfiguration", {})
19
+ .n("IvschatClient", "DeleteLoggingConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteLoggingConfigurationCommand)
22
+ .de(de_DeleteLoggingConfigurationCommand)
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_DeleteMessageCommand, se_DeleteMessageCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteMessageCommand 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, DeleteMessageCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IvschatClient";
26
- const commandName = "DeleteMessageCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceChat",
35
- operation: "DeleteMessage",
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_DeleteMessageCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteMessageCommand(output, context);
46
- }
7
+ export class DeleteMessageCommand 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", "DeleteMessage", {})
19
+ .n("IvschatClient", "DeleteMessageCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteMessageCommand)
22
+ .de(de_DeleteMessageCommand)
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_DeleteRoomCommand, se_DeleteRoomCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteRoomCommand 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, DeleteRoomCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IvschatClient";
26
- const commandName = "DeleteRoomCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceChat",
35
- operation: "DeleteRoom",
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_DeleteRoomCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteRoomCommand(output, context);
46
- }
7
+ export class DeleteRoomCommand 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", "DeleteRoom", {})
19
+ .n("IvschatClient", "DeleteRoomCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteRoomCommand)
22
+ .de(de_DeleteRoomCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
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 { DisconnectUserRequestFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_DisconnectUserCommand, se_DisconnectUserCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class DisconnectUserCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DisconnectUserCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "IvschatClient";
27
- const commandName = "DisconnectUserCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: DisconnectUserRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AmazonInteractiveVideoServiceChat",
36
- operation: "DisconnectUser",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_DisconnectUserCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_DisconnectUserCommand(output, context);
47
- }
8
+ export class DisconnectUserCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonInteractiveVideoServiceChat", "DisconnectUser", {})
20
+ .n("IvschatClient", "DisconnectUserCommand")
21
+ .f(DisconnectUserRequestFilterSensitiveLog, void 0)
22
+ .ser(se_DisconnectUserCommand)
23
+ .de(de_DisconnectUserCommand)
24
+ .build() {
48
25
  }
@@ -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_GetLoggingConfigurationCommand, se_GetLoggingConfigurationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetLoggingConfigurationCommand 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, GetLoggingConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IvschatClient";
26
- const commandName = "GetLoggingConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceChat",
35
- operation: "GetLoggingConfiguration",
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_GetLoggingConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetLoggingConfigurationCommand(output, context);
46
- }
7
+ export class GetLoggingConfigurationCommand 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", "GetLoggingConfiguration", {})
19
+ .n("IvschatClient", "GetLoggingConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetLoggingConfigurationCommand)
22
+ .de(de_GetLoggingConfigurationCommand)
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_GetRoomCommand, se_GetRoomCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetRoomCommand 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, GetRoomCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IvschatClient";
26
- const commandName = "GetRoomCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceChat",
35
- operation: "GetRoom",
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_GetRoomCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetRoomCommand(output, context);
46
- }
7
+ export class GetRoomCommand 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", "GetRoom", {})
19
+ .n("IvschatClient", "GetRoomCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetRoomCommand)
22
+ .de(de_GetRoomCommand)
23
+ .build() {
47
24
  }