@aws-sdk/client-mediapackagev2 3.336.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 (179) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +408 -0
  3. package/dist-cjs/MediaPackageV2.js +59 -0
  4. package/dist-cjs/MediaPackageV2Client.js +40 -0
  5. package/dist-cjs/commands/CreateChannelCommand.js +45 -0
  6. package/dist-cjs/commands/CreateChannelGroupCommand.js +45 -0
  7. package/dist-cjs/commands/CreateOriginEndpointCommand.js +45 -0
  8. package/dist-cjs/commands/DeleteChannelCommand.js +45 -0
  9. package/dist-cjs/commands/DeleteChannelGroupCommand.js +45 -0
  10. package/dist-cjs/commands/DeleteChannelPolicyCommand.js +45 -0
  11. package/dist-cjs/commands/DeleteOriginEndpointCommand.js +45 -0
  12. package/dist-cjs/commands/DeleteOriginEndpointPolicyCommand.js +45 -0
  13. package/dist-cjs/commands/GetChannelCommand.js +45 -0
  14. package/dist-cjs/commands/GetChannelGroupCommand.js +45 -0
  15. package/dist-cjs/commands/GetChannelPolicyCommand.js +45 -0
  16. package/dist-cjs/commands/GetOriginEndpointCommand.js +45 -0
  17. package/dist-cjs/commands/GetOriginEndpointPolicyCommand.js +45 -0
  18. package/dist-cjs/commands/ListChannelGroupsCommand.js +45 -0
  19. package/dist-cjs/commands/ListChannelsCommand.js +45 -0
  20. package/dist-cjs/commands/ListOriginEndpointsCommand.js +45 -0
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +45 -0
  22. package/dist-cjs/commands/PutChannelPolicyCommand.js +45 -0
  23. package/dist-cjs/commands/PutOriginEndpointPolicyCommand.js +45 -0
  24. package/dist-cjs/commands/TagResourceCommand.js +45 -0
  25. package/dist-cjs/commands/UntagResourceCommand.js +45 -0
  26. package/dist-cjs/commands/UpdateChannelCommand.js +45 -0
  27. package/dist-cjs/commands/UpdateChannelGroupCommand.js +45 -0
  28. package/dist-cjs/commands/UpdateOriginEndpointCommand.js +45 -0
  29. package/dist-cjs/commands/index.js +27 -0
  30. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  31. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  32. package/dist-cjs/endpoint/ruleset.js +7 -0
  33. package/dist-cjs/index.js +11 -0
  34. package/dist-cjs/models/MediaPackageV2ServiceException.js +11 -0
  35. package/dist-cjs/models/index.js +4 -0
  36. package/dist-cjs/models/models_0.js +203 -0
  37. package/dist-cjs/pagination/Interfaces.js +2 -0
  38. package/dist-cjs/pagination/ListChannelGroupsPaginator.js +29 -0
  39. package/dist-cjs/pagination/ListChannelsPaginator.js +29 -0
  40. package/dist-cjs/pagination/ListOriginEndpointsPaginator.js +29 -0
  41. package/dist-cjs/pagination/index.js +7 -0
  42. package/dist-cjs/protocols/Aws_restJson1.js +1885 -0
  43. package/dist-cjs/runtimeConfig.browser.js +39 -0
  44. package/dist-cjs/runtimeConfig.js +48 -0
  45. package/dist-cjs/runtimeConfig.native.js +15 -0
  46. package/dist-cjs/runtimeConfig.shared.js +21 -0
  47. package/dist-es/MediaPackageV2.js +55 -0
  48. package/dist-es/MediaPackageV2Client.js +36 -0
  49. package/dist-es/commands/CreateChannelCommand.js +41 -0
  50. package/dist-es/commands/CreateChannelGroupCommand.js +41 -0
  51. package/dist-es/commands/CreateOriginEndpointCommand.js +41 -0
  52. package/dist-es/commands/DeleteChannelCommand.js +41 -0
  53. package/dist-es/commands/DeleteChannelGroupCommand.js +41 -0
  54. package/dist-es/commands/DeleteChannelPolicyCommand.js +41 -0
  55. package/dist-es/commands/DeleteOriginEndpointCommand.js +41 -0
  56. package/dist-es/commands/DeleteOriginEndpointPolicyCommand.js +41 -0
  57. package/dist-es/commands/GetChannelCommand.js +41 -0
  58. package/dist-es/commands/GetChannelGroupCommand.js +41 -0
  59. package/dist-es/commands/GetChannelPolicyCommand.js +41 -0
  60. package/dist-es/commands/GetOriginEndpointCommand.js +41 -0
  61. package/dist-es/commands/GetOriginEndpointPolicyCommand.js +41 -0
  62. package/dist-es/commands/ListChannelGroupsCommand.js +41 -0
  63. package/dist-es/commands/ListChannelsCommand.js +41 -0
  64. package/dist-es/commands/ListOriginEndpointsCommand.js +41 -0
  65. package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  66. package/dist-es/commands/PutChannelPolicyCommand.js +41 -0
  67. package/dist-es/commands/PutOriginEndpointPolicyCommand.js +41 -0
  68. package/dist-es/commands/TagResourceCommand.js +41 -0
  69. package/dist-es/commands/UntagResourceCommand.js +41 -0
  70. package/dist-es/commands/UpdateChannelCommand.js +41 -0
  71. package/dist-es/commands/UpdateChannelGroupCommand.js +41 -0
  72. package/dist-es/commands/UpdateOriginEndpointCommand.js +41 -0
  73. package/dist-es/commands/index.js +24 -0
  74. package/dist-es/endpoint/EndpointParameters.js +8 -0
  75. package/dist-es/endpoint/endpointResolver.js +8 -0
  76. package/dist-es/endpoint/ruleset.js +4 -0
  77. package/dist-es/index.js +6 -0
  78. package/dist-es/models/MediaPackageV2ServiceException.js +7 -0
  79. package/dist-es/models/index.js +1 -0
  80. package/dist-es/models/models_0.js +193 -0
  81. package/dist-es/pagination/Interfaces.js +1 -0
  82. package/dist-es/pagination/ListChannelGroupsPaginator.js +25 -0
  83. package/dist-es/pagination/ListChannelsPaginator.js +25 -0
  84. package/dist-es/pagination/ListOriginEndpointsPaginator.js +25 -0
  85. package/dist-es/pagination/index.js +4 -0
  86. package/dist-es/protocols/Aws_restJson1.js +1834 -0
  87. package/dist-es/runtimeConfig.browser.js +34 -0
  88. package/dist-es/runtimeConfig.js +43 -0
  89. package/dist-es/runtimeConfig.native.js +11 -0
  90. package/dist-es/runtimeConfig.shared.js +17 -0
  91. package/dist-types/MediaPackageV2.d.ts +189 -0
  92. package/dist-types/MediaPackageV2Client.d.ts +197 -0
  93. package/dist-types/commands/CreateChannelCommand.d.ts +110 -0
  94. package/dist-types/commands/CreateChannelGroupCommand.d.ts +103 -0
  95. package/dist-types/commands/CreateOriginEndpointCommand.d.ts +220 -0
  96. package/dist-types/commands/DeleteChannelCommand.d.ts +83 -0
  97. package/dist-types/commands/DeleteChannelGroupCommand.d.ts +82 -0
  98. package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +83 -0
  99. package/dist-types/commands/DeleteOriginEndpointCommand.d.ts +81 -0
  100. package/dist-types/commands/DeleteOriginEndpointPolicyCommand.d.ts +84 -0
  101. package/dist-types/commands/GetChannelCommand.d.ts +99 -0
  102. package/dist-types/commands/GetChannelGroupCommand.d.ts +92 -0
  103. package/dist-types/commands/GetChannelPolicyCommand.d.ts +87 -0
  104. package/dist-types/commands/GetOriginEndpointCommand.d.ts +153 -0
  105. package/dist-types/commands/GetOriginEndpointPolicyCommand.d.ts +89 -0
  106. package/dist-types/commands/ListChannelGroupsCommand.d.ts +91 -0
  107. package/dist-types/commands/ListChannelsCommand.d.ts +93 -0
  108. package/dist-types/commands/ListOriginEndpointsCommand.d.ts +113 -0
  109. package/dist-types/commands/ListTagsForResourceCommand.d.ts +74 -0
  110. package/dist-types/commands/PutChannelPolicyCommand.d.ts +87 -0
  111. package/dist-types/commands/PutOriginEndpointPolicyCommand.d.ts +88 -0
  112. package/dist-types/commands/TagResourceCommand.d.ts +78 -0
  113. package/dist-types/commands/UntagResourceCommand.d.ts +73 -0
  114. package/dist-types/commands/UpdateChannelCommand.d.ts +104 -0
  115. package/dist-types/commands/UpdateChannelGroupCommand.d.ts +97 -0
  116. package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +217 -0
  117. package/dist-types/commands/index.d.ts +24 -0
  118. package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
  119. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  120. package/dist-types/endpoint/ruleset.d.ts +2 -0
  121. package/dist-types/index.d.ts +6 -0
  122. package/dist-types/models/MediaPackageV2ServiceException.d.ts +12 -0
  123. package/dist-types/models/index.d.ts +1 -0
  124. package/dist-types/models/models_0.d.ts +1739 -0
  125. package/dist-types/pagination/Interfaces.d.ts +8 -0
  126. package/dist-types/pagination/ListChannelGroupsPaginator.d.ts +7 -0
  127. package/dist-types/pagination/ListChannelsPaginator.d.ts +7 -0
  128. package/dist-types/pagination/ListOriginEndpointsPaginator.d.ts +7 -0
  129. package/dist-types/pagination/index.d.ts +4 -0
  130. package/dist-types/protocols/Aws_restJson1.d.ts +218 -0
  131. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  132. package/dist-types/runtimeConfig.d.ts +42 -0
  133. package/dist-types/runtimeConfig.native.d.ts +41 -0
  134. package/dist-types/runtimeConfig.shared.d.ts +18 -0
  135. package/dist-types/ts3.4/MediaPackageV2.d.ts +415 -0
  136. package/dist-types/ts3.4/MediaPackageV2Client.d.ts +259 -0
  137. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +37 -0
  138. package/dist-types/ts3.4/commands/CreateChannelGroupCommand.d.ts +38 -0
  139. package/dist-types/ts3.4/commands/CreateOriginEndpointCommand.d.ts +41 -0
  140. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +37 -0
  141. package/dist-types/ts3.4/commands/DeleteChannelGroupCommand.d.ts +38 -0
  142. package/dist-types/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +38 -0
  143. package/dist-types/ts3.4/commands/DeleteOriginEndpointCommand.d.ts +41 -0
  144. package/dist-types/ts3.4/commands/DeleteOriginEndpointPolicyCommand.d.ts +41 -0
  145. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +34 -0
  146. package/dist-types/ts3.4/commands/GetChannelGroupCommand.d.ts +37 -0
  147. package/dist-types/ts3.4/commands/GetChannelPolicyCommand.d.ts +37 -0
  148. package/dist-types/ts3.4/commands/GetOriginEndpointCommand.d.ts +38 -0
  149. package/dist-types/ts3.4/commands/GetOriginEndpointPolicyCommand.d.ts +41 -0
  150. package/dist-types/ts3.4/commands/ListChannelGroupsCommand.d.ts +38 -0
  151. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +34 -0
  152. package/dist-types/ts3.4/commands/ListOriginEndpointsCommand.d.ts +38 -0
  153. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  154. package/dist-types/ts3.4/commands/PutChannelPolicyCommand.d.ts +37 -0
  155. package/dist-types/ts3.4/commands/PutOriginEndpointPolicyCommand.d.ts +41 -0
  156. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -0
  157. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +32 -0
  158. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +37 -0
  159. package/dist-types/ts3.4/commands/UpdateChannelGroupCommand.d.ts +38 -0
  160. package/dist-types/ts3.4/commands/UpdateOriginEndpointCommand.d.ts +41 -0
  161. package/dist-types/ts3.4/commands/index.d.ts +24 -0
  162. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
  163. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  164. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  165. package/dist-types/ts3.4/index.d.ts +6 -0
  166. package/dist-types/ts3.4/models/MediaPackageV2ServiceException.d.ts +7 -0
  167. package/dist-types/ts3.4/models/index.d.ts +1 -0
  168. package/dist-types/ts3.4/models/models_0.d.ts +542 -0
  169. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  170. package/dist-types/ts3.4/pagination/ListChannelGroupsPaginator.d.ts +11 -0
  171. package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -0
  172. package/dist-types/ts3.4/pagination/ListOriginEndpointsPaginator.d.ts +11 -0
  173. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  174. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +293 -0
  175. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +94 -0
  176. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  177. package/dist-types/ts3.4/runtimeConfig.native.d.ts +85 -0
  178. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
  179. package/package.json +101 -0
