@aws-sdk/client-chime-sdk-media-pipelines 3.315.0 → 3.317.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.
@@ -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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
- * @public
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
+ }
@@ -97,6 +97,7 @@ export interface CreateMediaInsightsPipelineConfigurationCommandOutput extends C
97
97
  * },
98
98
  * S3RecordingSinkConfiguration: { // S3RecordingSinkConfiguration
99
99
  * Destination: "STRING_VALUE",
100
+ * RecordingFileFormat: "Wav" || "Opus",
100
101
  * },
101
102
  * VoiceAnalyticsProcessorConfiguration: { // VoiceAnalyticsProcessorConfiguration
102
103
  * SpeakerSearchStatus: "Enabled" || "Disabled",
@@ -96,6 +96,7 @@ export interface UpdateMediaInsightsPipelineConfigurationCommandOutput extends U
96
96
  * },
97
97
  * S3RecordingSinkConfiguration: { // S3RecordingSinkConfiguration
98
98
  * Destination: "STRING_VALUE",
99
+ * RecordingFileFormat: "Wav" || "Opus",
99
100
  * },
100
101
  * VoiceAnalyticsProcessorConfiguration: { // VoiceAnalyticsProcessorConfiguration
101
102
  * SpeakerSearchStatus: "Enabled" || "Disabled",
@@ -57,7 +57,12 @@ export declare const ContentRedactionOutput: {
57
57
  export type ContentRedactionOutput = (typeof ContentRedactionOutput)[keyof typeof ContentRedactionOutput];
58
58
  /**
59
59
  * @public
60
- * <p>The settings for a post-call voice analytics task.</p>
60
+ * <p>Allows you to specify additional settings for your Call Analytics post-call request, including output locations for your redacted transcript, which IAM role to use, and which encryption key to use.</p>
61
+ * <p>
62
+ * <code>DataAccessRoleArn</code> and <code>OutputLocation</code> are required fields.</p>
63
+ * <p>
64
+ * <code>PostCallAnalyticsSettings</code> provides the same insights as a Call Analytics post-call transcription. For more information, refer to
65
+ * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tca-post-call.html">Post-call analytics with real-time transcriptions</a> in the <i>Amazon Transcribe Developer Guide</i>.</p>
61
66
  */
62
67
  export interface PostCallAnalyticsSettings {
63
68
  /**
@@ -74,7 +79,7 @@ export interface PostCallAnalyticsSettings {
74
79
  */
75
80
  ContentRedactionOutput?: ContentRedactionOutput | string;
76
81
  /**
77
- * <p>The ID of the KMS (Key Management System) key used to encrypt the output.</p>
82
+ * <p>The ID of the KMS (Key Management Service) key used to encrypt the output.</p>
78
83
  */
79
84
  OutputEncryptionKMSKeyId?: string;
80
85
  }
@@ -182,7 +187,7 @@ export interface AmazonTranscribeCallAnalyticsProcessorConfiguration {
182
187
  */
183
188
  PostCallAnalyticsSettings?: PostCallAnalyticsSettings;
184
189
  /**
185
- * <p>By default, all <code>CategoryEvents</code> will be sent to the insights target. If this parameter is specified, only included categories will be sent to the insights target. </p>
190
+ * <p>By default, all <code>CategoryEvents</code> are sent to the insights target. If this parameter is specified, only included categories are sent to the insights target. </p>
186
191
  */
187
192
  CallAnalyticsStreamCategories?: string[];
188
193
  }
@@ -261,7 +266,7 @@ export interface AmazonTranscribeProcessorConfiguration {
261
266
  * <p>Values must be comma-separated and can include: <code>ADDRESS</code>, <code>BANK_ACCOUNT_NUMBER</code>, <code>BANK_ROUTING</code>, <code>CREDIT_DEBIT_CVV</code>,
262
267
  * <code>CREDIT_DEBIT_EXPIRY</code>, <code>CREDIT_DEBIT_NUMBER</code>, <code>EMAIL</code>,
263
268
  * <code>NAME</code>, <code>PHONE</code>, <code>PIN</code>, <code>SSN</code>, or <code>ALL</code>.</p>
264
- * <p>Length Constraints: Minimum length of 1. Maximum length of 300.</p>
269
+ * <p>If you leave this parameter empty, the default behavior is equivalent to <code>ALL</code>.</p>
265
270
  */
266
271
  PiiEntityTypes?: string;
267
272
  /**
@@ -459,7 +464,7 @@ export declare const PresenterPosition: {
459
464
  export type PresenterPosition = (typeof PresenterPosition)[keyof typeof PresenterPosition];
460
465
  /**
461
466
  * @public
462
- * <p>Defines the configuration for a presenter only video tile.</p>
467
+ * <p>Defines the configuration for a presenter-only video tile.</p>
463
468
  */
464
469
  export interface PresenterOnlyConfiguration {
465
470
  /**
@@ -1185,7 +1190,7 @@ export interface FragmentSelector {
1185
1190
  }
1186
1191
  /**
1187
1192
  * @public
1188
- * <p>A structure the holds the settings for recording audio and video.</p>
1193
+ * <p>A structure that holds the settings for recording media.</p>
1189
1194
  */
1190
1195
  export interface RecordingStreamConfiguration {
1191
1196
  /**
@@ -1286,15 +1291,15 @@ export declare const RecordingFileFormat: {
1286
1291
  export type RecordingFileFormat = (typeof RecordingFileFormat)[keyof typeof RecordingFileFormat];
1287
1292
  /**
1288
1293
  * @public
1289
- * <p>A structure that holds the settings for transmitting audio and video recordings to the runtime Amazon S3 bucket.</p>
1294
+ * <p>A structure that holds the settings for transmitting media files to the Amazon S3 bucket. If specified, the settings in this structure override any settings in <code>S3RecordingSinkConfiguration</code>.</p>
1290
1295
  */
1291
1296
  export interface S3RecordingSinkRuntimeConfiguration {
1292
1297
  /**
1293
- * <p>The URL of the S3 bucket used as the runtime sink.</p>
1298
+ * <p>The URI of the S3 bucket used as the sink.</p>
1294
1299
  */
1295
1300
  Destination: string | undefined;
1296
1301
  /**
1297
- * <p>The file formats for the audio and video files sent to the Amazon S3 bucket.</p>
1302
+ * <p>The file format for the media files sent to the Amazon S3 bucket.</p>
1298
1303
  */
1299
1304
  RecordingFileFormat: RecordingFileFormat | string | undefined;
1300
1305
  }
@@ -1407,7 +1412,7 @@ export declare class NotFoundException extends __BaseException {
1407
1412
  */
1408
1413
  export interface KinesisDataStreamSinkConfiguration {
1409
1414
  /**
1410
- * <p>The URL of the sink, <a href="https://aws.amazon.com/kinesis/data-streams/">https://aws.amazon.com/kinesis/data-streams/</a>.</p>
1415
+ * <p>The ARN of the sink.</p>
1411
1416
  */
1412
1417
  InsightsTarget?: string;
1413
1418
  }
@@ -1417,19 +1422,23 @@ export interface KinesisDataStreamSinkConfiguration {
1417
1422
  */
1418
1423
  export interface LambdaFunctionSinkConfiguration {
1419
1424
  /**
1420
- * <p>The URL of the sink, <a href="https://aws.amazon.com/kinesis/data-streams/">https://aws.amazon.com/kinesis/data-streams/</a>.</p>
1425
+ * <p>The ARN of the sink.</p>
1421
1426
  */
1422
1427
  InsightsTarget?: string;
1423
1428
  }
1424
1429
  /**
1425
1430
  * @public
1426
- * <p>The structure that holds the settings for transmitting audio and video to the Amazon S3 bucket.</p>
1431
+ * <p>The structure that holds the settings for transmitting media to the Amazon S3 bucket. These values are used as defaults if <code>S3RecordingSinkRuntimeConfiguration</code> is not specified.</p>
1427
1432
  */
1428
1433
  export interface S3RecordingSinkConfiguration {
1429
1434
  /**
1430
- * <p>The URL of the Amazon S3 bucket used as the recording sink.</p>
1435
+ * <p>The default URI of the Amazon S3 bucket used as the recording sink.</p>
1431
1436
  */
1432
1437
  Destination?: string;
1438
+ /**
1439
+ * <p>The default file format for the media files sent to the Amazon S3 bucket.</p>
1440
+ */
1441
+ RecordingFileFormat?: RecordingFileFormat | string;
1433
1442
  }
1434
1443
  /**
1435
1444
  * @public
@@ -1437,17 +1446,17 @@ export interface S3RecordingSinkConfiguration {
1437
1446
  */
1438
1447
  export interface SnsTopicSinkConfiguration {
1439
1448
  /**
1440
- * <p>The URL of the SNS sink, <a href="https://aws.amazon.com/kinesis/data-streams/">https://aws.amazon.com/kinesis/data-streams/</a>.</p>
1449
+ * <p>The ARN of the SNS sink.</p>
1441
1450
  */
1442
1451
  InsightsTarget?: string;
1443
1452
  }
1444
1453
  /**
1445
1454
  * @public
1446
- * <p>The URL of the SQS sink.</p>
1455
+ * <p>The configuration settings for the SQS sink.</p>
1447
1456
  */
1448
1457
  export interface SqsQueueSinkConfiguration {
1449
1458
  /**
1450
- * <p>The URL of the SQS sink, <a href="https://aws.amazon.com/kinesis/data-streams/">https://aws.amazon.com/kinesis/data-streams/</a>.</p>
1459
+ * <p>The ARN of the SQS sink.</p>
1451
1460
  */
1452
1461
  InsightsTarget?: string;
1453
1462
  }
@@ -76,7 +76,7 @@ import {
76
76
  UpdateMediaInsightsPipelineStatusCommandInput,
77
77
  UpdateMediaInsightsPipelineStatusCommandOutput,
78
78
  } from "./commands/UpdateMediaInsightsPipelineStatusCommand";
79
- export declare class ChimeSDKMediaPipelines extends ChimeSDKMediaPipelinesClient {
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 {}
@@ -481,6 +481,7 @@ export interface LambdaFunctionSinkConfiguration {
481
481
  }
482
482
  export interface S3RecordingSinkConfiguration {
483
483
  Destination?: string;
484
+ RecordingFileFormat?: RecordingFileFormat | string;
484
485
  }
485
486
  export interface SnsTopicSinkConfiguration {
486
487
  InsightsTarget?: string;
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.315.0",
4
+ "version": "3.317.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.315.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.315.0",
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.315.0",
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.315.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.315.0",
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",