@aws-sdk/client-ivs-realtime 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 (141) hide show
  1. package/dist-cjs/commands/CreateEncoderConfigurationCommand.js +18 -41
  2. package/dist-cjs/commands/CreateParticipantTokenCommand.js +18 -41
  3. package/dist-cjs/commands/CreateStageCommand.js +18 -41
  4. package/dist-cjs/commands/CreateStorageConfigurationCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteEncoderConfigurationCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteStageCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteStorageConfigurationCommand.js +18 -41
  8. package/dist-cjs/commands/DisconnectParticipantCommand.js +18 -41
  9. package/dist-cjs/commands/GetCompositionCommand.js +18 -41
  10. package/dist-cjs/commands/GetEncoderConfigurationCommand.js +18 -41
  11. package/dist-cjs/commands/GetParticipantCommand.js +18 -41
  12. package/dist-cjs/commands/GetStageCommand.js +18 -41
  13. package/dist-cjs/commands/GetStageSessionCommand.js +18 -41
  14. package/dist-cjs/commands/GetStorageConfigurationCommand.js +18 -41
  15. package/dist-cjs/commands/ListCompositionsCommand.js +18 -41
  16. package/dist-cjs/commands/ListEncoderConfigurationsCommand.js +18 -41
  17. package/dist-cjs/commands/ListParticipantEventsCommand.js +18 -41
  18. package/dist-cjs/commands/ListParticipantsCommand.js +18 -41
  19. package/dist-cjs/commands/ListStageSessionsCommand.js +18 -41
  20. package/dist-cjs/commands/ListStagesCommand.js +18 -41
  21. package/dist-cjs/commands/ListStorageConfigurationsCommand.js +18 -41
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  23. package/dist-cjs/commands/StartCompositionCommand.js +18 -41
  24. package/dist-cjs/commands/StopCompositionCommand.js +18 -41
  25. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  26. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  27. package/dist-cjs/commands/UpdateStageCommand.js +18 -41
  28. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  29. package/dist-cjs/pagination/ListCompositionsPaginator.js +2 -24
  30. package/dist-cjs/pagination/ListEncoderConfigurationsPaginator.js +2 -24
  31. package/dist-cjs/pagination/ListParticipantEventsPaginator.js +2 -24
  32. package/dist-cjs/pagination/ListParticipantsPaginator.js +2 -24
  33. package/dist-cjs/pagination/ListStageSessionsPaginator.js +2 -24
  34. package/dist-cjs/pagination/ListStagesPaginator.js +2 -24
  35. package/dist-cjs/pagination/ListStorageConfigurationsPaginator.js +2 -24
  36. package/dist-es/commands/CreateEncoderConfigurationCommand.js +18 -41
  37. package/dist-es/commands/CreateParticipantTokenCommand.js +18 -41
  38. package/dist-es/commands/CreateStageCommand.js +18 -41
  39. package/dist-es/commands/CreateStorageConfigurationCommand.js +18 -41
  40. package/dist-es/commands/DeleteEncoderConfigurationCommand.js +18 -41
  41. package/dist-es/commands/DeleteStageCommand.js +18 -41
  42. package/dist-es/commands/DeleteStorageConfigurationCommand.js +18 -41
  43. package/dist-es/commands/DisconnectParticipantCommand.js +18 -41
  44. package/dist-es/commands/GetCompositionCommand.js +18 -41
  45. package/dist-es/commands/GetEncoderConfigurationCommand.js +18 -41
  46. package/dist-es/commands/GetParticipantCommand.js +18 -41
  47. package/dist-es/commands/GetStageCommand.js +18 -41
  48. package/dist-es/commands/GetStageSessionCommand.js +18 -41
  49. package/dist-es/commands/GetStorageConfigurationCommand.js +18 -41
  50. package/dist-es/commands/ListCompositionsCommand.js +18 -41
  51. package/dist-es/commands/ListEncoderConfigurationsCommand.js +18 -41
  52. package/dist-es/commands/ListParticipantEventsCommand.js +18 -41
  53. package/dist-es/commands/ListParticipantsCommand.js +18 -41
  54. package/dist-es/commands/ListStageSessionsCommand.js +18 -41
  55. package/dist-es/commands/ListStagesCommand.js +18 -41
  56. package/dist-es/commands/ListStorageConfigurationsCommand.js +18 -41
  57. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  58. package/dist-es/commands/StartCompositionCommand.js +18 -41
  59. package/dist-es/commands/StopCompositionCommand.js +18 -41
  60. package/dist-es/commands/TagResourceCommand.js +18 -41
  61. package/dist-es/commands/UntagResourceCommand.js +18 -41
  62. package/dist-es/commands/UpdateStageCommand.js +18 -41
  63. package/dist-es/endpoint/EndpointParameters.js +6 -0
  64. package/dist-es/pagination/ListCompositionsPaginator.js +2 -23
  65. package/dist-es/pagination/ListEncoderConfigurationsPaginator.js +2 -23
  66. package/dist-es/pagination/ListParticipantEventsPaginator.js +2 -23
  67. package/dist-es/pagination/ListParticipantsPaginator.js +2 -23
  68. package/dist-es/pagination/ListStageSessionsPaginator.js +2 -23
  69. package/dist-es/pagination/ListStagesPaginator.js +2 -23
  70. package/dist-es/pagination/ListStorageConfigurationsPaginator.js +2 -23
  71. package/dist-types/commands/CreateEncoderConfigurationCommand.d.ts +6 -21
  72. package/dist-types/commands/CreateParticipantTokenCommand.d.ts +6 -21
  73. package/dist-types/commands/CreateStageCommand.d.ts +6 -21
  74. package/dist-types/commands/CreateStorageConfigurationCommand.d.ts +6 -21
  75. package/dist-types/commands/DeleteEncoderConfigurationCommand.d.ts +6 -21
  76. package/dist-types/commands/DeleteStageCommand.d.ts +6 -21
  77. package/dist-types/commands/DeleteStorageConfigurationCommand.d.ts +6 -21
  78. package/dist-types/commands/DisconnectParticipantCommand.d.ts +6 -21
  79. package/dist-types/commands/GetCompositionCommand.d.ts +6 -21
  80. package/dist-types/commands/GetEncoderConfigurationCommand.d.ts +6 -21
  81. package/dist-types/commands/GetParticipantCommand.d.ts +6 -21
  82. package/dist-types/commands/GetStageCommand.d.ts +6 -21
  83. package/dist-types/commands/GetStageSessionCommand.d.ts +6 -21
  84. package/dist-types/commands/GetStorageConfigurationCommand.d.ts +6 -21
  85. package/dist-types/commands/ListCompositionsCommand.d.ts +6 -21
  86. package/dist-types/commands/ListEncoderConfigurationsCommand.d.ts +6 -21
  87. package/dist-types/commands/ListParticipantEventsCommand.d.ts +6 -21
  88. package/dist-types/commands/ListParticipantsCommand.d.ts +6 -21
  89. package/dist-types/commands/ListStageSessionsCommand.d.ts +6 -21
  90. package/dist-types/commands/ListStagesCommand.d.ts +6 -21
  91. package/dist-types/commands/ListStorageConfigurationsCommand.d.ts +6 -21
  92. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  93. package/dist-types/commands/StartCompositionCommand.d.ts +6 -21
  94. package/dist-types/commands/StopCompositionCommand.d.ts +6 -21
  95. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  96. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  97. package/dist-types/commands/UpdateStageCommand.d.ts +6 -21
  98. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  99. package/dist-types/pagination/ListCompositionsPaginator.d.ts +1 -1
  100. package/dist-types/pagination/ListEncoderConfigurationsPaginator.d.ts +1 -1
  101. package/dist-types/pagination/ListParticipantEventsPaginator.d.ts +1 -1
  102. package/dist-types/pagination/ListParticipantsPaginator.d.ts +1 -1
  103. package/dist-types/pagination/ListStageSessionsPaginator.d.ts +1 -1
  104. package/dist-types/pagination/ListStagesPaginator.d.ts +1 -1
  105. package/dist-types/pagination/ListStorageConfigurationsPaginator.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/CreateEncoderConfigurationCommand.d.ts +12 -24
  107. package/dist-types/ts3.4/commands/CreateParticipantTokenCommand.d.ts +12 -24
  108. package/dist-types/ts3.4/commands/CreateStageCommand.d.ts +14 -23
  109. package/dist-types/ts3.4/commands/CreateStorageConfigurationCommand.d.ts +12 -24
  110. package/dist-types/ts3.4/commands/DeleteEncoderConfigurationCommand.d.ts +12 -24
  111. package/dist-types/ts3.4/commands/DeleteStageCommand.d.ts +14 -23
  112. package/dist-types/ts3.4/commands/DeleteStorageConfigurationCommand.d.ts +12 -24
  113. package/dist-types/ts3.4/commands/DisconnectParticipantCommand.d.ts +12 -24
  114. package/dist-types/ts3.4/commands/GetCompositionCommand.d.ts +14 -23
  115. package/dist-types/ts3.4/commands/GetEncoderConfigurationCommand.d.ts +12 -24
  116. package/dist-types/ts3.4/commands/GetParticipantCommand.d.ts +14 -23
  117. package/dist-types/ts3.4/commands/GetStageCommand.d.ts +14 -23
  118. package/dist-types/ts3.4/commands/GetStageSessionCommand.d.ts +14 -23
  119. package/dist-types/ts3.4/commands/GetStorageConfigurationCommand.d.ts +12 -24
  120. package/dist-types/ts3.4/commands/ListCompositionsCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/ListEncoderConfigurationsCommand.d.ts +12 -24
  122. package/dist-types/ts3.4/commands/ListParticipantEventsCommand.d.ts +12 -24
  123. package/dist-types/ts3.4/commands/ListParticipantsCommand.d.ts +14 -23
  124. package/dist-types/ts3.4/commands/ListStageSessionsCommand.d.ts +14 -23
  125. package/dist-types/ts3.4/commands/ListStagesCommand.d.ts +14 -23
  126. package/dist-types/ts3.4/commands/ListStorageConfigurationsCommand.d.ts +12 -24
  127. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  128. package/dist-types/ts3.4/commands/StartCompositionCommand.d.ts +14 -23
  129. package/dist-types/ts3.4/commands/StopCompositionCommand.d.ts +14 -23
  130. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  131. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  132. package/dist-types/ts3.4/commands/UpdateStageCommand.d.ts +14 -23
  133. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  134. package/dist-types/ts3.4/pagination/ListCompositionsPaginator.d.ts +3 -3
  135. package/dist-types/ts3.4/pagination/ListEncoderConfigurationsPaginator.d.ts +3 -3
  136. package/dist-types/ts3.4/pagination/ListParticipantEventsPaginator.d.ts +3 -3
  137. package/dist-types/ts3.4/pagination/ListParticipantsPaginator.d.ts +3 -3
  138. package/dist-types/ts3.4/pagination/ListStageSessionsPaginator.d.ts +3 -3
  139. package/dist-types/ts3.4/pagination/ListStagesPaginator.d.ts +3 -3
  140. package/dist-types/ts3.4/pagination/ListStorageConfigurationsPaginator.d.ts +3 -3
  141. package/package.json +11 -11
