@aws-sdk/client-mediapackage-vod 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 (201) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist-cjs/MediaPackageVod.js +0 -4
  3. package/dist-cjs/MediaPackageVodClient.js +0 -9
  4. package/dist-cjs/commands/ConfigureLogsCommand.js +0 -25
  5. package/dist-cjs/commands/CreateAssetCommand.js +0 -25
  6. package/dist-cjs/commands/CreatePackagingConfigurationCommand.js +0 -25
  7. package/dist-cjs/commands/CreatePackagingGroupCommand.js +0 -25
  8. package/dist-cjs/commands/DeleteAssetCommand.js +0 -25
  9. package/dist-cjs/commands/DeletePackagingConfigurationCommand.js +0 -25
  10. package/dist-cjs/commands/DeletePackagingGroupCommand.js +0 -25
  11. package/dist-cjs/commands/DescribeAssetCommand.js +0 -25
  12. package/dist-cjs/commands/DescribePackagingConfigurationCommand.js +0 -25
  13. package/dist-cjs/commands/DescribePackagingGroupCommand.js +0 -25
  14. package/dist-cjs/commands/ListAssetsCommand.js +0 -25
  15. package/dist-cjs/commands/ListPackagingConfigurationsCommand.js +0 -25
  16. package/dist-cjs/commands/ListPackagingGroupsCommand.js +0 -25
  17. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  18. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  19. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  20. package/dist-cjs/commands/UpdatePackagingGroupCommand.js +0 -25
  21. package/dist-cjs/commands/index.js +20 -0
  22. package/dist-cjs/endpoints.js +1 -2
  23. package/dist-cjs/index.js +4 -24
  24. package/dist-cjs/models/index.js +0 -1
  25. package/dist-cjs/models/models_0.js +0 -172
  26. package/dist-cjs/pagination/Interfaces.js +0 -1
  27. package/dist-cjs/pagination/ListAssetsPaginator.js +0 -11
  28. package/dist-cjs/pagination/ListPackagingConfigurationsPaginator.js +0 -11
  29. package/dist-cjs/pagination/ListPackagingGroupsPaginator.js +0 -11
  30. package/dist-cjs/pagination/index.js +7 -0
  31. package/dist-cjs/protocols/Aws_restJson1.js +3 -6
  32. package/dist-cjs/runtimeConfig.browser.js +1 -6
  33. package/dist-cjs/runtimeConfig.js +2 -7
  34. package/dist-cjs/runtimeConfig.native.js +0 -4
  35. package/dist-cjs/runtimeConfig.shared.js +0 -4
  36. package/dist-es/MediaPackageVod.js +0 -1
  37. package/dist-es/MediaPackageVodClient.js +0 -1
  38. package/dist-es/commands/ConfigureLogsCommand.js +0 -1
  39. package/dist-es/commands/CreateAssetCommand.js +0 -1
  40. package/dist-es/commands/CreatePackagingConfigurationCommand.js +0 -1
  41. package/dist-es/commands/CreatePackagingGroupCommand.js +0 -1
  42. package/dist-es/commands/DeleteAssetCommand.js +0 -1
  43. package/dist-es/commands/DeletePackagingConfigurationCommand.js +0 -1
  44. package/dist-es/commands/DeletePackagingGroupCommand.js +0 -1
  45. package/dist-es/commands/DescribeAssetCommand.js +0 -1
  46. package/dist-es/commands/DescribePackagingConfigurationCommand.js +0 -1
  47. package/dist-es/commands/DescribePackagingGroupCommand.js +0 -1
  48. package/dist-es/commands/ListAssetsCommand.js +0 -1
  49. package/dist-es/commands/ListPackagingConfigurationsCommand.js +0 -1
  50. package/dist-es/commands/ListPackagingGroupsCommand.js +0 -1
  51. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  52. package/dist-es/commands/TagResourceCommand.js +0 -1
  53. package/dist-es/commands/UntagResourceCommand.js +0 -1
  54. package/dist-es/commands/UpdatePackagingGroupCommand.js +0 -1
  55. package/dist-es/commands/index.js +17 -0
  56. package/dist-es/endpoints.js +1 -2
  57. package/dist-es/index.js +4 -24
  58. package/dist-es/models/index.js +0 -1
  59. package/dist-es/models/models_0.js +0 -1
  60. package/dist-es/pagination/Interfaces.js +0 -1
  61. package/dist-es/pagination/ListAssetsPaginator.js +0 -1
  62. package/dist-es/pagination/ListPackagingConfigurationsPaginator.js +0 -1
  63. package/dist-es/pagination/ListPackagingGroupsPaginator.js +0 -1
  64. package/dist-es/pagination/index.js +4 -0
  65. package/dist-es/protocols/Aws_restJson1.js +4 -3
  66. package/dist-es/runtimeConfig.browser.js +1 -2
  67. package/dist-es/runtimeConfig.js +2 -3
  68. package/dist-es/runtimeConfig.native.js +0 -1
  69. package/dist-es/runtimeConfig.shared.js +0 -1
  70. package/dist-types/commands/index.d.ts +17 -0
  71. package/dist-types/index.d.ts +4 -23
  72. package/dist-types/models/models_0.d.ts +4 -0
  73. package/dist-types/pagination/index.d.ts +4 -0
  74. package/dist-types/ts3.4/MediaPackageVod.d.ts +18 -54
  75. package/dist-types/ts3.4/MediaPackageVodClient.d.ts +24 -89
  76. package/dist-types/ts3.4/commands/ConfigureLogsCommand.d.ts +2 -20
  77. package/dist-types/ts3.4/commands/CreateAssetCommand.d.ts +2 -20
  78. package/dist-types/ts3.4/commands/CreatePackagingConfigurationCommand.d.ts +2 -20
  79. package/dist-types/ts3.4/commands/CreatePackagingGroupCommand.d.ts +2 -20
  80. package/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +2 -20
  81. package/dist-types/ts3.4/commands/DeletePackagingConfigurationCommand.d.ts +2 -20
  82. package/dist-types/ts3.4/commands/DeletePackagingGroupCommand.d.ts +2 -20
  83. package/dist-types/ts3.4/commands/DescribeAssetCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/DescribePackagingConfigurationCommand.d.ts +2 -20
  85. package/dist-types/ts3.4/commands/DescribePackagingGroupCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +2 -20
  87. package/dist-types/ts3.4/commands/ListPackagingConfigurationsCommand.d.ts +2 -20
  88. package/dist-types/ts3.4/commands/ListPackagingGroupsCommand.d.ts +2 -20
  89. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  90. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/UpdatePackagingGroupCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  94. package/dist-types/ts3.4/index.d.ts +4 -23
  95. package/dist-types/ts3.4/models/models_0.d.ts +265 -810
  96. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  97. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  98. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  99. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  100. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  101. package/package.json +33 -30
  102. package/dist-cjs/MediaPackageVod.js.map +0 -1
  103. package/dist-cjs/MediaPackageVodClient.js.map +0 -1
  104. package/dist-cjs/commands/ConfigureLogsCommand.js.map +0 -1
  105. package/dist-cjs/commands/CreateAssetCommand.js.map +0 -1
  106. package/dist-cjs/commands/CreatePackagingConfigurationCommand.js.map +0 -1
  107. package/dist-cjs/commands/CreatePackagingGroupCommand.js.map +0 -1
  108. package/dist-cjs/commands/DeleteAssetCommand.js.map +0 -1
  109. package/dist-cjs/commands/DeletePackagingConfigurationCommand.js.map +0 -1
  110. package/dist-cjs/commands/DeletePackagingGroupCommand.js.map +0 -1
  111. package/dist-cjs/commands/DescribeAssetCommand.js.map +0 -1
  112. package/dist-cjs/commands/DescribePackagingConfigurationCommand.js.map +0 -1
  113. package/dist-cjs/commands/DescribePackagingGroupCommand.js.map +0 -1
  114. package/dist-cjs/commands/ListAssetsCommand.js.map +0 -1
  115. package/dist-cjs/commands/ListPackagingConfigurationsCommand.js.map +0 -1
  116. package/dist-cjs/commands/ListPackagingGroupsCommand.js.map +0 -1
  117. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  118. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  119. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  120. package/dist-cjs/commands/UpdatePackagingGroupCommand.js.map +0 -1
  121. package/dist-cjs/endpoints.js.map +0 -1
  122. package/dist-cjs/index.js.map +0 -1
  123. package/dist-cjs/models/index.js.map +0 -1
  124. package/dist-cjs/models/models_0.js.map +0 -1
  125. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  126. package/dist-cjs/pagination/ListAssetsPaginator.js.map +0 -1
  127. package/dist-cjs/pagination/ListPackagingConfigurationsPaginator.js.map +0 -1
  128. package/dist-cjs/pagination/ListPackagingGroupsPaginator.js.map +0 -1
  129. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  130. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  131. package/dist-cjs/runtimeConfig.js.map +0 -1
  132. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  133. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  134. package/dist-es/MediaPackageVod.js.map +0 -1
  135. package/dist-es/MediaPackageVodClient.js.map +0 -1
  136. package/dist-es/commands/ConfigureLogsCommand.js.map +0 -1
  137. package/dist-es/commands/CreateAssetCommand.js.map +0 -1
  138. package/dist-es/commands/CreatePackagingConfigurationCommand.js.map +0 -1
  139. package/dist-es/commands/CreatePackagingGroupCommand.js.map +0 -1
  140. package/dist-es/commands/DeleteAssetCommand.js.map +0 -1
  141. package/dist-es/commands/DeletePackagingConfigurationCommand.js.map +0 -1
  142. package/dist-es/commands/DeletePackagingGroupCommand.js.map +0 -1
  143. package/dist-es/commands/DescribeAssetCommand.js.map +0 -1
  144. package/dist-es/commands/DescribePackagingConfigurationCommand.js.map +0 -1
  145. package/dist-es/commands/DescribePackagingGroupCommand.js.map +0 -1
  146. package/dist-es/commands/ListAssetsCommand.js.map +0 -1
  147. package/dist-es/commands/ListPackagingConfigurationsCommand.js.map +0 -1
  148. package/dist-es/commands/ListPackagingGroupsCommand.js.map +0 -1
  149. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  150. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  151. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  152. package/dist-es/commands/UpdatePackagingGroupCommand.js.map +0 -1
  153. package/dist-es/endpoints.js.map +0 -1
  154. package/dist-es/index.js.map +0 -1
  155. package/dist-es/models/index.js.map +0 -1
  156. package/dist-es/models/models_0.js.map +0 -1
  157. package/dist-es/pagination/Interfaces.js.map +0 -1
  158. package/dist-es/pagination/ListAssetsPaginator.js.map +0 -1
  159. package/dist-es/pagination/ListPackagingConfigurationsPaginator.js.map +0 -1
  160. package/dist-es/pagination/ListPackagingGroupsPaginator.js.map +0 -1
  161. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  162. package/dist-es/runtimeConfig.browser.js.map +0 -1
  163. package/dist-es/runtimeConfig.js.map +0 -1
  164. package/dist-es/runtimeConfig.native.js.map +0 -1
  165. package/dist-es/runtimeConfig.shared.js.map +0 -1
  166. package/jest.config.js +0 -4
  167. package/src/MediaPackageVod.ts +0 -597
  168. package/src/MediaPackageVodClient.ts +0 -317
  169. package/src/commands/ConfigureLogsCommand.ts +0 -95
  170. package/src/commands/CreateAssetCommand.ts +0 -95
  171. package/src/commands/CreatePackagingConfigurationCommand.ts +0 -100
  172. package/src/commands/CreatePackagingGroupCommand.ts +0 -95
  173. package/src/commands/DeleteAssetCommand.ts +0 -95
  174. package/src/commands/DeletePackagingConfigurationCommand.ts +0 -100
  175. package/src/commands/DeletePackagingGroupCommand.ts +0 -95
  176. package/src/commands/DescribeAssetCommand.ts +0 -95
  177. package/src/commands/DescribePackagingConfigurationCommand.ts +0 -103
  178. package/src/commands/DescribePackagingGroupCommand.ts +0 -95
  179. package/src/commands/ListAssetsCommand.ts +0 -95
  180. package/src/commands/ListPackagingConfigurationsCommand.ts +0 -100
  181. package/src/commands/ListPackagingGroupsCommand.ts +0 -95
  182. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  183. package/src/commands/TagResourceCommand.ts +0 -95
  184. package/src/commands/UntagResourceCommand.ts +0 -95
  185. package/src/commands/UpdatePackagingGroupCommand.ts +0 -95
  186. package/src/endpoints.ts +0 -57
  187. package/src/index.ts +0 -24
  188. package/src/models/index.ts +0 -1
  189. package/src/models/models_0.ts +0 -1680
  190. package/src/pagination/Interfaces.ts +0 -8
  191. package/src/pagination/ListAssetsPaginator.ts +0 -55
  192. package/src/pagination/ListPackagingConfigurationsPaginator.ts +0 -59
  193. package/src/pagination/ListPackagingGroupsPaginator.ts +0 -59
  194. package/src/protocols/Aws_restJson1.ts +0 -3087
  195. package/src/runtimeConfig.browser.ts +0 -41
  196. package/src/runtimeConfig.native.ts +0 -17
  197. package/src/runtimeConfig.shared.ts +0 -17
  198. package/src/runtimeConfig.ts +0 -46
  199. package/tsconfig.es.json +0 -10
  200. package/tsconfig.json +0 -33
  201. package/tsconfig.types.json +0 -9
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
15
- import { CreatePackagingGroupRequest, CreatePackagingGroupResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreatePackagingGroupCommand,
18
- serializeAws_restJson1CreatePackagingGroupCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreatePackagingGroupCommandInput extends CreatePackagingGroupRequest {}
22
- export interface CreatePackagingGroupCommandOutput extends CreatePackagingGroupResponse, __MetadataBearer {}
23
-
24
- /**
25
- * Creates a new MediaPackage VOD PackagingGroup resource.
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MediaPackageVodClient, CreatePackagingGroupCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
30
- * // const { MediaPackageVodClient, CreatePackagingGroupCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
31
- * const client = new MediaPackageVodClient(config);
32
- * const command = new CreatePackagingGroupCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CreatePackagingGroupCommandInput} for command's `input` shape.
37
- * @see {@link CreatePackagingGroupCommandOutput} for command's `response` shape.
38
- * @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CreatePackagingGroupCommand extends $Command<
42
- CreatePackagingGroupCommandInput,
43
- CreatePackagingGroupCommandOutput,
44
- MediaPackageVodClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CreatePackagingGroupCommandInput) {
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: MediaPackageVodClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CreatePackagingGroupCommandInput, CreatePackagingGroupCommandOutput> {
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 = "MediaPackageVodClient";
69
- const commandName = "CreatePackagingGroupCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CreatePackagingGroupRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CreatePackagingGroupResponse.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: CreatePackagingGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1CreatePackagingGroupCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreatePackagingGroupCommandOutput> {
90
- return deserializeAws_restJson1CreatePackagingGroupCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -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 { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
15
- import { DeleteAssetRequest, DeleteAssetResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeleteAssetCommand,
18
- serializeAws_restJson1DeleteAssetCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeleteAssetCommandInput extends DeleteAssetRequest {}
22
- export interface DeleteAssetCommandOutput extends DeleteAssetResponse, __MetadataBearer {}
23
-
24
- /**
25
- * Deletes an existing MediaPackage VOD Asset resource.
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MediaPackageVodClient, DeleteAssetCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
30
- * // const { MediaPackageVodClient, DeleteAssetCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
31
- * const client = new MediaPackageVodClient(config);
32
- * const command = new DeleteAssetCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteAssetCommandInput} for command's `input` shape.
37
- * @see {@link DeleteAssetCommandOutput} for command's `response` shape.
38
- * @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteAssetCommand extends $Command<
42
- DeleteAssetCommandInput,
43
- DeleteAssetCommandOutput,
44
- MediaPackageVodClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteAssetCommandInput) {
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: MediaPackageVodClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DeleteAssetCommandInput, DeleteAssetCommandOutput> {
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 = "MediaPackageVodClient";
69
- const commandName = "DeleteAssetCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteAssetRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteAssetResponse.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: DeleteAssetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DeleteAssetCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteAssetCommandOutput> {
90
- return deserializeAws_restJson1DeleteAssetCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,100 +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 { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
15
- import { DeletePackagingConfigurationRequest, DeletePackagingConfigurationResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeletePackagingConfigurationCommand,
18
- serializeAws_restJson1DeletePackagingConfigurationCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeletePackagingConfigurationCommandInput extends DeletePackagingConfigurationRequest {}
22
- export interface DeletePackagingConfigurationCommandOutput
23
- extends DeletePackagingConfigurationResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * Deletes a MediaPackage VOD PackagingConfiguration resource.
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { MediaPackageVodClient, DeletePackagingConfigurationCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
32
- * // const { MediaPackageVodClient, DeletePackagingConfigurationCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
33
- * const client = new MediaPackageVodClient(config);
34
- * const command = new DeletePackagingConfigurationCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DeletePackagingConfigurationCommandInput} for command's `input` shape.
39
- * @see {@link DeletePackagingConfigurationCommandOutput} for command's `response` shape.
40
- * @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DeletePackagingConfigurationCommand extends $Command<
44
- DeletePackagingConfigurationCommandInput,
45
- DeletePackagingConfigurationCommandOutput,
46
- MediaPackageVodClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DeletePackagingConfigurationCommandInput) {
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: MediaPackageVodClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DeletePackagingConfigurationCommandInput, DeletePackagingConfigurationCommandOutput> {
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 = "MediaPackageVodClient";
71
- const commandName = "DeletePackagingConfigurationCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DeletePackagingConfigurationRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: DeletePackagingConfigurationResponse.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: DeletePackagingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1DeletePackagingConfigurationCommand(input, context);
89
- }
90
-
91
- private deserialize(
92
- output: __HttpResponse,
93
- context: __SerdeContext
94
- ): Promise<DeletePackagingConfigurationCommandOutput> {
95
- return deserializeAws_restJson1DeletePackagingConfigurationCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -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 { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
15
- import { DeletePackagingGroupRequest, DeletePackagingGroupResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeletePackagingGroupCommand,
18
- serializeAws_restJson1DeletePackagingGroupCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeletePackagingGroupCommandInput extends DeletePackagingGroupRequest {}
22
- export interface DeletePackagingGroupCommandOutput extends DeletePackagingGroupResponse, __MetadataBearer {}
23
-
24
- /**
25
- * Deletes a MediaPackage VOD PackagingGroup resource.
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MediaPackageVodClient, DeletePackagingGroupCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
30
- * // const { MediaPackageVodClient, DeletePackagingGroupCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
31
- * const client = new MediaPackageVodClient(config);
32
- * const command = new DeletePackagingGroupCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeletePackagingGroupCommandInput} for command's `input` shape.
37
- * @see {@link DeletePackagingGroupCommandOutput} for command's `response` shape.
38
- * @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeletePackagingGroupCommand extends $Command<
42
- DeletePackagingGroupCommandInput,
43
- DeletePackagingGroupCommandOutput,
44
- MediaPackageVodClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeletePackagingGroupCommandInput) {
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: MediaPackageVodClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DeletePackagingGroupCommandInput, DeletePackagingGroupCommandOutput> {
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 = "MediaPackageVodClient";
69
- const commandName = "DeletePackagingGroupCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeletePackagingGroupRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeletePackagingGroupResponse.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: DeletePackagingGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DeletePackagingGroupCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeletePackagingGroupCommandOutput> {
90
- return deserializeAws_restJson1DeletePackagingGroupCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -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 { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
15
- import { DescribeAssetRequest, DescribeAssetResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DescribeAssetCommand,
18
- serializeAws_restJson1DescribeAssetCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DescribeAssetCommandInput extends DescribeAssetRequest {}
22
- export interface DescribeAssetCommandOutput extends DescribeAssetResponse, __MetadataBearer {}
23
-
24
- /**
25
- * Returns a description of a MediaPackage VOD Asset resource.
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MediaPackageVodClient, DescribeAssetCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
30
- * // const { MediaPackageVodClient, DescribeAssetCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
31
- * const client = new MediaPackageVodClient(config);
32
- * const command = new DescribeAssetCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeAssetCommandInput} for command's `input` shape.
37
- * @see {@link DescribeAssetCommandOutput} for command's `response` shape.
38
- * @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeAssetCommand extends $Command<
42
- DescribeAssetCommandInput,
43
- DescribeAssetCommandOutput,
44
- MediaPackageVodClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeAssetCommandInput) {
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: MediaPackageVodClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeAssetCommandInput, DescribeAssetCommandOutput> {
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 = "MediaPackageVodClient";
69
- const commandName = "DescribeAssetCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeAssetRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeAssetResponse.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: DescribeAssetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DescribeAssetCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeAssetCommandOutput> {
90
- return deserializeAws_restJson1DescribeAssetCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -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 { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
15
- import { DescribePackagingConfigurationRequest, DescribePackagingConfigurationResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DescribePackagingConfigurationCommand,
18
- serializeAws_restJson1DescribePackagingConfigurationCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DescribePackagingConfigurationCommandInput extends DescribePackagingConfigurationRequest {}
22
- export interface DescribePackagingConfigurationCommandOutput
23
- extends DescribePackagingConfigurationResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * Returns a description of a MediaPackage VOD PackagingConfiguration resource.
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { MediaPackageVodClient, DescribePackagingConfigurationCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
32
- * // const { MediaPackageVodClient, DescribePackagingConfigurationCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
33
- * const client = new MediaPackageVodClient(config);
34
- * const command = new DescribePackagingConfigurationCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DescribePackagingConfigurationCommandInput} for command's `input` shape.
39
- * @see {@link DescribePackagingConfigurationCommandOutput} for command's `response` shape.
40
- * @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DescribePackagingConfigurationCommand extends $Command<
44
- DescribePackagingConfigurationCommandInput,
45
- DescribePackagingConfigurationCommandOutput,
46
- MediaPackageVodClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DescribePackagingConfigurationCommandInput) {
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: MediaPackageVodClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DescribePackagingConfigurationCommandInput, DescribePackagingConfigurationCommandOutput> {
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 = "MediaPackageVodClient";
71
- const commandName = "DescribePackagingConfigurationCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DescribePackagingConfigurationRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: DescribePackagingConfigurationResponse.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(
88
- input: DescribePackagingConfigurationCommandInput,
89
- context: __SerdeContext
90
- ): Promise<__HttpRequest> {
91
- return serializeAws_restJson1DescribePackagingConfigurationCommand(input, context);
92
- }
93
-
94
- private deserialize(
95
- output: __HttpResponse,
96
- context: __SerdeContext
97
- ): Promise<DescribePackagingConfigurationCommandOutput> {
98
- return deserializeAws_restJson1DescribePackagingConfigurationCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -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 { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
15
- import { DescribePackagingGroupRequest, DescribePackagingGroupResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DescribePackagingGroupCommand,
18
- serializeAws_restJson1DescribePackagingGroupCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DescribePackagingGroupCommandInput extends DescribePackagingGroupRequest {}
22
- export interface DescribePackagingGroupCommandOutput extends DescribePackagingGroupResponse, __MetadataBearer {}
23
-
24
- /**
25
- * Returns a description of a MediaPackage VOD PackagingGroup resource.
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MediaPackageVodClient, DescribePackagingGroupCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
30
- * // const { MediaPackageVodClient, DescribePackagingGroupCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
31
- * const client = new MediaPackageVodClient(config);
32
- * const command = new DescribePackagingGroupCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribePackagingGroupCommandInput} for command's `input` shape.
37
- * @see {@link DescribePackagingGroupCommandOutput} for command's `response` shape.
38
- * @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribePackagingGroupCommand extends $Command<
42
- DescribePackagingGroupCommandInput,
43
- DescribePackagingGroupCommandOutput,
44
- MediaPackageVodClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribePackagingGroupCommandInput) {
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: MediaPackageVodClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribePackagingGroupCommandInput, DescribePackagingGroupCommandOutput> {
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 = "MediaPackageVodClient";
69
- const commandName = "DescribePackagingGroupCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribePackagingGroupRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribePackagingGroupResponse.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: DescribePackagingGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DescribePackagingGroupCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribePackagingGroupCommandOutput> {
90
- return deserializeAws_restJson1DescribePackagingGroupCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }