@aws-sdk/client-mediapackage 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 (213) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist-cjs/MediaPackage.js +0 -4
  3. package/dist-cjs/MediaPackageClient.js +0 -9
  4. package/dist-cjs/commands/ConfigureLogsCommand.js +0 -25
  5. package/dist-cjs/commands/CreateChannelCommand.js +0 -25
  6. package/dist-cjs/commands/CreateHarvestJobCommand.js +0 -25
  7. package/dist-cjs/commands/CreateOriginEndpointCommand.js +0 -25
  8. package/dist-cjs/commands/DeleteChannelCommand.js +0 -25
  9. package/dist-cjs/commands/DeleteOriginEndpointCommand.js +0 -25
  10. package/dist-cjs/commands/DescribeChannelCommand.js +0 -25
  11. package/dist-cjs/commands/DescribeHarvestJobCommand.js +0 -25
  12. package/dist-cjs/commands/DescribeOriginEndpointCommand.js +0 -25
  13. package/dist-cjs/commands/ListChannelsCommand.js +0 -25
  14. package/dist-cjs/commands/ListHarvestJobsCommand.js +0 -25
  15. package/dist-cjs/commands/ListOriginEndpointsCommand.js +0 -25
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -8
  17. package/dist-cjs/commands/RotateChannelCredentialsCommand.js +0 -27
  18. package/dist-cjs/commands/RotateIngestEndpointCredentialsCommand.js +0 -25
  19. package/dist-cjs/commands/TagResourceCommand.js +0 -8
  20. package/dist-cjs/commands/UntagResourceCommand.js +0 -8
  21. package/dist-cjs/commands/UpdateChannelCommand.js +0 -25
  22. package/dist-cjs/commands/UpdateOriginEndpointCommand.js +0 -25
  23. package/dist-cjs/commands/index.js +22 -0
  24. package/dist-cjs/endpoints.js +1 -2
  25. package/dist-cjs/index.js +4 -26
  26. package/dist-cjs/models/index.js +0 -1
  27. package/dist-cjs/models/models_0.js +0 -196
  28. package/dist-cjs/pagination/Interfaces.js +0 -1
  29. package/dist-cjs/pagination/ListChannelsPaginator.js +0 -11
  30. package/dist-cjs/pagination/ListHarvestJobsPaginator.js +0 -11
  31. package/dist-cjs/pagination/ListOriginEndpointsPaginator.js +0 -11
  32. package/dist-cjs/pagination/index.js +7 -0
  33. package/dist-cjs/protocols/Aws_restJson1.js +3 -6
  34. package/dist-cjs/runtimeConfig.browser.js +1 -6
  35. package/dist-cjs/runtimeConfig.js +2 -7
  36. package/dist-cjs/runtimeConfig.native.js +0 -4
  37. package/dist-cjs/runtimeConfig.shared.js +0 -4
  38. package/dist-es/MediaPackage.js +0 -1
  39. package/dist-es/MediaPackageClient.js +0 -1
  40. package/dist-es/commands/ConfigureLogsCommand.js +0 -1
  41. package/dist-es/commands/CreateChannelCommand.js +0 -1
  42. package/dist-es/commands/CreateHarvestJobCommand.js +0 -1
  43. package/dist-es/commands/CreateOriginEndpointCommand.js +0 -1
  44. package/dist-es/commands/DeleteChannelCommand.js +0 -1
  45. package/dist-es/commands/DeleteOriginEndpointCommand.js +0 -1
  46. package/dist-es/commands/DescribeChannelCommand.js +0 -1
  47. package/dist-es/commands/DescribeHarvestJobCommand.js +0 -1
  48. package/dist-es/commands/DescribeOriginEndpointCommand.js +0 -1
  49. package/dist-es/commands/ListChannelsCommand.js +0 -1
  50. package/dist-es/commands/ListHarvestJobsCommand.js +0 -1
  51. package/dist-es/commands/ListOriginEndpointsCommand.js +0 -1
  52. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  53. package/dist-es/commands/RotateChannelCredentialsCommand.js +0 -1
  54. package/dist-es/commands/RotateIngestEndpointCredentialsCommand.js +0 -1
  55. package/dist-es/commands/TagResourceCommand.js +0 -1
  56. package/dist-es/commands/UntagResourceCommand.js +0 -1
  57. package/dist-es/commands/UpdateChannelCommand.js +0 -1
  58. package/dist-es/commands/UpdateOriginEndpointCommand.js +0 -1
  59. package/dist-es/commands/index.js +19 -0
  60. package/dist-es/endpoints.js +1 -2
  61. package/dist-es/index.js +4 -26
  62. package/dist-es/models/index.js +0 -1
  63. package/dist-es/models/models_0.js +0 -1
  64. package/dist-es/pagination/Interfaces.js +0 -1
  65. package/dist-es/pagination/ListChannelsPaginator.js +0 -1
  66. package/dist-es/pagination/ListHarvestJobsPaginator.js +0 -1
  67. package/dist-es/pagination/ListOriginEndpointsPaginator.js +0 -1
  68. package/dist-es/pagination/index.js +4 -0
  69. package/dist-es/protocols/Aws_restJson1.js +4 -3
  70. package/dist-es/runtimeConfig.browser.js +1 -2
  71. package/dist-es/runtimeConfig.js +2 -3
  72. package/dist-es/runtimeConfig.native.js +0 -1
  73. package/dist-es/runtimeConfig.shared.js +0 -1
  74. package/dist-types/commands/index.d.ts +19 -0
  75. package/dist-types/index.d.ts +4 -25
  76. package/dist-types/models/models_0.d.ts +4 -0
  77. package/dist-types/pagination/index.d.ts +4 -0
  78. package/dist-types/ts3.4/MediaPackage.d.ts +17 -53
  79. package/dist-types/ts3.4/MediaPackageClient.d.ts +24 -89
  80. package/dist-types/ts3.4/commands/ConfigureLogsCommand.d.ts +2 -20
  81. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +2 -20
  82. package/dist-types/ts3.4/commands/CreateHarvestJobCommand.d.ts +2 -20
  83. package/dist-types/ts3.4/commands/CreateOriginEndpointCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +2 -20
  85. package/dist-types/ts3.4/commands/DeleteOriginEndpointCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +2 -20
  87. package/dist-types/ts3.4/commands/DescribeHarvestJobCommand.d.ts +2 -20
  88. package/dist-types/ts3.4/commands/DescribeOriginEndpointCommand.d.ts +2 -20
  89. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +2 -20
  90. package/dist-types/ts3.4/commands/ListHarvestJobsCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/ListOriginEndpointsCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -3
  93. package/dist-types/ts3.4/commands/RotateChannelCredentialsCommand.d.ts +2 -22
  94. package/dist-types/ts3.4/commands/RotateIngestEndpointCredentialsCommand.d.ts +2 -20
  95. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -3
  96. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -3
  97. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +2 -20
  98. package/dist-types/ts3.4/commands/UpdateOriginEndpointCommand.d.ts +2 -20
  99. package/dist-types/ts3.4/commands/index.d.ts +19 -0
  100. package/dist-types/ts3.4/index.d.ts +4 -25
  101. package/dist-types/ts3.4/models/models_0.d.ts +396 -1325
  102. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  103. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  104. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  105. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  106. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  107. package/package.json +33 -30
  108. package/dist-cjs/MediaPackage.js.map +0 -1
  109. package/dist-cjs/MediaPackageClient.js.map +0 -1
  110. package/dist-cjs/commands/ConfigureLogsCommand.js.map +0 -1
  111. package/dist-cjs/commands/CreateChannelCommand.js.map +0 -1
  112. package/dist-cjs/commands/CreateHarvestJobCommand.js.map +0 -1
  113. package/dist-cjs/commands/CreateOriginEndpointCommand.js.map +0 -1
  114. package/dist-cjs/commands/DeleteChannelCommand.js.map +0 -1
  115. package/dist-cjs/commands/DeleteOriginEndpointCommand.js.map +0 -1
  116. package/dist-cjs/commands/DescribeChannelCommand.js.map +0 -1
  117. package/dist-cjs/commands/DescribeHarvestJobCommand.js.map +0 -1
  118. package/dist-cjs/commands/DescribeOriginEndpointCommand.js.map +0 -1
  119. package/dist-cjs/commands/ListChannelsCommand.js.map +0 -1
  120. package/dist-cjs/commands/ListHarvestJobsCommand.js.map +0 -1
  121. package/dist-cjs/commands/ListOriginEndpointsCommand.js.map +0 -1
  122. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  123. package/dist-cjs/commands/RotateChannelCredentialsCommand.js.map +0 -1
  124. package/dist-cjs/commands/RotateIngestEndpointCredentialsCommand.js.map +0 -1
  125. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  126. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  127. package/dist-cjs/commands/UpdateChannelCommand.js.map +0 -1
  128. package/dist-cjs/commands/UpdateOriginEndpointCommand.js.map +0 -1
  129. package/dist-cjs/endpoints.js.map +0 -1
  130. package/dist-cjs/index.js.map +0 -1
  131. package/dist-cjs/models/index.js.map +0 -1
  132. package/dist-cjs/models/models_0.js.map +0 -1
  133. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  134. package/dist-cjs/pagination/ListChannelsPaginator.js.map +0 -1
  135. package/dist-cjs/pagination/ListHarvestJobsPaginator.js.map +0 -1
  136. package/dist-cjs/pagination/ListOriginEndpointsPaginator.js.map +0 -1
  137. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  138. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  139. package/dist-cjs/runtimeConfig.js.map +0 -1
  140. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  141. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  142. package/dist-es/MediaPackage.js.map +0 -1
  143. package/dist-es/MediaPackageClient.js.map +0 -1
  144. package/dist-es/commands/ConfigureLogsCommand.js.map +0 -1
  145. package/dist-es/commands/CreateChannelCommand.js.map +0 -1
  146. package/dist-es/commands/CreateHarvestJobCommand.js.map +0 -1
  147. package/dist-es/commands/CreateOriginEndpointCommand.js.map +0 -1
  148. package/dist-es/commands/DeleteChannelCommand.js.map +0 -1
  149. package/dist-es/commands/DeleteOriginEndpointCommand.js.map +0 -1
  150. package/dist-es/commands/DescribeChannelCommand.js.map +0 -1
  151. package/dist-es/commands/DescribeHarvestJobCommand.js.map +0 -1
  152. package/dist-es/commands/DescribeOriginEndpointCommand.js.map +0 -1
  153. package/dist-es/commands/ListChannelsCommand.js.map +0 -1
  154. package/dist-es/commands/ListHarvestJobsCommand.js.map +0 -1
  155. package/dist-es/commands/ListOriginEndpointsCommand.js.map +0 -1
  156. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  157. package/dist-es/commands/RotateChannelCredentialsCommand.js.map +0 -1
  158. package/dist-es/commands/RotateIngestEndpointCredentialsCommand.js.map +0 -1
  159. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  160. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  161. package/dist-es/commands/UpdateChannelCommand.js.map +0 -1
  162. package/dist-es/commands/UpdateOriginEndpointCommand.js.map +0 -1
  163. package/dist-es/endpoints.js.map +0 -1
  164. package/dist-es/index.js.map +0 -1
  165. package/dist-es/models/index.js.map +0 -1
  166. package/dist-es/models/models_0.js.map +0 -1
  167. package/dist-es/pagination/Interfaces.js.map +0 -1
  168. package/dist-es/pagination/ListChannelsPaginator.js.map +0 -1
  169. package/dist-es/pagination/ListHarvestJobsPaginator.js.map +0 -1
  170. package/dist-es/pagination/ListOriginEndpointsPaginator.js.map +0 -1
  171. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  172. package/dist-es/runtimeConfig.browser.js.map +0 -1
  173. package/dist-es/runtimeConfig.js.map +0 -1
  174. package/dist-es/runtimeConfig.native.js.map +0 -1
  175. package/dist-es/runtimeConfig.shared.js.map +0 -1
  176. package/jest.config.js +0 -4
  177. package/src/MediaPackage.ts +0 -691
  178. package/src/MediaPackageClient.ts +0 -317
  179. package/src/commands/ConfigureLogsCommand.ts +0 -95
  180. package/src/commands/CreateChannelCommand.ts +0 -95
  181. package/src/commands/CreateHarvestJobCommand.ts +0 -95
  182. package/src/commands/CreateOriginEndpointCommand.ts +0 -95
  183. package/src/commands/DeleteChannelCommand.ts +0 -95
  184. package/src/commands/DeleteOriginEndpointCommand.ts +0 -95
  185. package/src/commands/DescribeChannelCommand.ts +0 -95
  186. package/src/commands/DescribeHarvestJobCommand.ts +0 -95
  187. package/src/commands/DescribeOriginEndpointCommand.ts +0 -95
  188. package/src/commands/ListChannelsCommand.ts +0 -95
  189. package/src/commands/ListHarvestJobsCommand.ts +0 -95
  190. package/src/commands/ListOriginEndpointsCommand.ts +0 -95
  191. package/src/commands/ListTagsForResourceCommand.ts +0 -78
  192. package/src/commands/RotateChannelCredentialsCommand.ts +0 -97
  193. package/src/commands/RotateIngestEndpointCredentialsCommand.ts +0 -103
  194. package/src/commands/TagResourceCommand.ts +0 -78
  195. package/src/commands/UntagResourceCommand.ts +0 -78
  196. package/src/commands/UpdateChannelCommand.ts +0 -95
  197. package/src/commands/UpdateOriginEndpointCommand.ts +0 -95
  198. package/src/endpoints.ts +0 -57
  199. package/src/index.ts +0 -26
  200. package/src/models/index.ts +0 -1
  201. package/src/models/models_0.ts +0 -2553
  202. package/src/pagination/Interfaces.ts +0 -8
  203. package/src/pagination/ListChannelsPaginator.ts +0 -59
  204. package/src/pagination/ListHarvestJobsPaginator.ts +0 -59
  205. package/src/pagination/ListOriginEndpointsPaginator.ts +0 -59
  206. package/src/protocols/Aws_restJson1.ts +0 -3669
  207. package/src/runtimeConfig.browser.ts +0 -41
  208. package/src/runtimeConfig.native.ts +0 -17
  209. package/src/runtimeConfig.shared.ts +0 -17
  210. package/src/runtimeConfig.ts +0 -46
  211. package/tsconfig.es.json +0 -10
  212. package/tsconfig.json +0 -33
  213. package/tsconfig.types.json +0 -9