@@ -0,0 +1,73 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
+ import { UntagResourceRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link UntagResourceCommand}.
10
+ */
11
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link UntagResourceCommand}.
17
+ */
18
+ export interface UntagResourceCommandOutput extends __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Removes one or more tags from the specified resource.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { MediaPackageV2Client, UntagResourceCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
27
+ * // const { MediaPackageV2Client, UntagResourceCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
28
+ * const client = new MediaPackageV2Client(config);
29
+ * const input = { // UntagResourceRequest
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * TagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
35
+ * const command = new UntagResourceCommand(input);
36
+ * const response = await client.send(command);
37
+ * // {};
38
+ *
39
+ * ```
40
+ *
41
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
42
+ * @returns {@link UntagResourceCommandOutput}
43
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
44
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
45
+ * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
46
+ *
47
+ * @throws {@link ValidationException} (client fault)
48
+ * <p>The input failed to meet the constraints specified by the AWS service.</p>
49
+ *
50
+ * @throws {@link MediaPackageV2ServiceException}
51
+ * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
52
+ *
53
+ */
54
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, MediaPackageV2ClientResolvedConfig> {
55
+ readonly input: UntagResourceCommandInput;
56
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
57
+ /**
58
+ * @public
59
+ */
60
+ constructor(input: UntagResourceCommandInput);
61
+ /**
62
+ * @internal
63
+ */
64
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
65
+ /**
66
+ * @internal
67
+ */
68
+ private serialize;
69
+ /**
70
+ * @internal
71
+ */
72
+ private deserialize;
73
+ }
@@ -0,0 +1,104 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
+ import { UpdateChannelRequest, UpdateChannelResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link UpdateChannelCommand}.
10
+ */
11
+ export interface UpdateChannelCommandInput extends UpdateChannelRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link UpdateChannelCommand}.
17
+ */
18
+ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Update the specified channel. You can edit if MediaPackage sends ingest or egress access logs to the CloudWatch log group, if content will be encrypted, the description on a channel, and your channel's policy settings. You can't edit the name of the channel or CloudFront distribution details.</p>
23
+ * <p>Any edits you make that impact the video output may not be reflected for a few minutes.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { MediaPackageV2Client, UpdateChannelCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
28
+ * // const { MediaPackageV2Client, UpdateChannelCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
29
+ * const client = new MediaPackageV2Client(config);
30
+ * const input = { // UpdateChannelRequest
31
+ * ChannelGroupName: "STRING_VALUE", // required
32
+ * ChannelName: "STRING_VALUE", // required
33
+ * Description: "STRING_VALUE",
34
+ * };
35
+ * const command = new UpdateChannelCommand(input);
36
+ * const response = await client.send(command);
37
+ * // { // UpdateChannelResponse
38
+ * // Arn: "STRING_VALUE", // required
39
+ * // ChannelName: "STRING_VALUE", // required
40
+ * // ChannelGroupName: "STRING_VALUE", // required
41
+ * // CreatedAt: new Date("TIMESTAMP"), // required
42
+ * // ModifiedAt: new Date("TIMESTAMP"), // required
43
+ * // Description: "STRING_VALUE",
44
+ * // IngestEndpoints: [ // IngestEndpointList
45
+ * // { // IngestEndpoint
46
+ * // Id: "STRING_VALUE",
47
+ * // Url: "STRING_VALUE",
48
+ * // },
49
+ * // ],
50
+ * // Tags: { // TagMap
51
+ * // "<keys>": "STRING_VALUE",
52
+ * // },
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param UpdateChannelCommandInput - {@link UpdateChannelCommandInput}
58
+ * @returns {@link UpdateChannelCommandOutput}
59
+ * @see {@link UpdateChannelCommandInput} for command's `input` shape.
60
+ * @see {@link UpdateChannelCommandOutput} for command's `response` shape.
61
+ * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
65
+ *
66
+ * @throws {@link ConflictException} (client fault)
67
+ * <p>Updating or deleting this resource can cause an inconsistent state.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>Indicates that an error from the service occurred while trying to process a request.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The specified resource doesn't exist.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The request throughput limit was exceeded.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>The input failed to meet the constraints specified by the AWS service.</p>
80
+ *
81
+ * @throws {@link MediaPackageV2ServiceException}
82
+ * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
83
+ *
84
+ */
85
+ export declare class UpdateChannelCommand extends $Command<UpdateChannelCommandInput, UpdateChannelCommandOutput, MediaPackageV2ClientResolvedConfig> {
86
+ readonly input: UpdateChannelCommandInput;
87
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
+ /**
89
+ * @public
90
+ */
91
+ constructor(input: UpdateChannelCommandInput);
92
+ /**
93
+ * @internal
94
+ */
95
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateChannelCommandInput, UpdateChannelCommandOutput>;
96
+ /**
97
+ * @internal
98
+ */
99
+ private serialize;
100
+ /**
101
+ * @internal
102
+ */
103
+ private deserialize;
104
+ }
@@ -0,0 +1,97 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
+ import { UpdateChannelGroupRequest, UpdateChannelGroupResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link UpdateChannelGroupCommand}.
10
+ */
11
+ export interface UpdateChannelGroupCommandInput extends UpdateChannelGroupRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link UpdateChannelGroupCommand}.
17
+ */
18
+ export interface UpdateChannelGroupCommandOutput extends UpdateChannelGroupResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Update the specified channel group. You can edit the description on a channel group for easier identification later from the AWS Elemental MediaPackage console. You can't edit the name of the channel group.</p>
23
+ * <p>Any edits you make that impact the video output may not be reflected for a few minutes.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { MediaPackageV2Client, UpdateChannelGroupCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
28
+ * // const { MediaPackageV2Client, UpdateChannelGroupCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
29
+ * const client = new MediaPackageV2Client(config);
30
+ * const input = { // UpdateChannelGroupRequest
31
+ * ChannelGroupName: "STRING_VALUE", // required
32
+ * Description: "STRING_VALUE",
33
+ * };
34
+ * const command = new UpdateChannelGroupCommand(input);
35
+ * const response = await client.send(command);
36
+ * // { // UpdateChannelGroupResponse
37
+ * // ChannelGroupName: "STRING_VALUE", // required
38
+ * // Arn: "STRING_VALUE", // required
39
+ * // EgressDomain: "STRING_VALUE", // required
40
+ * // CreatedAt: new Date("TIMESTAMP"), // required
41
+ * // ModifiedAt: new Date("TIMESTAMP"), // required
42
+ * // Description: "STRING_VALUE",
43
+ * // Tags: { // TagMap
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param UpdateChannelGroupCommandInput - {@link UpdateChannelGroupCommandInput}
51
+ * @returns {@link UpdateChannelGroupCommandOutput}
52
+ * @see {@link UpdateChannelGroupCommandInput} for command's `input` shape.
53
+ * @see {@link UpdateChannelGroupCommandOutput} for command's `response` shape.
54
+ * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>Updating or deleting this resource can cause an inconsistent state.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>Indicates that an error from the service occurred while trying to process a request.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>The specified resource doesn't exist.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request throughput limit was exceeded.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input failed to meet the constraints specified by the AWS service.</p>
73
+ *
74
+ * @throws {@link MediaPackageV2ServiceException}
75
+ * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
76
+ *
77
+ */
78
+ export declare class UpdateChannelGroupCommand extends $Command<UpdateChannelGroupCommandInput, UpdateChannelGroupCommandOutput, MediaPackageV2ClientResolvedConfig> {
79
+ readonly input: UpdateChannelGroupCommandInput;
80
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
+ /**
82
+ * @public
83
+ */
84
+ constructor(input: UpdateChannelGroupCommandInput);
85
+ /**
86
+ * @internal
87
+ */
88
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateChannelGroupCommandInput, UpdateChannelGroupCommandOutput>;
89
+ /**
90
+ * @internal
91
+ */
92
+ private serialize;
93
+ /**
94
+ * @internal
95
+ */
96
+ private deserialize;
97
+ }
@@ -0,0 +1,217 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
+ import { UpdateOriginEndpointRequest, UpdateOriginEndpointResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link UpdateOriginEndpointCommand}.
10
+ */
11
+ export interface UpdateOriginEndpointCommandInput extends UpdateOriginEndpointRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link UpdateOriginEndpointCommand}.
17
+ */
18
+ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Update the specified origin endpoint. Edit the packaging preferences on an endpoint to optimize the viewing experience. You can't edit the name of the endpoint.</p>
23
+ * <p>Any edits you make that impact the video output may not be reflected for a few minutes.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { MediaPackageV2Client, UpdateOriginEndpointCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
28
+ * // const { MediaPackageV2Client, UpdateOriginEndpointCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
29
+ * const client = new MediaPackageV2Client(config);
30
+ * const input = { // UpdateOriginEndpointRequest
31
+ * ChannelGroupName: "STRING_VALUE", // required
32
+ * ChannelName: "STRING_VALUE", // required
33
+ * OriginEndpointName: "STRING_VALUE", // required
34
+ * ContainerType: "TS" || "CMAF", // required
35
+ * Segment: { // Segment
36
+ * SegmentDurationSeconds: Number("int"),
37
+ * SegmentName: "STRING_VALUE",
38
+ * TsUseAudioRenditionGroup: true || false,
39
+ * IncludeIframeOnlyStreams: true || false,
40
+ * TsIncludeDvbSubtitles: true || false,
41
+ * Scte: { // Scte
42
+ * ScteFilter: [ // ScteFilterList
43
+ * "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" || "PROGRAM",
44
+ * ],
45
+ * },
46
+ * Encryption: { // Encryption
47
+ * ConstantInitializationVector: "STRING_VALUE",
48
+ * EncryptionMethod: { // EncryptionMethod
49
+ * TsEncryptionMethod: "AES_128" || "SAMPLE_AES",
50
+ * CmafEncryptionMethod: "CENC" || "CBCS",
51
+ * },
52
+ * KeyRotationIntervalSeconds: Number("int"),
53
+ * SpekeKeyProvider: { // SpekeKeyProvider
54
+ * EncryptionContractConfiguration: { // EncryptionContractConfiguration
55
+ * PresetSpeke20Audio: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED", // required
56
+ * PresetSpeke20Video: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED", // required
57
+ * },
58
+ * ResourceId: "STRING_VALUE", // required
59
+ * DrmSystems: [ // DrmSystems // required
60
+ * "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE",
61
+ * ],
62
+ * RoleArn: "STRING_VALUE", // required
63
+ * Url: "STRING_VALUE", // required
64
+ * },
65
+ * },
66
+ * },
67
+ * Description: "STRING_VALUE",
68
+ * StartoverWindowSeconds: Number("int"),
69
+ * HlsManifests: [ // CreateHlsManifests
70
+ * { // CreateHlsManifestConfiguration
71
+ * ManifestName: "STRING_VALUE", // required
72
+ * ChildManifestName: "STRING_VALUE",
73
+ * ScteHls: { // ScteHls
74
+ * AdMarkerHls: "DATERANGE",
75
+ * },
76
+ * ManifestWindowSeconds: Number("int"),
77
+ * ProgramDateTimeIntervalSeconds: Number("int"),
78
+ * },
79
+ * ],
80
+ * LowLatencyHlsManifests: [ // CreateLowLatencyHlsManifests
81
+ * { // CreateLowLatencyHlsManifestConfiguration
82
+ * ManifestName: "STRING_VALUE", // required
83
+ * ChildManifestName: "STRING_VALUE",
84
+ * ScteHls: {
85
+ * AdMarkerHls: "DATERANGE",
86
+ * },
87
+ * ManifestWindowSeconds: Number("int"),
88
+ * ProgramDateTimeIntervalSeconds: Number("int"),
89
+ * },
90
+ * ],
91
+ * };
92
+ * const command = new UpdateOriginEndpointCommand(input);
93
+ * const response = await client.send(command);
94
+ * // { // UpdateOriginEndpointResponse
95
+ * // Arn: "STRING_VALUE", // required
96
+ * // ChannelGroupName: "STRING_VALUE", // required
97
+ * // ChannelName: "STRING_VALUE", // required
98
+ * // OriginEndpointName: "STRING_VALUE", // required
99
+ * // ContainerType: "TS" || "CMAF", // required
100
+ * // Segment: { // Segment
101
+ * // SegmentDurationSeconds: Number("int"),
102
+ * // SegmentName: "STRING_VALUE",
103
+ * // TsUseAudioRenditionGroup: true || false,
104
+ * // IncludeIframeOnlyStreams: true || false,
105
+ * // TsIncludeDvbSubtitles: true || false,
106
+ * // Scte: { // Scte
107
+ * // ScteFilter: [ // ScteFilterList
108
+ * // "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" || "PROGRAM",
109
+ * // ],
110
+ * // },
111
+ * // Encryption: { // Encryption
112
+ * // ConstantInitializationVector: "STRING_VALUE",
113
+ * // EncryptionMethod: { // EncryptionMethod
114
+ * // TsEncryptionMethod: "AES_128" || "SAMPLE_AES",
115
+ * // CmafEncryptionMethod: "CENC" || "CBCS",
116
+ * // },
117
+ * // KeyRotationIntervalSeconds: Number("int"),
118
+ * // SpekeKeyProvider: { // SpekeKeyProvider
119
+ * // EncryptionContractConfiguration: { // EncryptionContractConfiguration
120
+ * // PresetSpeke20Audio: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED", // required
121
+ * // PresetSpeke20Video: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED", // required
122
+ * // },
123
+ * // ResourceId: "STRING_VALUE", // required
124
+ * // DrmSystems: [ // DrmSystems // required
125
+ * // "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE",
126
+ * // ],
127
+ * // RoleArn: "STRING_VALUE", // required
128
+ * // Url: "STRING_VALUE", // required
129
+ * // },
130
+ * // },
131
+ * // },
132
+ * // CreatedAt: new Date("TIMESTAMP"), // required
133
+ * // ModifiedAt: new Date("TIMESTAMP"), // required
134
+ * // Description: "STRING_VALUE",
135
+ * // StartoverWindowSeconds: Number("int"),
136
+ * // HlsManifests: [ // GetHlsManifests
137
+ * // { // GetHlsManifestConfiguration
138
+ * // ManifestName: "STRING_VALUE", // required
139
+ * // Url: "STRING_VALUE", // required
140
+ * // ChildManifestName: "STRING_VALUE",
141
+ * // ManifestWindowSeconds: Number("int"),
142
+ * // ProgramDateTimeIntervalSeconds: Number("int"),
143
+ * // ScteHls: { // ScteHls
144
+ * // AdMarkerHls: "DATERANGE",
145
+ * // },
146
+ * // },
147
+ * // ],
148
+ * // LowLatencyHlsManifests: [ // GetLowLatencyHlsManifests
149
+ * // { // GetLowLatencyHlsManifestConfiguration
150
+ * // ManifestName: "STRING_VALUE", // required
151
+ * // Url: "STRING_VALUE", // required
152
+ * // ChildManifestName: "STRING_VALUE",
153
+ * // ManifestWindowSeconds: Number("int"),
154
+ * // ProgramDateTimeIntervalSeconds: Number("int"),
155
+ * // ScteHls: {
156
+ * // AdMarkerHls: "DATERANGE",
157
+ * // },
158
+ * // },
159
+ * // ],
160
+ * // Tags: { // TagMap
161
+ * // "<keys>": "STRING_VALUE",
162
+ * // },
163
+ * // };
164
+ *
165
+ * ```
166
+ *
167
+ * @param UpdateOriginEndpointCommandInput - {@link UpdateOriginEndpointCommandInput}
168
+ * @returns {@link UpdateOriginEndpointCommandOutput}
169
+ * @see {@link UpdateOriginEndpointCommandInput} for command's `input` shape.
170
+ * @see {@link UpdateOriginEndpointCommandOutput} for command's `response` shape.
171
+ * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
172
+ *
173
+ * @throws {@link AccessDeniedException} (client fault)
174
+ * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
175
+ *
176
+ * @throws {@link ConflictException} (client fault)
177
+ * <p>Updating or deleting this resource can cause an inconsistent state.</p>
178
+ *
179
+ * @throws {@link InternalServerException} (server fault)
180
+ * <p>Indicates that an error from the service occurred while trying to process a request.</p>
181
+ *
182
+ * @throws {@link ResourceNotFoundException} (client fault)
183
+ * <p>The specified resource doesn't exist.</p>
184
+ *
185
+ * @throws {@link ServiceQuotaExceededException} (client fault)
186
+ * <p>The request would cause a service quota to be exceeded.</p>
187
+ *
188
+ * @throws {@link ThrottlingException} (client fault)
189
+ * <p>The request throughput limit was exceeded.</p>
190
+ *
191
+ * @throws {@link ValidationException} (client fault)
192
+ * <p>The input failed to meet the constraints specified by the AWS service.</p>
193
+ *
194
+ * @throws {@link MediaPackageV2ServiceException}
195
+ * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
196
+ *
197
+ */
198
+ export declare class UpdateOriginEndpointCommand extends $Command<UpdateOriginEndpointCommandInput, UpdateOriginEndpointCommandOutput, MediaPackageV2ClientResolvedConfig> {
199
+ readonly input: UpdateOriginEndpointCommandInput;
200
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
201
+ /**
202
+ * @public
203
+ */
204
+ constructor(input: UpdateOriginEndpointCommandInput);
205
+ /**
206
+ * @internal
207
+ */
208
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateOriginEndpointCommandInput, UpdateOriginEndpointCommandOutput>;
209
+ /**
210
+ * @internal
211
+ */
212
+ private serialize;
213
+ /**
214
+ * @internal
215
+ */
216
+ private deserialize;
217
+ }
@@ -0,0 +1,24 @@
1
+ export * from "./CreateChannelCommand";
2
+ export * from "./CreateChannelGroupCommand";
3
+ export * from "./CreateOriginEndpointCommand";
4
+ export * from "./DeleteChannelCommand";
5
+ export * from "./DeleteChannelGroupCommand";
6
+ export * from "./DeleteChannelPolicyCommand";
7
+ export * from "./DeleteOriginEndpointCommand";
8
+ export * from "./DeleteOriginEndpointPolicyCommand";
9
+ export * from "./GetChannelCommand";
10
+ export * from "./GetChannelGroupCommand";
11
+ export * from "./GetChannelPolicyCommand";
12
+ export * from "./GetOriginEndpointCommand";
13
+ export * from "./GetOriginEndpointPolicyCommand";
14
+ export * from "./ListChannelGroupsCommand";
15
+ export * from "./ListChannelsCommand";
16
+ export * from "./ListOriginEndpointsCommand";
17
+ export * from "./ListTagsForResourceCommand";
18
+ export * from "./PutChannelPolicyCommand";
19
+ export * from "./PutOriginEndpointPolicyCommand";
20
+ export * from "./TagResourceCommand";
21
+ export * from "./UntagResourceCommand";
22
+ export * from "./UpdateChannelCommand";
23
+ export * from "./UpdateChannelGroupCommand";
24
+ export * from "./UpdateOriginEndpointCommand";
@@ -0,0 +1,20 @@
1
+ import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
2
+ import { Endpoint, Provider } from "@smithy/types";
3
+ export interface ClientInputEndpointParameters {
4
+ region?: string | Provider<string>;
5
+ useDualstackEndpoint?: boolean | Provider<boolean>;
6
+ useFipsEndpoint?: boolean | Provider<boolean>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ }
9
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
10
+ defaultSigningName: string;
11
+ };
12
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
13
+ defaultSigningName: string;
14
+ };
15
+ export interface EndpointParameters extends __EndpointParameters {
16
+ Region?: string;
17
+ UseDualStack?: boolean;
18
+ UseFIPS?: boolean;
19
+ Endpoint?: string;
20
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,6 @@
1
+ export * from "./MediaPackageV2";
2
+ export * from "./MediaPackageV2Client";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { MediaPackageV2ServiceException } from "./models/MediaPackageV2ServiceException";
@@ -0,0 +1,12 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * @public
4
+ *
5
+ * Base exception class for all service exceptions from MediaPackageV2 service.
6
+ */
7
+ export declare class MediaPackageV2ServiceException extends __ServiceException {
8
+ /**
9
+ * @internal
10
+ */
11
+ constructor(options: __ServiceExceptionOptions);
12
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";