@@ -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_ListEncoderConfigurationsCommand, se_ListEncoderConfigurationsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListEncoderConfigurationsCommand 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, ListEncoderConfigurationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IVSRealTimeClient";
26
- const commandName = "ListEncoderConfigurationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceRealTime",
35
- operation: "ListEncoderConfigurations",
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_ListEncoderConfigurationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListEncoderConfigurationsCommand(output, context);
46
- }
7
+ export class ListEncoderConfigurationsCommand 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("AmazonInteractiveVideoServiceRealTime", "ListEncoderConfigurations", {})
19
+ .n("IVSRealTimeClient", "ListEncoderConfigurationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListEncoderConfigurationsCommand)
22
+ .de(de_ListEncoderConfigurationsCommand)
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_ListParticipantEventsCommand, se_ListParticipantEventsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListParticipantEventsCommand 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, ListParticipantEventsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IVSRealTimeClient";
26
- const commandName = "ListParticipantEventsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceRealTime",
35
- operation: "ListParticipantEvents",
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_ListParticipantEventsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListParticipantEventsCommand(output, context);
46
- }
7
+ export class ListParticipantEventsCommand 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("AmazonInteractiveVideoServiceRealTime", "ListParticipantEvents", {})
19
+ .n("IVSRealTimeClient", "ListParticipantEventsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListParticipantEventsCommand)
22
+ .de(de_ListParticipantEventsCommand)
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_ListParticipantsCommand, se_ListParticipantsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListParticipantsCommand 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, ListParticipantsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IVSRealTimeClient";
26
- const commandName = "ListParticipantsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceRealTime",
35
- operation: "ListParticipants",
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_ListParticipantsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListParticipantsCommand(output, context);
46
- }
7
+ export class ListParticipantsCommand 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("AmazonInteractiveVideoServiceRealTime", "ListParticipants", {})
19
+ .n("IVSRealTimeClient", "ListParticipantsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListParticipantsCommand)
22
+ .de(de_ListParticipantsCommand)
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_ListStageSessionsCommand, se_ListStageSessionsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListStageSessionsCommand 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, ListStageSessionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IVSRealTimeClient";
26
- const commandName = "ListStageSessionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceRealTime",
35
- operation: "ListStageSessions",
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_ListStageSessionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListStageSessionsCommand(output, context);
46
- }
7
+ export class ListStageSessionsCommand 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("AmazonInteractiveVideoServiceRealTime", "ListStageSessions", {})
19
+ .n("IVSRealTimeClient", "ListStageSessionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListStageSessionsCommand)
22
+ .de(de_ListStageSessionsCommand)
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_ListStagesCommand, se_ListStagesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListStagesCommand 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, ListStagesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IVSRealTimeClient";
26
- const commandName = "ListStagesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceRealTime",
35
- operation: "ListStages",
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_ListStagesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListStagesCommand(output, context);
46
- }
7
+ export class ListStagesCommand 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("AmazonInteractiveVideoServiceRealTime", "ListStages", {})
19
+ .n("IVSRealTimeClient", "ListStagesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListStagesCommand)
22
+ .de(de_ListStagesCommand)
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_ListStorageConfigurationsCommand, se_ListStorageConfigurationsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListStorageConfigurationsCommand 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, ListStorageConfigurationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IVSRealTimeClient";
26
- const commandName = "ListStorageConfigurationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceRealTime",
35
- operation: "ListStorageConfigurations",
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_ListStorageConfigurationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListStorageConfigurationsCommand(output, context);
46
- }
7
+ export class ListStorageConfigurationsCommand 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("AmazonInteractiveVideoServiceRealTime", "ListStorageConfigurations", {})
19
+ .n("IVSRealTimeClient", "ListStorageConfigurationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListStorageConfigurationsCommand)
22
+ .de(de_ListStorageConfigurationsCommand)
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 = "IVSRealTimeClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceRealTime",
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("AmazonInteractiveVideoServiceRealTime", "ListTagsForResource", {})
19
+ .n("IVSRealTimeClient", "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_StartCompositionCommand, se_StartCompositionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StartCompositionCommand 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, StartCompositionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IVSRealTimeClient";
26
- const commandName = "StartCompositionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceRealTime",
35
- operation: "StartComposition",
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_StartCompositionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartCompositionCommand(output, context);
46
- }
7
+ export class StartCompositionCommand 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("AmazonInteractiveVideoServiceRealTime", "StartComposition", {})
19
+ .n("IVSRealTimeClient", "StartCompositionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartCompositionCommand)
22
+ .de(de_StartCompositionCommand)
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_StopCompositionCommand, se_StopCompositionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StopCompositionCommand 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, StopCompositionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IVSRealTimeClient";
26
- const commandName = "StopCompositionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonInteractiveVideoServiceRealTime",
35
- operation: "StopComposition",
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_StopCompositionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopCompositionCommand(output, context);
46
- }
7
+ export class StopCompositionCommand 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("AmazonInteractiveVideoServiceRealTime", "StopComposition", {})
19
+ .n("IVSRealTimeClient", "StopCompositionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopCompositionCommand)
22
+ .de(de_StopCompositionCommand)
23
+ .build() {
47
24
  }