@aws-sdk/client-mediapackage 3.315.0 → 3.319.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/dist-cjs/MediaPackage.js +23 -266
- package/dist-es/MediaPackage.js +23 -266
- package/dist-types/MediaPackage.d.ts +26 -42
- package/dist-types/ts3.4/MediaPackage.d.ts +4 -1
- package/package.json +8 -8
package/dist-cjs/MediaPackage.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MediaPackage = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const ConfigureLogsCommand_1 = require("./commands/ConfigureLogsCommand");
|
|
5
6
|
const CreateChannelCommand_1 = require("./commands/CreateChannelCommand");
|
|
6
7
|
const CreateHarvestJobCommand_1 = require("./commands/CreateHarvestJobCommand");
|
|
@@ -21,272 +22,28 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
|
21
22
|
const UpdateChannelCommand_1 = require("./commands/UpdateChannelCommand");
|
|
22
23
|
const UpdateOriginEndpointCommand_1 = require("./commands/UpdateOriginEndpointCommand");
|
|
23
24
|
const MediaPackageClient_1 = require("./MediaPackageClient");
|
|
25
|
+
const commands = {
|
|
26
|
+
ConfigureLogsCommand: ConfigureLogsCommand_1.ConfigureLogsCommand,
|
|
27
|
+
CreateChannelCommand: CreateChannelCommand_1.CreateChannelCommand,
|
|
28
|
+
CreateHarvestJobCommand: CreateHarvestJobCommand_1.CreateHarvestJobCommand,
|
|
29
|
+
CreateOriginEndpointCommand: CreateOriginEndpointCommand_1.CreateOriginEndpointCommand,
|
|
30
|
+
DeleteChannelCommand: DeleteChannelCommand_1.DeleteChannelCommand,
|
|
31
|
+
DeleteOriginEndpointCommand: DeleteOriginEndpointCommand_1.DeleteOriginEndpointCommand,
|
|
32
|
+
DescribeChannelCommand: DescribeChannelCommand_1.DescribeChannelCommand,
|
|
33
|
+
DescribeHarvestJobCommand: DescribeHarvestJobCommand_1.DescribeHarvestJobCommand,
|
|
34
|
+
DescribeOriginEndpointCommand: DescribeOriginEndpointCommand_1.DescribeOriginEndpointCommand,
|
|
35
|
+
ListChannelsCommand: ListChannelsCommand_1.ListChannelsCommand,
|
|
36
|
+
ListHarvestJobsCommand: ListHarvestJobsCommand_1.ListHarvestJobsCommand,
|
|
37
|
+
ListOriginEndpointsCommand: ListOriginEndpointsCommand_1.ListOriginEndpointsCommand,
|
|
38
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
39
|
+
RotateChannelCredentialsCommand: RotateChannelCredentialsCommand_1.RotateChannelCredentialsCommand,
|
|
40
|
+
RotateIngestEndpointCredentialsCommand: RotateIngestEndpointCredentialsCommand_1.RotateIngestEndpointCredentialsCommand,
|
|
41
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
42
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
43
|
+
UpdateChannelCommand: UpdateChannelCommand_1.UpdateChannelCommand,
|
|
44
|
+
UpdateOriginEndpointCommand: UpdateOriginEndpointCommand_1.UpdateOriginEndpointCommand,
|
|
45
|
+
};
|
|
24
46
|
class MediaPackage extends MediaPackageClient_1.MediaPackageClient {
|
|
25
|
-
configureLogs(args, optionsOrCb, cb) {
|
|
26
|
-
const command = new ConfigureLogsCommand_1.ConfigureLogsCommand(args);
|
|
27
|
-
if (typeof optionsOrCb === "function") {
|
|
28
|
-
this.send(command, optionsOrCb);
|
|
29
|
-
}
|
|
30
|
-
else if (typeof cb === "function") {
|
|
31
|
-
if (typeof optionsOrCb !== "object")
|
|
32
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
33
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
return this.send(command, optionsOrCb);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
createChannel(args, optionsOrCb, cb) {
|
|
40
|
-
const command = new CreateChannelCommand_1.CreateChannelCommand(args);
|
|
41
|
-
if (typeof optionsOrCb === "function") {
|
|
42
|
-
this.send(command, optionsOrCb);
|
|
43
|
-
}
|
|
44
|
-
else if (typeof cb === "function") {
|
|
45
|
-
if (typeof optionsOrCb !== "object")
|
|
46
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
47
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
return this.send(command, optionsOrCb);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
createHarvestJob(args, optionsOrCb, cb) {
|
|
54
|
-
const command = new CreateHarvestJobCommand_1.CreateHarvestJobCommand(args);
|
|
55
|
-
if (typeof optionsOrCb === "function") {
|
|
56
|
-
this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
else if (typeof cb === "function") {
|
|
59
|
-
if (typeof optionsOrCb !== "object")
|
|
60
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
61
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
return this.send(command, optionsOrCb);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
createOriginEndpoint(args, optionsOrCb, cb) {
|
|
68
|
-
const command = new CreateOriginEndpointCommand_1.CreateOriginEndpointCommand(args);
|
|
69
|
-
if (typeof optionsOrCb === "function") {
|
|
70
|
-
this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
else if (typeof cb === "function") {
|
|
73
|
-
if (typeof optionsOrCb !== "object")
|
|
74
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
75
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
return this.send(command, optionsOrCb);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
deleteChannel(args, optionsOrCb, cb) {
|
|
82
|
-
const command = new DeleteChannelCommand_1.DeleteChannelCommand(args);
|
|
83
|
-
if (typeof optionsOrCb === "function") {
|
|
84
|
-
this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
else if (typeof cb === "function") {
|
|
87
|
-
if (typeof optionsOrCb !== "object")
|
|
88
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
89
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
return this.send(command, optionsOrCb);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
deleteOriginEndpoint(args, optionsOrCb, cb) {
|
|
96
|
-
const command = new DeleteOriginEndpointCommand_1.DeleteOriginEndpointCommand(args);
|
|
97
|
-
if (typeof optionsOrCb === "function") {
|
|
98
|
-
this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
else if (typeof cb === "function") {
|
|
101
|
-
if (typeof optionsOrCb !== "object")
|
|
102
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
103
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
return this.send(command, optionsOrCb);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
describeChannel(args, optionsOrCb, cb) {
|
|
110
|
-
const command = new DescribeChannelCommand_1.DescribeChannelCommand(args);
|
|
111
|
-
if (typeof optionsOrCb === "function") {
|
|
112
|
-
this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
else if (typeof cb === "function") {
|
|
115
|
-
if (typeof optionsOrCb !== "object")
|
|
116
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
117
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
return this.send(command, optionsOrCb);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
describeHarvestJob(args, optionsOrCb, cb) {
|
|
124
|
-
const command = new DescribeHarvestJobCommand_1.DescribeHarvestJobCommand(args);
|
|
125
|
-
if (typeof optionsOrCb === "function") {
|
|
126
|
-
this.send(command, optionsOrCb);
|
|
127
|
-
}
|
|
128
|
-
else if (typeof cb === "function") {
|
|
129
|
-
if (typeof optionsOrCb !== "object")
|
|
130
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
131
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
132
|
-
}
|
|
133
|
-
else {
|
|
134
|
-
return this.send(command, optionsOrCb);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
describeOriginEndpoint(args, optionsOrCb, cb) {
|
|
138
|
-
const command = new DescribeOriginEndpointCommand_1.DescribeOriginEndpointCommand(args);
|
|
139
|
-
if (typeof optionsOrCb === "function") {
|
|
140
|
-
this.send(command, optionsOrCb);
|
|
141
|
-
}
|
|
142
|
-
else if (typeof cb === "function") {
|
|
143
|
-
if (typeof optionsOrCb !== "object")
|
|
144
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
145
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
146
|
-
}
|
|
147
|
-
else {
|
|
148
|
-
return this.send(command, optionsOrCb);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
listChannels(args, optionsOrCb, cb) {
|
|
152
|
-
const command = new ListChannelsCommand_1.ListChannelsCommand(args);
|
|
153
|
-
if (typeof optionsOrCb === "function") {
|
|
154
|
-
this.send(command, optionsOrCb);
|
|
155
|
-
}
|
|
156
|
-
else if (typeof cb === "function") {
|
|
157
|
-
if (typeof optionsOrCb !== "object")
|
|
158
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
159
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
160
|
-
}
|
|
161
|
-
else {
|
|
162
|
-
return this.send(command, optionsOrCb);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
listHarvestJobs(args, optionsOrCb, cb) {
|
|
166
|
-
const command = new ListHarvestJobsCommand_1.ListHarvestJobsCommand(args);
|
|
167
|
-
if (typeof optionsOrCb === "function") {
|
|
168
|
-
this.send(command, optionsOrCb);
|
|
169
|
-
}
|
|
170
|
-
else if (typeof cb === "function") {
|
|
171
|
-
if (typeof optionsOrCb !== "object")
|
|
172
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
173
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
return this.send(command, optionsOrCb);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
listOriginEndpoints(args, optionsOrCb, cb) {
|
|
180
|
-
const command = new ListOriginEndpointsCommand_1.ListOriginEndpointsCommand(args);
|
|
181
|
-
if (typeof optionsOrCb === "function") {
|
|
182
|
-
this.send(command, optionsOrCb);
|
|
183
|
-
}
|
|
184
|
-
else if (typeof cb === "function") {
|
|
185
|
-
if (typeof optionsOrCb !== "object")
|
|
186
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
187
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
188
|
-
}
|
|
189
|
-
else {
|
|
190
|
-
return this.send(command, optionsOrCb);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
194
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
195
|
-
if (typeof optionsOrCb === "function") {
|
|
196
|
-
this.send(command, optionsOrCb);
|
|
197
|
-
}
|
|
198
|
-
else if (typeof cb === "function") {
|
|
199
|
-
if (typeof optionsOrCb !== "object")
|
|
200
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
201
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
202
|
-
}
|
|
203
|
-
else {
|
|
204
|
-
return this.send(command, optionsOrCb);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
rotateChannelCredentials(args, optionsOrCb, cb) {
|
|
208
|
-
const command = new RotateChannelCredentialsCommand_1.RotateChannelCredentialsCommand(args);
|
|
209
|
-
if (typeof optionsOrCb === "function") {
|
|
210
|
-
this.send(command, optionsOrCb);
|
|
211
|
-
}
|
|
212
|
-
else if (typeof cb === "function") {
|
|
213
|
-
if (typeof optionsOrCb !== "object")
|
|
214
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
215
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
216
|
-
}
|
|
217
|
-
else {
|
|
218
|
-
return this.send(command, optionsOrCb);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
rotateIngestEndpointCredentials(args, optionsOrCb, cb) {
|
|
222
|
-
const command = new RotateIngestEndpointCredentialsCommand_1.RotateIngestEndpointCredentialsCommand(args);
|
|
223
|
-
if (typeof optionsOrCb === "function") {
|
|
224
|
-
this.send(command, optionsOrCb);
|
|
225
|
-
}
|
|
226
|
-
else if (typeof cb === "function") {
|
|
227
|
-
if (typeof optionsOrCb !== "object")
|
|
228
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
229
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
230
|
-
}
|
|
231
|
-
else {
|
|
232
|
-
return this.send(command, optionsOrCb);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
tagResource(args, optionsOrCb, cb) {
|
|
236
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
237
|
-
if (typeof optionsOrCb === "function") {
|
|
238
|
-
this.send(command, optionsOrCb);
|
|
239
|
-
}
|
|
240
|
-
else if (typeof cb === "function") {
|
|
241
|
-
if (typeof optionsOrCb !== "object")
|
|
242
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
243
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
244
|
-
}
|
|
245
|
-
else {
|
|
246
|
-
return this.send(command, optionsOrCb);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
untagResource(args, optionsOrCb, cb) {
|
|
250
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
251
|
-
if (typeof optionsOrCb === "function") {
|
|
252
|
-
this.send(command, optionsOrCb);
|
|
253
|
-
}
|
|
254
|
-
else if (typeof cb === "function") {
|
|
255
|
-
if (typeof optionsOrCb !== "object")
|
|
256
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
257
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
258
|
-
}
|
|
259
|
-
else {
|
|
260
|
-
return this.send(command, optionsOrCb);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
updateChannel(args, optionsOrCb, cb) {
|
|
264
|
-
const command = new UpdateChannelCommand_1.UpdateChannelCommand(args);
|
|
265
|
-
if (typeof optionsOrCb === "function") {
|
|
266
|
-
this.send(command, optionsOrCb);
|
|
267
|
-
}
|
|
268
|
-
else if (typeof cb === "function") {
|
|
269
|
-
if (typeof optionsOrCb !== "object")
|
|
270
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
271
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
272
|
-
}
|
|
273
|
-
else {
|
|
274
|
-
return this.send(command, optionsOrCb);
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
updateOriginEndpoint(args, optionsOrCb, cb) {
|
|
278
|
-
const command = new UpdateOriginEndpointCommand_1.UpdateOriginEndpointCommand(args);
|
|
279
|
-
if (typeof optionsOrCb === "function") {
|
|
280
|
-
this.send(command, optionsOrCb);
|
|
281
|
-
}
|
|
282
|
-
else if (typeof cb === "function") {
|
|
283
|
-
if (typeof optionsOrCb !== "object")
|
|
284
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
285
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
286
|
-
}
|
|
287
|
-
else {
|
|
288
|
-
return this.send(command, optionsOrCb);
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
47
|
}
|
|
292
48
|
exports.MediaPackage = MediaPackage;
|
|
49
|
+
(0, smithy_client_1.createAggregatedClient)(commands, MediaPackage);
|
package/dist-es/MediaPackage.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { ConfigureLogsCommand, } from "./commands/ConfigureLogsCommand";
|
|
2
3
|
import { CreateChannelCommand, } from "./commands/CreateChannelCommand";
|
|
3
4
|
import { CreateHarvestJobCommand, } from "./commands/CreateHarvestJobCommand";
|
|
@@ -18,271 +19,27 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
18
19
|
import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
|
|
19
20
|
import { UpdateOriginEndpointCommand, } from "./commands/UpdateOriginEndpointCommand";
|
|
20
21
|
import { MediaPackageClient } from "./MediaPackageClient";
|
|
22
|
+
const commands = {
|
|
23
|
+
ConfigureLogsCommand,
|
|
24
|
+
CreateChannelCommand,
|
|
25
|
+
CreateHarvestJobCommand,
|
|
26
|
+
CreateOriginEndpointCommand,
|
|
27
|
+
DeleteChannelCommand,
|
|
28
|
+
DeleteOriginEndpointCommand,
|
|
29
|
+
DescribeChannelCommand,
|
|
30
|
+
DescribeHarvestJobCommand,
|
|
31
|
+
DescribeOriginEndpointCommand,
|
|
32
|
+
ListChannelsCommand,
|
|
33
|
+
ListHarvestJobsCommand,
|
|
34
|
+
ListOriginEndpointsCommand,
|
|
35
|
+
ListTagsForResourceCommand,
|
|
36
|
+
RotateChannelCredentialsCommand,
|
|
37
|
+
RotateIngestEndpointCredentialsCommand,
|
|
38
|
+
TagResourceCommand,
|
|
39
|
+
UntagResourceCommand,
|
|
40
|
+
UpdateChannelCommand,
|
|
41
|
+
UpdateOriginEndpointCommand,
|
|
42
|
+
};
|
|
21
43
|
export class MediaPackage extends MediaPackageClient {
|
|
22
|
-
configureLogs(args, optionsOrCb, cb) {
|
|
23
|
-
const command = new ConfigureLogsCommand(args);
|
|
24
|
-
if (typeof optionsOrCb === "function") {
|
|
25
|
-
this.send(command, optionsOrCb);
|
|
26
|
-
}
|
|
27
|
-
else if (typeof cb === "function") {
|
|
28
|
-
if (typeof optionsOrCb !== "object")
|
|
29
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
30
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
return this.send(command, optionsOrCb);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
createChannel(args, optionsOrCb, cb) {
|
|
37
|
-
const command = new CreateChannelCommand(args);
|
|
38
|
-
if (typeof optionsOrCb === "function") {
|
|
39
|
-
this.send(command, optionsOrCb);
|
|
40
|
-
}
|
|
41
|
-
else if (typeof cb === "function") {
|
|
42
|
-
if (typeof optionsOrCb !== "object")
|
|
43
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
44
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
return this.send(command, optionsOrCb);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
createHarvestJob(args, optionsOrCb, cb) {
|
|
51
|
-
const command = new CreateHarvestJobCommand(args);
|
|
52
|
-
if (typeof optionsOrCb === "function") {
|
|
53
|
-
this.send(command, optionsOrCb);
|
|
54
|
-
}
|
|
55
|
-
else if (typeof cb === "function") {
|
|
56
|
-
if (typeof optionsOrCb !== "object")
|
|
57
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
58
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
return this.send(command, optionsOrCb);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
createOriginEndpoint(args, optionsOrCb, cb) {
|
|
65
|
-
const command = new CreateOriginEndpointCommand(args);
|
|
66
|
-
if (typeof optionsOrCb === "function") {
|
|
67
|
-
this.send(command, optionsOrCb);
|
|
68
|
-
}
|
|
69
|
-
else if (typeof cb === "function") {
|
|
70
|
-
if (typeof optionsOrCb !== "object")
|
|
71
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
72
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
return this.send(command, optionsOrCb);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
deleteChannel(args, optionsOrCb, cb) {
|
|
79
|
-
const command = new DeleteChannelCommand(args);
|
|
80
|
-
if (typeof optionsOrCb === "function") {
|
|
81
|
-
this.send(command, optionsOrCb);
|
|
82
|
-
}
|
|
83
|
-
else if (typeof cb === "function") {
|
|
84
|
-
if (typeof optionsOrCb !== "object")
|
|
85
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
86
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
return this.send(command, optionsOrCb);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
deleteOriginEndpoint(args, optionsOrCb, cb) {
|
|
93
|
-
const command = new DeleteOriginEndpointCommand(args);
|
|
94
|
-
if (typeof optionsOrCb === "function") {
|
|
95
|
-
this.send(command, optionsOrCb);
|
|
96
|
-
}
|
|
97
|
-
else if (typeof cb === "function") {
|
|
98
|
-
if (typeof optionsOrCb !== "object")
|
|
99
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
100
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
return this.send(command, optionsOrCb);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
describeChannel(args, optionsOrCb, cb) {
|
|
107
|
-
const command = new DescribeChannelCommand(args);
|
|
108
|
-
if (typeof optionsOrCb === "function") {
|
|
109
|
-
this.send(command, optionsOrCb);
|
|
110
|
-
}
|
|
111
|
-
else if (typeof cb === "function") {
|
|
112
|
-
if (typeof optionsOrCb !== "object")
|
|
113
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
114
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
115
|
-
}
|
|
116
|
-
else {
|
|
117
|
-
return this.send(command, optionsOrCb);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
describeHarvestJob(args, optionsOrCb, cb) {
|
|
121
|
-
const command = new DescribeHarvestJobCommand(args);
|
|
122
|
-
if (typeof optionsOrCb === "function") {
|
|
123
|
-
this.send(command, optionsOrCb);
|
|
124
|
-
}
|
|
125
|
-
else if (typeof cb === "function") {
|
|
126
|
-
if (typeof optionsOrCb !== "object")
|
|
127
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
128
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
129
|
-
}
|
|
130
|
-
else {
|
|
131
|
-
return this.send(command, optionsOrCb);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
describeOriginEndpoint(args, optionsOrCb, cb) {
|
|
135
|
-
const command = new DescribeOriginEndpointCommand(args);
|
|
136
|
-
if (typeof optionsOrCb === "function") {
|
|
137
|
-
this.send(command, optionsOrCb);
|
|
138
|
-
}
|
|
139
|
-
else if (typeof cb === "function") {
|
|
140
|
-
if (typeof optionsOrCb !== "object")
|
|
141
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
142
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
143
|
-
}
|
|
144
|
-
else {
|
|
145
|
-
return this.send(command, optionsOrCb);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
listChannels(args, optionsOrCb, cb) {
|
|
149
|
-
const command = new ListChannelsCommand(args);
|
|
150
|
-
if (typeof optionsOrCb === "function") {
|
|
151
|
-
this.send(command, optionsOrCb);
|
|
152
|
-
}
|
|
153
|
-
else if (typeof cb === "function") {
|
|
154
|
-
if (typeof optionsOrCb !== "object")
|
|
155
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
156
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
157
|
-
}
|
|
158
|
-
else {
|
|
159
|
-
return this.send(command, optionsOrCb);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
listHarvestJobs(args, optionsOrCb, cb) {
|
|
163
|
-
const command = new ListHarvestJobsCommand(args);
|
|
164
|
-
if (typeof optionsOrCb === "function") {
|
|
165
|
-
this.send(command, optionsOrCb);
|
|
166
|
-
}
|
|
167
|
-
else if (typeof cb === "function") {
|
|
168
|
-
if (typeof optionsOrCb !== "object")
|
|
169
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
170
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
171
|
-
}
|
|
172
|
-
else {
|
|
173
|
-
return this.send(command, optionsOrCb);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
listOriginEndpoints(args, optionsOrCb, cb) {
|
|
177
|
-
const command = new ListOriginEndpointsCommand(args);
|
|
178
|
-
if (typeof optionsOrCb === "function") {
|
|
179
|
-
this.send(command, optionsOrCb);
|
|
180
|
-
}
|
|
181
|
-
else if (typeof cb === "function") {
|
|
182
|
-
if (typeof optionsOrCb !== "object")
|
|
183
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
184
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
185
|
-
}
|
|
186
|
-
else {
|
|
187
|
-
return this.send(command, optionsOrCb);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
191
|
-
const command = new ListTagsForResourceCommand(args);
|
|
192
|
-
if (typeof optionsOrCb === "function") {
|
|
193
|
-
this.send(command, optionsOrCb);
|
|
194
|
-
}
|
|
195
|
-
else if (typeof cb === "function") {
|
|
196
|
-
if (typeof optionsOrCb !== "object")
|
|
197
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
198
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
199
|
-
}
|
|
200
|
-
else {
|
|
201
|
-
return this.send(command, optionsOrCb);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
rotateChannelCredentials(args, optionsOrCb, cb) {
|
|
205
|
-
const command = new RotateChannelCredentialsCommand(args);
|
|
206
|
-
if (typeof optionsOrCb === "function") {
|
|
207
|
-
this.send(command, optionsOrCb);
|
|
208
|
-
}
|
|
209
|
-
else if (typeof cb === "function") {
|
|
210
|
-
if (typeof optionsOrCb !== "object")
|
|
211
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
212
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
213
|
-
}
|
|
214
|
-
else {
|
|
215
|
-
return this.send(command, optionsOrCb);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
rotateIngestEndpointCredentials(args, optionsOrCb, cb) {
|
|
219
|
-
const command = new RotateIngestEndpointCredentialsCommand(args);
|
|
220
|
-
if (typeof optionsOrCb === "function") {
|
|
221
|
-
this.send(command, optionsOrCb);
|
|
222
|
-
}
|
|
223
|
-
else if (typeof cb === "function") {
|
|
224
|
-
if (typeof optionsOrCb !== "object")
|
|
225
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
226
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
227
|
-
}
|
|
228
|
-
else {
|
|
229
|
-
return this.send(command, optionsOrCb);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
tagResource(args, optionsOrCb, cb) {
|
|
233
|
-
const command = new TagResourceCommand(args);
|
|
234
|
-
if (typeof optionsOrCb === "function") {
|
|
235
|
-
this.send(command, optionsOrCb);
|
|
236
|
-
}
|
|
237
|
-
else if (typeof cb === "function") {
|
|
238
|
-
if (typeof optionsOrCb !== "object")
|
|
239
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
240
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
241
|
-
}
|
|
242
|
-
else {
|
|
243
|
-
return this.send(command, optionsOrCb);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
untagResource(args, optionsOrCb, cb) {
|
|
247
|
-
const command = new UntagResourceCommand(args);
|
|
248
|
-
if (typeof optionsOrCb === "function") {
|
|
249
|
-
this.send(command, optionsOrCb);
|
|
250
|
-
}
|
|
251
|
-
else if (typeof cb === "function") {
|
|
252
|
-
if (typeof optionsOrCb !== "object")
|
|
253
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
254
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
255
|
-
}
|
|
256
|
-
else {
|
|
257
|
-
return this.send(command, optionsOrCb);
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
updateChannel(args, optionsOrCb, cb) {
|
|
261
|
-
const command = new UpdateChannelCommand(args);
|
|
262
|
-
if (typeof optionsOrCb === "function") {
|
|
263
|
-
this.send(command, optionsOrCb);
|
|
264
|
-
}
|
|
265
|
-
else if (typeof cb === "function") {
|
|
266
|
-
if (typeof optionsOrCb !== "object")
|
|
267
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
268
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
269
|
-
}
|
|
270
|
-
else {
|
|
271
|
-
return this.send(command, optionsOrCb);
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
updateOriginEndpoint(args, optionsOrCb, cb) {
|
|
275
|
-
const command = new UpdateOriginEndpointCommand(args);
|
|
276
|
-
if (typeof optionsOrCb === "function") {
|
|
277
|
-
this.send(command, optionsOrCb);
|
|
278
|
-
}
|
|
279
|
-
else if (typeof cb === "function") {
|
|
280
|
-
if (typeof optionsOrCb !== "object")
|
|
281
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
282
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
283
|
-
}
|
|
284
|
-
else {
|
|
285
|
-
return this.send(command, optionsOrCb);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
44
|
}
|
|
45
|
+
createAggregatedClient(commands, MediaPackage);
|
|
@@ -19,141 +19,125 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
19
19
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
20
20
|
import { UpdateOriginEndpointCommandInput, UpdateOriginEndpointCommandOutput } from "./commands/UpdateOriginEndpointCommand";
|
|
21
21
|
import { MediaPackageClient } from "./MediaPackageClient";
|
|
22
|
-
|
|
23
|
-
* @public
|
|
24
|
-
* AWS Elemental MediaPackage
|
|
25
|
-
*/
|
|
26
|
-
export declare class MediaPackage extends MediaPackageClient {
|
|
22
|
+
export interface MediaPackage {
|
|
27
23
|
/**
|
|
28
|
-
* @
|
|
29
|
-
* Changes the Channel's properities to configure log subscription
|
|
24
|
+
* @see {@link ConfigureLogsCommand}
|
|
30
25
|
*/
|
|
31
26
|
configureLogs(args: ConfigureLogsCommandInput, options?: __HttpHandlerOptions): Promise<ConfigureLogsCommandOutput>;
|
|
32
27
|
configureLogs(args: ConfigureLogsCommandInput, cb: (err: any, data?: ConfigureLogsCommandOutput) => void): void;
|
|
33
28
|
configureLogs(args: ConfigureLogsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfigureLogsCommandOutput) => void): void;
|
|
34
29
|
/**
|
|
35
|
-
* @
|
|
36
|
-
* Creates a new Channel.
|
|
30
|
+
* @see {@link CreateChannelCommand}
|
|
37
31
|
*/
|
|
38
32
|
createChannel(args: CreateChannelCommandInput, options?: __HttpHandlerOptions): Promise<CreateChannelCommandOutput>;
|
|
39
33
|
createChannel(args: CreateChannelCommandInput, cb: (err: any, data?: CreateChannelCommandOutput) => void): void;
|
|
40
34
|
createChannel(args: CreateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChannelCommandOutput) => void): void;
|
|
41
35
|
/**
|
|
42
|
-
* @
|
|
43
|
-
* Creates a new HarvestJob record.
|
|
36
|
+
* @see {@link CreateHarvestJobCommand}
|
|
44
37
|
*/
|
|
45
38
|
createHarvestJob(args: CreateHarvestJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateHarvestJobCommandOutput>;
|
|
46
39
|
createHarvestJob(args: CreateHarvestJobCommandInput, cb: (err: any, data?: CreateHarvestJobCommandOutput) => void): void;
|
|
47
40
|
createHarvestJob(args: CreateHarvestJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHarvestJobCommandOutput) => void): void;
|
|
48
41
|
/**
|
|
49
|
-
* @
|
|
50
|
-
* Creates a new OriginEndpoint record.
|
|
42
|
+
* @see {@link CreateOriginEndpointCommand}
|
|
51
43
|
*/
|
|
52
44
|
createOriginEndpoint(args: CreateOriginEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateOriginEndpointCommandOutput>;
|
|
53
45
|
createOriginEndpoint(args: CreateOriginEndpointCommandInput, cb: (err: any, data?: CreateOriginEndpointCommandOutput) => void): void;
|
|
54
46
|
createOriginEndpoint(args: CreateOriginEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOriginEndpointCommandOutput) => void): void;
|
|
55
47
|
/**
|
|
56
|
-
* @
|
|
57
|
-
* Deletes an existing Channel.
|
|
48
|
+
* @see {@link DeleteChannelCommand}
|
|
58
49
|
*/
|
|
59
50
|
deleteChannel(args: DeleteChannelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelCommandOutput>;
|
|
60
51
|
deleteChannel(args: DeleteChannelCommandInput, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
|
|
61
52
|
deleteChannel(args: DeleteChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
|
|
62
53
|
/**
|
|
63
|
-
* @
|
|
64
|
-
* Deletes an existing OriginEndpoint.
|
|
54
|
+
* @see {@link DeleteOriginEndpointCommand}
|
|
65
55
|
*/
|
|
66
56
|
deleteOriginEndpoint(args: DeleteOriginEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteOriginEndpointCommandOutput>;
|
|
67
57
|
deleteOriginEndpoint(args: DeleteOriginEndpointCommandInput, cb: (err: any, data?: DeleteOriginEndpointCommandOutput) => void): void;
|
|
68
58
|
deleteOriginEndpoint(args: DeleteOriginEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOriginEndpointCommandOutput) => void): void;
|
|
69
59
|
/**
|
|
70
|
-
* @
|
|
71
|
-
* Gets details about a Channel.
|
|
60
|
+
* @see {@link DescribeChannelCommand}
|
|
72
61
|
*/
|
|
73
62
|
describeChannel(args: DescribeChannelCommandInput, options?: __HttpHandlerOptions): Promise<DescribeChannelCommandOutput>;
|
|
74
63
|
describeChannel(args: DescribeChannelCommandInput, cb: (err: any, data?: DescribeChannelCommandOutput) => void): void;
|
|
75
64
|
describeChannel(args: DescribeChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeChannelCommandOutput) => void): void;
|
|
76
65
|
/**
|
|
77
|
-
* @
|
|
78
|
-
* Gets details about an existing HarvestJob.
|
|
66
|
+
* @see {@link DescribeHarvestJobCommand}
|
|
79
67
|
*/
|
|
80
68
|
describeHarvestJob(args: DescribeHarvestJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeHarvestJobCommandOutput>;
|
|
81
69
|
describeHarvestJob(args: DescribeHarvestJobCommandInput, cb: (err: any, data?: DescribeHarvestJobCommandOutput) => void): void;
|
|
82
70
|
describeHarvestJob(args: DescribeHarvestJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeHarvestJobCommandOutput) => void): void;
|
|
83
71
|
/**
|
|
84
|
-
* @
|
|
85
|
-
* Gets details about an existing OriginEndpoint.
|
|
72
|
+
* @see {@link DescribeOriginEndpointCommand}
|
|
86
73
|
*/
|
|
87
74
|
describeOriginEndpoint(args: DescribeOriginEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DescribeOriginEndpointCommandOutput>;
|
|
88
75
|
describeOriginEndpoint(args: DescribeOriginEndpointCommandInput, cb: (err: any, data?: DescribeOriginEndpointCommandOutput) => void): void;
|
|
89
76
|
describeOriginEndpoint(args: DescribeOriginEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeOriginEndpointCommandOutput) => void): void;
|
|
90
77
|
/**
|
|
91
|
-
* @
|
|
92
|
-
* Returns a collection of Channels.
|
|
78
|
+
* @see {@link ListChannelsCommand}
|
|
93
79
|
*/
|
|
94
80
|
listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
|
|
95
81
|
listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
96
82
|
listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
97
83
|
/**
|
|
98
|
-
* @
|
|
99
|
-
* Returns a collection of HarvestJob records.
|
|
84
|
+
* @see {@link ListHarvestJobsCommand}
|
|
100
85
|
*/
|
|
101
86
|
listHarvestJobs(args: ListHarvestJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListHarvestJobsCommandOutput>;
|
|
102
87
|
listHarvestJobs(args: ListHarvestJobsCommandInput, cb: (err: any, data?: ListHarvestJobsCommandOutput) => void): void;
|
|
103
88
|
listHarvestJobs(args: ListHarvestJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHarvestJobsCommandOutput) => void): void;
|
|
104
89
|
/**
|
|
105
|
-
* @
|
|
106
|
-
* Returns a collection of OriginEndpoint records.
|
|
90
|
+
* @see {@link ListOriginEndpointsCommand}
|
|
107
91
|
*/
|
|
108
92
|
listOriginEndpoints(args: ListOriginEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListOriginEndpointsCommandOutput>;
|
|
109
93
|
listOriginEndpoints(args: ListOriginEndpointsCommandInput, cb: (err: any, data?: ListOriginEndpointsCommandOutput) => void): void;
|
|
110
94
|
listOriginEndpoints(args: ListOriginEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOriginEndpointsCommandOutput) => void): void;
|
|
111
95
|
/**
|
|
112
|
-
* @
|
|
96
|
+
* @see {@link ListTagsForResourceCommand}
|
|
113
97
|
*/
|
|
114
98
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
115
99
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
116
100
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
117
101
|
/**
|
|
118
|
-
* @
|
|
119
|
-
* @deprecated
|
|
120
|
-
*
|
|
121
|
-
* Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead
|
|
102
|
+
* @see {@link RotateChannelCredentialsCommand}
|
|
122
103
|
*/
|
|
123
104
|
rotateChannelCredentials(args: RotateChannelCredentialsCommandInput, options?: __HttpHandlerOptions): Promise<RotateChannelCredentialsCommandOutput>;
|
|
124
105
|
rotateChannelCredentials(args: RotateChannelCredentialsCommandInput, cb: (err: any, data?: RotateChannelCredentialsCommandOutput) => void): void;
|
|
125
106
|
rotateChannelCredentials(args: RotateChannelCredentialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RotateChannelCredentialsCommandOutput) => void): void;
|
|
126
107
|
/**
|
|
127
|
-
* @
|
|
128
|
-
* Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.
|
|
108
|
+
* @see {@link RotateIngestEndpointCredentialsCommand}
|
|
129
109
|
*/
|
|
130
110
|
rotateIngestEndpointCredentials(args: RotateIngestEndpointCredentialsCommandInput, options?: __HttpHandlerOptions): Promise<RotateIngestEndpointCredentialsCommandOutput>;
|
|
131
111
|
rotateIngestEndpointCredentials(args: RotateIngestEndpointCredentialsCommandInput, cb: (err: any, data?: RotateIngestEndpointCredentialsCommandOutput) => void): void;
|
|
132
112
|
rotateIngestEndpointCredentials(args: RotateIngestEndpointCredentialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RotateIngestEndpointCredentialsCommandOutput) => void): void;
|
|
133
113
|
/**
|
|
134
|
-
* @
|
|
114
|
+
* @see {@link TagResourceCommand}
|
|
135
115
|
*/
|
|
136
116
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
137
117
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
138
118
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
139
119
|
/**
|
|
140
|
-
* @
|
|
120
|
+
* @see {@link UntagResourceCommand}
|
|
141
121
|
*/
|
|
142
122
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
143
123
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
144
124
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
145
125
|
/**
|
|
146
|
-
* @
|
|
147
|
-
* Updates an existing Channel.
|
|
126
|
+
* @see {@link UpdateChannelCommand}
|
|
148
127
|
*/
|
|
149
128
|
updateChannel(args: UpdateChannelCommandInput, options?: __HttpHandlerOptions): Promise<UpdateChannelCommandOutput>;
|
|
150
129
|
updateChannel(args: UpdateChannelCommandInput, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
|
|
151
130
|
updateChannel(args: UpdateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
|
|
152
131
|
/**
|
|
153
|
-
* @
|
|
154
|
-
* Updates an existing OriginEndpoint.
|
|
132
|
+
* @see {@link UpdateOriginEndpointCommand}
|
|
155
133
|
*/
|
|
156
134
|
updateOriginEndpoint(args: UpdateOriginEndpointCommandInput, options?: __HttpHandlerOptions): Promise<UpdateOriginEndpointCommandOutput>;
|
|
157
135
|
updateOriginEndpoint(args: UpdateOriginEndpointCommandInput, cb: (err: any, data?: UpdateOriginEndpointCommandOutput) => void): void;
|
|
158
136
|
updateOriginEndpoint(args: UpdateOriginEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOriginEndpointCommandOutput) => void): void;
|
|
159
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* AWS Elemental MediaPackage
|
|
141
|
+
*/
|
|
142
|
+
export declare class MediaPackage extends MediaPackageClient implements MediaPackage {
|
|
143
|
+
}
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
UpdateOriginEndpointCommandOutput,
|
|
77
77
|
} from "./commands/UpdateOriginEndpointCommand";
|
|
78
78
|
import { MediaPackageClient } from "./MediaPackageClient";
|
|
79
|
-
export
|
|
79
|
+
export interface MediaPackage {
|
|
80
80
|
configureLogs(
|
|
81
81
|
args: ConfigureLogsCommandInput,
|
|
82
82
|
options?: __HttpHandlerOptions
|
|
@@ -325,3 +325,6 @@ export declare class MediaPackage extends MediaPackageClient {
|
|
|
325
325
|
cb: (err: any, data?: UpdateOriginEndpointCommandOutput) => void
|
|
326
326
|
): void;
|
|
327
327
|
}
|
|
328
|
+
export declare class MediaPackage
|
|
329
|
+
extends MediaPackageClient
|
|
330
|
+
implements MediaPackage {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediapackage",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediapackage Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.319.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|