@aws-sdk/client-ivs 3.35.0 → 3.38.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 (282) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +54 -107
  3. package/dist-cjs/Ivs.js +0 -363
  4. package/dist-cjs/IvsClient.js +0 -368
  5. package/dist-cjs/commands/BatchGetChannelCommand.js +0 -25
  6. package/dist-cjs/commands/BatchGetStreamKeyCommand.js +0 -25
  7. package/dist-cjs/commands/CreateChannelCommand.js +0 -25
  8. package/dist-cjs/commands/CreateRecordingConfigurationCommand.js +0 -36
  9. package/dist-cjs/commands/CreateStreamKeyCommand.js +0 -28
  10. package/dist-cjs/commands/DeleteChannelCommand.js +0 -29
  11. package/dist-cjs/commands/DeletePlaybackKeyPairCommand.js +0 -27
  12. package/dist-cjs/commands/DeleteRecordingConfigurationCommand.js +0 -30
  13. package/dist-cjs/commands/DeleteStreamKeyCommand.js +0 -26
  14. package/dist-cjs/commands/GetChannelCommand.js +0 -25
  15. package/dist-cjs/commands/GetPlaybackKeyPairCommand.js +0 -29
  16. package/dist-cjs/commands/GetRecordingConfigurationCommand.js +0 -25
  17. package/dist-cjs/commands/GetStreamCommand.js +0 -25
  18. package/dist-cjs/commands/GetStreamKeyCommand.js +0 -25
  19. package/dist-cjs/commands/ImportPlaybackKeyPairCommand.js +0 -29
  20. package/dist-cjs/commands/ListChannelsCommand.js +0 -28
  21. package/dist-cjs/commands/ListPlaybackKeyPairsCommand.js +0 -26
  22. package/dist-cjs/commands/ListRecordingConfigurationsCommand.js +0 -26
  23. package/dist-cjs/commands/ListStreamKeysCommand.js +0 -25
  24. package/dist-cjs/commands/ListStreamsCommand.js +0 -26
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  26. package/dist-cjs/commands/PutMetadataCommand.js +0 -31
  27. package/dist-cjs/commands/StopStreamCommand.js +0 -32
  28. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  29. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  30. package/dist-cjs/commands/UpdateChannelCommand.js +0 -26
  31. package/dist-cjs/commands/index.js +29 -0
  32. package/dist-cjs/endpoints.js +1 -2
  33. package/dist-cjs/index.js +4 -36
  34. package/dist-cjs/models/index.js +0 -1
  35. package/dist-cjs/models/models_0.js +7 -214
  36. package/dist-cjs/pagination/Interfaces.js +0 -1
  37. package/dist-cjs/pagination/ListChannelsPaginator.js +0 -11
  38. package/dist-cjs/pagination/ListPlaybackKeyPairsPaginator.js +0 -11
  39. package/dist-cjs/pagination/ListRecordingConfigurationsPaginator.js +0 -11
  40. package/dist-cjs/pagination/ListStreamKeysPaginator.js +0 -11
  41. package/dist-cjs/pagination/ListStreamsPaginator.js +0 -11
  42. package/dist-cjs/pagination/index.js +9 -0
  43. package/dist-cjs/protocols/Aws_restJson1.js +1 -17
  44. package/dist-cjs/runtimeConfig.browser.js +1 -6
  45. package/dist-cjs/runtimeConfig.js +2 -7
  46. package/dist-cjs/runtimeConfig.native.js +0 -4
  47. package/dist-cjs/runtimeConfig.shared.js +0 -4
  48. package/dist-es/Ivs.js +0 -1
  49. package/dist-es/IvsClient.js +0 -1
  50. package/dist-es/commands/BatchGetChannelCommand.js +0 -1
  51. package/dist-es/commands/BatchGetStreamKeyCommand.js +0 -1
  52. package/dist-es/commands/CreateChannelCommand.js +0 -1
  53. package/dist-es/commands/CreateRecordingConfigurationCommand.js +0 -1
  54. package/dist-es/commands/CreateStreamKeyCommand.js +0 -1
  55. package/dist-es/commands/DeleteChannelCommand.js +0 -1
  56. package/dist-es/commands/DeletePlaybackKeyPairCommand.js +0 -1
  57. package/dist-es/commands/DeleteRecordingConfigurationCommand.js +0 -1
  58. package/dist-es/commands/DeleteStreamKeyCommand.js +0 -1
  59. package/dist-es/commands/GetChannelCommand.js +0 -1
  60. package/dist-es/commands/GetPlaybackKeyPairCommand.js +0 -1
  61. package/dist-es/commands/GetRecordingConfigurationCommand.js +0 -1
  62. package/dist-es/commands/GetStreamCommand.js +0 -1
  63. package/dist-es/commands/GetStreamKeyCommand.js +0 -1
  64. package/dist-es/commands/ImportPlaybackKeyPairCommand.js +0 -1
  65. package/dist-es/commands/ListChannelsCommand.js +0 -1
  66. package/dist-es/commands/ListPlaybackKeyPairsCommand.js +0 -1
  67. package/dist-es/commands/ListRecordingConfigurationsCommand.js +0 -1
  68. package/dist-es/commands/ListStreamKeysCommand.js +0 -1
  69. package/dist-es/commands/ListStreamsCommand.js +0 -1
  70. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  71. package/dist-es/commands/PutMetadataCommand.js +0 -1
  72. package/dist-es/commands/StopStreamCommand.js +0 -1
  73. package/dist-es/commands/TagResourceCommand.js +0 -1
  74. package/dist-es/commands/UntagResourceCommand.js +0 -1
  75. package/dist-es/commands/UpdateChannelCommand.js +0 -1
  76. package/dist-es/commands/index.js +26 -0
  77. package/dist-es/endpoints.js +1 -2
  78. package/dist-es/index.js +4 -36
  79. package/dist-es/models/index.js +0 -1
  80. package/dist-es/models/models_0.js +7 -7
  81. package/dist-es/pagination/Interfaces.js +0 -1
  82. package/dist-es/pagination/ListChannelsPaginator.js +0 -1
  83. package/dist-es/pagination/ListPlaybackKeyPairsPaginator.js +0 -1
  84. package/dist-es/pagination/ListRecordingConfigurationsPaginator.js +0 -1
  85. package/dist-es/pagination/ListStreamKeysPaginator.js +0 -1
  86. package/dist-es/pagination/ListStreamsPaginator.js +0 -1
  87. package/dist-es/pagination/index.js +6 -0
  88. package/dist-es/protocols/Aws_restJson1.js +1 -9
  89. package/dist-es/runtimeConfig.browser.js +1 -2
  90. package/dist-es/runtimeConfig.js +2 -3
  91. package/dist-es/runtimeConfig.native.js +0 -1
  92. package/dist-es/runtimeConfig.shared.js +0 -1
  93. package/dist-types/Ivs.d.ts +65 -124
  94. package/dist-types/IvsClient.d.ts +54 -111
  95. package/dist-types/commands/CreateRecordingConfigurationCommand.d.ts +1 -1
  96. package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
  97. package/dist-types/commands/ListRecordingConfigurationsCommand.d.ts +1 -1
  98. package/dist-types/commands/ListStreamsCommand.d.ts +1 -1
  99. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  100. package/dist-types/commands/PutMetadataCommand.d.ts +5 -7
  101. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  102. package/dist-types/commands/index.d.ts +26 -0
  103. package/dist-types/index.d.ts +4 -35
  104. package/dist-types/models/models_0.d.ts +92 -60
  105. package/dist-types/pagination/index.d.ts +6 -0
  106. package/dist-types/ts3.4/Ivs.d.ts +27 -494
  107. package/dist-types/ts3.4/IvsClient.d.ts +24 -448
  108. package/dist-types/ts3.4/commands/BatchGetChannelCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/BatchGetStreamKeyCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +2 -20
  111. package/dist-types/ts3.4/commands/CreateRecordingConfigurationCommand.d.ts +2 -31
  112. package/dist-types/ts3.4/commands/CreateStreamKeyCommand.d.ts +2 -23
  113. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +2 -24
  114. package/dist-types/ts3.4/commands/DeletePlaybackKeyPairCommand.d.ts +2 -22
  115. package/dist-types/ts3.4/commands/DeleteRecordingConfigurationCommand.d.ts +2 -25
  116. package/dist-types/ts3.4/commands/DeleteStreamKeyCommand.d.ts +2 -21
  117. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/GetPlaybackKeyPairCommand.d.ts +2 -24
  119. package/dist-types/ts3.4/commands/GetRecordingConfigurationCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/GetStreamKeyCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/ImportPlaybackKeyPairCommand.d.ts +2 -24
  123. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +2 -23
  124. package/dist-types/ts3.4/commands/ListPlaybackKeyPairsCommand.d.ts +2 -21
  125. package/dist-types/ts3.4/commands/ListRecordingConfigurationsCommand.d.ts +2 -21
  126. package/dist-types/ts3.4/commands/ListStreamKeysCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +2 -21
  128. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  129. package/dist-types/ts3.4/commands/PutMetadataCommand.d.ts +2 -26
  130. package/dist-types/ts3.4/commands/StopStreamCommand.d.ts +2 -27
  131. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  132. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  133. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +2 -21
  134. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  135. package/dist-types/ts3.4/index.d.ts +4 -35
  136. package/dist-types/ts3.4/models/models_0.d.ts +237 -771
  137. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  138. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  139. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  140. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  141. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  142. package/package.json +33 -30
  143. package/dist-cjs/Ivs.js.map +0 -1
  144. package/dist-cjs/IvsClient.js.map +0 -1
  145. package/dist-cjs/commands/BatchGetChannelCommand.js.map +0 -1
  146. package/dist-cjs/commands/BatchGetStreamKeyCommand.js.map +0 -1
  147. package/dist-cjs/commands/CreateChannelCommand.js.map +0 -1
  148. package/dist-cjs/commands/CreateRecordingConfigurationCommand.js.map +0 -1
  149. package/dist-cjs/commands/CreateStreamKeyCommand.js.map +0 -1
  150. package/dist-cjs/commands/DeleteChannelCommand.js.map +0 -1
  151. package/dist-cjs/commands/DeletePlaybackKeyPairCommand.js.map +0 -1
  152. package/dist-cjs/commands/DeleteRecordingConfigurationCommand.js.map +0 -1
  153. package/dist-cjs/commands/DeleteStreamKeyCommand.js.map +0 -1
  154. package/dist-cjs/commands/GetChannelCommand.js.map +0 -1
  155. package/dist-cjs/commands/GetPlaybackKeyPairCommand.js.map +0 -1
  156. package/dist-cjs/commands/GetRecordingConfigurationCommand.js.map +0 -1
  157. package/dist-cjs/commands/GetStreamCommand.js.map +0 -1
  158. package/dist-cjs/commands/GetStreamKeyCommand.js.map +0 -1
  159. package/dist-cjs/commands/ImportPlaybackKeyPairCommand.js.map +0 -1
  160. package/dist-cjs/commands/ListChannelsCommand.js.map +0 -1
  161. package/dist-cjs/commands/ListPlaybackKeyPairsCommand.js.map +0 -1
  162. package/dist-cjs/commands/ListRecordingConfigurationsCommand.js.map +0 -1
  163. package/dist-cjs/commands/ListStreamKeysCommand.js.map +0 -1
  164. package/dist-cjs/commands/ListStreamsCommand.js.map +0 -1
  165. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  166. package/dist-cjs/commands/PutMetadataCommand.js.map +0 -1
  167. package/dist-cjs/commands/StopStreamCommand.js.map +0 -1
  168. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  169. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  170. package/dist-cjs/commands/UpdateChannelCommand.js.map +0 -1
  171. package/dist-cjs/endpoints.js.map +0 -1
  172. package/dist-cjs/index.js.map +0 -1
  173. package/dist-cjs/models/index.js.map +0 -1
  174. package/dist-cjs/models/models_0.js.map +0 -1
  175. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  176. package/dist-cjs/pagination/ListChannelsPaginator.js.map +0 -1
  177. package/dist-cjs/pagination/ListPlaybackKeyPairsPaginator.js.map +0 -1
  178. package/dist-cjs/pagination/ListRecordingConfigurationsPaginator.js.map +0 -1
  179. package/dist-cjs/pagination/ListStreamKeysPaginator.js.map +0 -1
  180. package/dist-cjs/pagination/ListStreamsPaginator.js.map +0 -1
  181. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -46
  182. package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  183. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  184. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  185. package/dist-cjs/runtimeConfig.js.map +0 -1
  186. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  187. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  188. package/dist-es/Ivs.js.map +0 -1
  189. package/dist-es/IvsClient.js.map +0 -1
  190. package/dist-es/commands/BatchGetChannelCommand.js.map +0 -1
  191. package/dist-es/commands/BatchGetStreamKeyCommand.js.map +0 -1
  192. package/dist-es/commands/CreateChannelCommand.js.map +0 -1
  193. package/dist-es/commands/CreateRecordingConfigurationCommand.js.map +0 -1
  194. package/dist-es/commands/CreateStreamKeyCommand.js.map +0 -1
  195. package/dist-es/commands/DeleteChannelCommand.js.map +0 -1
  196. package/dist-es/commands/DeletePlaybackKeyPairCommand.js.map +0 -1
  197. package/dist-es/commands/DeleteRecordingConfigurationCommand.js.map +0 -1
  198. package/dist-es/commands/DeleteStreamKeyCommand.js.map +0 -1
  199. package/dist-es/commands/GetChannelCommand.js.map +0 -1
  200. package/dist-es/commands/GetPlaybackKeyPairCommand.js.map +0 -1
  201. package/dist-es/commands/GetRecordingConfigurationCommand.js.map +0 -1
  202. package/dist-es/commands/GetStreamCommand.js.map +0 -1
  203. package/dist-es/commands/GetStreamKeyCommand.js.map +0 -1
  204. package/dist-es/commands/ImportPlaybackKeyPairCommand.js.map +0 -1
  205. package/dist-es/commands/ListChannelsCommand.js.map +0 -1
  206. package/dist-es/commands/ListPlaybackKeyPairsCommand.js.map +0 -1
  207. package/dist-es/commands/ListRecordingConfigurationsCommand.js.map +0 -1
  208. package/dist-es/commands/ListStreamKeysCommand.js.map +0 -1
  209. package/dist-es/commands/ListStreamsCommand.js.map +0 -1
  210. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  211. package/dist-es/commands/PutMetadataCommand.js.map +0 -1
  212. package/dist-es/commands/StopStreamCommand.js.map +0 -1
  213. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  214. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  215. package/dist-es/commands/UpdateChannelCommand.js.map +0 -1
  216. package/dist-es/endpoints.js.map +0 -1
  217. package/dist-es/index.js.map +0 -1
  218. package/dist-es/models/index.js.map +0 -1
  219. package/dist-es/models/models_0.js.map +0 -1
  220. package/dist-es/pagination/Interfaces.js.map +0 -1
  221. package/dist-es/pagination/ListChannelsPaginator.js.map +0 -1
  222. package/dist-es/pagination/ListPlaybackKeyPairsPaginator.js.map +0 -1
  223. package/dist-es/pagination/ListRecordingConfigurationsPaginator.js.map +0 -1
  224. package/dist-es/pagination/ListStreamKeysPaginator.js.map +0 -1
  225. package/dist-es/pagination/ListStreamsPaginator.js.map +0 -1
  226. package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -75
  227. package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  228. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  229. package/dist-es/runtimeConfig.browser.js.map +0 -1
  230. package/dist-es/runtimeConfig.js.map +0 -1
  231. package/dist-es/runtimeConfig.native.js.map +0 -1
  232. package/dist-es/runtimeConfig.shared.js.map +0 -1
  233. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +0 -4
  234. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +0 -4
  235. package/jest.config.js +0 -4
  236. package/src/Ivs.ts +0 -1317
  237. package/src/IvsClient.ts +0 -697
  238. package/src/commands/BatchGetChannelCommand.ts +0 -95
  239. package/src/commands/BatchGetStreamKeyCommand.ts +0 -95
  240. package/src/commands/CreateChannelCommand.ts +0 -95
  241. package/src/commands/CreateRecordingConfigurationCommand.ts +0 -111
  242. package/src/commands/CreateStreamKeyCommand.ts +0 -98
  243. package/src/commands/DeleteChannelCommand.ts +0 -99
  244. package/src/commands/DeletePlaybackKeyPairCommand.ts +0 -97
  245. package/src/commands/DeleteRecordingConfigurationCommand.ts +0 -103
  246. package/src/commands/DeleteStreamKeyCommand.ts +0 -96
  247. package/src/commands/GetChannelCommand.ts +0 -95
  248. package/src/commands/GetPlaybackKeyPairCommand.ts +0 -99
  249. package/src/commands/GetRecordingConfigurationCommand.ts +0 -98
  250. package/src/commands/GetStreamCommand.ts +0 -91
  251. package/src/commands/GetStreamKeyCommand.ts +0 -95
  252. package/src/commands/ImportPlaybackKeyPairCommand.ts +0 -99
  253. package/src/commands/ListChannelsCommand.ts +0 -98
  254. package/src/commands/ListPlaybackKeyPairsCommand.ts +0 -96
  255. package/src/commands/ListRecordingConfigurationsCommand.ts +0 -101
  256. package/src/commands/ListStreamKeysCommand.ts +0 -95
  257. package/src/commands/ListStreamsCommand.ts +0 -96
  258. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  259. package/src/commands/PutMetadataCommand.ts +0 -101
  260. package/src/commands/StopStreamCommand.ts +0 -102
  261. package/src/commands/TagResourceCommand.ts +0 -95
  262. package/src/commands/UntagResourceCommand.ts +0 -95
  263. package/src/commands/UpdateChannelCommand.ts +0 -96
  264. package/src/endpoints.ts +0 -57
  265. package/src/index.ts +0 -36
  266. package/src/models/index.ts +0 -1
  267. package/src/models/models_0.ts +0 -1673
  268. package/src/pagination/Interfaces.ts +0 -8
  269. package/src/pagination/ListChannelsPaginator.ts +0 -59
  270. package/src/pagination/ListPlaybackKeyPairsPaginator.ts +0 -59
  271. package/src/pagination/ListRecordingConfigurationsPaginator.ts +0 -59
  272. package/src/pagination/ListStreamKeysPaginator.ts +0 -59
  273. package/src/pagination/ListStreamsPaginator.ts +0 -55
  274. package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
  275. package/src/protocols/Aws_restJson1.ts +0 -3327
  276. package/src/runtimeConfig.browser.ts +0 -41
  277. package/src/runtimeConfig.native.ts +0 -17
  278. package/src/runtimeConfig.shared.ts +0 -17
  279. package/src/runtimeConfig.ts +0 -46
  280. package/tsconfig.es.json +0 -10
  281. package/tsconfig.json +0 -33
  282. package/tsconfig.types.json +0 -9
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
15
- import { GetStreamKeyRequest, GetStreamKeyResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetStreamKeyCommand,
18
- serializeAws_restJson1GetStreamKeyCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetStreamKeyCommandInput extends GetStreamKeyRequest {}
22
- export interface GetStreamKeyCommandOutput extends GetStreamKeyResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets stream-key information for a specified ARN.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { IvsClient, GetStreamKeyCommand } from "@aws-sdk/client-ivs"; // ES Modules import
30
- * // const { IvsClient, GetStreamKeyCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
31
- * const client = new IvsClient(config);
32
- * const command = new GetStreamKeyCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetStreamKeyCommandInput} for command's `input` shape.
37
- * @see {@link GetStreamKeyCommandOutput} for command's `response` shape.
38
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetStreamKeyCommand extends $Command<
42
- GetStreamKeyCommandInput,
43
- GetStreamKeyCommandOutput,
44
- IvsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetStreamKeyCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: IvsClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetStreamKeyCommandInput, GetStreamKeyCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "IvsClient";
69
- const commandName = "GetStreamKeyCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetStreamKeyRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetStreamKeyResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetStreamKeyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetStreamKeyCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetStreamKeyCommandOutput> {
90
- return deserializeAws_restJson1GetStreamKeyCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
15
- import { ImportPlaybackKeyPairRequest, ImportPlaybackKeyPairResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ImportPlaybackKeyPairCommand,
18
- serializeAws_restJson1ImportPlaybackKeyPairCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ImportPlaybackKeyPairCommandInput extends ImportPlaybackKeyPairRequest {}
22
- export interface ImportPlaybackKeyPairCommandOutput extends ImportPlaybackKeyPairResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Imports the public portion of a new key pair and returns its <code>arn</code> and
26
- * <code>fingerprint</code>. The <code>privateKey</code> can then be used to generate viewer
27
- * authorization tokens, to grant viewers access to private channels. For more information, see
28
- * <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up
29
- * Private Channels</a> in the <i>Amazon IVS User Guide</i>.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { IvsClient, ImportPlaybackKeyPairCommand } from "@aws-sdk/client-ivs"; // ES Modules import
34
- * // const { IvsClient, ImportPlaybackKeyPairCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
35
- * const client = new IvsClient(config);
36
- * const command = new ImportPlaybackKeyPairCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link ImportPlaybackKeyPairCommandInput} for command's `input` shape.
41
- * @see {@link ImportPlaybackKeyPairCommandOutput} for command's `response` shape.
42
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class ImportPlaybackKeyPairCommand extends $Command<
46
- ImportPlaybackKeyPairCommandInput,
47
- ImportPlaybackKeyPairCommandOutput,
48
- IvsClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: ImportPlaybackKeyPairCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: IvsClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<ImportPlaybackKeyPairCommandInput, ImportPlaybackKeyPairCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "IvsClient";
73
- const commandName = "ImportPlaybackKeyPairCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: ImportPlaybackKeyPairRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: ImportPlaybackKeyPairResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: ImportPlaybackKeyPairCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1ImportPlaybackKeyPairCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ImportPlaybackKeyPairCommandOutput> {
94
- return deserializeAws_restJson1ImportPlaybackKeyPairCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
15
- import { ListChannelsRequest, ListChannelsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListChannelsCommand,
18
- serializeAws_restJson1ListChannelsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListChannelsCommandInput extends ListChannelsRequest {}
22
- export interface ListChannelsCommandOutput extends ListChannelsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets summary information about all channels in your account, in the AWS region where the
26
- * API request is processed. This list can be filtered to match a specified name or
27
- * recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If
28
- * you try to use both filters, you will get an error (409 ConflictException).</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { IvsClient, ListChannelsCommand } from "@aws-sdk/client-ivs"; // ES Modules import
33
- * // const { IvsClient, ListChannelsCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
34
- * const client = new IvsClient(config);
35
- * const command = new ListChannelsCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link ListChannelsCommandInput} for command's `input` shape.
40
- * @see {@link ListChannelsCommandOutput} for command's `response` shape.
41
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class ListChannelsCommand extends $Command<
45
- ListChannelsCommandInput,
46
- ListChannelsCommandOutput,
47
- IvsClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: ListChannelsCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: IvsClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<ListChannelsCommandInput, ListChannelsCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "IvsClient";
72
- const commandName = "ListChannelsCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: ListChannelsRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: ListChannelsResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: ListChannelsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1ListChannelsCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListChannelsCommandOutput> {
93
- return deserializeAws_restJson1ListChannelsCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
15
- import { ListPlaybackKeyPairsRequest, ListPlaybackKeyPairsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListPlaybackKeyPairsCommand,
18
- serializeAws_restJson1ListPlaybackKeyPairsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListPlaybackKeyPairsCommandInput extends ListPlaybackKeyPairsRequest {}
22
- export interface ListPlaybackKeyPairsCommandOutput extends ListPlaybackKeyPairsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets summary information about playback key pairs. For more information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private
26
- * Channels</a> in the <i>Amazon IVS User Guide</i>.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { IvsClient, ListPlaybackKeyPairsCommand } from "@aws-sdk/client-ivs"; // ES Modules import
31
- * // const { IvsClient, ListPlaybackKeyPairsCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
32
- * const client = new IvsClient(config);
33
- * const command = new ListPlaybackKeyPairsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListPlaybackKeyPairsCommandInput} for command's `input` shape.
38
- * @see {@link ListPlaybackKeyPairsCommandOutput} for command's `response` shape.
39
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListPlaybackKeyPairsCommand extends $Command<
43
- ListPlaybackKeyPairsCommandInput,
44
- ListPlaybackKeyPairsCommandOutput,
45
- IvsClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListPlaybackKeyPairsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: IvsClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<ListPlaybackKeyPairsCommandInput, ListPlaybackKeyPairsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "IvsClient";
70
- const commandName = "ListPlaybackKeyPairsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListPlaybackKeyPairsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListPlaybackKeyPairsResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: ListPlaybackKeyPairsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1ListPlaybackKeyPairsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListPlaybackKeyPairsCommandOutput> {
91
- return deserializeAws_restJson1ListPlaybackKeyPairsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
15
- import { ListRecordingConfigurationsRequest, ListRecordingConfigurationsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListRecordingConfigurationsCommand,
18
- serializeAws_restJson1ListRecordingConfigurationsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListRecordingConfigurationsCommandInput extends ListRecordingConfigurationsRequest {}
22
- export interface ListRecordingConfigurationsCommandOutput
23
- extends ListRecordingConfigurationsResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Gets summary information about all recording configurations in your account, in the AWS
28
- * region where the API request is processed.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { IvsClient, ListRecordingConfigurationsCommand } from "@aws-sdk/client-ivs"; // ES Modules import
33
- * // const { IvsClient, ListRecordingConfigurationsCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
34
- * const client = new IvsClient(config);
35
- * const command = new ListRecordingConfigurationsCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link ListRecordingConfigurationsCommandInput} for command's `input` shape.
40
- * @see {@link ListRecordingConfigurationsCommandOutput} for command's `response` shape.
41
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class ListRecordingConfigurationsCommand extends $Command<
45
- ListRecordingConfigurationsCommandInput,
46
- ListRecordingConfigurationsCommandOutput,
47
- IvsClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: ListRecordingConfigurationsCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: IvsClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<ListRecordingConfigurationsCommandInput, ListRecordingConfigurationsCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "IvsClient";
72
- const commandName = "ListRecordingConfigurationsCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: ListRecordingConfigurationsRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: ListRecordingConfigurationsResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: ListRecordingConfigurationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1ListRecordingConfigurationsCommand(input, context);
90
- }
91
-
92
- private deserialize(
93
- output: __HttpResponse,
94
- context: __SerdeContext
95
- ): Promise<ListRecordingConfigurationsCommandOutput> {
96
- return deserializeAws_restJson1ListRecordingConfigurationsCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
15
- import { ListStreamKeysRequest, ListStreamKeysResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListStreamKeysCommand,
18
- serializeAws_restJson1ListStreamKeysCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListStreamKeysCommandInput extends ListStreamKeysRequest {}
22
- export interface ListStreamKeysCommandOutput extends ListStreamKeysResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets summary information about stream keys for the specified channel.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { IvsClient, ListStreamKeysCommand } from "@aws-sdk/client-ivs"; // ES Modules import
30
- * // const { IvsClient, ListStreamKeysCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
31
- * const client = new IvsClient(config);
32
- * const command = new ListStreamKeysCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListStreamKeysCommandInput} for command's `input` shape.
37
- * @see {@link ListStreamKeysCommandOutput} for command's `response` shape.
38
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListStreamKeysCommand extends $Command<
42
- ListStreamKeysCommandInput,
43
- ListStreamKeysCommandOutput,
44
- IvsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListStreamKeysCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: IvsClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListStreamKeysCommandInput, ListStreamKeysCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "IvsClient";
69
- const commandName = "ListStreamKeysCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListStreamKeysRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListStreamKeysResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListStreamKeysCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListStreamKeysCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListStreamKeysCommandOutput> {
90
- return deserializeAws_restJson1ListStreamKeysCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
15
- import { ListStreamsRequest, ListStreamsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListStreamsCommand,
18
- serializeAws_restJson1ListStreamsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListStreamsCommandInput extends ListStreamsRequest {}
22
- export interface ListStreamsCommandOutput extends ListStreamsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets summary information about live streams in your account, in the AWS region where the
26
- * API request is processed.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { IvsClient, ListStreamsCommand } from "@aws-sdk/client-ivs"; // ES Modules import
31
- * // const { IvsClient, ListStreamsCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
32
- * const client = new IvsClient(config);
33
- * const command = new ListStreamsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListStreamsCommandInput} for command's `input` shape.
38
- * @see {@link ListStreamsCommandOutput} for command's `response` shape.
39
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListStreamsCommand extends $Command<
43
- ListStreamsCommandInput,
44
- ListStreamsCommandOutput,
45
- IvsClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListStreamsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: IvsClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<ListStreamsCommandInput, ListStreamsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "IvsClient";
70
- const commandName = "ListStreamsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListStreamsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListStreamsResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: ListStreamsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1ListStreamsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListStreamsCommandOutput> {
91
- return deserializeAws_restJson1ListStreamsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }