@aws-sdk/client-chime-sdk-media-pipelines 3.315.0 → 3.316.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/ChimeSDKMediaPipelines.js +23 -266
- package/dist-cjs/protocols/Aws_restJson1.js +5 -5
- package/dist-es/ChimeSDKMediaPipelines.js +23 -266
- package/dist-es/protocols/Aws_restJson1.js +5 -5
- package/dist-types/ChimeSDKMediaPipelines.d.ts +27 -45
- package/dist-types/ts3.4/ChimeSDKMediaPipelines.d.ts +4 -1
- package/package.json +6 -6
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ChimeSDKMediaPipelines = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const ChimeSDKMediaPipelinesClient_1 = require("./ChimeSDKMediaPipelinesClient");
|
|
5
6
|
const CreateMediaCapturePipelineCommand_1 = require("./commands/CreateMediaCapturePipelineCommand");
|
|
6
7
|
const CreateMediaConcatenationPipelineCommand_1 = require("./commands/CreateMediaConcatenationPipelineCommand");
|
|
@@ -21,272 +22,28 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
21
22
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
22
23
|
const UpdateMediaInsightsPipelineConfigurationCommand_1 = require("./commands/UpdateMediaInsightsPipelineConfigurationCommand");
|
|
23
24
|
const UpdateMediaInsightsPipelineStatusCommand_1 = require("./commands/UpdateMediaInsightsPipelineStatusCommand");
|
|
25
|
+
const commands = {
|
|
26
|
+
CreateMediaCapturePipelineCommand: CreateMediaCapturePipelineCommand_1.CreateMediaCapturePipelineCommand,
|
|
27
|
+
CreateMediaConcatenationPipelineCommand: CreateMediaConcatenationPipelineCommand_1.CreateMediaConcatenationPipelineCommand,
|
|
28
|
+
CreateMediaInsightsPipelineCommand: CreateMediaInsightsPipelineCommand_1.CreateMediaInsightsPipelineCommand,
|
|
29
|
+
CreateMediaInsightsPipelineConfigurationCommand: CreateMediaInsightsPipelineConfigurationCommand_1.CreateMediaInsightsPipelineConfigurationCommand,
|
|
30
|
+
CreateMediaLiveConnectorPipelineCommand: CreateMediaLiveConnectorPipelineCommand_1.CreateMediaLiveConnectorPipelineCommand,
|
|
31
|
+
DeleteMediaCapturePipelineCommand: DeleteMediaCapturePipelineCommand_1.DeleteMediaCapturePipelineCommand,
|
|
32
|
+
DeleteMediaInsightsPipelineConfigurationCommand: DeleteMediaInsightsPipelineConfigurationCommand_1.DeleteMediaInsightsPipelineConfigurationCommand,
|
|
33
|
+
DeleteMediaPipelineCommand: DeleteMediaPipelineCommand_1.DeleteMediaPipelineCommand,
|
|
34
|
+
GetMediaCapturePipelineCommand: GetMediaCapturePipelineCommand_1.GetMediaCapturePipelineCommand,
|
|
35
|
+
GetMediaInsightsPipelineConfigurationCommand: GetMediaInsightsPipelineConfigurationCommand_1.GetMediaInsightsPipelineConfigurationCommand,
|
|
36
|
+
GetMediaPipelineCommand: GetMediaPipelineCommand_1.GetMediaPipelineCommand,
|
|
37
|
+
ListMediaCapturePipelinesCommand: ListMediaCapturePipelinesCommand_1.ListMediaCapturePipelinesCommand,
|
|
38
|
+
ListMediaInsightsPipelineConfigurationsCommand: ListMediaInsightsPipelineConfigurationsCommand_1.ListMediaInsightsPipelineConfigurationsCommand,
|
|
39
|
+
ListMediaPipelinesCommand: ListMediaPipelinesCommand_1.ListMediaPipelinesCommand,
|
|
40
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
41
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
42
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
43
|
+
UpdateMediaInsightsPipelineConfigurationCommand: UpdateMediaInsightsPipelineConfigurationCommand_1.UpdateMediaInsightsPipelineConfigurationCommand,
|
|
44
|
+
UpdateMediaInsightsPipelineStatusCommand: UpdateMediaInsightsPipelineStatusCommand_1.UpdateMediaInsightsPipelineStatusCommand,
|
|
45
|
+
};
|
|
24
46
|
class ChimeSDKMediaPipelines extends ChimeSDKMediaPipelinesClient_1.ChimeSDKMediaPipelinesClient {
|
|
25
|
-
createMediaCapturePipeline(args, optionsOrCb, cb) {
|
|
26
|
-
const command = new CreateMediaCapturePipelineCommand_1.CreateMediaCapturePipelineCommand(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
|
-
createMediaConcatenationPipeline(args, optionsOrCb, cb) {
|
|
40
|
-
const command = new CreateMediaConcatenationPipelineCommand_1.CreateMediaConcatenationPipelineCommand(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
|
-
createMediaInsightsPipeline(args, optionsOrCb, cb) {
|
|
54
|
-
const command = new CreateMediaInsightsPipelineCommand_1.CreateMediaInsightsPipelineCommand(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
|
-
createMediaInsightsPipelineConfiguration(args, optionsOrCb, cb) {
|
|
68
|
-
const command = new CreateMediaInsightsPipelineConfigurationCommand_1.CreateMediaInsightsPipelineConfigurationCommand(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
|
-
createMediaLiveConnectorPipeline(args, optionsOrCb, cb) {
|
|
82
|
-
const command = new CreateMediaLiveConnectorPipelineCommand_1.CreateMediaLiveConnectorPipelineCommand(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
|
-
deleteMediaCapturePipeline(args, optionsOrCb, cb) {
|
|
96
|
-
const command = new DeleteMediaCapturePipelineCommand_1.DeleteMediaCapturePipelineCommand(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
|
-
deleteMediaInsightsPipelineConfiguration(args, optionsOrCb, cb) {
|
|
110
|
-
const command = new DeleteMediaInsightsPipelineConfigurationCommand_1.DeleteMediaInsightsPipelineConfigurationCommand(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
|
-
deleteMediaPipeline(args, optionsOrCb, cb) {
|
|
124
|
-
const command = new DeleteMediaPipelineCommand_1.DeleteMediaPipelineCommand(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
|
-
getMediaCapturePipeline(args, optionsOrCb, cb) {
|
|
138
|
-
const command = new GetMediaCapturePipelineCommand_1.GetMediaCapturePipelineCommand(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
|
-
getMediaInsightsPipelineConfiguration(args, optionsOrCb, cb) {
|
|
152
|
-
const command = new GetMediaInsightsPipelineConfigurationCommand_1.GetMediaInsightsPipelineConfigurationCommand(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
|
-
getMediaPipeline(args, optionsOrCb, cb) {
|
|
166
|
-
const command = new GetMediaPipelineCommand_1.GetMediaPipelineCommand(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
|
-
listMediaCapturePipelines(args, optionsOrCb, cb) {
|
|
180
|
-
const command = new ListMediaCapturePipelinesCommand_1.ListMediaCapturePipelinesCommand(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
|
-
listMediaInsightsPipelineConfigurations(args, optionsOrCb, cb) {
|
|
194
|
-
const command = new ListMediaInsightsPipelineConfigurationsCommand_1.ListMediaInsightsPipelineConfigurationsCommand(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
|
-
listMediaPipelines(args, optionsOrCb, cb) {
|
|
208
|
-
const command = new ListMediaPipelinesCommand_1.ListMediaPipelinesCommand(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
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
222
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(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
|
-
updateMediaInsightsPipelineConfiguration(args, optionsOrCb, cb) {
|
|
264
|
-
const command = new UpdateMediaInsightsPipelineConfigurationCommand_1.UpdateMediaInsightsPipelineConfigurationCommand(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
|
-
updateMediaInsightsPipelineStatus(args, optionsOrCb, cb) {
|
|
278
|
-
const command = new UpdateMediaInsightsPipelineStatusCommand_1.UpdateMediaInsightsPipelineStatusCommand(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.ChimeSDKMediaPipelines = ChimeSDKMediaPipelines;
|
|
49
|
+
(0, smithy_client_1.createAggregatedClient)(commands, ChimeSDKMediaPipelines);
|
|
@@ -15,7 +15,7 @@ const se_CreateMediaCapturePipelineCommand = async (input, context) => {
|
|
|
15
15
|
let body;
|
|
16
16
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
17
17
|
ChimeSdkMeetingConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
18
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
18
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
19
19
|
SinkArn: [],
|
|
20
20
|
SinkType: [],
|
|
21
21
|
SourceArn: [],
|
|
@@ -41,7 +41,7 @@ const se_CreateMediaConcatenationPipelineCommand = async (input, context) => {
|
|
|
41
41
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-concatenation-pipelines";
|
|
42
42
|
let body;
|
|
43
43
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
44
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
44
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
45
45
|
Sinks: (_) => (0, smithy_client_1._json)(_),
|
|
46
46
|
Sources: (_) => (0, smithy_client_1._json)(_),
|
|
47
47
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -65,7 +65,7 @@ const se_CreateMediaInsightsPipelineCommand = async (input, context) => {
|
|
|
65
65
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/media-insights-pipelines";
|
|
66
66
|
let body;
|
|
67
67
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
68
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
68
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
69
69
|
KinesisVideoStreamRecordingSourceRuntimeConfiguration: (_) => se_KinesisVideoStreamRecordingSourceRuntimeConfiguration(_, context),
|
|
70
70
|
KinesisVideoStreamSourceRuntimeConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
71
71
|
MediaInsightsPipelineConfigurationArn: [],
|
|
@@ -92,7 +92,7 @@ const se_CreateMediaInsightsPipelineConfigurationCommand = async (input, context
|
|
|
92
92
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/media-insights-pipeline-configurations";
|
|
93
93
|
let body;
|
|
94
94
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
95
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
95
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
96
96
|
Elements: (_) => (0, smithy_client_1._json)(_),
|
|
97
97
|
MediaInsightsPipelineConfigurationName: [],
|
|
98
98
|
RealTimeAlertConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -118,7 +118,7 @@ const se_CreateMediaLiveConnectorPipelineCommand = async (input, context) => {
|
|
|
118
118
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-live-connector-pipelines";
|
|
119
119
|
let body;
|
|
120
120
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
121
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
121
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
122
122
|
Sinks: (_) => (0, smithy_client_1._json)(_),
|
|
123
123
|
Sources: (_) => (0, smithy_client_1._json)(_),
|
|
124
124
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { ChimeSDKMediaPipelinesClient } from "./ChimeSDKMediaPipelinesClient";
|
|
2
3
|
import { CreateMediaCapturePipelineCommand, } from "./commands/CreateMediaCapturePipelineCommand";
|
|
3
4
|
import { CreateMediaConcatenationPipelineCommand, } from "./commands/CreateMediaConcatenationPipelineCommand";
|
|
@@ -18,271 +19,27 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
18
19
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
19
20
|
import { UpdateMediaInsightsPipelineConfigurationCommand, } from "./commands/UpdateMediaInsightsPipelineConfigurationCommand";
|
|
20
21
|
import { UpdateMediaInsightsPipelineStatusCommand, } from "./commands/UpdateMediaInsightsPipelineStatusCommand";
|
|
22
|
+
const commands = {
|
|
23
|
+
CreateMediaCapturePipelineCommand,
|
|
24
|
+
CreateMediaConcatenationPipelineCommand,
|
|
25
|
+
CreateMediaInsightsPipelineCommand,
|
|
26
|
+
CreateMediaInsightsPipelineConfigurationCommand,
|
|
27
|
+
CreateMediaLiveConnectorPipelineCommand,
|
|
28
|
+
DeleteMediaCapturePipelineCommand,
|
|
29
|
+
DeleteMediaInsightsPipelineConfigurationCommand,
|
|
30
|
+
DeleteMediaPipelineCommand,
|
|
31
|
+
GetMediaCapturePipelineCommand,
|
|
32
|
+
GetMediaInsightsPipelineConfigurationCommand,
|
|
33
|
+
GetMediaPipelineCommand,
|
|
34
|
+
ListMediaCapturePipelinesCommand,
|
|
35
|
+
ListMediaInsightsPipelineConfigurationsCommand,
|
|
36
|
+
ListMediaPipelinesCommand,
|
|
37
|
+
ListTagsForResourceCommand,
|
|
38
|
+
TagResourceCommand,
|
|
39
|
+
UntagResourceCommand,
|
|
40
|
+
UpdateMediaInsightsPipelineConfigurationCommand,
|
|
41
|
+
UpdateMediaInsightsPipelineStatusCommand,
|
|
42
|
+
};
|
|
21
43
|
export class ChimeSDKMediaPipelines extends ChimeSDKMediaPipelinesClient {
|
|
22
|
-
createMediaCapturePipeline(args, optionsOrCb, cb) {
|
|
23
|
-
const command = new CreateMediaCapturePipelineCommand(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
|
-
createMediaConcatenationPipeline(args, optionsOrCb, cb) {
|
|
37
|
-
const command = new CreateMediaConcatenationPipelineCommand(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
|
-
createMediaInsightsPipeline(args, optionsOrCb, cb) {
|
|
51
|
-
const command = new CreateMediaInsightsPipelineCommand(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
|
-
createMediaInsightsPipelineConfiguration(args, optionsOrCb, cb) {
|
|
65
|
-
const command = new CreateMediaInsightsPipelineConfigurationCommand(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
|
-
createMediaLiveConnectorPipeline(args, optionsOrCb, cb) {
|
|
79
|
-
const command = new CreateMediaLiveConnectorPipelineCommand(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
|
-
deleteMediaCapturePipeline(args, optionsOrCb, cb) {
|
|
93
|
-
const command = new DeleteMediaCapturePipelineCommand(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
|
-
deleteMediaInsightsPipelineConfiguration(args, optionsOrCb, cb) {
|
|
107
|
-
const command = new DeleteMediaInsightsPipelineConfigurationCommand(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
|
-
deleteMediaPipeline(args, optionsOrCb, cb) {
|
|
121
|
-
const command = new DeleteMediaPipelineCommand(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
|
-
getMediaCapturePipeline(args, optionsOrCb, cb) {
|
|
135
|
-
const command = new GetMediaCapturePipelineCommand(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
|
-
getMediaInsightsPipelineConfiguration(args, optionsOrCb, cb) {
|
|
149
|
-
const command = new GetMediaInsightsPipelineConfigurationCommand(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
|
-
getMediaPipeline(args, optionsOrCb, cb) {
|
|
163
|
-
const command = new GetMediaPipelineCommand(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
|
-
listMediaCapturePipelines(args, optionsOrCb, cb) {
|
|
177
|
-
const command = new ListMediaCapturePipelinesCommand(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
|
-
listMediaInsightsPipelineConfigurations(args, optionsOrCb, cb) {
|
|
191
|
-
const command = new ListMediaInsightsPipelineConfigurationsCommand(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
|
-
listMediaPipelines(args, optionsOrCb, cb) {
|
|
205
|
-
const command = new ListMediaPipelinesCommand(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
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
219
|
-
const command = new ListTagsForResourceCommand(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
|
-
updateMediaInsightsPipelineConfiguration(args, optionsOrCb, cb) {
|
|
261
|
-
const command = new UpdateMediaInsightsPipelineConfigurationCommand(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
|
-
updateMediaInsightsPipelineStatus(args, optionsOrCb, cb) {
|
|
275
|
-
const command = new UpdateMediaInsightsPipelineStatusCommand(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, ChimeSDKMediaPipelines);
|
|
@@ -12,7 +12,7 @@ export const se_CreateMediaCapturePipelineCommand = async (input, context) => {
|
|
|
12
12
|
let body;
|
|
13
13
|
body = JSON.stringify(take(input, {
|
|
14
14
|
ChimeSdkMeetingConfiguration: (_) => _json(_),
|
|
15
|
-
ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
|
|
15
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
16
16
|
SinkArn: [],
|
|
17
17
|
SinkType: [],
|
|
18
18
|
SourceArn: [],
|
|
@@ -37,7 +37,7 @@ export const se_CreateMediaConcatenationPipelineCommand = async (input, context)
|
|
|
37
37
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-concatenation-pipelines";
|
|
38
38
|
let body;
|
|
39
39
|
body = JSON.stringify(take(input, {
|
|
40
|
-
ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
|
|
40
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
41
41
|
Sinks: (_) => _json(_),
|
|
42
42
|
Sources: (_) => _json(_),
|
|
43
43
|
Tags: (_) => _json(_),
|
|
@@ -60,7 +60,7 @@ export const se_CreateMediaInsightsPipelineCommand = async (input, context) => {
|
|
|
60
60
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/media-insights-pipelines";
|
|
61
61
|
let body;
|
|
62
62
|
body = JSON.stringify(take(input, {
|
|
63
|
-
ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
|
|
63
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
64
64
|
KinesisVideoStreamRecordingSourceRuntimeConfiguration: (_) => se_KinesisVideoStreamRecordingSourceRuntimeConfiguration(_, context),
|
|
65
65
|
KinesisVideoStreamSourceRuntimeConfiguration: (_) => _json(_),
|
|
66
66
|
MediaInsightsPipelineConfigurationArn: [],
|
|
@@ -86,7 +86,7 @@ export const se_CreateMediaInsightsPipelineConfigurationCommand = async (input,
|
|
|
86
86
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/media-insights-pipeline-configurations";
|
|
87
87
|
let body;
|
|
88
88
|
body = JSON.stringify(take(input, {
|
|
89
|
-
ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
|
|
89
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
90
90
|
Elements: (_) => _json(_),
|
|
91
91
|
MediaInsightsPipelineConfigurationName: [],
|
|
92
92
|
RealTimeAlertConfiguration: (_) => _json(_),
|
|
@@ -111,7 +111,7 @@ export const se_CreateMediaLiveConnectorPipelineCommand = async (input, context)
|
|
|
111
111
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-live-connector-pipelines";
|
|
112
112
|
let body;
|
|
113
113
|
body = JSON.stringify(take(input, {
|
|
114
|
-
ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
|
|
114
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
115
115
|
Sinks: (_) => _json(_),
|
|
116
116
|
Sources: (_) => _json(_),
|
|
117
117
|
Tags: (_) => _json(_),
|
|
@@ -19,144 +19,126 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
19
19
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
20
20
|
import { UpdateMediaInsightsPipelineConfigurationCommandInput, UpdateMediaInsightsPipelineConfigurationCommandOutput } from "./commands/UpdateMediaInsightsPipelineConfigurationCommand";
|
|
21
21
|
import { UpdateMediaInsightsPipelineStatusCommandInput, UpdateMediaInsightsPipelineStatusCommandOutput } from "./commands/UpdateMediaInsightsPipelineStatusCommand";
|
|
22
|
-
|
|
23
|
-
* @public
|
|
24
|
-
* <p>The Amazon Chime SDK media pipeline APIs in this section allow software developers to
|
|
25
|
-
* create Amazon Chime SDK media pipelines that capture, concatenate, or stream your Amazon Chime SDK meetings. For more information about media pipelines, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_Operations_Amazon_Chime_SDK_Media_Pipelines.html">Amazon Chime SDK media pipelines</a>. </p>
|
|
26
|
-
*/
|
|
27
|
-
export declare class ChimeSDKMediaPipelines extends ChimeSDKMediaPipelinesClient {
|
|
22
|
+
export interface ChimeSDKMediaPipelines {
|
|
28
23
|
/**
|
|
29
|
-
* @
|
|
30
|
-
* <p>Creates a media pipeline.</p>
|
|
24
|
+
* @see {@link CreateMediaCapturePipelineCommand}
|
|
31
25
|
*/
|
|
32
26
|
createMediaCapturePipeline(args: CreateMediaCapturePipelineCommandInput, options?: __HttpHandlerOptions): Promise<CreateMediaCapturePipelineCommandOutput>;
|
|
33
27
|
createMediaCapturePipeline(args: CreateMediaCapturePipelineCommandInput, cb: (err: any, data?: CreateMediaCapturePipelineCommandOutput) => void): void;
|
|
34
28
|
createMediaCapturePipeline(args: CreateMediaCapturePipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMediaCapturePipelineCommandOutput) => void): void;
|
|
35
29
|
/**
|
|
36
|
-
* @
|
|
37
|
-
* <p>Creates a media concatenation pipeline.</p>
|
|
30
|
+
* @see {@link CreateMediaConcatenationPipelineCommand}
|
|
38
31
|
*/
|
|
39
32
|
createMediaConcatenationPipeline(args: CreateMediaConcatenationPipelineCommandInput, options?: __HttpHandlerOptions): Promise<CreateMediaConcatenationPipelineCommandOutput>;
|
|
40
33
|
createMediaConcatenationPipeline(args: CreateMediaConcatenationPipelineCommandInput, cb: (err: any, data?: CreateMediaConcatenationPipelineCommandOutput) => void): void;
|
|
41
34
|
createMediaConcatenationPipeline(args: CreateMediaConcatenationPipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMediaConcatenationPipelineCommandOutput) => void): void;
|
|
42
35
|
/**
|
|
43
|
-
* @
|
|
44
|
-
* <p>Creates a media insights pipeline.</p>
|
|
36
|
+
* @see {@link CreateMediaInsightsPipelineCommand}
|
|
45
37
|
*/
|
|
46
38
|
createMediaInsightsPipeline(args: CreateMediaInsightsPipelineCommandInput, options?: __HttpHandlerOptions): Promise<CreateMediaInsightsPipelineCommandOutput>;
|
|
47
39
|
createMediaInsightsPipeline(args: CreateMediaInsightsPipelineCommandInput, cb: (err: any, data?: CreateMediaInsightsPipelineCommandOutput) => void): void;
|
|
48
40
|
createMediaInsightsPipeline(args: CreateMediaInsightsPipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMediaInsightsPipelineCommandOutput) => void): void;
|
|
49
41
|
/**
|
|
50
|
-
* @
|
|
51
|
-
* <p>A structure that contains the static configurations for a media insights
|
|
52
|
-
* pipeline.</p>
|
|
42
|
+
* @see {@link CreateMediaInsightsPipelineConfigurationCommand}
|
|
53
43
|
*/
|
|
54
44
|
createMediaInsightsPipelineConfiguration(args: CreateMediaInsightsPipelineConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateMediaInsightsPipelineConfigurationCommandOutput>;
|
|
55
45
|
createMediaInsightsPipelineConfiguration(args: CreateMediaInsightsPipelineConfigurationCommandInput, cb: (err: any, data?: CreateMediaInsightsPipelineConfigurationCommandOutput) => void): void;
|
|
56
46
|
createMediaInsightsPipelineConfiguration(args: CreateMediaInsightsPipelineConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMediaInsightsPipelineConfigurationCommandOutput) => void): void;
|
|
57
47
|
/**
|
|
58
|
-
* @
|
|
59
|
-
* <p>Creates a media live connector pipeline in an Amazon Chime SDK meeting.</p>
|
|
48
|
+
* @see {@link CreateMediaLiveConnectorPipelineCommand}
|
|
60
49
|
*/
|
|
61
50
|
createMediaLiveConnectorPipeline(args: CreateMediaLiveConnectorPipelineCommandInput, options?: __HttpHandlerOptions): Promise<CreateMediaLiveConnectorPipelineCommandOutput>;
|
|
62
51
|
createMediaLiveConnectorPipeline(args: CreateMediaLiveConnectorPipelineCommandInput, cb: (err: any, data?: CreateMediaLiveConnectorPipelineCommandOutput) => void): void;
|
|
63
52
|
createMediaLiveConnectorPipeline(args: CreateMediaLiveConnectorPipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMediaLiveConnectorPipelineCommandOutput) => void): void;
|
|
64
53
|
/**
|
|
65
|
-
* @
|
|
66
|
-
* <p>Deletes the media pipeline.</p>
|
|
54
|
+
* @see {@link DeleteMediaCapturePipelineCommand}
|
|
67
55
|
*/
|
|
68
56
|
deleteMediaCapturePipeline(args: DeleteMediaCapturePipelineCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMediaCapturePipelineCommandOutput>;
|
|
69
57
|
deleteMediaCapturePipeline(args: DeleteMediaCapturePipelineCommandInput, cb: (err: any, data?: DeleteMediaCapturePipelineCommandOutput) => void): void;
|
|
70
58
|
deleteMediaCapturePipeline(args: DeleteMediaCapturePipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMediaCapturePipelineCommandOutput) => void): void;
|
|
71
59
|
/**
|
|
72
|
-
* @
|
|
73
|
-
* <p>Deletes the specified configuration settings.</p>
|
|
60
|
+
* @see {@link DeleteMediaInsightsPipelineConfigurationCommand}
|
|
74
61
|
*/
|
|
75
62
|
deleteMediaInsightsPipelineConfiguration(args: DeleteMediaInsightsPipelineConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMediaInsightsPipelineConfigurationCommandOutput>;
|
|
76
63
|
deleteMediaInsightsPipelineConfiguration(args: DeleteMediaInsightsPipelineConfigurationCommandInput, cb: (err: any, data?: DeleteMediaInsightsPipelineConfigurationCommandOutput) => void): void;
|
|
77
64
|
deleteMediaInsightsPipelineConfiguration(args: DeleteMediaInsightsPipelineConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMediaInsightsPipelineConfigurationCommandOutput) => void): void;
|
|
78
65
|
/**
|
|
79
|
-
* @
|
|
80
|
-
* <p>Deletes the media pipeline.</p>
|
|
66
|
+
* @see {@link DeleteMediaPipelineCommand}
|
|
81
67
|
*/
|
|
82
68
|
deleteMediaPipeline(args: DeleteMediaPipelineCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMediaPipelineCommandOutput>;
|
|
83
69
|
deleteMediaPipeline(args: DeleteMediaPipelineCommandInput, cb: (err: any, data?: DeleteMediaPipelineCommandOutput) => void): void;
|
|
84
70
|
deleteMediaPipeline(args: DeleteMediaPipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMediaPipelineCommandOutput) => void): void;
|
|
85
71
|
/**
|
|
86
|
-
* @
|
|
87
|
-
* <p>Gets an existing media pipeline.</p>
|
|
72
|
+
* @see {@link GetMediaCapturePipelineCommand}
|
|
88
73
|
*/
|
|
89
74
|
getMediaCapturePipeline(args: GetMediaCapturePipelineCommandInput, options?: __HttpHandlerOptions): Promise<GetMediaCapturePipelineCommandOutput>;
|
|
90
75
|
getMediaCapturePipeline(args: GetMediaCapturePipelineCommandInput, cb: (err: any, data?: GetMediaCapturePipelineCommandOutput) => void): void;
|
|
91
76
|
getMediaCapturePipeline(args: GetMediaCapturePipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMediaCapturePipelineCommandOutput) => void): void;
|
|
92
77
|
/**
|
|
93
|
-
* @
|
|
94
|
-
* <p>Gets the configuration settings for a media insights pipeline.</p>
|
|
78
|
+
* @see {@link GetMediaInsightsPipelineConfigurationCommand}
|
|
95
79
|
*/
|
|
96
80
|
getMediaInsightsPipelineConfiguration(args: GetMediaInsightsPipelineConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetMediaInsightsPipelineConfigurationCommandOutput>;
|
|
97
81
|
getMediaInsightsPipelineConfiguration(args: GetMediaInsightsPipelineConfigurationCommandInput, cb: (err: any, data?: GetMediaInsightsPipelineConfigurationCommandOutput) => void): void;
|
|
98
82
|
getMediaInsightsPipelineConfiguration(args: GetMediaInsightsPipelineConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMediaInsightsPipelineConfigurationCommandOutput) => void): void;
|
|
99
83
|
/**
|
|
100
|
-
* @
|
|
101
|
-
* <p>Gets an existing media pipeline.</p>
|
|
84
|
+
* @see {@link GetMediaPipelineCommand}
|
|
102
85
|
*/
|
|
103
86
|
getMediaPipeline(args: GetMediaPipelineCommandInput, options?: __HttpHandlerOptions): Promise<GetMediaPipelineCommandOutput>;
|
|
104
87
|
getMediaPipeline(args: GetMediaPipelineCommandInput, cb: (err: any, data?: GetMediaPipelineCommandOutput) => void): void;
|
|
105
88
|
getMediaPipeline(args: GetMediaPipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMediaPipelineCommandOutput) => void): void;
|
|
106
89
|
/**
|
|
107
|
-
* @
|
|
108
|
-
* <p>Returns a list of media pipelines.</p>
|
|
90
|
+
* @see {@link ListMediaCapturePipelinesCommand}
|
|
109
91
|
*/
|
|
110
92
|
listMediaCapturePipelines(args: ListMediaCapturePipelinesCommandInput, options?: __HttpHandlerOptions): Promise<ListMediaCapturePipelinesCommandOutput>;
|
|
111
93
|
listMediaCapturePipelines(args: ListMediaCapturePipelinesCommandInput, cb: (err: any, data?: ListMediaCapturePipelinesCommandOutput) => void): void;
|
|
112
94
|
listMediaCapturePipelines(args: ListMediaCapturePipelinesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMediaCapturePipelinesCommandOutput) => void): void;
|
|
113
95
|
/**
|
|
114
|
-
* @
|
|
115
|
-
* <p>Lists the available media insights pipeline configurations.</p>
|
|
96
|
+
* @see {@link ListMediaInsightsPipelineConfigurationsCommand}
|
|
116
97
|
*/
|
|
117
98
|
listMediaInsightsPipelineConfigurations(args: ListMediaInsightsPipelineConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListMediaInsightsPipelineConfigurationsCommandOutput>;
|
|
118
99
|
listMediaInsightsPipelineConfigurations(args: ListMediaInsightsPipelineConfigurationsCommandInput, cb: (err: any, data?: ListMediaInsightsPipelineConfigurationsCommandOutput) => void): void;
|
|
119
100
|
listMediaInsightsPipelineConfigurations(args: ListMediaInsightsPipelineConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMediaInsightsPipelineConfigurationsCommandOutput) => void): void;
|
|
120
101
|
/**
|
|
121
|
-
* @
|
|
122
|
-
* <p>Returns a list of media pipelines.</p>
|
|
102
|
+
* @see {@link ListMediaPipelinesCommand}
|
|
123
103
|
*/
|
|
124
104
|
listMediaPipelines(args: ListMediaPipelinesCommandInput, options?: __HttpHandlerOptions): Promise<ListMediaPipelinesCommandOutput>;
|
|
125
105
|
listMediaPipelines(args: ListMediaPipelinesCommandInput, cb: (err: any, data?: ListMediaPipelinesCommandOutput) => void): void;
|
|
126
106
|
listMediaPipelines(args: ListMediaPipelinesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMediaPipelinesCommandOutput) => void): void;
|
|
127
107
|
/**
|
|
128
|
-
* @
|
|
129
|
-
* <p>Lists the tags available for a media pipeline.</p>
|
|
108
|
+
* @see {@link ListTagsForResourceCommand}
|
|
130
109
|
*/
|
|
131
110
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
132
111
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
133
112
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
134
113
|
/**
|
|
135
|
-
* @
|
|
136
|
-
* <p>The ARN of the media pipeline that you want to tag. Consists of the pipeline's endpoint region, resource ID, and pipeline ID.</p>
|
|
114
|
+
* @see {@link TagResourceCommand}
|
|
137
115
|
*/
|
|
138
116
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
139
117
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
140
118
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
141
119
|
/**
|
|
142
|
-
* @
|
|
143
|
-
* <p>Removes any tags from a media pipeline.</p>
|
|
120
|
+
* @see {@link UntagResourceCommand}
|
|
144
121
|
*/
|
|
145
122
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
146
123
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
147
124
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
148
125
|
/**
|
|
149
|
-
* @
|
|
150
|
-
* <p>Updates the media insights pipeline's configuration settings.</p>
|
|
126
|
+
* @see {@link UpdateMediaInsightsPipelineConfigurationCommand}
|
|
151
127
|
*/
|
|
152
128
|
updateMediaInsightsPipelineConfiguration(args: UpdateMediaInsightsPipelineConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMediaInsightsPipelineConfigurationCommandOutput>;
|
|
153
129
|
updateMediaInsightsPipelineConfiguration(args: UpdateMediaInsightsPipelineConfigurationCommandInput, cb: (err: any, data?: UpdateMediaInsightsPipelineConfigurationCommandOutput) => void): void;
|
|
154
130
|
updateMediaInsightsPipelineConfiguration(args: UpdateMediaInsightsPipelineConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMediaInsightsPipelineConfigurationCommandOutput) => void): void;
|
|
155
131
|
/**
|
|
156
|
-
* @
|
|
157
|
-
* <p>Updates the status of a media insights pipeline.</p>
|
|
132
|
+
* @see {@link UpdateMediaInsightsPipelineStatusCommand}
|
|
158
133
|
*/
|
|
159
134
|
updateMediaInsightsPipelineStatus(args: UpdateMediaInsightsPipelineStatusCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMediaInsightsPipelineStatusCommandOutput>;
|
|
160
135
|
updateMediaInsightsPipelineStatus(args: UpdateMediaInsightsPipelineStatusCommandInput, cb: (err: any, data?: UpdateMediaInsightsPipelineStatusCommandOutput) => void): void;
|
|
161
136
|
updateMediaInsightsPipelineStatus(args: UpdateMediaInsightsPipelineStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMediaInsightsPipelineStatusCommandOutput) => void): void;
|
|
162
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* <p>The Amazon Chime SDK media pipeline APIs in this section allow software developers to
|
|
141
|
+
* create Amazon Chime SDK media pipelines that capture, concatenate, or stream your Amazon Chime SDK meetings. For more information about media pipelines, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_Operations_Amazon_Chime_SDK_Media_Pipelines.html">Amazon Chime SDK media pipelines</a>. </p>
|
|
142
|
+
*/
|
|
143
|
+
export declare class ChimeSDKMediaPipelines extends ChimeSDKMediaPipelinesClient implements ChimeSDKMediaPipelines {
|
|
144
|
+
}
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
UpdateMediaInsightsPipelineStatusCommandInput,
|
|
77
77
|
UpdateMediaInsightsPipelineStatusCommandOutput,
|
|
78
78
|
} from "./commands/UpdateMediaInsightsPipelineStatusCommand";
|
|
79
|
-
export
|
|
79
|
+
export interface ChimeSDKMediaPipelines {
|
|
80
80
|
createMediaCapturePipeline(
|
|
81
81
|
args: CreateMediaCapturePipelineCommandInput,
|
|
82
82
|
options?: __HttpHandlerOptions
|
|
@@ -361,3 +361,6 @@ export declare class ChimeSDKMediaPipelines extends ChimeSDKMediaPipelinesClient
|
|
|
361
361
|
) => void
|
|
362
362
|
): void;
|
|
363
363
|
}
|
|
364
|
+
export declare class ChimeSDKMediaPipelines
|
|
365
|
+
extends ChimeSDKMediaPipelinesClient
|
|
366
|
+
implements ChimeSDKMediaPipelines {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-chime-sdk-media-pipelines",
|
|
3
3
|
"description": "AWS SDK for JavaScript Chime Sdk Media Pipelines Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.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.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.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",
|
|
@@ -40,14 +40,14 @@
|
|
|
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.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|