package/CHANGELOG.md CHANGED
@@ -3,6 +3,54 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
12
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
13
+ * **clients:** update clients as of 2021/10/22 ([#2924](https://github.com/aws/aws-sdk-js-v3/issues/2924)) ([4d79819](https://github.com/aws/aws-sdk-js-v3/commit/4d798196e652f8cfdc1c155a46ac6b6aa31b2656))
14
+
15
+
16
+
17
+
18
+
19
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
20
+
21
+
22
+ ### Features
23
+
24
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
25
+
26
+
27
+
28
+
29
+
30
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
36
+
37
+
38
+
39
+
40
+
41
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
42
+
43
+
44
+ ### Features
45
+
46
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
47
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
48
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
49
+
50
+
51
+
52
+
53
+
6
54
  # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
7
55
 
8
56
 
@@ -21,9 +21,6 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
21
21
  const UpdateChannelCommand_1 = require("./commands/UpdateChannelCommand");
22
22
  const UpdateOriginEndpointCommand_1 = require("./commands/UpdateOriginEndpointCommand");
23
23
  const MediaPackageClient_1 = require("./MediaPackageClient");
24
- /**
25
- * AWS Elemental MediaPackage
26
- */
27
24
  class MediaPackage extends MediaPackageClient_1.MediaPackageClient {
28
25
  configureLogs(args, optionsOrCb, cb) {
29
26
  const command = new ConfigureLogsCommand_1.ConfigureLogsCommand(args);
@@ -293,4 +290,3 @@ class MediaPackage extends MediaPackageClient_1.MediaPackageClient {
293
290
  }
294
291
  }
295
292
  exports.MediaPackage = MediaPackage;
296
- //# sourceMappingURL=MediaPackage.js.map
@@ -10,9 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * AWS Elemental MediaPackage
15
- */
16
13
  class MediaPackageClient extends smithy_client_1.Client {
17
14
  constructor(configuration) {
18
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -31,14 +28,8 @@ class MediaPackageClient extends smithy_client_1.Client {
31
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
32
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
33
30
  }
34
- /**
35
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
36
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
37
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
38
- */
39
31
  destroy() {
40
32
  super.destroy();
41
33
  }
42
34
  }
43
35
  exports.MediaPackageClient = MediaPackageClient;
44
- //# sourceMappingURL=MediaPackageClient.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Changes the Channel's properities to configure log subscription
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MediaPackageClient, ConfigureLogsCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
14
- * // const { MediaPackageClient, ConfigureLogsCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
15
- * const client = new MediaPackageClient(config);
16
- * const command = new ConfigureLogsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ConfigureLogsCommandInput} for command's `input` shape.
21
- * @see {@link ConfigureLogsCommandOutput} for command's `response` shape.
22
- * @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ConfigureLogsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ConfigureLogsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ConfigureLogsCommand = ConfigureLogsCommand;
61
- //# sourceMappingURL=ConfigureLogsCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Creates a new Channel.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MediaPackageClient, CreateChannelCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
14
- * // const { MediaPackageClient, CreateChannelCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
15
- * const client = new MediaPackageClient(config);
16
- * const command = new CreateChannelCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateChannelCommandInput} for command's `input` shape.
21
- * @see {@link CreateChannelCommandOutput} for command's `response` shape.
22
- * @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateChannelCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class CreateChannelCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.CreateChannelCommand = CreateChannelCommand;
61
- //# sourceMappingURL=CreateChannelCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Creates a new HarvestJob record.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MediaPackageClient, CreateHarvestJobCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
14
- * // const { MediaPackageClient, CreateHarvestJobCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
15
- * const client = new MediaPackageClient(config);
16
- * const command = new CreateHarvestJobCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateHarvestJobCommandInput} for command's `input` shape.
21
- * @see {@link CreateHarvestJobCommandOutput} for command's `response` shape.
22
- * @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateHarvestJobCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class CreateHarvestJobCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.CreateHarvestJobCommand = CreateHarvestJobCommand;
61
- //# sourceMappingURL=CreateHarvestJobCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Creates a new OriginEndpoint record.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MediaPackageClient, CreateOriginEndpointCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
14
- * // const { MediaPackageClient, CreateOriginEndpointCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
15
- * const client = new MediaPackageClient(config);
16
- * const command = new CreateOriginEndpointCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateOriginEndpointCommandInput} for command's `input` shape.
21
- * @see {@link CreateOriginEndpointCommandOutput} for command's `response` shape.
22
- * @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateOriginEndpointCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class CreateOriginEndpointCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.CreateOriginEndpointCommand = CreateOriginEndpointCommand;
61
- //# sourceMappingURL=CreateOriginEndpointCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Deletes an existing Channel.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MediaPackageClient, DeleteChannelCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
14
- * // const { MediaPackageClient, DeleteChannelCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
15
- * const client = new MediaPackageClient(config);
16
- * const command = new DeleteChannelCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteChannelCommandInput} for command's `input` shape.
21
- * @see {@link DeleteChannelCommandOutput} for command's `response` shape.
22
- * @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteChannelCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DeleteChannelCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteChannelCommand = DeleteChannelCommand;
61
- //# sourceMappingURL=DeleteChannelCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Deletes an existing OriginEndpoint.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MediaPackageClient, DeleteOriginEndpointCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
14
- * // const { MediaPackageClient, DeleteOriginEndpointCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
15
- * const client = new MediaPackageClient(config);
16
- * const command = new DeleteOriginEndpointCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteOriginEndpointCommandInput} for command's `input` shape.
21
- * @see {@link DeleteOriginEndpointCommandOutput} for command's `response` shape.
22
- * @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteOriginEndpointCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DeleteOriginEndpointCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteOriginEndpointCommand = DeleteOriginEndpointCommand;
61
- //# sourceMappingURL=DeleteOriginEndpointCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Gets details about a Channel.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MediaPackageClient, DescribeChannelCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
14
- * // const { MediaPackageClient, DescribeChannelCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
15
- * const client = new MediaPackageClient(config);
16
- * const command = new DescribeChannelCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeChannelCommandInput} for command's `input` shape.
21
- * @see {@link DescribeChannelCommandOutput} for command's `response` shape.
22
- * @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeChannelCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeChannelCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeChannelCommand = DescribeChannelCommand;
61
- //# sourceMappingURL=DescribeChannelCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Gets details about an existing HarvestJob.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MediaPackageClient, DescribeHarvestJobCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
14
- * // const { MediaPackageClient, DescribeHarvestJobCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
15
- * const client = new MediaPackageClient(config);
16
- * const command = new DescribeHarvestJobCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeHarvestJobCommandInput} for command's `input` shape.
21
- * @see {@link DescribeHarvestJobCommandOutput} for command's `response` shape.
22
- * @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeHarvestJobCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeHarvestJobCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeHarvestJobCommand = DescribeHarvestJobCommand;
61
- //# sourceMappingURL=DescribeHarvestJobCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Gets details about an existing OriginEndpoint.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MediaPackageClient, DescribeOriginEndpointCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
14
- * // const { MediaPackageClient, DescribeOriginEndpointCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
15
- * const client = new MediaPackageClient(config);
16
- * const command = new DescribeOriginEndpointCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeOriginEndpointCommandInput} for command's `input` shape.
21
- * @see {@link DescribeOriginEndpointCommandOutput} for command's `response` shape.
22
- * @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeOriginEndpointCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeOriginEndpointCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeOriginEndpointCommand = DescribeOriginEndpointCommand;
61
- //# sourceMappingURL=DescribeOriginEndpointCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Returns a collection of Channels.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MediaPackageClient, ListChannelsCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
14
- * // const { MediaPackageClient, ListChannelsCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
15
- * const client = new MediaPackageClient(config);
16
- * const command = new ListChannelsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListChannelsCommandInput} for command's `input` shape.
21
- * @see {@link ListChannelsCommandOutput} for command's `response` shape.
22
- * @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListChannelsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListChannelsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListChannelsCommand = ListChannelsCommand;
61
- //# sourceMappingURL=ListChannelsCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Returns a collection of HarvestJob records.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MediaPackageClient, ListHarvestJobsCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
14
- * // const { MediaPackageClient, ListHarvestJobsCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
15
- * const client = new MediaPackageClient(config);
16
- * const command = new ListHarvestJobsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListHarvestJobsCommandInput} for command's `input` shape.
21
- * @see {@link ListHarvestJobsCommandOutput} for command's `response` shape.
22
- * @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListHarvestJobsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListHarvestJobsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListHarvestJobsCommand = ListHarvestJobsCommand;
61
- //# sourceMappingURL=ListHarvestJobsCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * Returns a collection of OriginEndpoint records.
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MediaPackageClient, ListOriginEndpointsCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
14
- * // const { MediaPackageClient, ListOriginEndpointsCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
15
- * const client = new MediaPackageClient(config);
16
- * const command = new ListOriginEndpointsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListOriginEndpointsCommandInput} for command's `input` shape.
21
- * @see {@link ListOriginEndpointsCommandOutput} for command's `response` shape.
22
- * @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListOriginEndpointsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListOriginEndpointsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListOriginEndpointsCommand = ListOriginEndpointsCommand;
61
- //# sourceMappingURL=ListOriginEndpointsCommand.js.map
@@ -6,17 +6,10 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  class ListTagsForResourceCommand extends smithy_client_1.Command {
9
- // Start section: command_properties
10
- // End section: command_properties
11
9
  constructor(input) {
12
- // Start section: command_constructor
13
10
  super();
14
11
  this.input = input;
15
- // End section: command_constructor
16
12
  }
17
- /**
18
- * @internal
19
- */
20
13
  resolveMiddleware(clientStack, configuration, options) {
21
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
22
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -41,4 +34,3 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
41
34
  }
42
35
  }
43
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
44
- //# sourceMappingURL=ListTagsForResourceCommand.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * @deprecated
10
- *
11
- * Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { MediaPackageClient, RotateChannelCredentialsCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
16
- * // const { MediaPackageClient, RotateChannelCredentialsCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
17
- * const client = new MediaPackageClient(config);
18
- * const command = new RotateChannelCredentialsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link RotateChannelCredentialsCommandInput} for command's `input` shape.
23
- * @see {@link RotateChannelCredentialsCommandOutput} for command's `response` shape.
24
- * @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class RotateChannelCredentialsCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class RotateChannelCredentialsCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.RotateChannelCredentialsCommand = RotateChannelCredentialsCommand;
63
- //# sourceMappingURL=RotateChannelCredentialsCommand.js.map