@aws-sdk/client-mediapackagev2 3.679.0 → 3.682.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.
- package/README.md +33 -1
- package/dist-cjs/index.js +388 -32
- package/dist-es/MediaPackageV2.js +8 -0
- package/dist-es/commands/CancelHarvestJobCommand.js +22 -0
- package/dist-es/commands/CreateHarvestJobCommand.js +22 -0
- package/dist-es/commands/GetHarvestJobCommand.js +22 -0
- package/dist-es/commands/ListHarvestJobsCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +35 -19
- package/dist-es/pagination/ListHarvestJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +192 -3
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForHarvestJobFinished.js +67 -0
- package/dist-types/MediaPackageV2.d.ts +28 -0
- package/dist-types/MediaPackageV2Client.d.ts +6 -2
- package/dist-types/commands/CancelHarvestJobCommand.d.ts +105 -0
- package/dist-types/commands/CreateHarvestJobCommand.d.ts +253 -0
- package/dist-types/commands/GetHarvestJobCommand.d.ts +188 -0
- package/dist-types/commands/ListHarvestJobsCommand.d.ts +473 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +580 -52
- package/dist-types/pagination/ListHarvestJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/MediaPackageV2.d.ts +68 -0
- package/dist-types/ts3.4/MediaPackageV2Client.d.ts +24 -0
- package/dist-types/ts3.4/commands/CancelHarvestJobCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateHarvestJobCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetHarvestJobCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListHarvestJobsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +157 -26
- package/dist-types/ts3.4/pagination/ListHarvestJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForHarvestJobFinished.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForHarvestJobFinished.d.ts +14 -0
- package/package.json +7 -6
|
@@ -0,0 +1,473 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
|
|
4
|
+
import { ListHarvestJobsRequest, ListHarvestJobsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListHarvestJobsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListHarvestJobsCommandInput extends ListHarvestJobsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListHarvestJobsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListHarvestJobsCommandOutput extends ListHarvestJobsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListHarvestJobsCommand_base: {
|
|
25
|
+
new (input: ListHarvestJobsCommandInput): import("@smithy/smithy-client").CommandImpl<ListHarvestJobsCommandInput, ListHarvestJobsCommandOutput, MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListHarvestJobsCommandInput): import("@smithy/smithy-client").CommandImpl<ListHarvestJobsCommandInput, ListHarvestJobsCommandOutput, MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves a list of harvest jobs that match the specified criteria.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MediaPackageV2Client, ListHarvestJobsCommand } from "@aws-sdk/client-mediapackagev2"; // ES Modules import
|
|
35
|
+
* // const { MediaPackageV2Client, ListHarvestJobsCommand } = require("@aws-sdk/client-mediapackagev2"); // CommonJS import
|
|
36
|
+
* const client = new MediaPackageV2Client(config);
|
|
37
|
+
* const input = { // ListHarvestJobsRequest
|
|
38
|
+
* ChannelGroupName: "STRING_VALUE", // required
|
|
39
|
+
* ChannelName: "STRING_VALUE",
|
|
40
|
+
* OriginEndpointName: "STRING_VALUE",
|
|
41
|
+
* Status: "QUEUED" || "IN_PROGRESS" || "CANCELLED" || "COMPLETED" || "FAILED",
|
|
42
|
+
* MaxResults: Number("int"),
|
|
43
|
+
* NextToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListHarvestJobsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListHarvestJobsResponse
|
|
48
|
+
* // Items: [ // HarvestJobsList
|
|
49
|
+
* // { // HarvestJob
|
|
50
|
+
* // ChannelGroupName: "STRING_VALUE", // required
|
|
51
|
+
* // ChannelName: "STRING_VALUE", // required
|
|
52
|
+
* // OriginEndpointName: "STRING_VALUE", // required
|
|
53
|
+
* // Destination: { // Destination
|
|
54
|
+
* // S3Destination: { // S3DestinationConfig
|
|
55
|
+
* // BucketName: "STRING_VALUE", // required
|
|
56
|
+
* // DestinationPath: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // HarvestJobName: "STRING_VALUE", // required
|
|
60
|
+
* // HarvestedManifests: { // HarvestedManifests
|
|
61
|
+
* // HlsManifests: [ // HarvestedHlsManifestsList
|
|
62
|
+
* // { // HarvestedHlsManifest
|
|
63
|
+
* // ManifestName: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // DashManifests: [ // HarvestedDashManifestsList
|
|
67
|
+
* // { // HarvestedDashManifest
|
|
68
|
+
* // ManifestName: "STRING_VALUE", // required
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // LowLatencyHlsManifests: [ // HarvestedLowLatencyHlsManifestsList
|
|
72
|
+
* // { // HarvestedLowLatencyHlsManifest
|
|
73
|
+
* // ManifestName: "STRING_VALUE", // required
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // Description: "STRING_VALUE",
|
|
78
|
+
* // ScheduleConfiguration: { // HarvesterScheduleConfiguration
|
|
79
|
+
* // StartTime: new Date("TIMESTAMP"), // required
|
|
80
|
+
* // EndTime: new Date("TIMESTAMP"), // required
|
|
81
|
+
* // },
|
|
82
|
+
* // Arn: "STRING_VALUE", // required
|
|
83
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
84
|
+
* // ModifiedAt: new Date("TIMESTAMP"), // required
|
|
85
|
+
* // Status: "QUEUED" || "IN_PROGRESS" || "CANCELLED" || "COMPLETED" || "FAILED", // required
|
|
86
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
87
|
+
* // ETag: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // NextToken: "STRING_VALUE",
|
|
91
|
+
* // };
|
|
92
|
+
*
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* @param ListHarvestJobsCommandInput - {@link ListHarvestJobsCommandInput}
|
|
96
|
+
* @returns {@link ListHarvestJobsCommandOutput}
|
|
97
|
+
* @see {@link ListHarvestJobsCommandInput} for command's `input` shape.
|
|
98
|
+
* @see {@link ListHarvestJobsCommandOutput} for command's `response` shape.
|
|
99
|
+
* @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
102
|
+
* <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>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link InternalServerException} (server fault)
|
|
105
|
+
* <p>Indicates that an error from the service occurred while trying to process a request.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
108
|
+
* <p>The specified resource doesn't exist.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
111
|
+
* <p>The request throughput limit was exceeded.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ValidationException} (client fault)
|
|
114
|
+
* <p>The input failed to meet the constraints specified by the AWS service.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link MediaPackageV2ServiceException}
|
|
117
|
+
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
118
|
+
*
|
|
119
|
+
* @public
|
|
120
|
+
* @example ListHarvestJobs: Specify ChannelGroup only
|
|
121
|
+
* ```javascript
|
|
122
|
+
* //
|
|
123
|
+
* const input = {
|
|
124
|
+
* "ChannelGroupName": "exampleChannelGroup"
|
|
125
|
+
* };
|
|
126
|
+
* const command = new ListHarvestJobsCommand(input);
|
|
127
|
+
* const response = await client.send(command);
|
|
128
|
+
* /* response ==
|
|
129
|
+
* {
|
|
130
|
+
* "Items": [
|
|
131
|
+
* {
|
|
132
|
+
* "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName/harvestJob/HarvestJobName",
|
|
133
|
+
* "ChannelGroupName": "exampleChannelGroup",
|
|
134
|
+
* "ChannelName": "exampleChannelName",
|
|
135
|
+
* "CreatedAt": "2024-05-28T09:36:00.00Z",
|
|
136
|
+
* "Description": "Example HarvestJob description",
|
|
137
|
+
* "Destination": {
|
|
138
|
+
* "S3Destination": {
|
|
139
|
+
* "BucketName": "harvestJobS3DestinationBucket",
|
|
140
|
+
* "DestinationPath": "manifests"
|
|
141
|
+
* }
|
|
142
|
+
* },
|
|
143
|
+
* "ETag": "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
|
144
|
+
* "HarvestJobName": "HarvestJobName",
|
|
145
|
+
* "HarvestedManifests": {
|
|
146
|
+
* "DashManifests": [
|
|
147
|
+
* {
|
|
148
|
+
* "ManifestName": "DashManifest"
|
|
149
|
+
* }
|
|
150
|
+
* ],
|
|
151
|
+
* "HlsManifests": [
|
|
152
|
+
* {
|
|
153
|
+
* "ManifestName": "HlsManifest"
|
|
154
|
+
* }
|
|
155
|
+
* ],
|
|
156
|
+
* "LowLatencyHlsManifests": [
|
|
157
|
+
* {
|
|
158
|
+
* "ManifestName": "LowLatencyHlsManifest"
|
|
159
|
+
* }
|
|
160
|
+
* ]
|
|
161
|
+
* },
|
|
162
|
+
* "ModifiedAt": "2024-05-28T09:36:00.00Z",
|
|
163
|
+
* "OriginEndpointName": "exampleOriginEndpointName",
|
|
164
|
+
* "ScheduleConfiguration": {
|
|
165
|
+
* "EndTime": "2024-05-28T12:00:00.00Z",
|
|
166
|
+
* "StartTime": "2024-05-28T06:00:00.00Z"
|
|
167
|
+
* },
|
|
168
|
+
* "Status": "QUEUED",
|
|
169
|
+
* "Tags": {
|
|
170
|
+
* "key1": "value1",
|
|
171
|
+
* "key2": "value2"
|
|
172
|
+
* }
|
|
173
|
+
* },
|
|
174
|
+
* {
|
|
175
|
+
* "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName2/originEndpoint/exampleOriginEndpointName2/harvestJob/HarvestJobName2",
|
|
176
|
+
* "ChannelGroupName": "exampleChannelGroup",
|
|
177
|
+
* "ChannelName": "exampleChannelName2",
|
|
178
|
+
* "CreatedAt": "2024-05-28T15:30:00.00Z",
|
|
179
|
+
* "Description": "Example HarvestJob2 description",
|
|
180
|
+
* "Destination": {
|
|
181
|
+
* "S3Destination": {
|
|
182
|
+
* "BucketName": "harvestJobS3DestinationBucket",
|
|
183
|
+
* "DestinationPath": "manifests"
|
|
184
|
+
* }
|
|
185
|
+
* },
|
|
186
|
+
* "ETag": "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
|
187
|
+
* "HarvestJobName": "HarvestJobName2",
|
|
188
|
+
* "HarvestedManifests": {
|
|
189
|
+
* "DashManifests": [
|
|
190
|
+
* {
|
|
191
|
+
* "ManifestName": "DashManifest"
|
|
192
|
+
* }
|
|
193
|
+
* ],
|
|
194
|
+
* "HlsManifests": [
|
|
195
|
+
* {
|
|
196
|
+
* "ManifestName": "HlsManifest"
|
|
197
|
+
* }
|
|
198
|
+
* ],
|
|
199
|
+
* "LowLatencyHlsManifests": [
|
|
200
|
+
* {
|
|
201
|
+
* "ManifestName": "LowLatencyHlsManifest"
|
|
202
|
+
* }
|
|
203
|
+
* ]
|
|
204
|
+
* },
|
|
205
|
+
* "ModifiedAt": "2024-05-28T15:30:00.00Z",
|
|
206
|
+
* "OriginEndpointName": "exampleOriginEndpointName2",
|
|
207
|
+
* "ScheduleConfiguration": {
|
|
208
|
+
* "EndTime": "2024-05-28T12:00:00.00Z",
|
|
209
|
+
* "StartTime": "2024-05-28T02:00:00.00Z"
|
|
210
|
+
* },
|
|
211
|
+
* "Status": "IN_PROGRESS",
|
|
212
|
+
* "Tags": {
|
|
213
|
+
* "key1": "value1",
|
|
214
|
+
* "key2": "value2"
|
|
215
|
+
* }
|
|
216
|
+
* }
|
|
217
|
+
* ],
|
|
218
|
+
* "NextToken": "someTokenValue"
|
|
219
|
+
* }
|
|
220
|
+
* *\/
|
|
221
|
+
* // example id: example-1
|
|
222
|
+
* ```
|
|
223
|
+
*
|
|
224
|
+
* @example ListHarvestJobs: Specify ChannelGroup, Channel only
|
|
225
|
+
* ```javascript
|
|
226
|
+
* //
|
|
227
|
+
* const input = {
|
|
228
|
+
* "ChannelGroupName": "exampleChannelGroup",
|
|
229
|
+
* "ChannelName": "exampleChannelName"
|
|
230
|
+
* };
|
|
231
|
+
* const command = new ListHarvestJobsCommand(input);
|
|
232
|
+
* const response = await client.send(command);
|
|
233
|
+
* /* response ==
|
|
234
|
+
* {
|
|
235
|
+
* "Items": [
|
|
236
|
+
* {
|
|
237
|
+
* "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName/harvestJob/HarvestJobName",
|
|
238
|
+
* "ChannelGroupName": "exampleChannelGroup",
|
|
239
|
+
* "ChannelName": "exampleChannelName",
|
|
240
|
+
* "CreatedAt": "2024-05-28T09:36:00.00Z",
|
|
241
|
+
* "Description": "Example HarvestJob description",
|
|
242
|
+
* "Destination": {
|
|
243
|
+
* "S3Destination": {
|
|
244
|
+
* "BucketName": "harvestJobS3DestinationBucket",
|
|
245
|
+
* "DestinationPath": "manifests"
|
|
246
|
+
* }
|
|
247
|
+
* },
|
|
248
|
+
* "ETag": "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
|
249
|
+
* "HarvestJobName": "HarvestJobName",
|
|
250
|
+
* "HarvestedManifests": {
|
|
251
|
+
* "DashManifests": [
|
|
252
|
+
* {
|
|
253
|
+
* "ManifestName": "DashManifest"
|
|
254
|
+
* }
|
|
255
|
+
* ],
|
|
256
|
+
* "HlsManifests": [
|
|
257
|
+
* {
|
|
258
|
+
* "ManifestName": "HlsManifest"
|
|
259
|
+
* }
|
|
260
|
+
* ],
|
|
261
|
+
* "LowLatencyHlsManifests": [
|
|
262
|
+
* {
|
|
263
|
+
* "ManifestName": "LowLatencyHlsManifest"
|
|
264
|
+
* }
|
|
265
|
+
* ]
|
|
266
|
+
* },
|
|
267
|
+
* "ModifiedAt": "2024-05-28T09:36:00.00Z",
|
|
268
|
+
* "OriginEndpointName": "exampleOriginEndpointName",
|
|
269
|
+
* "ScheduleConfiguration": {
|
|
270
|
+
* "EndTime": "2024-05-28T12:00:00.00Z",
|
|
271
|
+
* "StartTime": "2024-05-28T06:00:00.00Z"
|
|
272
|
+
* },
|
|
273
|
+
* "Status": "QUEUED",
|
|
274
|
+
* "Tags": {
|
|
275
|
+
* "key1": "value1",
|
|
276
|
+
* "key2": "value2"
|
|
277
|
+
* }
|
|
278
|
+
* },
|
|
279
|
+
* {
|
|
280
|
+
* "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName2/harvestJob/HarvestJobName2",
|
|
281
|
+
* "ChannelGroupName": "exampleChannelGroup",
|
|
282
|
+
* "ChannelName": "exampleChannelName",
|
|
283
|
+
* "CreatedAt": "2024-05-28T15:30:00.00Z",
|
|
284
|
+
* "Description": "Example HarvestJob2 description",
|
|
285
|
+
* "Destination": {
|
|
286
|
+
* "S3Destination": {
|
|
287
|
+
* "BucketName": "harvestJobS3DestinationBucket",
|
|
288
|
+
* "DestinationPath": "manifests"
|
|
289
|
+
* }
|
|
290
|
+
* },
|
|
291
|
+
* "HarvestJobName": "HarvestJobName2",
|
|
292
|
+
* "HarvestedManifests": {
|
|
293
|
+
* "DashManifests": [
|
|
294
|
+
* {
|
|
295
|
+
* "ManifestName": "DashManifest"
|
|
296
|
+
* }
|
|
297
|
+
* ],
|
|
298
|
+
* "HlsManifests": [
|
|
299
|
+
* {
|
|
300
|
+
* "ManifestName": "HlsManifest"
|
|
301
|
+
* }
|
|
302
|
+
* ],
|
|
303
|
+
* "LowLatencyHlsManifests": [
|
|
304
|
+
* {
|
|
305
|
+
* "ManifestName": "LowLatencyHlsManifest"
|
|
306
|
+
* }
|
|
307
|
+
* ]
|
|
308
|
+
* },
|
|
309
|
+
* "ModifiedAt": "2024-05-28T15:30:00.00Z",
|
|
310
|
+
* "OriginEndpointName": "exampleOriginEndpointName2",
|
|
311
|
+
* "ScheduleConfiguration": {
|
|
312
|
+
* "EndTime": "2024-05-28T12:00:00.00Z",
|
|
313
|
+
* "StartTime": "2024-05-28T02:00:00.00Z"
|
|
314
|
+
* },
|
|
315
|
+
* "Status": "IN_PROGRESS",
|
|
316
|
+
* "Tags": {
|
|
317
|
+
* "key1": "value1",
|
|
318
|
+
* "key2": "value2"
|
|
319
|
+
* }
|
|
320
|
+
* }
|
|
321
|
+
* ],
|
|
322
|
+
* "NextToken": "someTokenValue"
|
|
323
|
+
* }
|
|
324
|
+
* *\/
|
|
325
|
+
* // example id: example-2
|
|
326
|
+
* ```
|
|
327
|
+
*
|
|
328
|
+
* @example ListHarvestJobs: Specify ChannelGroup, Channel, OriginEndpoint
|
|
329
|
+
* ```javascript
|
|
330
|
+
* //
|
|
331
|
+
* const input = {
|
|
332
|
+
* "ChannelGroupName": "exampleChannelGroup",
|
|
333
|
+
* "ChannelName": "exampleChannelName",
|
|
334
|
+
* "OriginEndpointName": "exampleOriginEndpointName"
|
|
335
|
+
* };
|
|
336
|
+
* const command = new ListHarvestJobsCommand(input);
|
|
337
|
+
* const response = await client.send(command);
|
|
338
|
+
* /* response ==
|
|
339
|
+
* {
|
|
340
|
+
* "Items": [
|
|
341
|
+
* {
|
|
342
|
+
* "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName/harvestJob/HarvestJobName",
|
|
343
|
+
* "ChannelGroupName": "exampleChannelGroup",
|
|
344
|
+
* "ChannelName": "exampleChannelName",
|
|
345
|
+
* "CreatedAt": "2024-05-28T09:36:00.00Z",
|
|
346
|
+
* "Description": "Example HarvestJob description",
|
|
347
|
+
* "Destination": {
|
|
348
|
+
* "S3Destination": {
|
|
349
|
+
* "BucketName": "harvestJobS3DestinationBucket",
|
|
350
|
+
* "DestinationPath": "manifests"
|
|
351
|
+
* }
|
|
352
|
+
* },
|
|
353
|
+
* "ETag": "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
|
354
|
+
* "HarvestJobName": "HarvestJobName",
|
|
355
|
+
* "HarvestedManifests": {
|
|
356
|
+
* "DashManifests": [
|
|
357
|
+
* {
|
|
358
|
+
* "ManifestName": "DashManifest"
|
|
359
|
+
* }
|
|
360
|
+
* ],
|
|
361
|
+
* "HlsManifests": [
|
|
362
|
+
* {
|
|
363
|
+
* "ManifestName": "HlsManifest"
|
|
364
|
+
* }
|
|
365
|
+
* ],
|
|
366
|
+
* "LowLatencyHlsManifests": [
|
|
367
|
+
* {
|
|
368
|
+
* "ManifestName": "LowLatencyHlsManifest"
|
|
369
|
+
* }
|
|
370
|
+
* ]
|
|
371
|
+
* },
|
|
372
|
+
* "ModifiedAt": "2024-05-28T09:36:00.00Z",
|
|
373
|
+
* "OriginEndpointName": "exampleOriginEndpointName",
|
|
374
|
+
* "ScheduleConfiguration": {
|
|
375
|
+
* "EndTime": "2024-05-28T12:00:00.00Z",
|
|
376
|
+
* "StartTime": "2024-05-28T06:00:00.00Z"
|
|
377
|
+
* },
|
|
378
|
+
* "Status": "QUEUED"
|
|
379
|
+
* }
|
|
380
|
+
* ],
|
|
381
|
+
* "NextToken": "someTokenValue"
|
|
382
|
+
* }
|
|
383
|
+
* *\/
|
|
384
|
+
* // example id: example-3
|
|
385
|
+
* ```
|
|
386
|
+
*
|
|
387
|
+
* @example ListHarvestJobs: Specify ChannelGroup, Channel, OriginEndpoint + Status filter
|
|
388
|
+
* ```javascript
|
|
389
|
+
* //
|
|
390
|
+
* const input = {
|
|
391
|
+
* "ChannelGroupName": "exampleChannelGroup",
|
|
392
|
+
* "ChannelName": "exampleChannelName",
|
|
393
|
+
* "OriginEndpointName": "exampleOriginEndpointName",
|
|
394
|
+
* "Status": "QUEUED"
|
|
395
|
+
* };
|
|
396
|
+
* const command = new ListHarvestJobsCommand(input);
|
|
397
|
+
* const response = await client.send(command);
|
|
398
|
+
* /* response ==
|
|
399
|
+
* {
|
|
400
|
+
* "Items": [
|
|
401
|
+
* {
|
|
402
|
+
* "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName/harvestJob/HarvestJobName",
|
|
403
|
+
* "ChannelGroupName": "exampleChannelGroup",
|
|
404
|
+
* "ChannelName": "exampleChannelName",
|
|
405
|
+
* "CreatedAt": "2024-05-28T09:36:00.00Z",
|
|
406
|
+
* "Description": "Example HarvestJob description",
|
|
407
|
+
* "Destination": {
|
|
408
|
+
* "S3Destination": {
|
|
409
|
+
* "BucketName": "harvestJobS3DestinationBucket",
|
|
410
|
+
* "DestinationPath": "manifests"
|
|
411
|
+
* }
|
|
412
|
+
* },
|
|
413
|
+
* "ETag": "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
|
414
|
+
* "HarvestJobName": "HarvestJobName",
|
|
415
|
+
* "HarvestedManifests": {
|
|
416
|
+
* "DashManifests": [
|
|
417
|
+
* {
|
|
418
|
+
* "ManifestName": "DashManifest"
|
|
419
|
+
* }
|
|
420
|
+
* ],
|
|
421
|
+
* "HlsManifests": [
|
|
422
|
+
* {
|
|
423
|
+
* "ManifestName": "HlsManifest"
|
|
424
|
+
* }
|
|
425
|
+
* ],
|
|
426
|
+
* "LowLatencyHlsManifests": [
|
|
427
|
+
* {
|
|
428
|
+
* "ManifestName": "LowLatencyHlsManifest"
|
|
429
|
+
* }
|
|
430
|
+
* ]
|
|
431
|
+
* },
|
|
432
|
+
* "ModifiedAt": "2024-05-28T09:36:00.00Z",
|
|
433
|
+
* "OriginEndpointName": "exampleOriginEndpointName",
|
|
434
|
+
* "ScheduleConfiguration": {
|
|
435
|
+
* "EndTime": "2024-05-28T12:00:00.00Z",
|
|
436
|
+
* "StartTime": "2024-05-28T06:00:00.00Z"
|
|
437
|
+
* },
|
|
438
|
+
* "Status": "QUEUED"
|
|
439
|
+
* }
|
|
440
|
+
* ],
|
|
441
|
+
* "NextToken": "someTokenValue"
|
|
442
|
+
* }
|
|
443
|
+
* *\/
|
|
444
|
+
* // example id: example-4
|
|
445
|
+
* ```
|
|
446
|
+
*
|
|
447
|
+
* @example ListHarvestJobs: Empty response
|
|
448
|
+
* ```javascript
|
|
449
|
+
* //
|
|
450
|
+
* const input = {
|
|
451
|
+
* "ChannelGroupName": "exampleChannelGroup",
|
|
452
|
+
* "ChannelName": "exampleChannelName",
|
|
453
|
+
* "OriginEndpointName": "exampleOriginEndpointName"
|
|
454
|
+
* };
|
|
455
|
+
* const command = new ListHarvestJobsCommand(input);
|
|
456
|
+
* await client.send(command);
|
|
457
|
+
* // example id: example-5
|
|
458
|
+
* ```
|
|
459
|
+
*
|
|
460
|
+
*/
|
|
461
|
+
export declare class ListHarvestJobsCommand extends ListHarvestJobsCommand_base {
|
|
462
|
+
/** @internal type navigation helper, not in runtime. */
|
|
463
|
+
protected static __types: {
|
|
464
|
+
api: {
|
|
465
|
+
input: ListHarvestJobsRequest;
|
|
466
|
+
output: ListHarvestJobsResponse;
|
|
467
|
+
};
|
|
468
|
+
sdk: {
|
|
469
|
+
input: ListHarvestJobsCommandInput;
|
|
470
|
+
output: ListHarvestJobsCommandOutput;
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
export * from "./CancelHarvestJobCommand";
|
|
1
2
|
export * from "./CreateChannelCommand";
|
|
2
3
|
export * from "./CreateChannelGroupCommand";
|
|
4
|
+
export * from "./CreateHarvestJobCommand";
|
|
3
5
|
export * from "./CreateOriginEndpointCommand";
|
|
4
6
|
export * from "./DeleteChannelCommand";
|
|
5
7
|
export * from "./DeleteChannelGroupCommand";
|
|
@@ -9,10 +11,12 @@ export * from "./DeleteOriginEndpointPolicyCommand";
|
|
|
9
11
|
export * from "./GetChannelCommand";
|
|
10
12
|
export * from "./GetChannelGroupCommand";
|
|
11
13
|
export * from "./GetChannelPolicyCommand";
|
|
14
|
+
export * from "./GetHarvestJobCommand";
|
|
12
15
|
export * from "./GetOriginEndpointCommand";
|
|
13
16
|
export * from "./GetOriginEndpointPolicyCommand";
|
|
14
17
|
export * from "./ListChannelGroupsCommand";
|
|
15
18
|
export * from "./ListChannelsCommand";
|
|
19
|
+
export * from "./ListHarvestJobsCommand";
|
|
16
20
|
export * from "./ListOriginEndpointsCommand";
|
|
17
21
|
export * from "./ListTagsForResourceCommand";
|
|
18
22
|
export * from "./PutChannelPolicyCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -21,5 +21,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
21
21
|
export type { MediaPackageV2ExtensionConfiguration } from "./extensionConfiguration";
|
|
22
22
|
export * from "./commands";
|
|
23
23
|
export * from "./pagination";
|
|
24
|
+
export * from "./waiters";
|
|
24
25
|
export * from "./models";
|
|
25
26
|
export { MediaPackageV2ServiceException } from "./models/MediaPackageV2ServiceException";
|