@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
package/src/IvsClient.ts DELETED
@@ -1,697 +0,0 @@
1
- import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
- RegionInputConfig,
5
- RegionResolvedConfig,
6
- resolveEndpointsConfig,
7
- resolveRegionConfig,
8
- } from "@aws-sdk/config-resolver";
9
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
- import {
11
- getHostHeaderPlugin,
12
- HostHeaderInputConfig,
13
- HostHeaderResolvedConfig,
14
- resolveHostHeaderConfig,
15
- } from "@aws-sdk/middleware-host-header";
16
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
- import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
- import {
19
- AwsAuthInputConfig,
20
- AwsAuthResolvedConfig,
21
- getAwsAuthPlugin,
22
- resolveAwsAuthConfig,
23
- } from "@aws-sdk/middleware-signing";
24
- import {
25
- getUserAgentPlugin,
26
- resolveUserAgentConfig,
27
- UserAgentInputConfig,
28
- UserAgentResolvedConfig,
29
- } from "@aws-sdk/middleware-user-agent";
30
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
- import {
32
- Client as __Client,
33
- SmithyConfiguration as __SmithyConfiguration,
34
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
- } from "@aws-sdk/smithy-client";
36
- import {
37
- Credentials as __Credentials,
38
- Decoder as __Decoder,
39
- Encoder as __Encoder,
40
- Hash as __Hash,
41
- HashConstructor as __HashConstructor,
42
- HttpHandlerOptions as __HttpHandlerOptions,
43
- Logger as __Logger,
44
- Provider as __Provider,
45
- Provider,
46
- RegionInfoProvider,
47
- StreamCollector as __StreamCollector,
48
- UrlParser as __UrlParser,
49
- UserAgent as __UserAgent,
50
- } from "@aws-sdk/types";
51
-
52
- import { BatchGetChannelCommandInput, BatchGetChannelCommandOutput } from "./commands/BatchGetChannelCommand";
53
- import { BatchGetStreamKeyCommandInput, BatchGetStreamKeyCommandOutput } from "./commands/BatchGetStreamKeyCommand";
54
- import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
55
- import {
56
- CreateRecordingConfigurationCommandInput,
57
- CreateRecordingConfigurationCommandOutput,
58
- } from "./commands/CreateRecordingConfigurationCommand";
59
- import { CreateStreamKeyCommandInput, CreateStreamKeyCommandOutput } from "./commands/CreateStreamKeyCommand";
60
- import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
61
- import {
62
- DeletePlaybackKeyPairCommandInput,
63
- DeletePlaybackKeyPairCommandOutput,
64
- } from "./commands/DeletePlaybackKeyPairCommand";
65
- import {
66
- DeleteRecordingConfigurationCommandInput,
67
- DeleteRecordingConfigurationCommandOutput,
68
- } from "./commands/DeleteRecordingConfigurationCommand";
69
- import { DeleteStreamKeyCommandInput, DeleteStreamKeyCommandOutput } from "./commands/DeleteStreamKeyCommand";
70
- import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
71
- import { GetPlaybackKeyPairCommandInput, GetPlaybackKeyPairCommandOutput } from "./commands/GetPlaybackKeyPairCommand";
72
- import {
73
- GetRecordingConfigurationCommandInput,
74
- GetRecordingConfigurationCommandOutput,
75
- } from "./commands/GetRecordingConfigurationCommand";
76
- import { GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand";
77
- import { GetStreamKeyCommandInput, GetStreamKeyCommandOutput } from "./commands/GetStreamKeyCommand";
78
- import {
79
- ImportPlaybackKeyPairCommandInput,
80
- ImportPlaybackKeyPairCommandOutput,
81
- } from "./commands/ImportPlaybackKeyPairCommand";
82
- import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
83
- import {
84
- ListPlaybackKeyPairsCommandInput,
85
- ListPlaybackKeyPairsCommandOutput,
86
- } from "./commands/ListPlaybackKeyPairsCommand";
87
- import {
88
- ListRecordingConfigurationsCommandInput,
89
- ListRecordingConfigurationsCommandOutput,
90
- } from "./commands/ListRecordingConfigurationsCommand";
91
- import { ListStreamKeysCommandInput, ListStreamKeysCommandOutput } from "./commands/ListStreamKeysCommand";
92
- import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
93
- import {
94
- ListTagsForResourceCommandInput,
95
- ListTagsForResourceCommandOutput,
96
- } from "./commands/ListTagsForResourceCommand";
97
- import { PutMetadataCommandInput, PutMetadataCommandOutput } from "./commands/PutMetadataCommand";
98
- import { StopStreamCommandInput, StopStreamCommandOutput } from "./commands/StopStreamCommand";
99
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
100
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
101
- import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
102
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
103
-
104
- export type ServiceInputTypes =
105
- | BatchGetChannelCommandInput
106
- | BatchGetStreamKeyCommandInput
107
- | CreateChannelCommandInput
108
- | CreateRecordingConfigurationCommandInput
109
- | CreateStreamKeyCommandInput
110
- | DeleteChannelCommandInput
111
- | DeletePlaybackKeyPairCommandInput
112
- | DeleteRecordingConfigurationCommandInput
113
- | DeleteStreamKeyCommandInput
114
- | GetChannelCommandInput
115
- | GetPlaybackKeyPairCommandInput
116
- | GetRecordingConfigurationCommandInput
117
- | GetStreamCommandInput
118
- | GetStreamKeyCommandInput
119
- | ImportPlaybackKeyPairCommandInput
120
- | ListChannelsCommandInput
121
- | ListPlaybackKeyPairsCommandInput
122
- | ListRecordingConfigurationsCommandInput
123
- | ListStreamKeysCommandInput
124
- | ListStreamsCommandInput
125
- | ListTagsForResourceCommandInput
126
- | PutMetadataCommandInput
127
- | StopStreamCommandInput
128
- | TagResourceCommandInput
129
- | UntagResourceCommandInput
130
- | UpdateChannelCommandInput;
131
-
132
- export type ServiceOutputTypes =
133
- | BatchGetChannelCommandOutput
134
- | BatchGetStreamKeyCommandOutput
135
- | CreateChannelCommandOutput
136
- | CreateRecordingConfigurationCommandOutput
137
- | CreateStreamKeyCommandOutput
138
- | DeleteChannelCommandOutput
139
- | DeletePlaybackKeyPairCommandOutput
140
- | DeleteRecordingConfigurationCommandOutput
141
- | DeleteStreamKeyCommandOutput
142
- | GetChannelCommandOutput
143
- | GetPlaybackKeyPairCommandOutput
144
- | GetRecordingConfigurationCommandOutput
145
- | GetStreamCommandOutput
146
- | GetStreamKeyCommandOutput
147
- | ImportPlaybackKeyPairCommandOutput
148
- | ListChannelsCommandOutput
149
- | ListPlaybackKeyPairsCommandOutput
150
- | ListRecordingConfigurationsCommandOutput
151
- | ListStreamKeysCommandOutput
152
- | ListStreamsCommandOutput
153
- | ListTagsForResourceCommandOutput
154
- | PutMetadataCommandOutput
155
- | StopStreamCommandOutput
156
- | TagResourceCommandOutput
157
- | UntagResourceCommandOutput
158
- | UpdateChannelCommandOutput;
159
-
160
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
161
- /**
162
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
163
- */
164
- requestHandler?: __HttpHandler;
165
-
166
- /**
167
- * A constructor for a class implementing the {@link __Hash} interface
168
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
169
- * @internal
170
- */
171
- sha256?: __HashConstructor;
172
-
173
- /**
174
- * The function that will be used to convert strings into HTTP endpoints.
175
- * @internal
176
- */
177
- urlParser?: __UrlParser;
178
-
179
- /**
180
- * A function that can calculate the length of a request body.
181
- * @internal
182
- */
183
- bodyLengthChecker?: (body: any) => number | undefined;
184
-
185
- /**
186
- * A function that converts a stream into an array of bytes.
187
- * @internal
188
- */
189
- streamCollector?: __StreamCollector;
190
-
191
- /**
192
- * The function that will be used to convert a base64-encoded string to a byte array.
193
- * @internal
194
- */
195
- base64Decoder?: __Decoder;
196
-
197
- /**
198
- * The function that will be used to convert binary data to a base64-encoded string.
199
- * @internal
200
- */
201
- base64Encoder?: __Encoder;
202
-
203
- /**
204
- * The function that will be used to convert a UTF8-encoded string to a byte array.
205
- * @internal
206
- */
207
- utf8Decoder?: __Decoder;
208
-
209
- /**
210
- * The function that will be used to convert binary data to a UTF-8 encoded string.
211
- * @internal
212
- */
213
- utf8Encoder?: __Encoder;
214
-
215
- /**
216
- * The runtime environment.
217
- * @internal
218
- */
219
- runtime?: string;
220
-
221
- /**
222
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
223
- * trait of an operation.
224
- */
225
- disableHostPrefix?: boolean;
226
-
227
- /**
228
- * Value for how many times a request will be made at most in case of retry.
229
- */
230
- maxAttempts?: number | __Provider<number>;
231
-
232
- /**
233
- * Specifies which retry algorithm to use.
234
- */
235
- retryMode?: string | __Provider<string>;
236
-
237
- /**
238
- * Optional logger for logging debug/info/warn/error.
239
- */
240
- logger?: __Logger;
241
-
242
- /**
243
- * Unique service identifier.
244
- * @internal
245
- */
246
- serviceId?: string;
247
-
248
- /**
249
- * The AWS region to which this client will send requests
250
- */
251
- region?: string | __Provider<string>;
252
-
253
- /**
254
- * Default credentials provider; Not available in browser runtime.
255
- * @internal
256
- */
257
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
258
-
259
- /**
260
- * Fetch related hostname, signing name or signing region with given region.
261
- * @internal
262
- */
263
- regionInfoProvider?: RegionInfoProvider;
264
-
265
- /**
266
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
267
- * @internal
268
- */
269
- defaultUserAgentProvider?: Provider<__UserAgent>;
270
- }
271
-
272
- type IvsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
273
- ClientDefaults &
274
- RegionInputConfig &
275
- EndpointsInputConfig &
276
- RetryInputConfig &
277
- HostHeaderInputConfig &
278
- AwsAuthInputConfig &
279
- UserAgentInputConfig;
280
- /**
281
- * The configuration interface of IvsClient class constructor that set the region, credentials and other options.
282
- */
283
- export interface IvsClientConfig extends IvsClientConfigType {}
284
-
285
- type IvsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
286
- Required<ClientDefaults> &
287
- RegionResolvedConfig &
288
- EndpointsResolvedConfig &
289
- RetryResolvedConfig &
290
- HostHeaderResolvedConfig &
291
- AwsAuthResolvedConfig &
292
- UserAgentResolvedConfig;
293
- /**
294
- * The resolved configuration interface of IvsClient class. This is resolved and normalized from the {@link IvsClientConfig | constructor configuration interface}.
295
- */
296
- export interface IvsClientResolvedConfig extends IvsClientResolvedConfigType {}
297
-
298
- /**
299
- * <p>
300
- * <b>Introduction</b>
301
- * </p>
302
- *
303
- * <p>The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP
304
- * API and an AWS EventBridge event stream for responses. JSON is used for both requests and
305
- * responses, including errors.</p>
306
- *
307
- * <p>The API is an AWS regional service, currently in these regions: us-west-2, us-east-1, and
308
- * eu-west-1.</p>
309
- * <p>
310
- * <i>
311
- * <b>All API request parameters and URLs are case sensitive.
312
- * </b>
313
- * </i>
314
- * </p>
315
- *
316
- * <p>For a summary of notable documentation changes in each release, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/doc-history.html"> Document
317
- * History</a>.</p>
318
- *
319
- * <p>
320
- * <b>Service Endpoints</b>
321
- * </p>
322
- * <p>The following are the Amazon IVS service endpoints (all HTTPS): </p>
323
- * <p>Region name: US West (Oregon)</p>
324
- * <ul>
325
- * <li>
326
- * <p>Region: <code>us-west-2</code>
327
- * </p>
328
- * </li>
329
- * <li>
330
- * <p>Endpoint: <code>ivs.us-west-2.amazonaws.com</code>
331
- * </p>
332
- * </li>
333
- * </ul>
334
- * <p>Region name: US East (Virginia)</p>
335
- * <ul>
336
- * <li>
337
- * <p>Region: <code>us-east-1</code>
338
- * </p>
339
- * </li>
340
- * <li>
341
- * <p>Endpoint: <code>ivs.us-east-1.amazonaws.com</code>
342
- * </p>
343
- * </li>
344
- * </ul>
345
- * <p>Region name: EU West (Dublin)</p>
346
- * <ul>
347
- * <li>
348
- * <p>Region: <code>eu-west-1</code>
349
- * </p>
350
- * </li>
351
- * <li>
352
- * <p>Endpoint: <code>ivs.eu-west-1.amazonaws.com</code>
353
- * </p>
354
- * </li>
355
- * </ul>
356
- *
357
- * <p>
358
- * <b>Allowed Header Values</b>
359
- * </p>
360
- *
361
- * <ul>
362
- * <li>
363
- * <p>
364
- * <code>
365
- * <b>Accept:</b>
366
- * </code> application/json</p>
367
- * </li>
368
- * <li>
369
- * <p>
370
- * <code>
371
- * <b>Accept-Encoding:</b>
372
- * </code> gzip, deflate</p>
373
- * </li>
374
- * <li>
375
- * <p>
376
- * <code>
377
- * <b>Content-Type:</b>
378
- * </code>application/json</p>
379
- * </li>
380
- * </ul>
381
- *
382
- * <p>
383
- * <b>Resources</b>
384
- * </p>
385
- * <p>The following resources contain information about your IVS live stream (see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/getting-started.html"> Getting Started with Amazon
386
- * IVS</a>):</p>
387
- *
388
- * <ul>
389
- * <li>
390
- * <p>Channel — Stores configuration data related to your live stream. You first create a
391
- * channel and then use the channel’s stream key to start your live stream. See the Channel
392
- * endpoints for more information. </p>
393
- * </li>
394
- * <li>
395
- * <p>Stream key — An identifier assigned by Amazon IVS when you create a channel, which is
396
- * then used to authorize streaming. See the StreamKey endpoints for more information.
397
- * <i>
398
- * <b>Treat the stream key like a secret, since it allows
399
- * anyone to stream to the channel.</b>
400
- * </i>
401
- * </p>
402
- * </li>
403
- * <li>
404
- * <p>Playback key pair — Video playback may be restricted using playback-authorization
405
- * tokens, which use public-key encryption. A playback key pair is the public-private pair of
406
- * keys used to sign and validate the playback-authorization token. See the PlaybackKeyPair
407
- * endpoints for more information.</p>
408
- * </li>
409
- * <li>
410
- * <p>Recording configuration — Stores configuration related to recording a live stream and
411
- * where to store the recorded content. Multiple channels can reference the same recording
412
- * configuration. See the Recording Configuration endpoints for more information.</p>
413
- * </li>
414
- * </ul>
415
- *
416
- *
417
- *
418
- * <p>
419
- * <b>Tagging</b>
420
- * </p>
421
- *
422
- * <p>A <i>tag</i> is a metadata label that you assign to an AWS resource. A tag
423
- * comprises a <i>key</i> and a <i>value</i>, both set by you. For
424
- * example, you might set a tag as <code>topic:nature</code> to label a particular video
425
- * category. See <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging AWS
426
- * Resources</a> for more information, including restrictions that apply to tags.</p>
427
- *
428
- * <p>Tags can help you identify and organize your AWS resources. For example, you can use the
429
- * same tag for different resources to indicate that they are related. You can also use tags to
430
- * manage access (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">
431
- * Access Tags</a>). </p>
432
- *
433
- * <p>The Amazon IVS API has these tag-related endpoints: <a>TagResource</a>, <a>UntagResource</a>, and <a>ListTagsForResource</a>. The following
434
- * resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording
435
- * Configurations.</p>
436
- *
437
- * <p>
438
- * <b>Authentication versus Authorization</b>
439
- * </p>
440
- * <p>Note the differences between these concepts:</p>
441
- * <ul>
442
- * <li>
443
- * <p>
444
- * <i>Authentication</i> is about verifying identity. You need to be authenticated to sign Amazon IVS
445
- * API requests.</p>
446
- * </li>
447
- * <li>
448
- * <p>
449
- * <i>Authorization</i> is about granting permissions. You need to be authorized to
450
- * view <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Amazon IVS private channels</a>. (Private channels are channels that are enabled for
451
- * "playback authorization.")</p>
452
- * </li>
453
- * </ul>
454
- *
455
- * <p>
456
- * <b>Authentication</b>
457
- * </p>
458
- * <p>All Amazon IVS API requests must be authenticated with a signature. The AWS Command-Line
459
- * Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying API calls for
460
- * you. However, if your application calls the Amazon IVS API directly, it’s your responsibility
461
- * to sign the requests.</p>
462
- * <p>You generate a signature using valid AWS credentials that have permission to perform the
463
- * requested action. For example, you must sign PutMetadata requests with a signature generated
464
- * from an IAM user account that has the <code>ivs:PutMetadata</code> permission.</p>
465
- * <p>For more information:</p>
466
- * <ul>
467
- * <li>
468
- * <p>Authentication and generating signatures — See <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (AWS Signature Version
469
- * 4)</a> in the <i>AWS General Reference</i>.</p>
470
- * </li>
471
- * <li>
472
- * <p>Managing Amazon IVS permissions — See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/security-iam.html">Identity and Access Management</a> on the Security page of
473
- * the <i>Amazon IVS User Guide</i>.</p>
474
- * </li>
475
- * </ul>
476
- *
477
- *
478
- * <p>
479
- * <b>Channel Endpoints</b>
480
- * </p>
481
- * <ul>
482
- * <li>
483
- * <p>
484
- * <a>CreateChannel</a> — Creates a new channel and an associated stream
485
- * key to start streaming.</p>
486
- * </li>
487
- * <li>
488
- * <p>
489
- * <a>GetChannel</a> — Gets the channel configuration for the specified
490
- * channel ARN (Amazon Resource Name).</p>
491
- * </li>
492
- * <li>
493
- * <p>
494
- * <a>BatchGetChannel</a> — Performs <a>GetChannel</a> on
495
- * multiple ARNs simultaneously.</p>
496
- * </li>
497
- * <li>
498
- * <p>
499
- * <a>ListChannels</a> — Gets summary information about all channels in
500
- * your account, in the AWS region where the API request is processed. This list can be
501
- * filtered to match a specified name or recording-configuration ARN. Filters are mutually
502
- * exclusive and cannot be used together. If you try to use both filters, you will get an
503
- * error (409 Conflict Exception).</p>
504
- * </li>
505
- * <li>
506
- * <p>
507
- * <a>UpdateChannel</a> — Updates a channel's configuration. This does
508
- * not affect an ongoing stream of this channel. You must stop and restart the stream for the
509
- * changes to take effect.</p>
510
- * </li>
511
- * <li>
512
- * <p>
513
- * <a>DeleteChannel</a> — Deletes the specified channel.</p>
514
- * </li>
515
- * </ul>
516
- *
517
- * <p>
518
- * <b>StreamKey Endpoints</b>
519
- * </p>
520
- * <ul>
521
- * <li>
522
- * <p>
523
- * <a>CreateStreamKey</a> — Creates a stream key, used to initiate a
524
- * stream, for the specified channel ARN.</p>
525
- * </li>
526
- * <li>
527
- * <p>
528
- * <a>GetStreamKey</a> — Gets stream key information for the specified
529
- * ARN.</p>
530
- * </li>
531
- * <li>
532
- * <p>
533
- * <a>BatchGetStreamKey</a> — Performs <a>GetStreamKey</a> on
534
- * multiple ARNs simultaneously.</p>
535
- * </li>
536
- * <li>
537
- * <p>
538
- * <a>ListStreamKeys</a> — Gets summary information about stream keys
539
- * for the specified channel.</p>
540
- * </li>
541
- * <li>
542
- * <p>
543
- * <a>DeleteStreamKey</a> — Deletes the stream key for the specified
544
- * ARN, so it can no longer be used to stream.</p>
545
- * </li>
546
- * </ul>
547
- *
548
- *
549
- * <p>
550
- * <b>Stream Endpoints</b>
551
- * </p>
552
- * <ul>
553
- * <li>
554
- * <p>
555
- * <a>GetStream</a> — Gets information about the active (live) stream on
556
- * a specified channel.</p>
557
- * </li>
558
- * <li>
559
- * <p>
560
- * <a>ListStreams</a> — Gets summary information about live streams in
561
- * your account, in the AWS region where the API request is processed.</p>
562
- * </li>
563
- * <li>
564
- * <p>
565
- * <a>StopStream</a> — Disconnects the incoming RTMPS stream for the
566
- * specified channel. Can be used in conjunction with <a>DeleteStreamKey</a> to
567
- * prevent further streaming to a channel.</p>
568
- * </li>
569
- * <li>
570
- * <p>
571
- * <a>PutMetadata</a> — Inserts metadata into the active stream of the
572
- * specified channel. A maximum of 5 requests per second per channel is allowed, each with a
573
- * maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching
574
- * your data into a single PutMetadata call.)</p>
575
- * </li>
576
- * </ul>
577
- *
578
- * <p>
579
- * <b>PlaybackKeyPair Endpoints</b>
580
- * </p>
581
- * <p>For more information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private Channels</a> in the
582
- * <i>Amazon IVS User Guide</i>.</p>
583
- * <ul>
584
- * <li>
585
- * <p>
586
- * <a>ImportPlaybackKeyPair</a> — Imports the public portion of a new
587
- * key pair and returns its <code>arn</code> and <code>fingerprint</code>. The
588
- * <code>privateKey</code> can then be used to generate viewer authorization tokens, to
589
- * grant viewers access to private channels (channels enabled for playback
590
- * authorization).</p>
591
- * </li>
592
- * <li>
593
- * <p>
594
- * <a>GetPlaybackKeyPair</a> — Gets a specified playback authorization
595
- * key pair and returns the <code>arn</code> and <code>fingerprint</code>. The
596
- * <code>privateKey</code> held by the caller can be used to generate viewer authorization
597
- * tokens, to grant viewers access to private channels.</p>
598
- * </li>
599
- * <li>
600
- * <p>
601
- * <a>ListPlaybackKeyPairs</a> — Gets summary information about playback
602
- * key pairs.</p>
603
- * </li>
604
- * <li>
605
- * <p>
606
- * <a>DeletePlaybackKeyPair</a> — Deletes a specified authorization key
607
- * pair. This invalidates future viewer tokens generated using the key pair’s
608
- * <code>privateKey</code>.</p>
609
- * </li>
610
- * </ul>
611
- *
612
- * <p>
613
- * <b>RecordingConfiguration Endpoints</b>
614
- * </p>
615
- * <ul>
616
- * <li>
617
- * <p>
618
- * <a>CreateRecordingConfiguration</a> — Creates a new recording configuration,
619
- * used to enable recording to Amazon S3.</p>
620
- * </li>
621
- * <li>
622
- * <p>
623
- * <a>GetRecordingConfiguration</a> — Gets the recording-configuration metadata
624
- * for the specified ARN.</p>
625
- * </li>
626
- * <li>
627
- * <p>
628
- * <a>ListRecordingConfigurations</a> — Gets summary information about all
629
- * recording configurations in your account, in the AWS region where the API request is
630
- * processed.</p>
631
- * </li>
632
- * <li>
633
- * <p>
634
- * <a>DeleteRecordingConfiguration</a> — Deletes the recording
635
- * configuration for the specified ARN.</p>
636
- * </li>
637
- * </ul>
638
- *
639
- * <p>
640
- * <b>AWS Tags Endpoints</b>
641
- * </p>
642
- * <ul>
643
- * <li>
644
- * <p>
645
- * <a>TagResource</a> — Adds or updates tags for the AWS resource with
646
- * the specified ARN.</p>
647
- * </li>
648
- * <li>
649
- * <p>
650
- * <a>UntagResource</a> — Removes tags from the resource with the
651
- * specified ARN.</p>
652
- * </li>
653
- * <li>
654
- * <p>
655
- * <a>ListTagsForResource</a> — Gets information about AWS tags for the
656
- * specified ARN.</p>
657
- * </li>
658
- * </ul>
659
- */
660
- export class IvsClient extends __Client<
661
- __HttpHandlerOptions,
662
- ServiceInputTypes,
663
- ServiceOutputTypes,
664
- IvsClientResolvedConfig
665
- > {
666
- /**
667
- * The resolved configuration of IvsClient class. This is resolved and normalized from the {@link IvsClientConfig | constructor configuration interface}.
668
- */
669
- readonly config: IvsClientResolvedConfig;
670
-
671
- constructor(configuration: IvsClientConfig) {
672
- const _config_0 = __getRuntimeConfig(configuration);
673
- const _config_1 = resolveRegionConfig(_config_0);
674
- const _config_2 = resolveEndpointsConfig(_config_1);
675
- const _config_3 = resolveRetryConfig(_config_2);
676
- const _config_4 = resolveHostHeaderConfig(_config_3);
677
- const _config_5 = resolveAwsAuthConfig(_config_4);
678
- const _config_6 = resolveUserAgentConfig(_config_5);
679
- super(_config_6);
680
- this.config = _config_6;
681
- this.middlewareStack.use(getRetryPlugin(this.config));
682
- this.middlewareStack.use(getContentLengthPlugin(this.config));
683
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
684
- this.middlewareStack.use(getLoggerPlugin(this.config));
685
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
686
- this.middlewareStack.use(getUserAgentPlugin(this.config));
687
- }
688
-
689
- /**
690
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
691
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
692
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
693
- */
694
- destroy(): void {
695
- super.destroy();
696
- }
697
- }