@aws-sdk/client-ivs-realtime 3.637.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 +6 -6
@@ -74,6 +74,42 @@ export declare class ValidationException extends __BaseException {
74
74
  opts: __ExceptionOptionType<ValidationException, __BaseException>
75
75
  );
76
76
  }
77
+ export declare const IngestProtocol: {
78
+ readonly RTMP: "RTMP";
79
+ readonly RTMPS: "RTMPS";
80
+ };
81
+ export type IngestProtocol =
82
+ (typeof IngestProtocol)[keyof typeof IngestProtocol];
83
+ export interface CreateIngestConfigurationRequest {
84
+ name?: string;
85
+ stageArn?: string;
86
+ userId?: string;
87
+ attributes?: Record<string, string>;
88
+ ingestProtocol: IngestProtocol | undefined;
89
+ insecureIngest?: boolean;
90
+ tags?: Record<string, string>;
91
+ }
92
+ export declare const IngestConfigurationState: {
93
+ readonly ACTIVE: "ACTIVE";
94
+ readonly INACTIVE: "INACTIVE";
95
+ };
96
+ export type IngestConfigurationState =
97
+ (typeof IngestConfigurationState)[keyof typeof IngestConfigurationState];
98
+ export interface IngestConfiguration {
99
+ name?: string;
100
+ arn: string | undefined;
101
+ ingestProtocol: IngestProtocol | undefined;
102
+ streamKey: string | undefined;
103
+ stageArn: string | undefined;
104
+ participantId: string | undefined;
105
+ state: IngestConfigurationState | undefined;
106
+ userId?: string;
107
+ attributes?: Record<string, string>;
108
+ tags?: Record<string, string>;
109
+ }
110
+ export interface CreateIngestConfigurationResponse {
111
+ ingestConfiguration?: IngestConfiguration;
112
+ }
77
113
  export declare const ParticipantTokenCapability: {
78
114
  readonly PUBLISH: "PUBLISH";
79
115
  readonly SUBSCRIBE: "SUBSCRIBE";
@@ -124,6 +160,8 @@ export interface CreateStageRequest {
124
160
  export interface StageEndpoints {
125
161
  events?: string;
126
162
  whip?: string;
163
+ rtmp?: string;
164
+ rtmps?: string;
127
165
  }
128
166
  export interface Stage {
129
167
  arn: string | undefined;
@@ -158,6 +196,11 @@ export interface DeleteEncoderConfigurationRequest {
158
196
  arn: string | undefined;
159
197
  }
160
198
  export interface DeleteEncoderConfigurationResponse {}
199
+ export interface DeleteIngestConfigurationRequest {
200
+ arn: string | undefined;
201
+ force?: boolean;
202
+ }
203
+ export interface DeleteIngestConfigurationResponse {}
161
204
  export interface DeletePublicKeyRequest {
162
205
  arn: string | undefined;
163
206
  }
@@ -302,11 +345,25 @@ export interface GetEncoderConfigurationRequest {
302
345
  export interface GetEncoderConfigurationResponse {
303
346
  encoderConfiguration?: EncoderConfiguration;
304
347
  }
348
+ export interface GetIngestConfigurationRequest {
349
+ arn: string | undefined;
350
+ }
351
+ export interface GetIngestConfigurationResponse {
352
+ ingestConfiguration?: IngestConfiguration;
353
+ }
305
354
  export interface GetParticipantRequest {
306
355
  stageArn: string | undefined;
307
356
  sessionId: string | undefined;
308
357
  participantId: string | undefined;
309
358
  }
359
+ export declare const ParticipantProtocol: {
360
+ readonly RTMP: "RTMP";
361
+ readonly RTMPS: "RTMPS";
362
+ readonly UNKNOWN: "UNKNOWN";
363
+ readonly WHIP: "WHIP";
364
+ };
365
+ export type ParticipantProtocol =
366
+ (typeof ParticipantProtocol)[keyof typeof ParticipantProtocol];
310
367
  export declare const ParticipantRecordingState: {
311
368
  readonly ACTIVE: "ACTIVE";
312
369
  readonly DISABLED: "DISABLED";
@@ -339,6 +396,7 @@ export interface Participant {
339
396
  recordingS3BucketName?: string;
340
397
  recordingS3Prefix?: string;
341
398
  recordingState?: ParticipantRecordingState;
399
+ protocol?: ParticipantProtocol;
342
400
  }
343
401
  export interface GetParticipantResponse {
344
402
  participant?: Participant;
@@ -426,6 +484,25 @@ export interface ListEncoderConfigurationsResponse {
426
484
  encoderConfigurations: EncoderConfigurationSummary[] | undefined;
427
485
  nextToken?: string;
428
486
  }
487
+ export interface ListIngestConfigurationsRequest {
488
+ filterByStageArn?: string;
489
+ filterByState?: IngestConfigurationState;
490
+ nextToken?: string;
491
+ maxResults?: number;
492
+ }
493
+ export interface IngestConfigurationSummary {
494
+ name?: string;
495
+ arn: string | undefined;
496
+ ingestProtocol: IngestProtocol | undefined;
497
+ stageArn: string | undefined;
498
+ participantId: string | undefined;
499
+ state: IngestConfigurationState | undefined;
500
+ userId?: string;
501
+ }
502
+ export interface ListIngestConfigurationsResponse {
503
+ ingestConfigurations: IngestConfigurationSummary[] | undefined;
504
+ nextToken?: string;
505
+ }
429
506
  export interface ListParticipantEventsRequest {
430
507
  stageArn: string | undefined;
431
508
  sessionId: string | undefined;
@@ -434,9 +511,17 @@ export interface ListParticipantEventsRequest {
434
511
  maxResults?: number;
435
512
  }
436
513
  export declare const EventErrorCode: {
514
+ readonly BITRATE_EXCEEDED: "BITRATE_EXCEEDED";
437
515
  readonly INSUFFICIENT_CAPABILITIES: "INSUFFICIENT_CAPABILITIES";
516
+ readonly INVALID_AUDIO_CODEC: "INVALID_AUDIO_CODEC";
517
+ readonly INVALID_PROTOCOL: "INVALID_PROTOCOL";
518
+ readonly INVALID_STREAM_KEY: "INVALID_STREAM_KEY";
519
+ readonly INVALID_VIDEO_CODEC: "INVALID_VIDEO_CODEC";
438
520
  readonly PUBLISHER_NOT_FOUND: "PUBLISHER_NOT_FOUND";
439
521
  readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
522
+ readonly RESOLUTION_EXCEEDED: "RESOLUTION_EXCEEDED";
523
+ readonly REUSE_OF_STREAM_KEY: "REUSE_OF_STREAM_KEY";
524
+ readonly STREAM_DURATION_EXCEEDED: "STREAM_DURATION_EXCEEDED";
440
525
  };
441
526
  export type EventErrorCode =
442
527
  (typeof EventErrorCode)[keyof typeof EventErrorCode];
@@ -579,6 +664,13 @@ export interface UntagResourceRequest {
579
664
  tagKeys: string[] | undefined;
580
665
  }
581
666
  export interface UntagResourceResponse {}
667
+ export interface UpdateIngestConfigurationRequest {
668
+ arn: string | undefined;
669
+ stageArn?: string;
670
+ }
671
+ export interface UpdateIngestConfigurationResponse {
672
+ ingestConfiguration?: IngestConfiguration;
673
+ }
582
674
  export interface UpdateStageRequest {
583
675
  arn: string | undefined;
584
676
  name?: string;
@@ -587,6 +679,12 @@ export interface UpdateStageRequest {
587
679
  export interface UpdateStageResponse {
588
680
  stage?: Stage;
589
681
  }
682
+ export declare const IngestConfigurationFilterSensitiveLog: (
683
+ obj: IngestConfiguration
684
+ ) => any;
685
+ export declare const CreateIngestConfigurationResponseFilterSensitiveLog: (
686
+ obj: CreateIngestConfigurationResponse
687
+ ) => any;
590
688
  export declare const ParticipantTokenFilterSensitiveLog: (
591
689
  obj: ParticipantToken
592
690
  ) => any;
@@ -596,3 +694,9 @@ export declare const CreateParticipantTokenResponseFilterSensitiveLog: (
596
694
  export declare const CreateStageResponseFilterSensitiveLog: (
597
695
  obj: CreateStageResponse
598
696
  ) => any;
697
+ export declare const GetIngestConfigurationResponseFilterSensitiveLog: (
698
+ obj: GetIngestConfigurationResponse
699
+ ) => any;
700
+ export declare const UpdateIngestConfigurationResponseFilterSensitiveLog: (
701
+ obj: UpdateIngestConfigurationResponse
702
+ ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListIngestConfigurationsCommandInput,
4
+ ListIngestConfigurationsCommandOutput,
5
+ } from "../commands/ListIngestConfigurationsCommand";
6
+ import { IVSRealTimePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListIngestConfigurations: (
8
+ config: IVSRealTimePaginationConfiguration,
9
+ input: ListIngestConfigurationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListIngestConfigurationsCommandOutput>;
@@ -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";
@@ -7,6 +7,10 @@ import {
7
7
  CreateEncoderConfigurationCommandInput,
8
8
  CreateEncoderConfigurationCommandOutput,
9
9
  } from "../commands/CreateEncoderConfigurationCommand";
10
+ import {
11
+ CreateIngestConfigurationCommandInput,
12
+ CreateIngestConfigurationCommandOutput,
13
+ } from "../commands/CreateIngestConfigurationCommand";
10
14
  import {
11
15
  CreateParticipantTokenCommandInput,
12
16
  CreateParticipantTokenCommandOutput,
@@ -23,6 +27,10 @@ import {
23
27
  DeleteEncoderConfigurationCommandInput,
24
28
  DeleteEncoderConfigurationCommandOutput,
25
29
  } from "../commands/DeleteEncoderConfigurationCommand";
30
+ import {
31
+ DeleteIngestConfigurationCommandInput,
32
+ DeleteIngestConfigurationCommandOutput,
33
+ } from "../commands/DeleteIngestConfigurationCommand";
26
34
  import {
27
35
  DeletePublicKeyCommandInput,
28
36
  DeletePublicKeyCommandOutput,
@@ -47,6 +55,10 @@ import {
47
55
  GetEncoderConfigurationCommandInput,
48
56
  GetEncoderConfigurationCommandOutput,
49
57
  } from "../commands/GetEncoderConfigurationCommand";
58
+ import {
59
+ GetIngestConfigurationCommandInput,
60
+ GetIngestConfigurationCommandOutput,
61
+ } from "../commands/GetIngestConfigurationCommand";
50
62
  import {
51
63
  GetParticipantCommandInput,
52
64
  GetParticipantCommandOutput,
@@ -79,6 +91,10 @@ import {
79
91
  ListEncoderConfigurationsCommandInput,
80
92
  ListEncoderConfigurationsCommandOutput,
81
93
  } from "../commands/ListEncoderConfigurationsCommand";
94
+ import {
95
+ ListIngestConfigurationsCommandInput,
96
+ ListIngestConfigurationsCommandOutput,
97
+ } from "../commands/ListIngestConfigurationsCommand";
82
98
  import {
83
99
  ListParticipantEventsCommandInput,
84
100
  ListParticipantEventsCommandOutput,
@@ -123,6 +139,10 @@ import {
123
139
  UntagResourceCommandInput,
124
140
  UntagResourceCommandOutput,
125
141
  } from "../commands/UntagResourceCommand";
142
+ import {
143
+ UpdateIngestConfigurationCommandInput,
144
+ UpdateIngestConfigurationCommandOutput,
145
+ } from "../commands/UpdateIngestConfigurationCommand";
126
146
  import {
127
147
  UpdateStageCommandInput,
128
148
  UpdateStageCommandOutput,
@@ -131,6 +151,10 @@ export declare const se_CreateEncoderConfigurationCommand: (
131
151
  input: CreateEncoderConfigurationCommandInput,
132
152
  context: __SerdeContext
133
153
  ) => Promise<__HttpRequest>;
154
+ export declare const se_CreateIngestConfigurationCommand: (
155
+ input: CreateIngestConfigurationCommandInput,
156
+ context: __SerdeContext
157
+ ) => Promise<__HttpRequest>;
134
158
  export declare const se_CreateParticipantTokenCommand: (
135
159
  input: CreateParticipantTokenCommandInput,
136
160
  context: __SerdeContext
@@ -147,6 +171,10 @@ export declare const se_DeleteEncoderConfigurationCommand: (
147
171
  input: DeleteEncoderConfigurationCommandInput,
148
172
  context: __SerdeContext
149
173
  ) => Promise<__HttpRequest>;
174
+ export declare const se_DeleteIngestConfigurationCommand: (
175
+ input: DeleteIngestConfigurationCommandInput,
176
+ context: __SerdeContext
177
+ ) => Promise<__HttpRequest>;
150
178
  export declare const se_DeletePublicKeyCommand: (
151
179
  input: DeletePublicKeyCommandInput,
152
180
  context: __SerdeContext
@@ -171,6 +199,10 @@ export declare const se_GetEncoderConfigurationCommand: (
171
199
  input: GetEncoderConfigurationCommandInput,
172
200
  context: __SerdeContext
173
201
  ) => Promise<__HttpRequest>;
202
+ export declare const se_GetIngestConfigurationCommand: (
203
+ input: GetIngestConfigurationCommandInput,
204
+ context: __SerdeContext
205
+ ) => Promise<__HttpRequest>;
174
206
  export declare const se_GetParticipantCommand: (
175
207
  input: GetParticipantCommandInput,
176
208
  context: __SerdeContext
@@ -203,6 +235,10 @@ export declare const se_ListEncoderConfigurationsCommand: (
203
235
  input: ListEncoderConfigurationsCommandInput,
204
236
  context: __SerdeContext
205
237
  ) => Promise<__HttpRequest>;
238
+ export declare const se_ListIngestConfigurationsCommand: (
239
+ input: ListIngestConfigurationsCommandInput,
240
+ context: __SerdeContext
241
+ ) => Promise<__HttpRequest>;
206
242
  export declare const se_ListParticipantEventsCommand: (
207
243
  input: ListParticipantEventsCommandInput,
208
244
  context: __SerdeContext
@@ -247,6 +283,10 @@ export declare const se_UntagResourceCommand: (
247
283
  input: UntagResourceCommandInput,
248
284
  context: __SerdeContext
249
285
  ) => Promise<__HttpRequest>;
286
+ export declare const se_UpdateIngestConfigurationCommand: (
287
+ input: UpdateIngestConfigurationCommandInput,
288
+ context: __SerdeContext
289
+ ) => Promise<__HttpRequest>;
250
290
  export declare const se_UpdateStageCommand: (
251
291
  input: UpdateStageCommandInput,
252
292
  context: __SerdeContext
@@ -255,6 +295,10 @@ export declare const de_CreateEncoderConfigurationCommand: (
255
295
  output: __HttpResponse,
256
296
  context: __SerdeContext
257
297
  ) => Promise<CreateEncoderConfigurationCommandOutput>;
298
+ export declare const de_CreateIngestConfigurationCommand: (
299
+ output: __HttpResponse,
300
+ context: __SerdeContext
301
+ ) => Promise<CreateIngestConfigurationCommandOutput>;
258
302
  export declare const de_CreateParticipantTokenCommand: (
259
303
  output: __HttpResponse,
260
304
  context: __SerdeContext
@@ -271,6 +315,10 @@ export declare const de_DeleteEncoderConfigurationCommand: (
271
315
  output: __HttpResponse,
272
316
  context: __SerdeContext
273
317
  ) => Promise<DeleteEncoderConfigurationCommandOutput>;
318
+ export declare const de_DeleteIngestConfigurationCommand: (
319
+ output: __HttpResponse,
320
+ context: __SerdeContext
321
+ ) => Promise<DeleteIngestConfigurationCommandOutput>;
274
322
  export declare const de_DeletePublicKeyCommand: (
275
323
  output: __HttpResponse,
276
324
  context: __SerdeContext
@@ -295,6 +343,10 @@ export declare const de_GetEncoderConfigurationCommand: (
295
343
  output: __HttpResponse,
296
344
  context: __SerdeContext
297
345
  ) => Promise<GetEncoderConfigurationCommandOutput>;
346
+ export declare const de_GetIngestConfigurationCommand: (
347
+ output: __HttpResponse,
348
+ context: __SerdeContext
349
+ ) => Promise<GetIngestConfigurationCommandOutput>;
298
350
  export declare const de_GetParticipantCommand: (
299
351
  output: __HttpResponse,
300
352
  context: __SerdeContext
@@ -327,6 +379,10 @@ export declare const de_ListEncoderConfigurationsCommand: (
327
379
  output: __HttpResponse,
328
380
  context: __SerdeContext
329
381
  ) => Promise<ListEncoderConfigurationsCommandOutput>;
382
+ export declare const de_ListIngestConfigurationsCommand: (
383
+ output: __HttpResponse,
384
+ context: __SerdeContext
385
+ ) => Promise<ListIngestConfigurationsCommandOutput>;
330
386
  export declare const de_ListParticipantEventsCommand: (
331
387
  output: __HttpResponse,
332
388
  context: __SerdeContext
@@ -371,6 +427,10 @@ export declare const de_UntagResourceCommand: (
371
427
  output: __HttpResponse,
372
428
  context: __SerdeContext
373
429
  ) => Promise<UntagResourceCommandOutput>;
430
+ export declare const de_UpdateIngestConfigurationCommand: (
431
+ output: __HttpResponse,
432
+ context: __SerdeContext
433
+ ) => Promise<UpdateIngestConfigurationCommandOutput>;
374
434
  export declare const de_UpdateStageCommand: (
375
435
  output: __HttpResponse,
376
436
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ivs-realtime",
3
3
  "description": "AWS SDK for JavaScript Ivs Realtime Client for Node.js, Browser and React Native",
4
- "version": "3.637.0",
4
+ "version": "3.648.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ivs-realtime",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.637.0",
24
- "@aws-sdk/client-sts": "3.637.0",
23
+ "@aws-sdk/client-sso-oidc": "3.645.0",
24
+ "@aws-sdk/client-sts": "3.645.0",
25
25
  "@aws-sdk/core": "3.635.0",
26
- "@aws-sdk/credential-provider-node": "3.637.0",
26
+ "@aws-sdk/credential-provider-node": "3.645.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.637.0",
30
+ "@aws-sdk/middleware-user-agent": "3.645.0",
31
31
  "@aws-sdk/region-config-resolver": "3.614.0",
32
32
  "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.637.0",
33
+ "@aws-sdk/util-endpoints": "3.645.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.609.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.614.0",
36
36
  "@smithy/config-resolver": "^3.0.5",