@aws-sdk/client-ivs-realtime 3.645.0 → 3.648.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.
Files changed (47) hide show
  1. package/README.md +45 -5
  2. package/dist-cjs/index.js +315 -2
  3. package/dist-es/IVSRealTime.js +10 -0
  4. package/dist-es/commands/CreateIngestConfigurationCommand.js +25 -0
  5. package/dist-es/commands/DeleteIngestConfigurationCommand.js +24 -0
  6. package/dist-es/commands/GetIngestConfigurationCommand.js +25 -0
  7. package/dist-es/commands/ListIngestConfigurationsCommand.js +24 -0
  8. package/dist-es/commands/UpdateIngestConfigurationCommand.js +25 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +44 -0
  11. package/dist-es/pagination/ListIngestConfigurationsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +144 -0
  14. package/dist-types/IVSRealTime.d.ts +41 -5
  15. package/dist-types/IVSRealTimeClient.d.ts +12 -7
  16. package/dist-types/commands/CreateIngestConfigurationCommand.d.ts +97 -0
  17. package/dist-types/commands/CreateStageCommand.d.ts +2 -0
  18. package/dist-types/commands/DeleteIngestConfigurationCommand.d.ts +74 -0
  19. package/dist-types/commands/DeleteStageCommand.d.ts +3 -1
  20. package/dist-types/commands/DisconnectParticipantCommand.d.ts +3 -2
  21. package/dist-types/commands/GetIngestConfigurationCommand.d.ts +84 -0
  22. package/dist-types/commands/GetParticipantCommand.d.ts +1 -0
  23. package/dist-types/commands/GetStageCommand.d.ts +2 -0
  24. package/dist-types/commands/ListIngestConfigurationsCommand.d.ts +80 -0
  25. package/dist-types/commands/ListParticipantEventsCommand.d.ts +1 -1
  26. package/dist-types/commands/StartCompositionCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateIngestConfigurationCommand.d.ts +91 -0
  28. package/dist-types/commands/UpdateStageCommand.d.ts +2 -0
  29. package/dist-types/commands/index.d.ts +5 -0
  30. package/dist-types/index.d.ts +5 -5
  31. package/dist-types/models/models_0.d.ts +398 -60
  32. package/dist-types/pagination/ListIngestConfigurationsPaginator.d.ts +7 -0
  33. package/dist-types/pagination/index.d.ts +1 -0
  34. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  35. package/dist-types/ts3.4/IVSRealTime.d.ts +86 -0
  36. package/dist-types/ts3.4/IVSRealTimeClient.d.ts +30 -0
  37. package/dist-types/ts3.4/commands/CreateIngestConfigurationCommand.d.ts +40 -0
  38. package/dist-types/ts3.4/commands/DeleteIngestConfigurationCommand.d.ts +40 -0
  39. package/dist-types/ts3.4/commands/GetIngestConfigurationCommand.d.ts +40 -0
  40. package/dist-types/ts3.4/commands/ListIngestConfigurationsCommand.d.ts +40 -0
  41. package/dist-types/ts3.4/commands/UpdateIngestConfigurationCommand.d.ts +40 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +104 -0
  44. package/dist-types/ts3.4/pagination/ListIngestConfigurationsPaginator.d.ts +11 -0
  45. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  47. package/package.json +1 -1
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateIngestConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateIngestConfigurationCommand, se_CreateIngestConfigurationCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateIngestConfigurationCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonInteractiveVideoServiceRealTime", "CreateIngestConfiguration", {})
20
+ .n("IVSRealTimeClient", "CreateIngestConfigurationCommand")
21
+ .f(void 0, CreateIngestConfigurationResponseFilterSensitiveLog)
22
+ .ser(se_CreateIngestConfigurationCommand)
23
+ .de(de_CreateIngestConfigurationCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteIngestConfigurationCommand, se_DeleteIngestConfigurationCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteIngestConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonInteractiveVideoServiceRealTime", "DeleteIngestConfiguration", {})
19
+ .n("IVSRealTimeClient", "DeleteIngestConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteIngestConfigurationCommand)
22
+ .de(de_DeleteIngestConfigurationCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetIngestConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_GetIngestConfigurationCommand, se_GetIngestConfigurationCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class GetIngestConfigurationCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonInteractiveVideoServiceRealTime", "GetIngestConfiguration", {})
20
+ .n("IVSRealTimeClient", "GetIngestConfigurationCommand")
21
+ .f(void 0, GetIngestConfigurationResponseFilterSensitiveLog)
22
+ .ser(se_GetIngestConfigurationCommand)
23
+ .de(de_GetIngestConfigurationCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListIngestConfigurationsCommand, se_ListIngestConfigurationsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListIngestConfigurationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonInteractiveVideoServiceRealTime", "ListIngestConfigurations", {})
19
+ .n("IVSRealTimeClient", "ListIngestConfigurationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListIngestConfigurationsCommand)
22
+ .de(de_ListIngestConfigurationsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateIngestConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_UpdateIngestConfigurationCommand, se_UpdateIngestConfigurationCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class UpdateIngestConfigurationCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonInteractiveVideoServiceRealTime", "UpdateIngestConfiguration", {})
20
+ .n("IVSRealTimeClient", "UpdateIngestConfigurationCommand")
21
+ .f(void 0, UpdateIngestConfigurationResponseFilterSensitiveLog)
22
+ .ser(se_UpdateIngestConfigurationCommand)
23
+ .de(de_UpdateIngestConfigurationCommand)
24
+ .build() {
25
+ }
@@ -1,14 +1,17 @@
1
1
  export * from "./CreateEncoderConfigurationCommand";
2
+ export * from "./CreateIngestConfigurationCommand";
2
3
  export * from "./CreateParticipantTokenCommand";
3
4
  export * from "./CreateStageCommand";
4
5
  export * from "./CreateStorageConfigurationCommand";
5
6
  export * from "./DeleteEncoderConfigurationCommand";
7
+ export * from "./DeleteIngestConfigurationCommand";
6
8
  export * from "./DeletePublicKeyCommand";
7
9
  export * from "./DeleteStageCommand";
8
10
  export * from "./DeleteStorageConfigurationCommand";
9
11
  export * from "./DisconnectParticipantCommand";
10
12
  export * from "./GetCompositionCommand";
11
13
  export * from "./GetEncoderConfigurationCommand";
14
+ export * from "./GetIngestConfigurationCommand";
12
15
  export * from "./GetParticipantCommand";
13
16
  export * from "./GetPublicKeyCommand";
14
17
  export * from "./GetStageCommand";
@@ -17,6 +20,7 @@ export * from "./GetStorageConfigurationCommand";
17
20
  export * from "./ImportPublicKeyCommand";
18
21
  export * from "./ListCompositionsCommand";
19
22
  export * from "./ListEncoderConfigurationsCommand";
23
+ export * from "./ListIngestConfigurationsCommand";
20
24
  export * from "./ListParticipantEventsCommand";
21
25
  export * from "./ListParticipantsCommand";
22
26
  export * from "./ListPublicKeysCommand";
@@ -28,4 +32,5 @@ export * from "./StartCompositionCommand";
28
32
  export * from "./StopCompositionCommand";
29
33
  export * from "./TagResourceCommand";
30
34
  export * from "./UntagResourceCommand";
35
+ export * from "./UpdateIngestConfigurationCommand";
31
36
  export * from "./UpdateStageCommand";
@@ -91,6 +91,14 @@ export class ValidationException extends __BaseException {
91
91
  this.exceptionMessage = opts.exceptionMessage;
92
92
  }
93
93
  }
94
+ export const IngestProtocol = {
95
+ RTMP: "RTMP",
96
+ RTMPS: "RTMPS",
97
+ };
98
+ export const IngestConfigurationState = {
99
+ ACTIVE: "ACTIVE",
100
+ INACTIVE: "INACTIVE",
101
+ };
94
102
  export const ParticipantTokenCapability = {
95
103
  PUBLISH: "PUBLISH",
96
104
  SUBSCRIBE: "SUBSCRIBE",
@@ -138,6 +146,12 @@ export const CompositionState = {
138
146
  STOPPED: "STOPPED",
139
147
  STOPPING: "STOPPING",
140
148
  };
149
+ export const ParticipantProtocol = {
150
+ RTMP: "RTMP",
151
+ RTMPS: "RTMPS",
152
+ UNKNOWN: "UNKNOWN",
153
+ WHIP: "WHIP",
154
+ };
141
155
  export const ParticipantRecordingState = {
142
156
  ACTIVE: "ACTIVE",
143
157
  DISABLED: "DISABLED",
@@ -151,9 +165,17 @@ export const ParticipantState = {
151
165
  DISCONNECTED: "DISCONNECTED",
152
166
  };
153
167
  export const EventErrorCode = {
168
+ BITRATE_EXCEEDED: "BITRATE_EXCEEDED",
154
169
  INSUFFICIENT_CAPABILITIES: "INSUFFICIENT_CAPABILITIES",
170
+ INVALID_AUDIO_CODEC: "INVALID_AUDIO_CODEC",
171
+ INVALID_PROTOCOL: "INVALID_PROTOCOL",
172
+ INVALID_STREAM_KEY: "INVALID_STREAM_KEY",
173
+ INVALID_VIDEO_CODEC: "INVALID_VIDEO_CODEC",
155
174
  PUBLISHER_NOT_FOUND: "PUBLISHER_NOT_FOUND",
156
175
  QUOTA_EXCEEDED: "QUOTA_EXCEEDED",
176
+ RESOLUTION_EXCEEDED: "RESOLUTION_EXCEEDED",
177
+ REUSE_OF_STREAM_KEY: "REUSE_OF_STREAM_KEY",
178
+ STREAM_DURATION_EXCEEDED: "STREAM_DURATION_EXCEEDED",
157
179
  };
158
180
  export const EventName = {
159
181
  JOINED: "JOINED",
@@ -173,6 +195,16 @@ export const ParticipantRecordingFilterByRecordingState = {
173
195
  STOPPED: "STOPPED",
174
196
  STOPPING: "STOPPING",
175
197
  };
198
+ export const IngestConfigurationFilterSensitiveLog = (obj) => ({
199
+ ...obj,
200
+ ...(obj.streamKey && { streamKey: SENSITIVE_STRING }),
201
+ });
202
+ export const CreateIngestConfigurationResponseFilterSensitiveLog = (obj) => ({
203
+ ...obj,
204
+ ...(obj.ingestConfiguration && {
205
+ ingestConfiguration: IngestConfigurationFilterSensitiveLog(obj.ingestConfiguration),
206
+ }),
207
+ });
176
208
  export const ParticipantTokenFilterSensitiveLog = (obj) => ({
177
209
  ...obj,
178
210
  ...(obj.token && { token: SENSITIVE_STRING }),
@@ -187,3 +219,15 @@ export const CreateStageResponseFilterSensitiveLog = (obj) => ({
187
219
  participantTokens: obj.participantTokens.map((item) => ParticipantTokenFilterSensitiveLog(item)),
188
220
  }),
189
221
  });
222
+ export const GetIngestConfigurationResponseFilterSensitiveLog = (obj) => ({
223
+ ...obj,
224
+ ...(obj.ingestConfiguration && {
225
+ ingestConfiguration: IngestConfigurationFilterSensitiveLog(obj.ingestConfiguration),
226
+ }),
227
+ });
228
+ export const UpdateIngestConfigurationResponseFilterSensitiveLog = (obj) => ({
229
+ ...obj,
230
+ ...(obj.ingestConfiguration && {
231
+ ingestConfiguration: IngestConfigurationFilterSensitiveLog(obj.ingestConfiguration),
232
+ }),
233
+ });
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListIngestConfigurationsCommand, } from "../commands/ListIngestConfigurationsCommand";
3
+ import { IVSRealTimeClient } from "../IVSRealTimeClient";
4
+ export const paginateListIngestConfigurations = createPaginator(IVSRealTimeClient, ListIngestConfigurationsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,6 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListCompositionsPaginator";
3
3
  export * from "./ListEncoderConfigurationsPaginator";
4
+ export * from "./ListIngestConfigurationsPaginator";
4
5
  export * from "./ListParticipantEventsPaginator";
5
6
  export * from "./ListParticipantsPaginator";
6
7
  export * from "./ListPublicKeysPaginator";
@@ -19,6 +19,25 @@ export const se_CreateEncoderConfigurationCommand = async (input, context) => {
19
19
  b.m("POST").h(headers).b(body);
20
20
  return b.build();
21
21
  };
22
+ export const se_CreateIngestConfigurationCommand = async (input, context) => {
23
+ const b = rb(input, context);
24
+ const headers = {
25
+ "content-type": "application/json",
26
+ };
27
+ b.bp("/CreateIngestConfiguration");
28
+ let body;
29
+ body = JSON.stringify(take(input, {
30
+ attributes: (_) => _json(_),
31
+ ingestProtocol: [],
32
+ insecureIngest: [],
33
+ name: [],
34
+ stageArn: [],
35
+ tags: (_) => _json(_),
36
+ userId: [],
37
+ }));
38
+ b.m("POST").h(headers).b(body);
39
+ return b.build();
40
+ };
22
41
  export const se_CreateParticipantTokenCommand = async (input, context) => {
23
42
  const b = rb(input, context);
24
43
  const headers = {
@@ -80,6 +99,20 @@ export const se_DeleteEncoderConfigurationCommand = async (input, context) => {
80
99
  b.m("POST").h(headers).b(body);
81
100
  return b.build();
82
101
  };
102
+ export const se_DeleteIngestConfigurationCommand = async (input, context) => {
103
+ const b = rb(input, context);
104
+ const headers = {
105
+ "content-type": "application/json",
106
+ };
107
+ b.bp("/DeleteIngestConfiguration");
108
+ let body;
109
+ body = JSON.stringify(take(input, {
110
+ arn: [],
111
+ force: [],
112
+ }));
113
+ b.m("POST").h(headers).b(body);
114
+ return b.build();
115
+ };
83
116
  export const se_DeletePublicKeyCommand = async (input, context) => {
84
117
  const b = rb(input, context);
85
118
  const headers = {
@@ -160,6 +193,19 @@ export const se_GetEncoderConfigurationCommand = async (input, context) => {
160
193
  b.m("POST").h(headers).b(body);
161
194
  return b.build();
162
195
  };
196
+ export const se_GetIngestConfigurationCommand = async (input, context) => {
197
+ const b = rb(input, context);
198
+ const headers = {
199
+ "content-type": "application/json",
200
+ };
201
+ b.bp("/GetIngestConfiguration");
202
+ let body;
203
+ body = JSON.stringify(take(input, {
204
+ arn: [],
205
+ }));
206
+ b.m("POST").h(headers).b(body);
207
+ return b.build();
208
+ };
163
209
  export const se_GetParticipantCommand = async (input, context) => {
164
210
  const b = rb(input, context);
165
211
  const headers = {
@@ -273,6 +319,22 @@ export const se_ListEncoderConfigurationsCommand = async (input, context) => {
273
319
  b.m("POST").h(headers).b(body);
274
320
  return b.build();
275
321
  };
322
+ export const se_ListIngestConfigurationsCommand = async (input, context) => {
323
+ const b = rb(input, context);
324
+ const headers = {
325
+ "content-type": "application/json",
326
+ };
327
+ b.bp("/ListIngestConfigurations");
328
+ let body;
329
+ body = JSON.stringify(take(input, {
330
+ filterByStageArn: [],
331
+ filterByState: [],
332
+ maxResults: [],
333
+ nextToken: [],
334
+ }));
335
+ b.m("POST").h(headers).b(body);
336
+ return b.build();
337
+ };
276
338
  export const se_ListParticipantEventsCommand = async (input, context) => {
277
339
  const b = rb(input, context);
278
340
  const headers = {
@@ -435,6 +497,20 @@ export const se_UntagResourceCommand = async (input, context) => {
435
497
  b.m("DELETE").h(headers).q(query).b(body);
436
498
  return b.build();
437
499
  };
500
+ export const se_UpdateIngestConfigurationCommand = async (input, context) => {
501
+ const b = rb(input, context);
502
+ const headers = {
503
+ "content-type": "application/json",
504
+ };
505
+ b.bp("/UpdateIngestConfiguration");
506
+ let body;
507
+ body = JSON.stringify(take(input, {
508
+ arn: [],
509
+ stageArn: [],
510
+ }));
511
+ b.m("POST").h(headers).b(body);
512
+ return b.build();
513
+ };
438
514
  export const se_UpdateStageCommand = async (input, context) => {
439
515
  const b = rb(input, context);
440
516
  const headers = {
@@ -464,6 +540,20 @@ export const de_CreateEncoderConfigurationCommand = async (output, context) => {
464
540
  Object.assign(contents, doc);
465
541
  return contents;
466
542
  };
543
+ export const de_CreateIngestConfigurationCommand = async (output, context) => {
544
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
545
+ return de_CommandError(output, context);
546
+ }
547
+ const contents = map({
548
+ $metadata: deserializeMetadata(output),
549
+ });
550
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
551
+ const doc = take(data, {
552
+ ingestConfiguration: _json,
553
+ });
554
+ Object.assign(contents, doc);
555
+ return contents;
556
+ };
467
557
  export const de_CreateParticipantTokenCommand = async (output, context) => {
468
558
  if (output.statusCode !== 200 && output.statusCode >= 300) {
469
559
  return de_CommandError(output, context);
@@ -517,6 +607,16 @@ export const de_DeleteEncoderConfigurationCommand = async (output, context) => {
517
607
  await collectBody(output.body, context);
518
608
  return contents;
519
609
  };
610
+ export const de_DeleteIngestConfigurationCommand = async (output, context) => {
611
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
612
+ return de_CommandError(output, context);
613
+ }
614
+ const contents = map({
615
+ $metadata: deserializeMetadata(output),
616
+ });
617
+ await collectBody(output.body, context);
618
+ return contents;
619
+ };
520
620
  export const de_DeletePublicKeyCommand = async (output, context) => {
521
621
  if (output.statusCode !== 200 && output.statusCode >= 300) {
522
622
  return de_CommandError(output, context);
@@ -585,6 +685,20 @@ export const de_GetEncoderConfigurationCommand = async (output, context) => {
585
685
  Object.assign(contents, doc);
586
686
  return contents;
587
687
  };
688
+ export const de_GetIngestConfigurationCommand = async (output, context) => {
689
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
690
+ return de_CommandError(output, context);
691
+ }
692
+ const contents = map({
693
+ $metadata: deserializeMetadata(output),
694
+ });
695
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
696
+ const doc = take(data, {
697
+ ingestConfiguration: _json,
698
+ });
699
+ Object.assign(contents, doc);
700
+ return contents;
701
+ };
588
702
  export const de_GetParticipantCommand = async (output, context) => {
589
703
  if (output.statusCode !== 200 && output.statusCode >= 300) {
590
704
  return de_CommandError(output, context);
@@ -699,6 +813,21 @@ export const de_ListEncoderConfigurationsCommand = async (output, context) => {
699
813
  Object.assign(contents, doc);
700
814
  return contents;
701
815
  };
816
+ export const de_ListIngestConfigurationsCommand = async (output, context) => {
817
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
818
+ return de_CommandError(output, context);
819
+ }
820
+ const contents = map({
821
+ $metadata: deserializeMetadata(output),
822
+ });
823
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
824
+ const doc = take(data, {
825
+ ingestConfigurations: _json,
826
+ nextToken: __expectString,
827
+ });
828
+ Object.assign(contents, doc);
829
+ return contents;
830
+ };
702
831
  export const de_ListParticipantEventsCommand = async (output, context) => {
703
832
  if (output.statusCode !== 200 && output.statusCode >= 300) {
704
833
  return de_CommandError(output, context);
@@ -847,6 +976,20 @@ export const de_UntagResourceCommand = async (output, context) => {
847
976
  await collectBody(output.body, context);
848
977
  return contents;
849
978
  };
979
+ export const de_UpdateIngestConfigurationCommand = async (output, context) => {
980
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
981
+ return de_CommandError(output, context);
982
+ }
983
+ const contents = map({
984
+ $metadata: deserializeMetadata(output),
985
+ });
986
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
987
+ const doc = take(data, {
988
+ ingestConfiguration: _json,
989
+ });
990
+ Object.assign(contents, doc);
991
+ return contents;
992
+ };
850
993
  export const de_UpdateStageCommand = async (output, context) => {
851
994
  if (output.statusCode !== 200 && output.statusCode >= 300) {
852
995
  return de_CommandError(output, context);
@@ -1098,6 +1241,7 @@ const de_Participant = (output, context) => {
1098
1241
  osName: __expectString,
1099
1242
  osVersion: __expectString,
1100
1243
  participantId: __expectString,
1244
+ protocol: __expectString,
1101
1245
  published: __expectBoolean,
1102
1246
  recordingS3BucketName: __expectString,
1103
1247
  recordingS3Prefix: __expectString,
@@ -1,15 +1,18 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CreateEncoderConfigurationCommandInput, CreateEncoderConfigurationCommandOutput } from "./commands/CreateEncoderConfigurationCommand";
3
+ import { CreateIngestConfigurationCommandInput, CreateIngestConfigurationCommandOutput } from "./commands/CreateIngestConfigurationCommand";
3
4
  import { CreateParticipantTokenCommandInput, CreateParticipantTokenCommandOutput } from "./commands/CreateParticipantTokenCommand";
4
5
  import { CreateStageCommandInput, CreateStageCommandOutput } from "./commands/CreateStageCommand";
5
6
  import { CreateStorageConfigurationCommandInput, CreateStorageConfigurationCommandOutput } from "./commands/CreateStorageConfigurationCommand";
6
7
  import { DeleteEncoderConfigurationCommandInput, DeleteEncoderConfigurationCommandOutput } from "./commands/DeleteEncoderConfigurationCommand";
8
+ import { DeleteIngestConfigurationCommandInput, DeleteIngestConfigurationCommandOutput } from "./commands/DeleteIngestConfigurationCommand";
7
9
  import { DeletePublicKeyCommandInput, DeletePublicKeyCommandOutput } from "./commands/DeletePublicKeyCommand";
8
10
  import { DeleteStageCommandInput, DeleteStageCommandOutput } from "./commands/DeleteStageCommand";
9
11
  import { DeleteStorageConfigurationCommandInput, DeleteStorageConfigurationCommandOutput } from "./commands/DeleteStorageConfigurationCommand";
10
12
  import { DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput } from "./commands/DisconnectParticipantCommand";
11
13
  import { GetCompositionCommandInput, GetCompositionCommandOutput } from "./commands/GetCompositionCommand";
12
14
  import { GetEncoderConfigurationCommandInput, GetEncoderConfigurationCommandOutput } from "./commands/GetEncoderConfigurationCommand";
15
+ import { GetIngestConfigurationCommandInput, GetIngestConfigurationCommandOutput } from "./commands/GetIngestConfigurationCommand";
13
16
  import { GetParticipantCommandInput, GetParticipantCommandOutput } from "./commands/GetParticipantCommand";
14
17
  import { GetPublicKeyCommandInput, GetPublicKeyCommandOutput } from "./commands/GetPublicKeyCommand";
15
18
  import { GetStageCommandInput, GetStageCommandOutput } from "./commands/GetStageCommand";
@@ -18,6 +21,7 @@ import { GetStorageConfigurationCommandInput, GetStorageConfigurationCommandOutp
18
21
  import { ImportPublicKeyCommandInput, ImportPublicKeyCommandOutput } from "./commands/ImportPublicKeyCommand";
19
22
  import { ListCompositionsCommandInput, ListCompositionsCommandOutput } from "./commands/ListCompositionsCommand";
20
23
  import { ListEncoderConfigurationsCommandInput, ListEncoderConfigurationsCommandOutput } from "./commands/ListEncoderConfigurationsCommand";
24
+ import { ListIngestConfigurationsCommandInput, ListIngestConfigurationsCommandOutput } from "./commands/ListIngestConfigurationsCommand";
21
25
  import { ListParticipantEventsCommandInput, ListParticipantEventsCommandOutput } from "./commands/ListParticipantEventsCommand";
22
26
  import { ListParticipantsCommandInput, ListParticipantsCommandOutput } from "./commands/ListParticipantsCommand";
23
27
  import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
@@ -29,6 +33,7 @@ import { StartCompositionCommandInput, StartCompositionCommandOutput } from "./c
29
33
  import { StopCompositionCommandInput, StopCompositionCommandOutput } from "./commands/StopCompositionCommand";
30
34
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
31
35
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
36
+ import { UpdateIngestConfigurationCommandInput, UpdateIngestConfigurationCommandOutput } from "./commands/UpdateIngestConfigurationCommand";
32
37
  import { UpdateStageCommandInput, UpdateStageCommandOutput } from "./commands/UpdateStageCommand";
33
38
  import { IVSRealTimeClient } from "./IVSRealTimeClient";
34
39
  export interface IVSRealTime {
@@ -39,6 +44,12 @@ export interface IVSRealTime {
39
44
  createEncoderConfiguration(args: CreateEncoderConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateEncoderConfigurationCommandOutput>;
40
45
  createEncoderConfiguration(args: CreateEncoderConfigurationCommandInput, cb: (err: any, data?: CreateEncoderConfigurationCommandOutput) => void): void;
41
46
  createEncoderConfiguration(args: CreateEncoderConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEncoderConfigurationCommandOutput) => void): void;
47
+ /**
48
+ * @see {@link CreateIngestConfigurationCommand}
49
+ */
50
+ createIngestConfiguration(args: CreateIngestConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateIngestConfigurationCommandOutput>;
51
+ createIngestConfiguration(args: CreateIngestConfigurationCommandInput, cb: (err: any, data?: CreateIngestConfigurationCommandOutput) => void): void;
52
+ createIngestConfiguration(args: CreateIngestConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIngestConfigurationCommandOutput) => void): void;
42
53
  /**
43
54
  * @see {@link CreateParticipantTokenCommand}
44
55
  */
@@ -64,6 +75,12 @@ export interface IVSRealTime {
64
75
  deleteEncoderConfiguration(args: DeleteEncoderConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEncoderConfigurationCommandOutput>;
65
76
  deleteEncoderConfiguration(args: DeleteEncoderConfigurationCommandInput, cb: (err: any, data?: DeleteEncoderConfigurationCommandOutput) => void): void;
66
77
  deleteEncoderConfiguration(args: DeleteEncoderConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEncoderConfigurationCommandOutput) => void): void;
78
+ /**
79
+ * @see {@link DeleteIngestConfigurationCommand}
80
+ */
81
+ deleteIngestConfiguration(args: DeleteIngestConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIngestConfigurationCommandOutput>;
82
+ deleteIngestConfiguration(args: DeleteIngestConfigurationCommandInput, cb: (err: any, data?: DeleteIngestConfigurationCommandOutput) => void): void;
83
+ deleteIngestConfiguration(args: DeleteIngestConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIngestConfigurationCommandOutput) => void): void;
67
84
  /**
68
85
  * @see {@link DeletePublicKeyCommand}
69
86
  */
@@ -100,6 +117,12 @@ export interface IVSRealTime {
100
117
  getEncoderConfiguration(args: GetEncoderConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetEncoderConfigurationCommandOutput>;
101
118
  getEncoderConfiguration(args: GetEncoderConfigurationCommandInput, cb: (err: any, data?: GetEncoderConfigurationCommandOutput) => void): void;
102
119
  getEncoderConfiguration(args: GetEncoderConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEncoderConfigurationCommandOutput) => void): void;
120
+ /**
121
+ * @see {@link GetIngestConfigurationCommand}
122
+ */
123
+ getIngestConfiguration(args: GetIngestConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetIngestConfigurationCommandOutput>;
124
+ getIngestConfiguration(args: GetIngestConfigurationCommandInput, cb: (err: any, data?: GetIngestConfigurationCommandOutput) => void): void;
125
+ getIngestConfiguration(args: GetIngestConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIngestConfigurationCommandOutput) => void): void;
103
126
  /**
104
127
  * @see {@link GetParticipantCommand}
105
128
  */
@@ -150,6 +173,13 @@ export interface IVSRealTime {
150
173
  listEncoderConfigurations(args: ListEncoderConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListEncoderConfigurationsCommandOutput>;
151
174
  listEncoderConfigurations(args: ListEncoderConfigurationsCommandInput, cb: (err: any, data?: ListEncoderConfigurationsCommandOutput) => void): void;
152
175
  listEncoderConfigurations(args: ListEncoderConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEncoderConfigurationsCommandOutput) => void): void;
176
+ /**
177
+ * @see {@link ListIngestConfigurationsCommand}
178
+ */
179
+ listIngestConfigurations(): Promise<ListIngestConfigurationsCommandOutput>;
180
+ listIngestConfigurations(args: ListIngestConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListIngestConfigurationsCommandOutput>;
181
+ listIngestConfigurations(args: ListIngestConfigurationsCommandInput, cb: (err: any, data?: ListIngestConfigurationsCommandOutput) => void): void;
182
+ listIngestConfigurations(args: ListIngestConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIngestConfigurationsCommandOutput) => void): void;
153
183
  /**
154
184
  * @see {@link ListParticipantEventsCommand}
155
185
  */
@@ -219,6 +249,12 @@ export interface IVSRealTime {
219
249
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
220
250
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
221
251
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
252
+ /**
253
+ * @see {@link UpdateIngestConfigurationCommand}
254
+ */
255
+ updateIngestConfiguration(args: UpdateIngestConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIngestConfigurationCommandOutput>;
256
+ updateIngestConfiguration(args: UpdateIngestConfigurationCommandInput, cb: (err: any, data?: UpdateIngestConfigurationCommandOutput) => void): void;
257
+ updateIngestConfiguration(args: UpdateIngestConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIngestConfigurationCommandOutput) => void): void;
222
258
  /**
223
259
  * @see {@link UpdateStageCommand}
224
260
  */
@@ -258,7 +294,7 @@ export interface IVSRealTime {
258
294
  * <p>
259
295
  * <b>Composition process</b> — Composites participants
260
296
  * of a stage into a single video and forwards it to a set of outputs (e.g., IVS channels).
261
- * Composition endpoints support this process.</p>
297
+ * Composition operations support this process.</p>
262
298
  * </li>
263
299
  * <li>
264
300
  * <p>
@@ -273,13 +309,13 @@ export interface IVSRealTime {
273
309
  * <p>A <i>tag</i> is a metadata label that you assign to an AWS resource. A tag
274
310
  * comprises a <i>key</i> and a <i>value</i>, both set by you. For
275
311
  * example, you might set a tag as <code>topic:nature</code> to label a particular video
276
- * category. See <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging AWS Resources</a> for more information, including restrictions that apply to
277
- * tags and "Tag naming limits and requirements"; Amazon IVS stages has no service-specific
278
- * constraints beyond what is documented there.</p>
312
+ * category. See <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best practices and strategies</a>
313
+ * in <i>Tagging AWS Resources and Tag Editor</i> for details, including restrictions that apply to tags and "Tag naming
314
+ * limits and requirements"; Amazon IVS stages has no service-specific constraints beyond what is documented there.</p>
279
315
  * <p>Tags can help you identify and organize your AWS resources. For example, you can use the
280
316
  * same tag for different resources to indicate that they are related. You can also use tags to
281
317
  * manage access (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Access Tags</a>).</p>
282
- * <p>The Amazon IVS real-time API has these tag-related endpoints: <a>TagResource</a>, <a>UntagResource</a>, and
318
+ * <p>The Amazon IVS real-time API has these tag-related operations: <a>TagResource</a>, <a>UntagResource</a>, and
283
319
  * <a>ListTagsForResource</a>. The following resource supports tagging: Stage.</p>
284
320
  * <p>At most 50 tags can be applied to a resource.</p>
285
321
  * @public