@aws-sdk/client-ivs-realtime 3.602.0 → 3.605.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 (38) hide show
  1. package/README.md +49 -170
  2. package/dist-cjs/index.js +198 -0
  3. package/dist-es/IVSRealTime.js +8 -0
  4. package/dist-es/commands/DeletePublicKeyCommand.js +24 -0
  5. package/dist-es/commands/GetPublicKeyCommand.js +24 -0
  6. package/dist-es/commands/ImportPublicKeyCommand.js +24 -0
  7. package/dist-es/commands/ListPublicKeysCommand.js +24 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/pagination/ListPublicKeysPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_restJson1.js +108 -0
  12. package/dist-types/IVSRealTime.d.ts +53 -177
  13. package/dist-types/IVSRealTimeClient.d.ts +30 -179
  14. package/dist-types/commands/CreateStageCommand.d.ts +4 -0
  15. package/dist-types/commands/DeletePublicKeyCommand.d.ts +75 -0
  16. package/dist-types/commands/GetPublicKeyCommand.d.ts +77 -0
  17. package/dist-types/commands/GetStageCommand.d.ts +4 -0
  18. package/dist-types/commands/ImportPublicKeyCommand.d.ts +87 -0
  19. package/dist-types/commands/ListPublicKeysCommand.d.ts +76 -0
  20. package/dist-types/commands/UpdateStageCommand.d.ts +4 -0
  21. package/dist-types/commands/index.d.ts +4 -0
  22. package/dist-types/index.d.ts +24 -177
  23. package/dist-types/models/models_0.d.ts +201 -21
  24. package/dist-types/pagination/ListPublicKeysPaginator.d.ts +7 -0
  25. package/dist-types/pagination/index.d.ts +1 -0
  26. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  27. package/dist-types/ts3.4/IVSRealTime.d.ts +69 -0
  28. package/dist-types/ts3.4/IVSRealTimeClient.d.ts +24 -0
  29. package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +39 -0
  30. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +36 -0
  31. package/dist-types/ts3.4/commands/ImportPublicKeyCommand.d.ts +39 -0
  32. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +39 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +43 -0
  35. package/dist-types/ts3.4/pagination/ListPublicKeysPaginator.d.ts +11 -0
  36. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  37. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  38. package/package.json +1 -1
package/README.md CHANGED
@@ -6,48 +6,46 @@
6
6
 
7
7
  AWS SDK for JavaScript IVSRealTime Client for Node.js, Browser and React Native.
8
8
 
9
- <p>
10
- <b>Introduction</b>
11
- </p>
12
9
  <p>The Amazon Interactive Video Service (IVS) real-time API is REST compatible, using a standard HTTP
13
10
  API and an AWS EventBridge event stream for responses. JSON is used for both requests and responses,
14
11
  including errors.
15
12
  </p>
16
- <p>Terminology:</p>
13
+ <p>
14
+ <b>Key Concepts</b>
15
+ </p>
17
16
  <ul>
18
17
  <li>
19
- <p>A <i>stage</i> is a virtual space where participants can exchange video in real time.</p>
18
+ <p>
19
+ <b>Stage</b> — A virtual space where participants can exchange video in real time.</p>
20
20
  </li>
21
21
  <li>
22
- <p>A <i>participant token</i> is a token that authenticates a participant when they join a stage.</p>
22
+ <p>
23
+ <b>Participant token</b> — A token that authenticates a participant when they join a stage.</p>
23
24
  </li>
24
25
  <li>
25
- <p>A <i>participant object</i> represents participants (people) in the stage and
26
+ <p>
27
+ <b>Participant object</b> — Represents participants (people) in the stage and
26
28
  contains information about them. When a token is created, it includes a participant ID;
27
29
  when a participant uses that token to join a stage, the participant is associated with
28
30
  that participant ID. There is a 1:1 mapping between participant tokens and
29
31
  participants.</p>
30
32
  </li>
33
+ </ul>
34
+ <p>For server-side composition:</p>
35
+ <ul>
31
36
  <li>
32
- <p>Server-side composition: The <i>composition</i> process composites participants
37
+ <p>
38
+ <b>Composition process</b> — Composites participants
33
39
  of a stage into a single video and forwards it to a set of outputs (e.g., IVS channels).
34
40
  Composition endpoints support this process.</p>
35
41
  </li>
36
42
  <li>
37
- <p>Server-side composition: A <i>composition</i> controls the look of the outputs,
38
- including how participants are positioned in the video.</p>
39
- </li>
40
- </ul>
41
43
  <p>
42
- <b>Resources</b>
43
- </p>
44
- <p>The following resources contain information about your IVS live stream (see <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/getting-started.html">Getting Started with Amazon IVS Real-Time Streaming</a>):</p>
45
- <ul>
46
- <li>
47
- <p>
48
- <b>Stage</b> — A stage is a virtual space where participants can exchange video in real time.</p>
44
+ <b>Composition</b> — Controls the look of the outputs,
45
+ including how participants are positioned in the video.</p>
49
46
  </li>
50
47
  </ul>
48
+ <p>For more information about your IVS live stream, also see <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/getting-started.html">Getting Started with Amazon IVS Real-Time Streaming</a>.</p>
51
49
  <p>
52
50
  <b>Tagging</b>
53
51
  </p>
@@ -63,157 +61,6 @@ manage access (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/acc
63
61
  <p>The Amazon IVS real-time API has these tag-related endpoints: <a>TagResource</a>, <a>UntagResource</a>, and
64
62
  <a>ListTagsForResource</a>. The following resource supports tagging: Stage.</p>
65
63
  <p>At most 50 tags can be applied to a resource.</p>
66
- <p>
67
- <b>Stages Endpoints</b>
68
- </p>
69
- <ul>
70
- <li>
71
- <p>
72
- <a>CreateParticipantToken</a> — Creates an additional token for a specified stage. This can be done after stage creation or when tokens expire.</p>
73
- </li>
74
- <li>
75
- <p>
76
- <a>CreateStage</a> — Creates a new stage (and optionally participant tokens).</p>
77
- </li>
78
- <li>
79
- <p>
80
- <a>DeleteStage</a> — Shuts down and deletes the specified stage (disconnecting all participants).</p>
81
- </li>
82
- <li>
83
- <p>
84
- <a>DisconnectParticipant</a> — Disconnects a specified participant and revokes the participant permanently from a specified stage.</p>
85
- </li>
86
- <li>
87
- <p>
88
- <a>GetParticipant</a> — Gets information about the specified
89
- participant token.</p>
90
- </li>
91
- <li>
92
- <p>
93
- <a>GetStage</a> — Gets information for the specified stage.</p>
94
- </li>
95
- <li>
96
- <p>
97
- <a>GetStageSession</a> — Gets information for the specified stage
98
- session.</p>
99
- </li>
100
- <li>
101
- <p>
102
- <a>ListParticipantEvents</a> — Lists events for a specified
103
- participant that occurred during a specified stage session.</p>
104
- </li>
105
- <li>
106
- <p>
107
- <a>ListParticipants</a> — Lists all participants in a specified stage
108
- session.</p>
109
- </li>
110
- <li>
111
- <p>
112
- <a>ListStages</a> — Gets summary information about all stages in your account, in the AWS region where the API request is processed.</p>
113
- </li>
114
- <li>
115
- <p>
116
- <a>ListStageSessions</a> — Gets all sessions for a specified stage.</p>
117
- </li>
118
- <li>
119
- <p>
120
- <a>UpdateStage</a> — Updates a stage’s configuration.</p>
121
- </li>
122
- </ul>
123
- <p>
124
- <b>Composition Endpoints</b>
125
- </p>
126
- <ul>
127
- <li>
128
- <p>
129
- <a>GetComposition</a> — Gets information about the specified
130
- Composition resource.</p>
131
- </li>
132
- <li>
133
- <p>
134
- <a>ListCompositions</a> — Gets summary information about all
135
- Compositions in your account, in the AWS region where the API request is processed.</p>
136
- </li>
137
- <li>
138
- <p>
139
- <a>StartComposition</a> — Starts a Composition from a stage based on
140
- the configuration provided in the request.</p>
141
- </li>
142
- <li>
143
- <p>
144
- <a>StopComposition</a> — Stops and deletes a Composition resource.
145
- Any broadcast from the Composition resource is stopped.</p>
146
- </li>
147
- </ul>
148
- <p>
149
- <b>EncoderConfiguration Endpoints</b>
150
- </p>
151
- <ul>
152
- <li>
153
- <p>
154
- <a>CreateEncoderConfiguration</a> — Creates an EncoderConfiguration object.</p>
155
- </li>
156
- <li>
157
- <p>
158
- <a>DeleteEncoderConfiguration</a> — Deletes an EncoderConfiguration
159
- resource. Ensures that no Compositions are using this template; otherwise, returns an
160
- error.</p>
161
- </li>
162
- <li>
163
- <p>
164
- <a>GetEncoderConfiguration</a> — Gets information about the specified
165
- EncoderConfiguration resource.</p>
166
- </li>
167
- <li>
168
- <p>
169
- <a>ListEncoderConfigurations</a> — Gets summary information about all
170
- EncoderConfigurations in your account, in the AWS region where the API request is
171
- processed.</p>
172
- </li>
173
- </ul>
174
- <p>
175
- <b>StorageConfiguration Endpoints</b>
176
- </p>
177
- <ul>
178
- <li>
179
- <p>
180
- <a>CreateStorageConfiguration</a> — Creates a new storage configuration, used to enable
181
- recording to Amazon S3.</p>
182
- </li>
183
- <li>
184
- <p>
185
- <a>DeleteStorageConfiguration</a> — Deletes the storage configuration for the specified ARN.</p>
186
- </li>
187
- <li>
188
- <p>
189
- <a>GetStorageConfiguration</a> — Gets the storage configuration for the specified ARN.</p>
190
- </li>
191
- <li>
192
- <p>
193
- <a>ListStorageConfigurations</a> — Gets summary information about all storage configurations in your
194
- account, in the AWS region where the API request is processed.</p>
195
- </li>
196
- </ul>
197
- <p>
198
- <b>Tags Endpoints</b>
199
- </p>
200
- <ul>
201
- <li>
202
- <p>
203
- <a>ListTagsForResource</a> — Gets information about AWS tags for the
204
- specified ARN.</p>
205
- </li>
206
- <li>
207
- <p>
208
- <a>TagResource</a> — Adds or updates tags for the AWS resource with
209
- the specified ARN.</p>
210
- </li>
211
- <li>
212
- <p>
213
- <a>UntagResource</a> — Removes tags from the resource with the
214
- specified ARN.</p>
215
- </li>
216
- </ul>
217
64
 
218
65
  ## Installing
219
66
 
@@ -449,6 +296,14 @@ DeleteEncoderConfiguration
449
296
 
450
297
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/DeleteEncoderConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/DeleteEncoderConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/DeleteEncoderConfigurationCommandOutput/)
451
298
 
299
+ </details>
300
+ <details>
301
+ <summary>
302
+ DeletePublicKey
303
+ </summary>
304
+
305
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/DeletePublicKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/DeletePublicKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/DeletePublicKeyCommandOutput/)
306
+
452
307
  </details>
453
308
  <details>
454
309
  <summary>
@@ -497,6 +352,14 @@ GetParticipant
497
352
 
498
353
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/GetParticipantCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/GetParticipantCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/GetParticipantCommandOutput/)
499
354
 
355
+ </details>
356
+ <details>
357
+ <summary>
358
+ GetPublicKey
359
+ </summary>
360
+
361
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/GetPublicKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/GetPublicKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/GetPublicKeyCommandOutput/)
362
+
500
363
  </details>
501
364
  <details>
502
365
  <summary>
@@ -521,6 +384,14 @@ GetStorageConfiguration
521
384
 
522
385
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/GetStorageConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/GetStorageConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/GetStorageConfigurationCommandOutput/)
523
386
 
387
+ </details>
388
+ <details>
389
+ <summary>
390
+ ImportPublicKey
391
+ </summary>
392
+
393
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/ImportPublicKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/ImportPublicKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/ImportPublicKeyCommandOutput/)
394
+
524
395
  </details>
525
396
  <details>
526
397
  <summary>
@@ -553,6 +424,14 @@ ListParticipants
553
424
 
554
425
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/ListParticipantsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/ListParticipantsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/ListParticipantsCommandOutput/)
555
426
 
427
+ </details>
428
+ <details>
429
+ <summary>
430
+ ListPublicKeys
431
+ </summary>
432
+
433
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/ListPublicKeysCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/ListPublicKeysCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/ListPublicKeysCommandOutput/)
434
+
556
435
  </details>
557
436
  <details>
558
437
  <summary>
package/dist-cjs/index.js CHANGED
@@ -31,6 +31,7 @@ __export(src_exports, {
31
31
  CreateStageResponseFilterSensitiveLog: () => CreateStageResponseFilterSensitiveLog,
32
32
  CreateStorageConfigurationCommand: () => CreateStorageConfigurationCommand,
33
33
  DeleteEncoderConfigurationCommand: () => DeleteEncoderConfigurationCommand,
34
+ DeletePublicKeyCommand: () => DeletePublicKeyCommand,
34
35
  DeleteStageCommand: () => DeleteStageCommand,
35
36
  DeleteStorageConfigurationCommand: () => DeleteStorageConfigurationCommand,
36
37
  DestinationState: () => DestinationState,
@@ -40,17 +41,20 @@ __export(src_exports, {
40
41
  GetCompositionCommand: () => GetCompositionCommand,
41
42
  GetEncoderConfigurationCommand: () => GetEncoderConfigurationCommand,
42
43
  GetParticipantCommand: () => GetParticipantCommand,
44
+ GetPublicKeyCommand: () => GetPublicKeyCommand,
43
45
  GetStageCommand: () => GetStageCommand,
44
46
  GetStageSessionCommand: () => GetStageSessionCommand,
45
47
  GetStorageConfigurationCommand: () => GetStorageConfigurationCommand,
46
48
  IVSRealTime: () => IVSRealTime,
47
49
  IVSRealTimeClient: () => IVSRealTimeClient,
48
50
  IVSRealTimeServiceException: () => IVSRealTimeServiceException,
51
+ ImportPublicKeyCommand: () => ImportPublicKeyCommand,
49
52
  InternalServerException: () => InternalServerException,
50
53
  ListCompositionsCommand: () => ListCompositionsCommand,
51
54
  ListEncoderConfigurationsCommand: () => ListEncoderConfigurationsCommand,
52
55
  ListParticipantEventsCommand: () => ListParticipantEventsCommand,
53
56
  ListParticipantsCommand: () => ListParticipantsCommand,
57
+ ListPublicKeysCommand: () => ListPublicKeysCommand,
54
58
  ListStageSessionsCommand: () => ListStageSessionsCommand,
55
59
  ListStagesCommand: () => ListStagesCommand,
56
60
  ListStorageConfigurationsCommand: () => ListStorageConfigurationsCommand,
@@ -80,6 +84,7 @@ __export(src_exports, {
80
84
  paginateListEncoderConfigurations: () => paginateListEncoderConfigurations,
81
85
  paginateListParticipantEvents: () => paginateListParticipantEvents,
82
86
  paginateListParticipants: () => paginateListParticipants,
87
+ paginateListPublicKeys: () => paginateListPublicKeys,
83
88
  paginateListStageSessions: () => paginateListStageSessions,
84
89
  paginateListStages: () => paginateListStages,
85
90
  paginateListStorageConfigurations: () => paginateListStorageConfigurations
@@ -569,6 +574,21 @@ var se_DeleteEncoderConfigurationCommand = /* @__PURE__ */ __name(async (input,
569
574
  b.m("POST").h(headers).b(body);
570
575
  return b.build();
571
576
  }, "se_DeleteEncoderConfigurationCommand");
577
+ var se_DeletePublicKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
578
+ const b = (0, import_core.requestBuilder)(input, context);
579
+ const headers = {
580
+ "content-type": "application/json"
581
+ };
582
+ b.bp("/DeletePublicKey");
583
+ let body;
584
+ body = JSON.stringify(
585
+ (0, import_smithy_client.take)(input, {
586
+ arn: []
587
+ })
588
+ );
589
+ b.m("POST").h(headers).b(body);
590
+ return b.build();
591
+ }, "se_DeletePublicKeyCommand");
572
592
  var se_DeleteStageCommand = /* @__PURE__ */ __name(async (input, context) => {
573
593
  const b = (0, import_core.requestBuilder)(input, context);
574
594
  const headers = {
@@ -663,6 +683,21 @@ var se_GetParticipantCommand = /* @__PURE__ */ __name(async (input, context) =>
663
683
  b.m("POST").h(headers).b(body);
664
684
  return b.build();
665
685
  }, "se_GetParticipantCommand");
686
+ var se_GetPublicKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
687
+ const b = (0, import_core.requestBuilder)(input, context);
688
+ const headers = {
689
+ "content-type": "application/json"
690
+ };
691
+ b.bp("/GetPublicKey");
692
+ let body;
693
+ body = JSON.stringify(
694
+ (0, import_smithy_client.take)(input, {
695
+ arn: []
696
+ })
697
+ );
698
+ b.m("POST").h(headers).b(body);
699
+ return b.build();
700
+ }, "se_GetPublicKeyCommand");
666
701
  var se_GetStageCommand = /* @__PURE__ */ __name(async (input, context) => {
667
702
  const b = (0, import_core.requestBuilder)(input, context);
668
703
  const headers = {
@@ -709,6 +744,23 @@ var se_GetStorageConfigurationCommand = /* @__PURE__ */ __name(async (input, con
709
744
  b.m("POST").h(headers).b(body);
710
745
  return b.build();
711
746
  }, "se_GetStorageConfigurationCommand");
747
+ var se_ImportPublicKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
748
+ const b = (0, import_core.requestBuilder)(input, context);
749
+ const headers = {
750
+ "content-type": "application/json"
751
+ };
752
+ b.bp("/ImportPublicKey");
753
+ let body;
754
+ body = JSON.stringify(
755
+ (0, import_smithy_client.take)(input, {
756
+ name: [],
757
+ publicKeyMaterial: [],
758
+ tags: (_) => (0, import_smithy_client._json)(_)
759
+ })
760
+ );
761
+ b.m("POST").h(headers).b(body);
762
+ return b.build();
763
+ }, "se_ImportPublicKeyCommand");
712
764
  var se_ListCompositionsCommand = /* @__PURE__ */ __name(async (input, context) => {
713
765
  const b = (0, import_core.requestBuilder)(input, context);
714
766
  const headers = {
@@ -784,6 +836,22 @@ var se_ListParticipantsCommand = /* @__PURE__ */ __name(async (input, context) =
784
836
  b.m("POST").h(headers).b(body);
785
837
  return b.build();
786
838
  }, "se_ListParticipantsCommand");
839
+ var se_ListPublicKeysCommand = /* @__PURE__ */ __name(async (input, context) => {
840
+ const b = (0, import_core.requestBuilder)(input, context);
841
+ const headers = {
842
+ "content-type": "application/json"
843
+ };
844
+ b.bp("/ListPublicKeys");
845
+ let body;
846
+ body = JSON.stringify(
847
+ (0, import_smithy_client.take)(input, {
848
+ maxResults: [],
849
+ nextToken: []
850
+ })
851
+ );
852
+ b.m("POST").h(headers).b(body);
853
+ return b.build();
854
+ }, "se_ListPublicKeysCommand");
787
855
  var se_ListStagesCommand = /* @__PURE__ */ __name(async (input, context) => {
788
856
  const b = (0, import_core.requestBuilder)(input, context);
789
857
  const headers = {
@@ -991,6 +1059,16 @@ var de_DeleteEncoderConfigurationCommand = /* @__PURE__ */ __name(async (output,
991
1059
  await (0, import_smithy_client.collectBody)(output.body, context);
992
1060
  return contents;
993
1061
  }, "de_DeleteEncoderConfigurationCommand");
1062
+ var de_DeletePublicKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
1063
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1064
+ return de_CommandError(output, context);
1065
+ }
1066
+ const contents = (0, import_smithy_client.map)({
1067
+ $metadata: deserializeMetadata(output)
1068
+ });
1069
+ await (0, import_smithy_client.collectBody)(output.body, context);
1070
+ return contents;
1071
+ }, "de_DeletePublicKeyCommand");
994
1072
  var de_DeleteStageCommand = /* @__PURE__ */ __name(async (output, context) => {
995
1073
  if (output.statusCode !== 200 && output.statusCode >= 300) {
996
1074
  return de_CommandError(output, context);
@@ -1063,6 +1141,20 @@ var de_GetParticipantCommand = /* @__PURE__ */ __name(async (output, context) =>
1063
1141
  Object.assign(contents, doc);
1064
1142
  return contents;
1065
1143
  }, "de_GetParticipantCommand");
1144
+ var de_GetPublicKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
1145
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1146
+ return de_CommandError(output, context);
1147
+ }
1148
+ const contents = (0, import_smithy_client.map)({
1149
+ $metadata: deserializeMetadata(output)
1150
+ });
1151
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1152
+ const doc = (0, import_smithy_client.take)(data, {
1153
+ publicKey: import_smithy_client._json
1154
+ });
1155
+ Object.assign(contents, doc);
1156
+ return contents;
1157
+ }, "de_GetPublicKeyCommand");
1066
1158
  var de_GetStageCommand = /* @__PURE__ */ __name(async (output, context) => {
1067
1159
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1068
1160
  return de_CommandError(output, context);
@@ -1105,6 +1197,20 @@ var de_GetStorageConfigurationCommand = /* @__PURE__ */ __name(async (output, co
1105
1197
  Object.assign(contents, doc);
1106
1198
  return contents;
1107
1199
  }, "de_GetStorageConfigurationCommand");
1200
+ var de_ImportPublicKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
1201
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1202
+ return de_CommandError(output, context);
1203
+ }
1204
+ const contents = (0, import_smithy_client.map)({
1205
+ $metadata: deserializeMetadata(output)
1206
+ });
1207
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1208
+ const doc = (0, import_smithy_client.take)(data, {
1209
+ publicKey: import_smithy_client._json
1210
+ });
1211
+ Object.assign(contents, doc);
1212
+ return contents;
1213
+ }, "de_ImportPublicKeyCommand");
1108
1214
  var de_ListCompositionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1109
1215
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1110
1216
  return de_CommandError(output, context);
@@ -1165,6 +1271,21 @@ var de_ListParticipantsCommand = /* @__PURE__ */ __name(async (output, context)
1165
1271
  Object.assign(contents, doc);
1166
1272
  return contents;
1167
1273
  }, "de_ListParticipantsCommand");
1274
+ var de_ListPublicKeysCommand = /* @__PURE__ */ __name(async (output, context) => {
1275
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1276
+ return de_CommandError(output, context);
1277
+ }
1278
+ const contents = (0, import_smithy_client.map)({
1279
+ $metadata: deserializeMetadata(output)
1280
+ });
1281
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1282
+ const doc = (0, import_smithy_client.take)(data, {
1283
+ nextToken: import_smithy_client.expectString,
1284
+ publicKeys: import_smithy_client._json
1285
+ });
1286
+ Object.assign(contents, doc);
1287
+ return contents;
1288
+ }, "de_ListPublicKeysCommand");
1168
1289
  var de_ListStagesCommand = /* @__PURE__ */ __name(async (output, context) => {
1169
1290
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1170
1291
  return de_CommandError(output, context);
@@ -1666,6 +1787,22 @@ var _DeleteEncoderConfigurationCommand = class _DeleteEncoderConfigurationComman
1666
1787
  __name(_DeleteEncoderConfigurationCommand, "DeleteEncoderConfigurationCommand");
1667
1788
  var DeleteEncoderConfigurationCommand = _DeleteEncoderConfigurationCommand;
1668
1789
 
1790
+ // src/commands/DeletePublicKeyCommand.ts
1791
+
1792
+
1793
+
1794
+ var _DeletePublicKeyCommand = class _DeletePublicKeyCommand extends import_smithy_client.Command.classBuilder().ep({
1795
+ ...commonParams
1796
+ }).m(function(Command, cs, config, o) {
1797
+ return [
1798
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1799
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1800
+ ];
1801
+ }).s("AmazonInteractiveVideoServiceRealTime", "DeletePublicKey", {}).n("IVSRealTimeClient", "DeletePublicKeyCommand").f(void 0, void 0).ser(se_DeletePublicKeyCommand).de(de_DeletePublicKeyCommand).build() {
1802
+ };
1803
+ __name(_DeletePublicKeyCommand, "DeletePublicKeyCommand");
1804
+ var DeletePublicKeyCommand = _DeletePublicKeyCommand;
1805
+
1669
1806
  // src/commands/DeleteStageCommand.ts
1670
1807
 
1671
1808
 
@@ -1762,6 +1899,22 @@ var _GetParticipantCommand = class _GetParticipantCommand extends import_smithy_
1762
1899
  __name(_GetParticipantCommand, "GetParticipantCommand");
1763
1900
  var GetParticipantCommand = _GetParticipantCommand;
1764
1901
 
1902
+ // src/commands/GetPublicKeyCommand.ts
1903
+
1904
+
1905
+
1906
+ var _GetPublicKeyCommand = class _GetPublicKeyCommand extends import_smithy_client.Command.classBuilder().ep({
1907
+ ...commonParams
1908
+ }).m(function(Command, cs, config, o) {
1909
+ return [
1910
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1911
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1912
+ ];
1913
+ }).s("AmazonInteractiveVideoServiceRealTime", "GetPublicKey", {}).n("IVSRealTimeClient", "GetPublicKeyCommand").f(void 0, void 0).ser(se_GetPublicKeyCommand).de(de_GetPublicKeyCommand).build() {
1914
+ };
1915
+ __name(_GetPublicKeyCommand, "GetPublicKeyCommand");
1916
+ var GetPublicKeyCommand = _GetPublicKeyCommand;
1917
+
1765
1918
  // src/commands/GetStageCommand.ts
1766
1919
 
1767
1920
 
@@ -1810,6 +1963,22 @@ var _GetStorageConfigurationCommand = class _GetStorageConfigurationCommand exte
1810
1963
  __name(_GetStorageConfigurationCommand, "GetStorageConfigurationCommand");
1811
1964
  var GetStorageConfigurationCommand = _GetStorageConfigurationCommand;
1812
1965
 
1966
+ // src/commands/ImportPublicKeyCommand.ts
1967
+
1968
+
1969
+
1970
+ var _ImportPublicKeyCommand = class _ImportPublicKeyCommand extends import_smithy_client.Command.classBuilder().ep({
1971
+ ...commonParams
1972
+ }).m(function(Command, cs, config, o) {
1973
+ return [
1974
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1975
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1976
+ ];
1977
+ }).s("AmazonInteractiveVideoServiceRealTime", "ImportPublicKey", {}).n("IVSRealTimeClient", "ImportPublicKeyCommand").f(void 0, void 0).ser(se_ImportPublicKeyCommand).de(de_ImportPublicKeyCommand).build() {
1978
+ };
1979
+ __name(_ImportPublicKeyCommand, "ImportPublicKeyCommand");
1980
+ var ImportPublicKeyCommand = _ImportPublicKeyCommand;
1981
+
1813
1982
  // src/commands/ListCompositionsCommand.ts
1814
1983
 
1815
1984
 
@@ -1874,6 +2043,22 @@ var _ListParticipantsCommand = class _ListParticipantsCommand extends import_smi
1874
2043
  __name(_ListParticipantsCommand, "ListParticipantsCommand");
1875
2044
  var ListParticipantsCommand = _ListParticipantsCommand;
1876
2045
 
2046
+ // src/commands/ListPublicKeysCommand.ts
2047
+
2048
+
2049
+
2050
+ var _ListPublicKeysCommand = class _ListPublicKeysCommand extends import_smithy_client.Command.classBuilder().ep({
2051
+ ...commonParams
2052
+ }).m(function(Command, cs, config, o) {
2053
+ return [
2054
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2055
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2056
+ ];
2057
+ }).s("AmazonInteractiveVideoServiceRealTime", "ListPublicKeys", {}).n("IVSRealTimeClient", "ListPublicKeysCommand").f(void 0, void 0).ser(se_ListPublicKeysCommand).de(de_ListPublicKeysCommand).build() {
2058
+ };
2059
+ __name(_ListPublicKeysCommand, "ListPublicKeysCommand");
2060
+ var ListPublicKeysCommand = _ListPublicKeysCommand;
2061
+
1877
2062
  // src/commands/ListStagesCommand.ts
1878
2063
 
1879
2064
 
@@ -2025,19 +2210,23 @@ var commands = {
2025
2210
  CreateStageCommand,
2026
2211
  CreateStorageConfigurationCommand,
2027
2212
  DeleteEncoderConfigurationCommand,
2213
+ DeletePublicKeyCommand,
2028
2214
  DeleteStageCommand,
2029
2215
  DeleteStorageConfigurationCommand,
2030
2216
  DisconnectParticipantCommand,
2031
2217
  GetCompositionCommand,
2032
2218
  GetEncoderConfigurationCommand,
2033
2219
  GetParticipantCommand,
2220
+ GetPublicKeyCommand,
2034
2221
  GetStageCommand,
2035
2222
  GetStageSessionCommand,
2036
2223
  GetStorageConfigurationCommand,
2224
+ ImportPublicKeyCommand,
2037
2225
  ListCompositionsCommand,
2038
2226
  ListEncoderConfigurationsCommand,
2039
2227
  ListParticipantEventsCommand,
2040
2228
  ListParticipantsCommand,
2229
+ ListPublicKeysCommand,
2041
2230
  ListStagesCommand,
2042
2231
  ListStageSessionsCommand,
2043
2232
  ListStorageConfigurationsCommand,
@@ -2070,6 +2259,10 @@ var paginateListParticipantEvents = (0, import_core.createPaginator)(IVSRealTime
2070
2259
 
2071
2260
  var paginateListParticipants = (0, import_core.createPaginator)(IVSRealTimeClient, ListParticipantsCommand, "nextToken", "nextToken", "maxResults");
2072
2261
 
2262
+ // src/pagination/ListPublicKeysPaginator.ts
2263
+
2264
+ var paginateListPublicKeys = (0, import_core.createPaginator)(IVSRealTimeClient, ListPublicKeysCommand, "nextToken", "nextToken", "maxResults");
2265
+
2073
2266
  // src/pagination/ListStageSessionsPaginator.ts
2074
2267
 
2075
2268
  var paginateListStageSessions = (0, import_core.createPaginator)(IVSRealTimeClient, ListStageSessionsCommand, "nextToken", "nextToken", "maxResults");
@@ -2094,19 +2287,23 @@ var paginateListStorageConfigurations = (0, import_core.createPaginator)(IVSReal
2094
2287
  CreateStageCommand,
2095
2288
  CreateStorageConfigurationCommand,
2096
2289
  DeleteEncoderConfigurationCommand,
2290
+ DeletePublicKeyCommand,
2097
2291
  DeleteStageCommand,
2098
2292
  DeleteStorageConfigurationCommand,
2099
2293
  DisconnectParticipantCommand,
2100
2294
  GetCompositionCommand,
2101
2295
  GetEncoderConfigurationCommand,
2102
2296
  GetParticipantCommand,
2297
+ GetPublicKeyCommand,
2103
2298
  GetStageCommand,
2104
2299
  GetStageSessionCommand,
2105
2300
  GetStorageConfigurationCommand,
2301
+ ImportPublicKeyCommand,
2106
2302
  ListCompositionsCommand,
2107
2303
  ListEncoderConfigurationsCommand,
2108
2304
  ListParticipantEventsCommand,
2109
2305
  ListParticipantsCommand,
2306
+ ListPublicKeysCommand,
2110
2307
  ListStageSessionsCommand,
2111
2308
  ListStagesCommand,
2112
2309
  ListStorageConfigurationsCommand,
@@ -2120,6 +2317,7 @@ var paginateListStorageConfigurations = (0, import_core.createPaginator)(IVSReal
2120
2317
  paginateListEncoderConfigurations,
2121
2318
  paginateListParticipantEvents,
2122
2319
  paginateListParticipants,
2320
+ paginateListPublicKeys,
2123
2321
  paginateListStageSessions,
2124
2322
  paginateListStages,
2125
2323
  paginateListStorageConfigurations,