2
2
import { createAggregatedClient } from "@smithy/smithy-client" ;
3
3
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types" ;
4
4
5
+ import {
6
+ CancelHarvestJobCommand ,
7
+ CancelHarvestJobCommandInput ,
8
+ CancelHarvestJobCommandOutput ,
9
+ } from "./commands/CancelHarvestJobCommand" ;
5
10
import {
6
11
CreateChannelCommand ,
7
12
CreateChannelCommandInput ,
@@ -12,6 +17,11 @@ import {
12
17
CreateChannelGroupCommandInput ,
13
18
CreateChannelGroupCommandOutput ,
14
19
} from "./commands/CreateChannelGroupCommand" ;
20
+ import {
21
+ CreateHarvestJobCommand ,
22
+ CreateHarvestJobCommandInput ,
23
+ CreateHarvestJobCommandOutput ,
24
+ } from "./commands/CreateHarvestJobCommand" ;
15
25
import {
16
26
CreateOriginEndpointCommand ,
17
27
CreateOriginEndpointCommandInput ,
@@ -53,6 +63,11 @@ import {
53
63
GetChannelPolicyCommandInput ,
54
64
GetChannelPolicyCommandOutput ,
55
65
} from "./commands/GetChannelPolicyCommand" ;
66
+ import {
67
+ GetHarvestJobCommand ,
68
+ GetHarvestJobCommandInput ,
69
+ GetHarvestJobCommandOutput ,
70
+ } from "./commands/GetHarvestJobCommand" ;
56
71
import {
57
72
GetOriginEndpointCommand ,
58
73
GetOriginEndpointCommandInput ,
@@ -73,6 +88,11 @@ import {
73
88
ListChannelsCommandInput ,
74
89
ListChannelsCommandOutput ,
75
90
} from "./commands/ListChannelsCommand" ;
91
+ import {
92
+ ListHarvestJobsCommand ,
93
+ ListHarvestJobsCommandInput ,
94
+ ListHarvestJobsCommandOutput ,
95
+ } from "./commands/ListHarvestJobsCommand" ;
76
96
import {
77
97
ListOriginEndpointsCommand ,
78
98
ListOriginEndpointsCommandInput ,
@@ -117,8 +137,10 @@ import {
117
137
import { MediaPackageV2Client , MediaPackageV2ClientConfig } from "./MediaPackageV2Client" ;
118
138
119
139
const commands = {
140
+ CancelHarvestJobCommand,
120
141
CreateChannelCommand,
121
142
CreateChannelGroupCommand,
143
+ CreateHarvestJobCommand,
122
144
CreateOriginEndpointCommand,
123
145
DeleteChannelCommand,
124
146
DeleteChannelGroupCommand,
@@ -128,10 +150,12 @@ const commands = {
128
150
GetChannelCommand,
129
151
GetChannelGroupCommand,
130
152
GetChannelPolicyCommand,
153
+ GetHarvestJobCommand,
131
154
GetOriginEndpointCommand,
132
155
GetOriginEndpointPolicyCommand,
133
156
ListChannelGroupsCommand,
134
157
ListChannelsCommand,
158
+ ListHarvestJobsCommand,
135
159
ListOriginEndpointsCommand,
136
160
ListTagsForResourceCommand,
137
161
PutChannelPolicyCommand,
@@ -144,6 +168,23 @@ const commands = {
144
168
} ;
145
169
146
170
export interface MediaPackageV2 {
171
+ /**
172
+ * @see {@link CancelHarvestJobCommand }
173
+ */
174
+ cancelHarvestJob (
175
+ args : CancelHarvestJobCommandInput ,
176
+ options ?: __HttpHandlerOptions
177
+ ) : Promise < CancelHarvestJobCommandOutput > ;
178
+ cancelHarvestJob (
179
+ args : CancelHarvestJobCommandInput ,
180
+ cb : ( err : any , data ?: CancelHarvestJobCommandOutput ) => void
181
+ ) : void ;
182
+ cancelHarvestJob (
183
+ args : CancelHarvestJobCommandInput ,
184
+ options : __HttpHandlerOptions ,
185
+ cb : ( err : any , data ?: CancelHarvestJobCommandOutput ) => void
186
+ ) : void ;
187
+
147
188
/**
148
189
* @see {@link CreateChannelCommand }
149
190
*/
@@ -172,6 +213,23 @@ export interface MediaPackageV2 {
172
213
cb : ( err : any , data ?: CreateChannelGroupCommandOutput ) => void
173
214
) : void ;
174
215
216
+ /**
217
+ * @see {@link CreateHarvestJobCommand }
218
+ */
219
+ createHarvestJob (
220
+ args : CreateHarvestJobCommandInput ,
221
+ options ?: __HttpHandlerOptions
222
+ ) : Promise < CreateHarvestJobCommandOutput > ;
223
+ createHarvestJob (
224
+ args : CreateHarvestJobCommandInput ,
225
+ cb : ( err : any , data ?: CreateHarvestJobCommandOutput ) => void
226
+ ) : void ;
227
+ createHarvestJob (
228
+ args : CreateHarvestJobCommandInput ,
229
+ options : __HttpHandlerOptions ,
230
+ cb : ( err : any , data ?: CreateHarvestJobCommandOutput ) => void
231
+ ) : void ;
232
+
175
233
/**
176
234
* @see {@link CreateOriginEndpointCommand }
177
235
*/
@@ -310,6 +368,17 @@ export interface MediaPackageV2 {
310
368
cb : ( err : any , data ?: GetChannelPolicyCommandOutput ) => void
311
369
) : void ;
312
370
371
+ /**
372
+ * @see {@link GetHarvestJobCommand }
373
+ */
374
+ getHarvestJob ( args : GetHarvestJobCommandInput , options ?: __HttpHandlerOptions ) : Promise < GetHarvestJobCommandOutput > ;
375
+ getHarvestJob ( args : GetHarvestJobCommandInput , cb : ( err : any , data ?: GetHarvestJobCommandOutput ) => void ) : void ;
376
+ getHarvestJob (
377
+ args : GetHarvestJobCommandInput ,
378
+ options : __HttpHandlerOptions ,
379
+ cb : ( err : any , data ?: GetHarvestJobCommandOutput ) => void
380
+ ) : void ;
381
+
313
382
/**
314
383
* @see {@link GetOriginEndpointCommand }
315
384
*/
@@ -373,6 +442,20 @@ export interface MediaPackageV2 {
373
442
cb : ( err : any , data ?: ListChannelsCommandOutput ) => void
374
443
) : void ;
375
444
445
+ /**
446
+ * @see {@link ListHarvestJobsCommand }
447
+ */
448
+ listHarvestJobs (
449
+ args : ListHarvestJobsCommandInput ,
450
+ options ?: __HttpHandlerOptions
451
+ ) : Promise < ListHarvestJobsCommandOutput > ;
452
+ listHarvestJobs ( args : ListHarvestJobsCommandInput , cb : ( err : any , data ?: ListHarvestJobsCommandOutput ) => void ) : void ;
453
+ listHarvestJobs (
454
+ args : ListHarvestJobsCommandInput ,
455
+ options : __HttpHandlerOptions ,
456
+ cb : ( err : any , data ?: ListHarvestJobsCommandOutput ) => void
457
+ ) : void ;
458
+
376
459
/**
377
460
* @see {@link ListOriginEndpointsCommand }
378
461
*/
0 commit comments