@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,1739 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { MediaPackageV2ServiceException as __BaseException } from "./MediaPackageV2ServiceException";
3
+ /**
4
+ * @public
5
+ * <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>
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ Message?: string;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * @public
18
+ * @enum
19
+ */
20
+ export declare const AdMarkerHls: {
21
+ readonly DATERANGE: "DATERANGE";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type AdMarkerHls = (typeof AdMarkerHls)[keyof typeof AdMarkerHls];
27
+ /**
28
+ * @public
29
+ * <p>The configuration of the channel group.</p>
30
+ */
31
+ export interface ChannelGroupListConfiguration {
32
+ /**
33
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
34
+ */
35
+ ChannelGroupName: string | undefined;
36
+ /**
37
+ * <p>The Amazon Resource Name (ARN) associated with the resource.</p>
38
+ */
39
+ Arn: string | undefined;
40
+ /**
41
+ * <p>The date and time the channel group was created.</p>
42
+ */
43
+ CreatedAt: Date | undefined;
44
+ /**
45
+ * <p>The date and time the channel group was modified.</p>
46
+ */
47
+ ModifiedAt: Date | undefined;
48
+ /**
49
+ * <p>Any descriptive information that you want to add to the channel group for future identification purposes.</p>
50
+ */
51
+ Description?: string;
52
+ }
53
+ /**
54
+ * @public
55
+ * @enum
56
+ */
57
+ export declare const ConflictExceptionType: {
58
+ readonly CONFLICTING_OPERATION: "CONFLICTING_OPERATION";
59
+ readonly IDEMPOTENT_PARAMETER_MISMATCH: "IDEMPOTENT_PARAMETER_MISMATCH";
60
+ readonly RESOURCE_ALREADY_EXISTS: "RESOURCE_ALREADY_EXISTS";
61
+ readonly RESOURCE_IN_USE: "RESOURCE_IN_USE";
62
+ };
63
+ /**
64
+ * @public
65
+ */
66
+ export type ConflictExceptionType = (typeof ConflictExceptionType)[keyof typeof ConflictExceptionType];
67
+ /**
68
+ * @public
69
+ * <p>Updating or deleting this resource can cause an inconsistent state.</p>
70
+ */
71
+ export declare class ConflictException extends __BaseException {
72
+ readonly name: "ConflictException";
73
+ readonly $fault: "client";
74
+ Message?: string;
75
+ /**
76
+ * <p>The type of ConflictException.</p>
77
+ */
78
+ ConflictExceptionType?: ConflictExceptionType | string;
79
+ /**
80
+ * @internal
81
+ */
82
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
83
+ }
84
+ /**
85
+ * @public
86
+ */
87
+ export interface DeleteChannelPolicyRequest {
88
+ /**
89
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
90
+ */
91
+ ChannelGroupName: string | undefined;
92
+ /**
93
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.</p>
94
+ */
95
+ ChannelName: string | undefined;
96
+ }
97
+ /**
98
+ * @public
99
+ */
100
+ export interface DeleteChannelPolicyResponse {
101
+ }
102
+ /**
103
+ * @public
104
+ * <p>Indicates that an error from the service occurred while trying to process a request.</p>
105
+ */
106
+ export declare class InternalServerException extends __BaseException {
107
+ readonly name: "InternalServerException";
108
+ readonly $fault: "server";
109
+ Message?: string;
110
+ /**
111
+ * @internal
112
+ */
113
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
114
+ }
115
+ /**
116
+ * @public
117
+ * <p>The request throughput limit was exceeded.</p>
118
+ */
119
+ export declare class ThrottlingException extends __BaseException {
120
+ readonly name: "ThrottlingException";
121
+ readonly $fault: "client";
122
+ Message?: string;
123
+ /**
124
+ * @internal
125
+ */
126
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
127
+ }
128
+ /**
129
+ * @public
130
+ * @enum
131
+ */
132
+ export declare const ValidationExceptionType: {
133
+ readonly CENC_IV_INCOMPATIBLE: "CENC_IV_INCOMPATIBLE";
134
+ readonly CONTAINER_TYPE_IMMUTABLE: "CONTAINER_TYPE_IMMUTABLE";
135
+ readonly DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE: "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE";
136
+ readonly ENCRYPTION_CONTRACT_SHARED: "ENCRYPTION_CONTRACT_SHARED";
137
+ readonly ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED";
138
+ readonly ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE";
139
+ readonly ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH: "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH";
140
+ readonly INVALID_PAGINATION_MAX_RESULTS: "INVALID_PAGINATION_MAX_RESULTS";
141
+ readonly INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN";
142
+ readonly INVALID_POLICY: "INVALID_POLICY";
143
+ readonly INVALID_ROLE_ARN: "INVALID_ROLE_ARN";
144
+ readonly MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION";
145
+ readonly MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN";
146
+ readonly MEMBER_INVALID: "MEMBER_INVALID";
147
+ readonly MEMBER_INVALID_ENUM_VALUE: "MEMBER_INVALID_ENUM_VALUE";
148
+ readonly MEMBER_MAX_LENGTH: "MEMBER_MAX_LENGTH";
149
+ readonly MEMBER_MAX_VALUE: "MEMBER_MAX_VALUE";
150
+ readonly MEMBER_MIN_LENGTH: "MEMBER_MIN_LENGTH";
151
+ readonly MEMBER_MIN_VALUE: "MEMBER_MIN_VALUE";
152
+ readonly MEMBER_MISSING: "MEMBER_MISSING";
153
+ readonly NUM_MANIFESTS_HIGH: "NUM_MANIFESTS_HIGH";
154
+ readonly NUM_MANIFESTS_LOW: "NUM_MANIFESTS_LOW";
155
+ readonly ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT";
156
+ readonly ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE";
157
+ readonly ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE";
158
+ readonly URL_INVALID: "URL_INVALID";
159
+ readonly URL_LINK_LOCAL_ADDRESS: "URL_LINK_LOCAL_ADDRESS";
160
+ readonly URL_LOCAL_ADDRESS: "URL_LOCAL_ADDRESS";
161
+ readonly URL_LOOPBACK_ADDRESS: "URL_LOOPBACK_ADDRESS";
162
+ readonly URL_MULTICAST_ADDRESS: "URL_MULTICAST_ADDRESS";
163
+ readonly URL_PORT: "URL_PORT";
164
+ readonly URL_SCHEME: "URL_SCHEME";
165
+ readonly URL_UNKNOWN_HOST: "URL_UNKNOWN_HOST";
166
+ readonly URL_USER_INFO: "URL_USER_INFO";
167
+ };
168
+ /**
169
+ * @public
170
+ */
171
+ export type ValidationExceptionType = (typeof ValidationExceptionType)[keyof typeof ValidationExceptionType];
172
+ /**
173
+ * @public
174
+ * <p>The input failed to meet the constraints specified by the AWS service.</p>
175
+ */
176
+ export declare class ValidationException extends __BaseException {
177
+ readonly name: "ValidationException";
178
+ readonly $fault: "client";
179
+ Message?: string;
180
+ /**
181
+ * <p>The type of ValidationException.</p>
182
+ */
183
+ ValidationExceptionType?: ValidationExceptionType | string;
184
+ /**
185
+ * @internal
186
+ */
187
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
188
+ }
189
+ /**
190
+ * @public
191
+ */
192
+ export interface GetChannelPolicyRequest {
193
+ /**
194
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
195
+ */
196
+ ChannelGroupName: string | undefined;
197
+ /**
198
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
199
+ */
200
+ ChannelName: string | undefined;
201
+ }
202
+ /**
203
+ * @public
204
+ */
205
+ export interface GetChannelPolicyResponse {
206
+ /**
207
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
208
+ */
209
+ ChannelGroupName: string | undefined;
210
+ /**
211
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.</p>
212
+ */
213
+ ChannelName: string | undefined;
214
+ /**
215
+ * <p>The policy assigned to the channel.</p>
216
+ */
217
+ Policy: string | undefined;
218
+ }
219
+ /**
220
+ * @public
221
+ * @enum
222
+ */
223
+ export declare const ResourceTypeNotFound: {
224
+ readonly CHANNEL: "CHANNEL";
225
+ readonly CHANNEL_GROUP: "CHANNEL_GROUP";
226
+ readonly ORIGIN_ENDPOINT: "ORIGIN_ENDPOINT";
227
+ };
228
+ /**
229
+ * @public
230
+ */
231
+ export type ResourceTypeNotFound = (typeof ResourceTypeNotFound)[keyof typeof ResourceTypeNotFound];
232
+ /**
233
+ * @public
234
+ * <p>The specified resource doesn't exist.</p>
235
+ */
236
+ export declare class ResourceNotFoundException extends __BaseException {
237
+ readonly name: "ResourceNotFoundException";
238
+ readonly $fault: "client";
239
+ Message?: string;
240
+ /**
241
+ * <p>The specified resource type wasn't found.</p>
242
+ */
243
+ ResourceTypeNotFound?: ResourceTypeNotFound | string;
244
+ /**
245
+ * @internal
246
+ */
247
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
248
+ }
249
+ /**
250
+ * @public
251
+ */
252
+ export interface PutChannelPolicyRequest {
253
+ /**
254
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
255
+ */
256
+ ChannelGroupName: string | undefined;
257
+ /**
258
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
259
+ */
260
+ ChannelName: string | undefined;
261
+ /**
262
+ * <p>The policy to attach to the specified channel.</p>
263
+ */
264
+ Policy: string | undefined;
265
+ }
266
+ /**
267
+ * @public
268
+ */
269
+ export interface PutChannelPolicyResponse {
270
+ }
271
+ /**
272
+ * @public
273
+ */
274
+ export interface CreateChannelRequest {
275
+ /**
276
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
277
+ */
278
+ ChannelGroupName: string | undefined;
279
+ /**
280
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. You can't change the name after you create the channel.</p>
281
+ */
282
+ ChannelName: string | undefined;
283
+ /**
284
+ * <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
285
+ */
286
+ ClientToken?: string;
287
+ /**
288
+ * <p>Enter any descriptive text that helps you to identify the channel.</p>
289
+ */
290
+ Description?: string;
291
+ /**
292
+ * <p>A comma-separated list of tag key:value pairs that you define. For example:</p>
293
+ * <p>
294
+ * <code>"Key1": "Value1",</code>
295
+ * </p>
296
+ * <p>
297
+ * <code>"Key2": "Value2"</code>
298
+ * </p>
299
+ */
300
+ Tags?: Record<string, string>;
301
+ }
302
+ /**
303
+ * @public
304
+ * <p>The ingest domain URL where the source stream should be sent.</p>
305
+ */
306
+ export interface IngestEndpoint {
307
+ /**
308
+ * <p>The system-generated unique identifier for the IngestEndpoint.</p>
309
+ */
310
+ Id?: string;
311
+ /**
312
+ * <p>The ingest domain URL where the source stream should be sent.</p>
313
+ */
314
+ Url?: string;
315
+ }
316
+ /**
317
+ * @public
318
+ */
319
+ export interface CreateChannelResponse {
320
+ /**
321
+ * <p>The Amazon Resource Name (ARN) associated with the resource.</p>
322
+ */
323
+ Arn: string | undefined;
324
+ /**
325
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.</p>
326
+ */
327
+ ChannelName: string | undefined;
328
+ /**
329
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
330
+ */
331
+ ChannelGroupName: string | undefined;
332
+ /**
333
+ * <p>The date and time the channel was created.</p>
334
+ */
335
+ CreatedAt: Date | undefined;
336
+ /**
337
+ * <p>The date and time the channel was modified.</p>
338
+ */
339
+ ModifiedAt: Date | undefined;
340
+ /**
341
+ * <p>The description for your channel.</p>
342
+ */
343
+ Description?: string;
344
+ /**
345
+ * <p>The list of ingest endpoints.</p>
346
+ */
347
+ IngestEndpoints?: IngestEndpoint[];
348
+ /**
349
+ * <p>The comma-separated list of tag key:value pairs assigned to the channel.</p>
350
+ */
351
+ Tags?: Record<string, string>;
352
+ }
353
+ /**
354
+ * @public
355
+ * <p>The request would cause a service quota to be exceeded.</p>
356
+ */
357
+ export declare class ServiceQuotaExceededException extends __BaseException {
358
+ readonly name: "ServiceQuotaExceededException";
359
+ readonly $fault: "client";
360
+ Message?: string;
361
+ /**
362
+ * @internal
363
+ */
364
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
365
+ }
366
+ /**
367
+ * @public
368
+ */
369
+ export interface DeleteChannelRequest {
370
+ /**
371
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
372
+ */
373
+ ChannelGroupName: string | undefined;
374
+ /**
375
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.</p>
376
+ */
377
+ ChannelName: string | undefined;
378
+ }
379
+ /**
380
+ * @public
381
+ */
382
+ export interface DeleteChannelResponse {
383
+ }
384
+ /**
385
+ * @public
386
+ */
387
+ export interface GetChannelRequest {
388
+ /**
389
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
390
+ */
391
+ ChannelGroupName: string | undefined;
392
+ /**
393
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
394
+ */
395
+ ChannelName: string | undefined;
396
+ }
397
+ /**
398
+ * @public
399
+ */
400
+ export interface GetChannelResponse {
401
+ /**
402
+ * <p>The Amazon Resource Name (ARN) associated with the resource.</p>
403
+ */
404
+ Arn: string | undefined;
405
+ /**
406
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.</p>
407
+ */
408
+ ChannelName: string | undefined;
409
+ /**
410
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
411
+ */
412
+ ChannelGroupName: string | undefined;
413
+ /**
414
+ * <p>The date and time the channel was created.</p>
415
+ */
416
+ CreatedAt: Date | undefined;
417
+ /**
418
+ * <p>The date and time the channel was modified.</p>
419
+ */
420
+ ModifiedAt: Date | undefined;
421
+ /**
422
+ * <p>The description for your channel.</p>
423
+ */
424
+ Description?: string;
425
+ /**
426
+ * <p>The list of ingest endpoints.</p>
427
+ */
428
+ IngestEndpoints?: IngestEndpoint[];
429
+ /**
430
+ * <p>The comma-separated list of tag key:value pairs assigned to the channel.</p>
431
+ */
432
+ Tags?: Record<string, string>;
433
+ }
434
+ /**
435
+ * @public
436
+ */
437
+ export interface ListChannelsRequest {
438
+ /**
439
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
440
+ */
441
+ ChannelGroupName: string | undefined;
442
+ /**
443
+ * <p>The maximum number of results to return in the response.</p>
444
+ */
445
+ MaxResults?: number;
446
+ /**
447
+ * <p>The pagination token from the GET list request. Use the token to fetch the next page of results.</p>
448
+ */
449
+ NextToken?: string;
450
+ }
451
+ /**
452
+ * @public
453
+ * <p>The configuration of the channel.</p>
454
+ */
455
+ export interface ChannelListConfiguration {
456
+ /**
457
+ * <p>The Amazon Resource Name (ARN) associated with the resource.</p>
458
+ */
459
+ Arn: string | undefined;
460
+ /**
461
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
462
+ */
463
+ ChannelName: string | undefined;
464
+ /**
465
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
466
+ */
467
+ ChannelGroupName: string | undefined;
468
+ /**
469
+ * <p>The date and time the channel was created.</p>
470
+ */
471
+ CreatedAt: Date | undefined;
472
+ /**
473
+ * <p>The date and time the channel was modified.</p>
474
+ */
475
+ ModifiedAt: Date | undefined;
476
+ /**
477
+ * <p>Any descriptive information that you want to add to the channel for future identification purposes.</p>
478
+ */
479
+ Description?: string;
480
+ }
481
+ /**
482
+ * @public
483
+ */
484
+ export interface ListChannelsResponse {
485
+ /**
486
+ * <p>The objects being returned.</p>
487
+ */
488
+ Items?: ChannelListConfiguration[];
489
+ /**
490
+ * <p>The pagination token from the GET list request.</p>
491
+ */
492
+ NextToken?: string;
493
+ }
494
+ /**
495
+ * @public
496
+ * @enum
497
+ */
498
+ export declare const ContainerType: {
499
+ readonly CMAF: "CMAF";
500
+ readonly TS: "TS";
501
+ };
502
+ /**
503
+ * @public
504
+ */
505
+ export type ContainerType = (typeof ContainerType)[keyof typeof ContainerType];
506
+ /**
507
+ * @public
508
+ * <p>The SCTE configuration.</p>
509
+ */
510
+ export interface ScteHls {
511
+ /**
512
+ * <p>Ad markers indicate when ads should be inserted during playback. If you include ad markers in the content stream in your upstream encoders, then you need to inform MediaPackage what to do with the ad markers in the output. Choose what you want MediaPackage to do with the ad markers.</p>
513
+ * <p>Value description: </p>
514
+ * <ul>
515
+ * <li>
516
+ * <p>DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and program transition events in TS and CMAF manifests. If you use DATERANGE, you must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more about DATERANGE, see <a href="http://docs.aws.amazon.com/mediapackage/latest/ug/scte-35-ad-marker-ext-x-daterange.html">SCTE-35 Ad Marker EXT-X-DATERANGE</a>.</p>
517
+ * </li>
518
+ * </ul>
519
+ */
520
+ AdMarkerHls?: AdMarkerHls | string;
521
+ }
522
+ /**
523
+ * @public
524
+ * <p>Create an HTTP live streaming (HLS) manifest configuration.</p>
525
+ */
526
+ export interface CreateHlsManifestConfiguration {
527
+ /**
528
+ * <p>A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.</p>
529
+ */
530
+ ManifestName: string | undefined;
531
+ /**
532
+ * <p>A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index, with an added suffix to distinguish it from the manifest name. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.</p>
533
+ */
534
+ ChildManifestName?: string;
535
+ /**
536
+ * <p>The SCTE configuration.</p>
537
+ */
538
+ ScteHls?: ScteHls;
539
+ /**
540
+ * <p>The total duration (in seconds) of the manifest's content.</p>
541
+ */
542
+ ManifestWindowSeconds?: number;
543
+ /**
544
+ * <p>Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval,
545
+ * EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest.
546
+ * The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.
547
+ * ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.</p>
548
+ * <p>Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.</p>
549
+ */
550
+ ProgramDateTimeIntervalSeconds?: number;
551
+ }
552
+ /**
553
+ * @public
554
+ * <p>Create a low-latency HTTP live streaming (HLS) manifest configuration.</p>
555
+ */
556
+ export interface CreateLowLatencyHlsManifestConfiguration {
557
+ /**
558
+ * <p>A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.</p>
559
+ */
560
+ ManifestName: string | undefined;
561
+ /**
562
+ * <p>A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index, with an added suffix to distinguish it from the manifest name. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.</p>
563
+ */
564
+ ChildManifestName?: string;
565
+ /**
566
+ * <p>The SCTE configuration.</p>
567
+ */
568
+ ScteHls?: ScteHls;
569
+ /**
570
+ * <p>The total duration (in seconds) of the manifest's content.</p>
571
+ */
572
+ ManifestWindowSeconds?: number;
573
+ /**
574
+ * <p>Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval,
575
+ * EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest.
576
+ * The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.
577
+ * ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.</p>
578
+ * <p>Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.</p>
579
+ */
580
+ ProgramDateTimeIntervalSeconds?: number;
581
+ }
582
+ /**
583
+ * @public
584
+ * @enum
585
+ */
586
+ export declare const CmafEncryptionMethod: {
587
+ readonly CBCS: "CBCS";
588
+ readonly CENC: "CENC";
589
+ };
590
+ /**
591
+ * @public
592
+ */
593
+ export type CmafEncryptionMethod = (typeof CmafEncryptionMethod)[keyof typeof CmafEncryptionMethod];
594
+ /**
595
+ * @public
596
+ * @enum
597
+ */
598
+ export declare const TsEncryptionMethod: {
599
+ readonly AES_128: "AES_128";
600
+ readonly SAMPLE_AES: "SAMPLE_AES";
601
+ };
602
+ /**
603
+ * @public
604
+ */
605
+ export type TsEncryptionMethod = (typeof TsEncryptionMethod)[keyof typeof TsEncryptionMethod];
606
+ /**
607
+ * @public
608
+ * <p>The encryption type.</p>
609
+ */
610
+ export interface EncryptionMethod {
611
+ /**
612
+ * <p>The encryption method to use.</p>
613
+ */
614
+ TsEncryptionMethod?: TsEncryptionMethod | string;
615
+ /**
616
+ * <p>The encryption method to use.</p>
617
+ */
618
+ CmafEncryptionMethod?: CmafEncryptionMethod | string;
619
+ }
620
+ /**
621
+ * @public
622
+ * @enum
623
+ */
624
+ export declare const DrmSystem: {
625
+ readonly CLEAR_KEY_AES_128: "CLEAR_KEY_AES_128";
626
+ readonly FAIRPLAY: "FAIRPLAY";
627
+ readonly PLAYREADY: "PLAYREADY";
628
+ readonly WIDEVINE: "WIDEVINE";
629
+ };
630
+ /**
631
+ * @public
632
+ */
633
+ export type DrmSystem = (typeof DrmSystem)[keyof typeof DrmSystem];
634
+ /**
635
+ * @public
636
+ * @enum
637
+ */
638
+ export declare const PresetSpeke20Audio: {
639
+ readonly PRESET_AUDIO_1: "PRESET_AUDIO_1";
640
+ readonly PRESET_AUDIO_2: "PRESET_AUDIO_2";
641
+ readonly PRESET_AUDIO_3: "PRESET_AUDIO_3";
642
+ readonly SHARED: "SHARED";
643
+ readonly UNENCRYPTED: "UNENCRYPTED";
644
+ };
645
+ /**
646
+ * @public
647
+ */
648
+ export type PresetSpeke20Audio = (typeof PresetSpeke20Audio)[keyof typeof PresetSpeke20Audio];
649
+ /**
650
+ * @public
651
+ * @enum
652
+ */
653
+ export declare const PresetSpeke20Video: {
654
+ readonly PRESET_VIDEO_1: "PRESET_VIDEO_1";
655
+ readonly PRESET_VIDEO_2: "PRESET_VIDEO_2";
656
+ readonly PRESET_VIDEO_3: "PRESET_VIDEO_3";
657
+ readonly PRESET_VIDEO_4: "PRESET_VIDEO_4";
658
+ readonly PRESET_VIDEO_5: "PRESET_VIDEO_5";
659
+ readonly PRESET_VIDEO_6: "PRESET_VIDEO_6";
660
+ readonly PRESET_VIDEO_7: "PRESET_VIDEO_7";
661
+ readonly PRESET_VIDEO_8: "PRESET_VIDEO_8";
662
+ readonly SHARED: "SHARED";
663
+ readonly UNENCRYPTED: "UNENCRYPTED";
664
+ };
665
+ /**
666
+ * @public
667
+ */
668
+ export type PresetSpeke20Video = (typeof PresetSpeke20Video)[keyof typeof PresetSpeke20Video];
669
+ /**
670
+ * @public
671
+ * <p>Configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.</p>
672
+ */
673
+ export interface EncryptionContractConfiguration {
674
+ /**
675
+ * <p>A collection of audio encryption presets.</p>
676
+ * <p>Value description: </p>
677
+ * <ul>
678
+ * <li>
679
+ * <p>PRESET-AUDIO-1 - Use one content key to encrypt all of the
680
+ * audio tracks in your stream.</p>
681
+ * </li>
682
+ * <li>
683
+ * <p>PRESET-AUDIO-2 - Use one content key to encrypt all of the
684
+ * stereo audio tracks and one content key to encrypt all of the multichannel
685
+ * audio tracks.</p>
686
+ * </li>
687
+ * <li>
688
+ * <p>PRESET-AUDIO-3 - Use one content key to encrypt all of the
689
+ * stereo audio tracks, one content key to encrypt all of the multichannel audio
690
+ * tracks with 3 to 6 channels, and one content key to encrypt all of the
691
+ * multichannel audio tracks with more than 6 channels.</p>
692
+ * </li>
693
+ * <li>
694
+ * <p>SHARED - Use the same content key for all of the audio and
695
+ * video tracks in your stream.</p>
696
+ * </li>
697
+ * <li>
698
+ * <p>UNENCRYPTED - Don't encrypt any of the audio tracks in your
699
+ * stream.</p>
700
+ * </li>
701
+ * </ul>
702
+ */
703
+ PresetSpeke20Audio: PresetSpeke20Audio | string | undefined;
704
+ /**
705
+ * <p>A collection of video encryption presets.</p>
706
+ * <p>Value description: </p>
707
+ * <ul>
708
+ * <li>
709
+ * <p>PRESET-VIDEO-1 - Use one content key to encrypt all of the video
710
+ * tracks in your stream.</p>
711
+ * </li>
712
+ * <li>
713
+ * <p>PRESET-VIDEO-2 - Use one content key to encrypt all of the SD
714
+ * video tracks and one content key for all HD and higher resolutions video
715
+ * tracks.</p>
716
+ * </li>
717
+ * <li>
718
+ * <p>PRESET-VIDEO-3 - Use one content key to encrypt all of the SD
719
+ * video tracks, one content key for HD video tracks and one content key for all
720
+ * UHD video tracks.</p>
721
+ * </li>
722
+ * <li>
723
+ * <p>PRESET-VIDEO-4 - Use one content key to encrypt all of the SD
724
+ * video tracks, one content key for HD video tracks, one content key for all UHD1
725
+ * video tracks and one content key for all UHD2 video tracks.</p>
726
+ * </li>
727
+ * <li>
728
+ * <p>PRESET-VIDEO-5 - Use one content key to encrypt all of the SD
729
+ * video tracks, one content key for HD1 video tracks, one content key for HD2
730
+ * video tracks, one content key for all UHD1 video tracks and one content key for
731
+ * all UHD2 video tracks.</p>
732
+ * </li>
733
+ * <li>
734
+ * <p>PRESET-VIDEO-6 - Use one content key to encrypt all of the SD
735
+ * video tracks, one content key for HD1 video tracks, one content key for HD2
736
+ * video tracks and one content key for all UHD video tracks.</p>
737
+ * </li>
738
+ * <li>
739
+ * <p>PRESET-VIDEO-7 - Use one content key to encrypt all of the SD+HD1
740
+ * video tracks, one content key for HD2 video tracks and one content key for all
741
+ * UHD video tracks.</p>
742
+ * </li>
743
+ * <li>
744
+ * <p>PRESET-VIDEO-8 - Use one content key to encrypt all of the SD+HD1
745
+ * video tracks, one content key for HD2 video tracks, one content key for all
746
+ * UHD1 video tracks and one content key for all UHD2 video tracks.</p>
747
+ * </li>
748
+ * <li>
749
+ * <p>SHARED - Use the same content key for all of the video and audio
750
+ * tracks in your stream.</p>
751
+ * </li>
752
+ * <li>
753
+ * <p>UNENCRYPTED - Don't encrypt any of the video tracks in your stream.</p>
754
+ * </li>
755
+ * </ul>
756
+ */
757
+ PresetSpeke20Video: PresetSpeke20Video | string | undefined;
758
+ }
759
+ /**
760
+ * @public
761
+ * <p>The parameters for the SPEKE key provider.</p>
762
+ */
763
+ export interface SpekeKeyProvider {
764
+ /**
765
+ * <p>Configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.</p>
766
+ */
767
+ EncryptionContractConfiguration: EncryptionContractConfiguration | undefined;
768
+ /**
769
+ * <p>The unique identifier for the content. The service sends this to the key server to identify the current endpoint. How unique you make this depends on how fine-grained you want access controls to be. The service does not permit you to use the same ID for two simultaneous encryption processes. The resource ID is also known as the content ID.</p>
770
+ * <p>The following example shows a resource ID: <code>MovieNight20171126093045</code>
771
+ * </p>
772
+ */
773
+ ResourceId: string | undefined;
774
+ /**
775
+ * <p>The DRM solution provider you're using to protect your content during distribution.</p>
776
+ */
777
+ DrmSystems: (DrmSystem | string)[] | undefined;
778
+ /**
779
+ * <p>The ARN for the IAM role granted by the key provider that provides access to the key provider API. This role must have a trust policy that allows MediaPackage to assume the role, and it must have a sufficient permissions policy to allow access to the specific key retrieval URL. Get this from your DRM solution provider.</p>
780
+ * <p>Valid format: <code>arn:aws:iam::\{accountID\}:role/\{name\}</code>. The following example shows a role ARN: <code>arn:aws:iam::444455556666:role/SpekeAccess</code>
781
+ * </p>
782
+ */
783
+ RoleArn: string | undefined;
784
+ /**
785
+ * <p>The URL of the API Gateway proxy that you set up to talk to your key server. The API Gateway proxy must reside in the same AWS Region as MediaPackage and must start with https://.</p>
786
+ * <p>The following example shows a URL: <code>https://1wm2dx1f33.execute-api.us-west-2.amazonaws.com/SpekeSample/copyProtection</code>
787
+ * </p>
788
+ */
789
+ Url: string | undefined;
790
+ }
791
+ /**
792
+ * @public
793
+ * <p>The parameters for encrypting content.</p>
794
+ */
795
+ export interface Encryption {
796
+ /**
797
+ * <p>A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).</p>
798
+ */
799
+ ConstantInitializationVector?: string;
800
+ /**
801
+ * <p>The encryption method to use.</p>
802
+ */
803
+ EncryptionMethod: EncryptionMethod | undefined;
804
+ /**
805
+ * <p>The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys aren't rotated.</p>
806
+ * <p>The following example setting causes the service to rotate keys every thirty minutes: <code>1800</code>
807
+ * </p>
808
+ */
809
+ KeyRotationIntervalSeconds?: number;
810
+ /**
811
+ * <p>The parameters for the SPEKE key provider.</p>
812
+ */
813
+ SpekeKeyProvider: SpekeKeyProvider | undefined;
814
+ }
815
+ /**
816
+ * @public
817
+ * @enum
818
+ */
819
+ export declare const ScteFilter: {
820
+ readonly BREAK: "BREAK";
821
+ readonly DISTRIBUTOR_ADVERTISEMENT: "DISTRIBUTOR_ADVERTISEMENT";
822
+ readonly DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY: "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY";
823
+ readonly DISTRIBUTOR_PLACEMENT_OPPORTUNITY: "DISTRIBUTOR_PLACEMENT_OPPORTUNITY";
824
+ readonly PROGRAM: "PROGRAM";
825
+ readonly PROVIDER_ADVERTISEMENT: "PROVIDER_ADVERTISEMENT";
826
+ readonly PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY: "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY";
827
+ readonly PROVIDER_PLACEMENT_OPPORTUNITY: "PROVIDER_PLACEMENT_OPPORTUNITY";
828
+ readonly SPLICE_INSERT: "SPLICE_INSERT";
829
+ };
830
+ /**
831
+ * @public
832
+ */
833
+ export type ScteFilter = (typeof ScteFilter)[keyof typeof ScteFilter];
834
+ /**
835
+ * @public
836
+ * <p>The SCTE configuration.</p>
837
+ */
838
+ export interface Scte {
839
+ /**
840
+ * <p>The SCTE-35 message types that you want to be treated as ad markers in the output.</p>
841
+ */
842
+ ScteFilter?: (ScteFilter | string)[];
843
+ }
844
+ /**
845
+ * @public
846
+ * <p>The segment configuration, including the segment name, duration, and other configuration values.</p>
847
+ */
848
+ export interface Segment {
849
+ /**
850
+ * <p>The duration (in seconds) of each segment. Enter a value equal to, or a multiple of, the input segment duration. If the value that you enter is different from the input segment duration, MediaPackage rounds segments to the nearest multiple of the input segment duration.</p>
851
+ */
852
+ SegmentDurationSeconds?: number;
853
+ /**
854
+ * <p>The name that describes the segment. The name is the base name of the segment used in all content manifests inside of the endpoint. You can't use spaces in the name.</p>
855
+ */
856
+ SegmentName?: string;
857
+ /**
858
+ * <p>When selected, MediaPackage bundles all audio tracks in a rendition group. All other tracks in the stream can be used with any audio rendition from the group.</p>
859
+ */
860
+ TsUseAudioRenditionGroup?: boolean;
861
+ /**
862
+ * <p>When selected, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included. MediaPackage generates an I-frame only stream from the first rendition in the manifest. The service inserts EXT-I-FRAMES-ONLY tags in the output manifest, and then generates and includes an I-frames only playlist in the stream. This playlist permits player functionality like fast forward and rewind.</p>
863
+ */
864
+ IncludeIframeOnlyStreams?: boolean;
865
+ /**
866
+ * <p>By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output. When selected, MediaPackage passes through DVB subtitles into the output.</p>
867
+ */
868
+ TsIncludeDvbSubtitles?: boolean;
869
+ /**
870
+ * <p>The SCTE configuration options in the segment settings.</p>
871
+ */
872
+ Scte?: Scte;
873
+ /**
874
+ * <p>The parameters for encrypting content.</p>
875
+ */
876
+ Encryption?: Encryption;
877
+ }
878
+ /**
879
+ * @public
880
+ */
881
+ export interface CreateOriginEndpointRequest {
882
+ /**
883
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
884
+ */
885
+ ChannelGroupName: string | undefined;
886
+ /**
887
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
888
+ */
889
+ ChannelName: string | undefined;
890
+ /**
891
+ * <p>The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and must be unique for your account in the AWS Region and channel. You can't use spaces in the name. You can't change the name after you create the endpoint.</p>
892
+ */
893
+ OriginEndpointName: string | undefined;
894
+ /**
895
+ * <p>The type of container to attach to this origin endpoint. A container type is a file format that encapsulates one or more media streams, such as audio and video, into a single file. You can't change the container type after you create the endpoint.</p>
896
+ */
897
+ ContainerType: ContainerType | string | undefined;
898
+ /**
899
+ * <p>The segment configuration, including the segment name, duration, and other configuration values.</p>
900
+ */
901
+ Segment?: Segment;
902
+ /**
903
+ * <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
904
+ */
905
+ ClientToken?: string;
906
+ /**
907
+ * <p>Enter any descriptive text that helps you to identify the origin endpoint.</p>
908
+ */
909
+ Description?: string;
910
+ /**
911
+ * <p>The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).</p>
912
+ */
913
+ StartoverWindowSeconds?: number;
914
+ /**
915
+ * <p>An HTTP live streaming (HLS) manifest configuration.</p>
916
+ */
917
+ HlsManifests?: CreateHlsManifestConfiguration[];
918
+ /**
919
+ * <p>A low-latency HLS manifest configuration.</p>
920
+ */
921
+ LowLatencyHlsManifests?: CreateLowLatencyHlsManifestConfiguration[];
922
+ /**
923
+ * <p>A comma-separated list of tag key:value pairs that you define. For example:</p>
924
+ * <p>
925
+ * <code>"Key1": "Value1",</code>
926
+ * </p>
927
+ * <p>
928
+ * <code>"Key2": "Value2"</code>
929
+ * </p>
930
+ */
931
+ Tags?: Record<string, string>;
932
+ }
933
+ /**
934
+ * @public
935
+ * <p>Retrieve the HTTP live streaming (HLS) manifest configuration.</p>
936
+ */
937
+ export interface GetHlsManifestConfiguration {
938
+ /**
939
+ * <p>A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.</p>
940
+ */
941
+ ManifestName: string | undefined;
942
+ /**
943
+ * <p>The egress domain URL for stream delivery from MediaPackage.</p>
944
+ */
945
+ Url: string | undefined;
946
+ /**
947
+ * <p>A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default child manifest name, index_1. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.</p>
948
+ */
949
+ ChildManifestName?: string;
950
+ /**
951
+ * <p>The total duration (in seconds) of the manifest's content.</p>
952
+ */
953
+ ManifestWindowSeconds?: number;
954
+ /**
955
+ * <p>Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval,
956
+ * EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest.
957
+ * The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.
958
+ * ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.</p>
959
+ * <p>Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.</p>
960
+ */
961
+ ProgramDateTimeIntervalSeconds?: number;
962
+ /**
963
+ * <p>The SCTE configuration.</p>
964
+ */
965
+ ScteHls?: ScteHls;
966
+ }
967
+ /**
968
+ * @public
969
+ * <p>Retrieve the low-latency HTTP live streaming (HLS) manifest configuration.</p>
970
+ */
971
+ export interface GetLowLatencyHlsManifestConfiguration {
972
+ /**
973
+ * <p>A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.</p>
974
+ */
975
+ ManifestName: string | undefined;
976
+ /**
977
+ * <p>The egress domain URL for stream delivery from MediaPackage.</p>
978
+ */
979
+ Url: string | undefined;
980
+ /**
981
+ * <p>A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default child manifest name, index_1. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.</p>
982
+ */
983
+ ChildManifestName?: string;
984
+ /**
985
+ * <p>The total duration (in seconds) of the manifest's content.</p>
986
+ */
987
+ ManifestWindowSeconds?: number;
988
+ /**
989
+ * <p>Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval,
990
+ * EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest.
991
+ * The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.
992
+ * ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.</p>
993
+ * <p>Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.</p>
994
+ */
995
+ ProgramDateTimeIntervalSeconds?: number;
996
+ /**
997
+ * <p>The SCTE configuration.</p>
998
+ */
999
+ ScteHls?: ScteHls;
1000
+ }
1001
+ /**
1002
+ * @public
1003
+ */
1004
+ export interface CreateOriginEndpointResponse {
1005
+ /**
1006
+ * <p>The Amazon Resource Name (ARN) associated with the resource.</p>
1007
+ */
1008
+ Arn: string | undefined;
1009
+ /**
1010
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1011
+ */
1012
+ ChannelGroupName: string | undefined;
1013
+ /**
1014
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.</p>
1015
+ */
1016
+ ChannelName: string | undefined;
1017
+ /**
1018
+ * <p>The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.</p>
1019
+ */
1020
+ OriginEndpointName: string | undefined;
1021
+ /**
1022
+ * <p>The type of container attached to this origin endpoint.</p>
1023
+ */
1024
+ ContainerType: ContainerType | string | undefined;
1025
+ /**
1026
+ * <p>The segment configuration, including the segment name, duration, and other configuration values.</p>
1027
+ */
1028
+ Segment: Segment | undefined;
1029
+ /**
1030
+ * <p>The date and time the origin endpoint was created.</p>
1031
+ */
1032
+ CreatedAt: Date | undefined;
1033
+ /**
1034
+ * <p>The date and time the origin endpoint was modified.</p>
1035
+ */
1036
+ ModifiedAt: Date | undefined;
1037
+ /**
1038
+ * <p>The description for your origin endpoint.</p>
1039
+ */
1040
+ Description?: string;
1041
+ /**
1042
+ * <p>The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window.</p>
1043
+ */
1044
+ StartoverWindowSeconds?: number;
1045
+ /**
1046
+ * <p>An HTTP live streaming (HLS) manifest configuration.</p>
1047
+ */
1048
+ HlsManifests?: GetHlsManifestConfiguration[];
1049
+ /**
1050
+ * <p>A low-latency HLS manifest configuration.</p>
1051
+ */
1052
+ LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
1053
+ /**
1054
+ * <p>The comma-separated list of tag key:value pairs assigned to the origin endpoint.</p>
1055
+ */
1056
+ Tags?: Record<string, string>;
1057
+ }
1058
+ /**
1059
+ * @public
1060
+ */
1061
+ export interface DeleteOriginEndpointRequest {
1062
+ /**
1063
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1064
+ */
1065
+ ChannelGroupName: string | undefined;
1066
+ /**
1067
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
1068
+ */
1069
+ ChannelName: string | undefined;
1070
+ /**
1071
+ * <p>The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel. </p>
1072
+ */
1073
+ OriginEndpointName: string | undefined;
1074
+ }
1075
+ /**
1076
+ * @public
1077
+ */
1078
+ export interface DeleteOriginEndpointResponse {
1079
+ }
1080
+ /**
1081
+ * @public
1082
+ */
1083
+ export interface GetOriginEndpointRequest {
1084
+ /**
1085
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1086
+ */
1087
+ ChannelGroupName: string | undefined;
1088
+ /**
1089
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
1090
+ */
1091
+ ChannelName: string | undefined;
1092
+ /**
1093
+ * <p>The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel. </p>
1094
+ */
1095
+ OriginEndpointName: string | undefined;
1096
+ }
1097
+ /**
1098
+ * @public
1099
+ */
1100
+ export interface GetOriginEndpointResponse {
1101
+ /**
1102
+ * <p>The Amazon Resource Name (ARN) associated with the resource.</p>
1103
+ */
1104
+ Arn: string | undefined;
1105
+ /**
1106
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1107
+ */
1108
+ ChannelGroupName: string | undefined;
1109
+ /**
1110
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.</p>
1111
+ */
1112
+ ChannelName: string | undefined;
1113
+ /**
1114
+ * <p>The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.</p>
1115
+ */
1116
+ OriginEndpointName: string | undefined;
1117
+ /**
1118
+ * <p>The type of container attached to this origin endpoint.</p>
1119
+ */
1120
+ ContainerType: ContainerType | string | undefined;
1121
+ /**
1122
+ * <p>The segment configuration, including the segment name, duration, and other configuration values.</p>
1123
+ */
1124
+ Segment: Segment | undefined;
1125
+ /**
1126
+ * <p>The date and time the origin endpoint was created.</p>
1127
+ */
1128
+ CreatedAt: Date | undefined;
1129
+ /**
1130
+ * <p>The date and time the origin endpoint was modified.</p>
1131
+ */
1132
+ ModifiedAt: Date | undefined;
1133
+ /**
1134
+ * <p>The description for your origin endpoint.</p>
1135
+ */
1136
+ Description?: string;
1137
+ /**
1138
+ * <p>The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window.</p>
1139
+ */
1140
+ StartoverWindowSeconds?: number;
1141
+ /**
1142
+ * <p>An HTTP live streaming (HLS) manifest configuration.</p>
1143
+ */
1144
+ HlsManifests?: GetHlsManifestConfiguration[];
1145
+ /**
1146
+ * <p>A low-latency HLS manifest configuration.</p>
1147
+ */
1148
+ LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
1149
+ /**
1150
+ * <p>The comma-separated list of tag key:value pairs assigned to the origin endpoint.</p>
1151
+ */
1152
+ Tags?: Record<string, string>;
1153
+ }
1154
+ /**
1155
+ * @public
1156
+ */
1157
+ export interface ListOriginEndpointsRequest {
1158
+ /**
1159
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1160
+ */
1161
+ ChannelGroupName: string | undefined;
1162
+ /**
1163
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
1164
+ */
1165
+ ChannelName: string | undefined;
1166
+ /**
1167
+ * <p>The maximum number of results to return in the response.</p>
1168
+ */
1169
+ MaxResults?: number;
1170
+ /**
1171
+ * <p>The pagination token from the GET list request. Use the token to fetch the next page of results.</p>
1172
+ */
1173
+ NextToken?: string;
1174
+ }
1175
+ /**
1176
+ * @public
1177
+ * <p>List the HTTP live streaming (HLS) manifest configuration.</p>
1178
+ */
1179
+ export interface ListHlsManifestConfiguration {
1180
+ /**
1181
+ * <p>A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.</p>
1182
+ */
1183
+ ManifestName: string | undefined;
1184
+ /**
1185
+ * <p>A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default child manifest name, index_1. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.</p>
1186
+ */
1187
+ ChildManifestName?: string;
1188
+ /**
1189
+ * <p>The egress domain URL for stream delivery from MediaPackage.</p>
1190
+ */
1191
+ Url?: string;
1192
+ }
1193
+ /**
1194
+ * @public
1195
+ * <p>List the low-latency HTTP live streaming (HLS) manifest configuration.</p>
1196
+ */
1197
+ export interface ListLowLatencyHlsManifestConfiguration {
1198
+ /**
1199
+ * <p>A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.</p>
1200
+ */
1201
+ ManifestName: string | undefined;
1202
+ /**
1203
+ * <p>A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default child manifest name, index_1. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.</p>
1204
+ */
1205
+ ChildManifestName?: string;
1206
+ /**
1207
+ * <p>The egress domain URL for stream delivery from MediaPackage.</p>
1208
+ */
1209
+ Url?: string;
1210
+ }
1211
+ /**
1212
+ * @public
1213
+ * <p>The configuration of the origin endpoint.</p>
1214
+ */
1215
+ export interface OriginEndpointListConfiguration {
1216
+ /**
1217
+ * <p>The Amazon Resource Name (ARN) associated with the resource.</p>
1218
+ */
1219
+ Arn: string | undefined;
1220
+ /**
1221
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1222
+ */
1223
+ ChannelGroupName: string | undefined;
1224
+ /**
1225
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
1226
+ */
1227
+ ChannelName: string | undefined;
1228
+ /**
1229
+ * <p>The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel. </p>
1230
+ */
1231
+ OriginEndpointName: string | undefined;
1232
+ /**
1233
+ * <p>The type of container attached to this origin endpoint. A container type is a file format that encapsulates one or more media streams, such as audio and video, into a single file. </p>
1234
+ */
1235
+ ContainerType: ContainerType | string | undefined;
1236
+ /**
1237
+ * <p>Any descriptive information that you want to add to the origin endpoint for future identification purposes.</p>
1238
+ */
1239
+ Description?: string;
1240
+ /**
1241
+ * <p>The date and time the origin endpoint was created.</p>
1242
+ */
1243
+ CreatedAt?: Date;
1244
+ /**
1245
+ * <p>The date and time the origin endpoint was modified.</p>
1246
+ */
1247
+ ModifiedAt?: Date;
1248
+ /**
1249
+ * <p>An HTTP live streaming (HLS) manifest configuration.</p>
1250
+ */
1251
+ HlsManifests?: ListHlsManifestConfiguration[];
1252
+ /**
1253
+ * <p>A low-latency HLS manifest configuration.</p>
1254
+ */
1255
+ LowLatencyHlsManifests?: ListLowLatencyHlsManifestConfiguration[];
1256
+ }
1257
+ /**
1258
+ * @public
1259
+ */
1260
+ export interface ListOriginEndpointsResponse {
1261
+ /**
1262
+ * <p>The objects being returned.</p>
1263
+ */
1264
+ Items?: OriginEndpointListConfiguration[];
1265
+ /**
1266
+ * <p>The pagination token from the GET list request. Use the token to fetch the next page of results.</p>
1267
+ */
1268
+ NextToken?: string;
1269
+ }
1270
+ /**
1271
+ * @public
1272
+ */
1273
+ export interface DeleteOriginEndpointPolicyRequest {
1274
+ /**
1275
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1276
+ */
1277
+ ChannelGroupName: string | undefined;
1278
+ /**
1279
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
1280
+ */
1281
+ ChannelName: string | undefined;
1282
+ /**
1283
+ * <p>The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel. </p>
1284
+ */
1285
+ OriginEndpointName: string | undefined;
1286
+ }
1287
+ /**
1288
+ * @public
1289
+ */
1290
+ export interface DeleteOriginEndpointPolicyResponse {
1291
+ }
1292
+ /**
1293
+ * @public
1294
+ */
1295
+ export interface GetOriginEndpointPolicyRequest {
1296
+ /**
1297
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1298
+ */
1299
+ ChannelGroupName: string | undefined;
1300
+ /**
1301
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
1302
+ */
1303
+ ChannelName: string | undefined;
1304
+ /**
1305
+ * <p>The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel. </p>
1306
+ */
1307
+ OriginEndpointName: string | undefined;
1308
+ }
1309
+ /**
1310
+ * @public
1311
+ */
1312
+ export interface GetOriginEndpointPolicyResponse {
1313
+ /**
1314
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1315
+ */
1316
+ ChannelGroupName: string | undefined;
1317
+ /**
1318
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.</p>
1319
+ */
1320
+ ChannelName: string | undefined;
1321
+ /**
1322
+ * <p>The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.</p>
1323
+ */
1324
+ OriginEndpointName: string | undefined;
1325
+ /**
1326
+ * <p>The policy assigned to the origin endpoint.</p>
1327
+ */
1328
+ Policy: string | undefined;
1329
+ }
1330
+ /**
1331
+ * @public
1332
+ */
1333
+ export interface PutOriginEndpointPolicyRequest {
1334
+ /**
1335
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1336
+ */
1337
+ ChannelGroupName: string | undefined;
1338
+ /**
1339
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
1340
+ */
1341
+ ChannelName: string | undefined;
1342
+ /**
1343
+ * <p>The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel. </p>
1344
+ */
1345
+ OriginEndpointName: string | undefined;
1346
+ /**
1347
+ * <p>The policy to attach to the specified origin endpoint.</p>
1348
+ */
1349
+ Policy: string | undefined;
1350
+ }
1351
+ /**
1352
+ * @public
1353
+ */
1354
+ export interface PutOriginEndpointPolicyResponse {
1355
+ }
1356
+ /**
1357
+ * @public
1358
+ */
1359
+ export interface UpdateOriginEndpointRequest {
1360
+ /**
1361
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1362
+ */
1363
+ ChannelGroupName: string | undefined;
1364
+ /**
1365
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
1366
+ */
1367
+ ChannelName: string | undefined;
1368
+ /**
1369
+ * <p>The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel. </p>
1370
+ */
1371
+ OriginEndpointName: string | undefined;
1372
+ /**
1373
+ * <p>The type of container attached to this origin endpoint. A container type is a file format that encapsulates one or more media streams, such as audio and video, into a single file. </p>
1374
+ */
1375
+ ContainerType: ContainerType | string | undefined;
1376
+ /**
1377
+ * <p>The segment configuration, including the segment name, duration, and other configuration values.</p>
1378
+ */
1379
+ Segment?: Segment;
1380
+ /**
1381
+ * <p>Any descriptive information that you want to add to the origin endpoint for future identification purposes.</p>
1382
+ */
1383
+ Description?: string;
1384
+ /**
1385
+ * <p>The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).</p>
1386
+ */
1387
+ StartoverWindowSeconds?: number;
1388
+ /**
1389
+ * <p>An HTTP live streaming (HLS) manifest configuration.</p>
1390
+ */
1391
+ HlsManifests?: CreateHlsManifestConfiguration[];
1392
+ /**
1393
+ * <p>A low-latency HLS manifest configuration.</p>
1394
+ */
1395
+ LowLatencyHlsManifests?: CreateLowLatencyHlsManifestConfiguration[];
1396
+ }
1397
+ /**
1398
+ * @public
1399
+ */
1400
+ export interface UpdateOriginEndpointResponse {
1401
+ /**
1402
+ * <p>The ARN associated with the resource.</p>
1403
+ */
1404
+ Arn: string | undefined;
1405
+ /**
1406
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1407
+ */
1408
+ ChannelGroupName: string | undefined;
1409
+ /**
1410
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.</p>
1411
+ */
1412
+ ChannelName: string | undefined;
1413
+ /**
1414
+ * <p>The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.</p>
1415
+ */
1416
+ OriginEndpointName: string | undefined;
1417
+ /**
1418
+ * <p>The type of container attached to this origin endpoint.</p>
1419
+ */
1420
+ ContainerType: ContainerType | string | undefined;
1421
+ /**
1422
+ * <p>The segment configuration, including the segment name, duration, and other configuration values.</p>
1423
+ */
1424
+ Segment: Segment | undefined;
1425
+ /**
1426
+ * <p>The date and time the origin endpoint was created.</p>
1427
+ */
1428
+ CreatedAt: Date | undefined;
1429
+ /**
1430
+ * <p>The date and time the origin endpoint was modified.</p>
1431
+ */
1432
+ ModifiedAt: Date | undefined;
1433
+ /**
1434
+ * <p>The description of the origin endpoint.</p>
1435
+ */
1436
+ Description?: string;
1437
+ /**
1438
+ * <p>The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window.</p>
1439
+ */
1440
+ StartoverWindowSeconds?: number;
1441
+ /**
1442
+ * <p>An HTTP live streaming (HLS) manifest configuration.</p>
1443
+ */
1444
+ HlsManifests?: GetHlsManifestConfiguration[];
1445
+ /**
1446
+ * <p>A low-latency HLS manifest configuration.</p>
1447
+ */
1448
+ LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
1449
+ /**
1450
+ * <p>The comma-separated list of tag key:value pairs assigned to the origin endpoint.</p>
1451
+ */
1452
+ Tags?: Record<string, string>;
1453
+ }
1454
+ /**
1455
+ * @public
1456
+ */
1457
+ export interface UpdateChannelRequest {
1458
+ /**
1459
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1460
+ */
1461
+ ChannelGroupName: string | undefined;
1462
+ /**
1463
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
1464
+ */
1465
+ ChannelName: string | undefined;
1466
+ /**
1467
+ * <p>Any descriptive information that you want to add to the channel for future identification purposes.</p>
1468
+ */
1469
+ Description?: string;
1470
+ }
1471
+ /**
1472
+ * @public
1473
+ */
1474
+ export interface UpdateChannelResponse {
1475
+ /**
1476
+ * <p>The Amazon Resource Name (ARN) associated with the resource.</p>
1477
+ */
1478
+ Arn: string | undefined;
1479
+ /**
1480
+ * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.</p>
1481
+ */
1482
+ ChannelName: string | undefined;
1483
+ /**
1484
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1485
+ */
1486
+ ChannelGroupName: string | undefined;
1487
+ /**
1488
+ * <p>The date and time the channel was created.</p>
1489
+ */
1490
+ CreatedAt: Date | undefined;
1491
+ /**
1492
+ * <p>The date and time the channel was modified.</p>
1493
+ */
1494
+ ModifiedAt: Date | undefined;
1495
+ /**
1496
+ * <p>The description for your channel.</p>
1497
+ */
1498
+ Description?: string;
1499
+ /**
1500
+ * <p>The list of ingest endpoints.</p>
1501
+ */
1502
+ IngestEndpoints?: IngestEndpoint[];
1503
+ /**
1504
+ * <p>The comma-separated list of tag key:value pairs assigned to the channel.</p>
1505
+ */
1506
+ Tags?: Record<string, string>;
1507
+ }
1508
+ /**
1509
+ * @public
1510
+ */
1511
+ export interface CreateChannelGroupRequest {
1512
+ /**
1513
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region. You can't use spaces in the name. You can't change the name after you create the channel group.</p>
1514
+ */
1515
+ ChannelGroupName: string | undefined;
1516
+ /**
1517
+ * <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
1518
+ */
1519
+ ClientToken?: string;
1520
+ /**
1521
+ * <p>Enter any descriptive text that helps you to identify the channel group.</p>
1522
+ */
1523
+ Description?: string;
1524
+ /**
1525
+ * <p>A comma-separated list of tag key:value pairs that you define. For example:</p>
1526
+ * <p>
1527
+ * <code>"Key1": "Value1",</code>
1528
+ * </p>
1529
+ * <p>
1530
+ * <code>"Key2": "Value2"</code>
1531
+ * </p>
1532
+ */
1533
+ Tags?: Record<string, string>;
1534
+ }
1535
+ /**
1536
+ * @public
1537
+ */
1538
+ export interface CreateChannelGroupResponse {
1539
+ /**
1540
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1541
+ */
1542
+ ChannelGroupName: string | undefined;
1543
+ /**
1544
+ * <p>The Amazon Resource Name (ARN) associated with the resource.</p>
1545
+ */
1546
+ Arn: string | undefined;
1547
+ /**
1548
+ * <p>The output domain where the source stream should be sent. Integrate the egress domain with a downstream CDN (such as Amazon CloudFront) or playback device.</p>
1549
+ */
1550
+ EgressDomain: string | undefined;
1551
+ /**
1552
+ * <p>The date and time the channel group was created.</p>
1553
+ */
1554
+ CreatedAt: Date | undefined;
1555
+ /**
1556
+ * <p>The date and time the channel group was modified.</p>
1557
+ */
1558
+ ModifiedAt: Date | undefined;
1559
+ /**
1560
+ * <p>The description for your channel group.</p>
1561
+ */
1562
+ Description?: string;
1563
+ /**
1564
+ * <p>The comma-separated list of tag key:value pairs assigned to the channel group.</p>
1565
+ */
1566
+ Tags?: Record<string, string>;
1567
+ }
1568
+ /**
1569
+ * @public
1570
+ */
1571
+ export interface DeleteChannelGroupRequest {
1572
+ /**
1573
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1574
+ */
1575
+ ChannelGroupName: string | undefined;
1576
+ }
1577
+ /**
1578
+ * @public
1579
+ */
1580
+ export interface DeleteChannelGroupResponse {
1581
+ }
1582
+ /**
1583
+ * @public
1584
+ */
1585
+ export interface GetChannelGroupRequest {
1586
+ /**
1587
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1588
+ */
1589
+ ChannelGroupName: string | undefined;
1590
+ }
1591
+ /**
1592
+ * @public
1593
+ */
1594
+ export interface GetChannelGroupResponse {
1595
+ /**
1596
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1597
+ */
1598
+ ChannelGroupName: string | undefined;
1599
+ /**
1600
+ * <p>The Amazon Resource Name (ARN) associated with the resource.</p>
1601
+ */
1602
+ Arn: string | undefined;
1603
+ /**
1604
+ * <p>The output domain where the source stream should be sent. Integrate the domain with a downstream CDN (such as Amazon CloudFront) or playback device.</p>
1605
+ */
1606
+ EgressDomain: string | undefined;
1607
+ /**
1608
+ * <p>The date and time the channel group was created.</p>
1609
+ */
1610
+ CreatedAt: Date | undefined;
1611
+ /**
1612
+ * <p>The date and time the channel group was modified.</p>
1613
+ */
1614
+ ModifiedAt: Date | undefined;
1615
+ /**
1616
+ * <p>The description for your channel group.</p>
1617
+ */
1618
+ Description?: string;
1619
+ /**
1620
+ * <p>The comma-separated list of tag key:value pairs assigned to the channel group.</p>
1621
+ */
1622
+ Tags?: Record<string, string>;
1623
+ }
1624
+ /**
1625
+ * @public
1626
+ */
1627
+ export interface ListChannelGroupsRequest {
1628
+ /**
1629
+ * <p>The maximum number of results to return in the response.</p>
1630
+ */
1631
+ MaxResults?: number;
1632
+ /**
1633
+ * <p>The pagination token from the GET list request. Use the token to fetch the next page of results.</p>
1634
+ */
1635
+ NextToken?: string;
1636
+ }
1637
+ /**
1638
+ * @public
1639
+ */
1640
+ export interface ListChannelGroupsResponse {
1641
+ /**
1642
+ * <p>The objects being returned.</p>
1643
+ */
1644
+ Items?: ChannelGroupListConfiguration[];
1645
+ /**
1646
+ * <p>The pagination token from the GET list request. Use the token to fetch the next page of results.</p>
1647
+ */
1648
+ NextToken?: string;
1649
+ }
1650
+ /**
1651
+ * @public
1652
+ */
1653
+ export interface UpdateChannelGroupRequest {
1654
+ /**
1655
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1656
+ */
1657
+ ChannelGroupName: string | undefined;
1658
+ /**
1659
+ * <p>Any descriptive information that you want to add to the channel group for future identification purposes.</p>
1660
+ */
1661
+ Description?: string;
1662
+ }
1663
+ /**
1664
+ * @public
1665
+ */
1666
+ export interface UpdateChannelGroupResponse {
1667
+ /**
1668
+ * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1669
+ */
1670
+ ChannelGroupName: string | undefined;
1671
+ /**
1672
+ * <p>The Amazon Resource Name (ARN) associated with the resource.</p>
1673
+ */
1674
+ Arn: string | undefined;
1675
+ /**
1676
+ * <p>The output domain where the source stream is sent. Integrate the domain with a downstream CDN (such as Amazon CloudFront) or playback device.</p>
1677
+ */
1678
+ EgressDomain: string | undefined;
1679
+ /**
1680
+ * <p>The date and time the channel group was created.</p>
1681
+ */
1682
+ CreatedAt: Date | undefined;
1683
+ /**
1684
+ * <p>The date and time the channel group was modified.</p>
1685
+ */
1686
+ ModifiedAt: Date | undefined;
1687
+ /**
1688
+ * <p>The description for your channel group.</p>
1689
+ */
1690
+ Description?: string;
1691
+ /**
1692
+ * <p>The comma-separated list of tag key:value pairs assigned to the channel group.</p>
1693
+ */
1694
+ Tags?: Record<string, string>;
1695
+ }
1696
+ /**
1697
+ * @public
1698
+ */
1699
+ export interface ListTagsForResourceRequest {
1700
+ /**
1701
+ * <p>The ARN of the CloudWatch resource that you want to view tags for.</p>
1702
+ */
1703
+ ResourceArn: string | undefined;
1704
+ }
1705
+ /**
1706
+ * @public
1707
+ */
1708
+ export interface ListTagsForResourceResponse {
1709
+ /**
1710
+ * <p>Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.</p>
1711
+ */
1712
+ Tags?: Record<string, string>;
1713
+ }
1714
+ /**
1715
+ * @public
1716
+ */
1717
+ export interface TagResourceRequest {
1718
+ /**
1719
+ * <p>The ARN of the MediaPackage resource that you're adding tags to.</p>
1720
+ */
1721
+ ResourceArn: string | undefined;
1722
+ /**
1723
+ * <p>Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.</p>
1724
+ */
1725
+ Tags: Record<string, string> | undefined;
1726
+ }
1727
+ /**
1728
+ * @public
1729
+ */
1730
+ export interface UntagResourceRequest {
1731
+ /**
1732
+ * <p>The ARN of the MediaPackage resource that you're removing tags from.</p>
1733
+ */
1734
+ ResourceArn: string | undefined;
1735
+ /**
1736
+ * <p>The list of tag keys to remove from the resource.</p>
1737
+ */
1738
+ TagKeys: string[] | undefined;
1739
+ }