@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,97 +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 { DeletePlaybackKeyPairRequest, DeletePlaybackKeyPairResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeletePlaybackKeyPairCommand,
18
- serializeAws_restJson1DeletePlaybackKeyPairCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeletePlaybackKeyPairCommandInput extends DeletePlaybackKeyPairRequest {}
22
- export interface DeletePlaybackKeyPairCommandOutput extends DeletePlaybackKeyPairResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes a specified authorization key pair. This invalidates future viewer tokens
26
- * generated using the key pair’s <code>privateKey</code>. For more information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private
27
- * Channels</a> in the <i>Amazon IVS User Guide</i>.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { IvsClient, DeletePlaybackKeyPairCommand } from "@aws-sdk/client-ivs"; // ES Modules import
32
- * // const { IvsClient, DeletePlaybackKeyPairCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
33
- * const client = new IvsClient(config);
34
- * const command = new DeletePlaybackKeyPairCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DeletePlaybackKeyPairCommandInput} for command's `input` shape.
39
- * @see {@link DeletePlaybackKeyPairCommandOutput} for command's `response` shape.
40
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DeletePlaybackKeyPairCommand extends $Command<
44
- DeletePlaybackKeyPairCommandInput,
45
- DeletePlaybackKeyPairCommandOutput,
46
- IvsClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DeletePlaybackKeyPairCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: IvsClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DeletePlaybackKeyPairCommandInput, DeletePlaybackKeyPairCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "IvsClient";
71
- const commandName = "DeletePlaybackKeyPairCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DeletePlaybackKeyPairRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: DeletePlaybackKeyPairResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DeletePlaybackKeyPairCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1DeletePlaybackKeyPairCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeletePlaybackKeyPairCommandOutput> {
92
- return deserializeAws_restJson1DeletePlaybackKeyPairCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,103 +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 { DeleteRecordingConfigurationRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeleteRecordingConfigurationCommand,
18
- serializeAws_restJson1DeleteRecordingConfigurationCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeleteRecordingConfigurationCommandInput extends DeleteRecordingConfigurationRequest {}
22
- export interface DeleteRecordingConfigurationCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes the recording configuration for the specified ARN.</p>
26
- * <p>If you try to delete a recording configuration that is associated with a channel, you will
27
- * get an error (409 ConflictException). To avoid this, for all channels that reference the
28
- * recording configuration, first use <a>UpdateChannel</a> to set the
29
- * <code>recordingConfigurationArn</code> field to an empty string, then use
30
- * DeleteRecordingConfiguration.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { IvsClient, DeleteRecordingConfigurationCommand } from "@aws-sdk/client-ivs"; // ES Modules import
35
- * // const { IvsClient, DeleteRecordingConfigurationCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
36
- * const client = new IvsClient(config);
37
- * const command = new DeleteRecordingConfigurationCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link DeleteRecordingConfigurationCommandInput} for command's `input` shape.
42
- * @see {@link DeleteRecordingConfigurationCommandOutput} for command's `response` shape.
43
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class DeleteRecordingConfigurationCommand extends $Command<
47
- DeleteRecordingConfigurationCommandInput,
48
- DeleteRecordingConfigurationCommandOutput,
49
- IvsClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: DeleteRecordingConfigurationCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: IvsClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<DeleteRecordingConfigurationCommandInput, DeleteRecordingConfigurationCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "IvsClient";
74
- const commandName = "DeleteRecordingConfigurationCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: DeleteRecordingConfigurationRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: (output: any) => output,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(input: DeleteRecordingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_restJson1DeleteRecordingConfigurationCommand(input, context);
92
- }
93
-
94
- private deserialize(
95
- output: __HttpResponse,
96
- context: __SerdeContext
97
- ): Promise<DeleteRecordingConfigurationCommandOutput> {
98
- return deserializeAws_restJson1DeleteRecordingConfigurationCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -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 { DeleteStreamKeyRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeleteStreamKeyCommand,
18
- serializeAws_restJson1DeleteStreamKeyCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeleteStreamKeyCommandInput extends DeleteStreamKeyRequest {}
22
- export interface DeleteStreamKeyCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes the stream key for the specified ARN, so it can no longer be used to
26
- * stream.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { IvsClient, DeleteStreamKeyCommand } from "@aws-sdk/client-ivs"; // ES Modules import
31
- * // const { IvsClient, DeleteStreamKeyCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
32
- * const client = new IvsClient(config);
33
- * const command = new DeleteStreamKeyCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DeleteStreamKeyCommandInput} for command's `input` shape.
38
- * @see {@link DeleteStreamKeyCommandOutput} for command's `response` shape.
39
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DeleteStreamKeyCommand extends $Command<
43
- DeleteStreamKeyCommandInput,
44
- DeleteStreamKeyCommandOutput,
45
- IvsClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DeleteStreamKeyCommandInput) {
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<DeleteStreamKeyCommandInput, DeleteStreamKeyCommandOutput> {
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 = "DeleteStreamKeyCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DeleteStreamKeyRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: (output: any) => output,
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: DeleteStreamKeyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1DeleteStreamKeyCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteStreamKeyCommandOutput> {
91
- return deserializeAws_restJson1DeleteStreamKeyCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -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 { GetChannelRequest, GetChannelResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetChannelCommand,
18
- serializeAws_restJson1GetChannelCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetChannelCommandInput extends GetChannelRequest {}
22
- export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets the channel configuration for the specified channel ARN. See also <a>BatchGetChannel</a>.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { IvsClient, GetChannelCommand } from "@aws-sdk/client-ivs"; // ES Modules import
30
- * // const { IvsClient, GetChannelCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
31
- * const client = new IvsClient(config);
32
- * const command = new GetChannelCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetChannelCommandInput} for command's `input` shape.
37
- * @see {@link GetChannelCommandOutput} for command's `response` shape.
38
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetChannelCommand extends $Command<
42
- GetChannelCommandInput,
43
- GetChannelCommandOutput,
44
- IvsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetChannelCommandInput) {
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<GetChannelCommandInput, GetChannelCommandOutput> {
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 = "GetChannelCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetChannelRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetChannelResponse.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: GetChannelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetChannelCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetChannelCommandOutput> {
90
- return deserializeAws_restJson1GetChannelCommand(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 { GetPlaybackKeyPairRequest, GetPlaybackKeyPairResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetPlaybackKeyPairCommand,
18
- serializeAws_restJson1GetPlaybackKeyPairCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetPlaybackKeyPairCommandInput extends GetPlaybackKeyPairRequest {}
22
- export interface GetPlaybackKeyPairCommandOutput extends GetPlaybackKeyPairResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets a specified playback authorization key pair and returns the <code>arn</code> and
26
- * <code>fingerprint</code>. The <code>privateKey</code> held by the caller can be used to
27
- * generate viewer authorization tokens, to grant viewers access to private channels. For more
28
- * information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private Channels</a> in the <i>Amazon IVS User
29
- * 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, GetPlaybackKeyPairCommand } from "@aws-sdk/client-ivs"; // ES Modules import
34
- * // const { IvsClient, GetPlaybackKeyPairCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
35
- * const client = new IvsClient(config);
36
- * const command = new GetPlaybackKeyPairCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link GetPlaybackKeyPairCommandInput} for command's `input` shape.
41
- * @see {@link GetPlaybackKeyPairCommandOutput} for command's `response` shape.
42
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class GetPlaybackKeyPairCommand extends $Command<
46
- GetPlaybackKeyPairCommandInput,
47
- GetPlaybackKeyPairCommandOutput,
48
- IvsClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: GetPlaybackKeyPairCommandInput) {
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<GetPlaybackKeyPairCommandInput, GetPlaybackKeyPairCommandOutput> {
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 = "GetPlaybackKeyPairCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: GetPlaybackKeyPairRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: GetPlaybackKeyPairResponse.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: GetPlaybackKeyPairCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1GetPlaybackKeyPairCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetPlaybackKeyPairCommandOutput> {
94
- return deserializeAws_restJson1GetPlaybackKeyPairCommand(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 { GetRecordingConfigurationRequest, GetRecordingConfigurationResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetRecordingConfigurationCommand,
18
- serializeAws_restJson1GetRecordingConfigurationCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetRecordingConfigurationCommandInput extends GetRecordingConfigurationRequest {}
22
- export interface GetRecordingConfigurationCommandOutput extends GetRecordingConfigurationResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets the recording configuration for the 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, GetRecordingConfigurationCommand } from "@aws-sdk/client-ivs"; // ES Modules import
30
- * // const { IvsClient, GetRecordingConfigurationCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
31
- * const client = new IvsClient(config);
32
- * const command = new GetRecordingConfigurationCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetRecordingConfigurationCommandInput} for command's `input` shape.
37
- * @see {@link GetRecordingConfigurationCommandOutput} for command's `response` shape.
38
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetRecordingConfigurationCommand extends $Command<
42
- GetRecordingConfigurationCommandInput,
43
- GetRecordingConfigurationCommandOutput,
44
- IvsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetRecordingConfigurationCommandInput) {
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<GetRecordingConfigurationCommandInput, GetRecordingConfigurationCommandOutput> {
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 = "GetRecordingConfigurationCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetRecordingConfigurationRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetRecordingConfigurationResponse.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: GetRecordingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetRecordingConfigurationCommand(input, context);
87
- }
88
-
89
- private deserialize(
90
- output: __HttpResponse,
91
- context: __SerdeContext
92
- ): Promise<GetRecordingConfigurationCommandOutput> {
93
- return deserializeAws_restJson1GetRecordingConfigurationCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,91 +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 { GetStreamRequest, GetStreamResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetStreamCommand,
18
- serializeAws_restJson1GetStreamCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetStreamCommandInput extends GetStreamRequest {}
22
- export interface GetStreamCommandOutput extends GetStreamResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets information about the active (live) stream on a 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, GetStreamCommand } from "@aws-sdk/client-ivs"; // ES Modules import
30
- * // const { IvsClient, GetStreamCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
31
- * const client = new IvsClient(config);
32
- * const command = new GetStreamCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetStreamCommandInput} for command's `input` shape.
37
- * @see {@link GetStreamCommandOutput} for command's `response` shape.
38
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetStreamCommand extends $Command<GetStreamCommandInput, GetStreamCommandOutput, IvsClientResolvedConfig> {
42
- // Start section: command_properties
43
- // End section: command_properties
44
-
45
- constructor(readonly input: GetStreamCommandInput) {
46
- // Start section: command_constructor
47
- super();
48
- // End section: command_constructor
49
- }
50
-
51
- /**
52
- * @internal
53
- */
54
- resolveMiddleware(
55
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
56
- configuration: IvsClientResolvedConfig,
57
- options?: __HttpHandlerOptions
58
- ): Handler<GetStreamCommandInput, GetStreamCommandOutput> {
59
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
60
-
61
- const stack = clientStack.concat(this.middlewareStack);
62
-
63
- const { logger } = configuration;
64
- const clientName = "IvsClient";
65
- const commandName = "GetStreamCommand";
66
- const handlerExecutionContext: HandlerExecutionContext = {
67
- logger,
68
- clientName,
69
- commandName,
70
- inputFilterSensitiveLog: GetStreamRequest.filterSensitiveLog,
71
- outputFilterSensitiveLog: GetStreamResponse.filterSensitiveLog,
72
- };
73
- const { requestHandler } = configuration;
74
- return stack.resolve(
75
- (request: FinalizeHandlerArguments<any>) =>
76
- requestHandler.handle(request.request as __HttpRequest, options || {}),
77
- handlerExecutionContext
78
- );
79
- }
80
-
81
- private serialize(input: GetStreamCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
82
- return serializeAws_restJson1GetStreamCommand(input, context);
83
- }
84
-
85
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetStreamCommandOutput> {
86
- return deserializeAws_restJson1GetStreamCommand(output, context);
87
- }
88
-
89
- // Start section: command_body_extra
90
- // End section: command_body_extra
91
- }