cdk-lambda-subminute 2.0.299 → 2.0.301

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 (74) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +36 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json +3 -0
  6. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +117 -94
  7. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +37 -31
  8. package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.min.json +369 -20
  9. package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.paginators.json +12 -0
  10. package/node_modules/aws-sdk/apis/dlm-2018-01-12.min.json +108 -15
  11. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +434 -269
  12. package/node_modules/aws-sdk/apis/finspace-2021-03-12.min.json +15 -5
  13. package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.min.json +93 -31
  14. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +3 -0
  15. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +259 -101
  16. package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +10 -0
  17. package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +724 -151
  18. package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.paginators.json +18 -0
  19. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +60 -50
  20. package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.min.json +578 -33
  21. package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.paginators.json +15 -0
  22. package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +32 -26
  23. package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +69 -51
  24. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +52 -12
  25. package/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json +31 -26
  26. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.min.json +1426 -59
  27. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.paginators.json +54 -0
  28. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +909 -335
  29. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.paginators.json +6 -0
  30. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +6 -2
  31. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +562 -53
  32. package/node_modules/aws-sdk/apis/s3control-2018-08-20.paginators.json +4 -0
  33. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +977 -974
  34. package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +161 -146
  35. package/node_modules/aws-sdk/apis/ssm-incidents-2018-05-10.min.json +201 -52
  36. package/node_modules/aws-sdk/apis/ssm-incidents-2018-05-10.paginators.json +6 -0
  37. package/node_modules/aws-sdk/apis/sso-admin-2020-07-20.min.json +1119 -79
  38. package/node_modules/aws-sdk/apis/sso-admin-2020-07-20.paginators.json +52 -0
  39. package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +121 -105
  40. package/node_modules/aws-sdk/clients/autoscaling.d.ts +33 -4
  41. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +29 -4
  42. package/node_modules/aws-sdk/clients/codecatalyst.d.ts +386 -5
  43. package/node_modules/aws-sdk/clients/dlm.d.ts +151 -23
  44. package/node_modules/aws-sdk/clients/ec2.d.ts +198 -2
  45. package/node_modules/aws-sdk/clients/fsx.d.ts +7 -3
  46. package/node_modules/aws-sdk/clients/glue.d.ts +228 -0
  47. package/node_modules/aws-sdk/clients/imagebuilder.d.ts +776 -60
  48. package/node_modules/aws-sdk/clients/iot.d.ts +23 -6
  49. package/node_modules/aws-sdk/clients/ivsrealtime.d.ts +593 -6
  50. package/node_modules/aws-sdk/clients/kafka.d.ts +13 -0
  51. package/node_modules/aws-sdk/clients/lambda.d.ts +40 -6
  52. package/node_modules/aws-sdk/clients/macie2.d.ts +54 -16
  53. package/node_modules/aws-sdk/clients/mediapackage.d.ts +2 -2
  54. package/node_modules/aws-sdk/clients/mwaa.d.ts +28 -5
  55. package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.d.ts +1860 -96
  56. package/node_modules/aws-sdk/clients/polly.d.ts +9 -9
  57. package/node_modules/aws-sdk/clients/quicksight.d.ts +537 -20
  58. package/node_modules/aws-sdk/clients/rds.d.ts +1 -1
  59. package/node_modules/aws-sdk/clients/redshift.d.ts +6 -2
  60. package/node_modules/aws-sdk/clients/s3control.d.ts +359 -7
  61. package/node_modules/aws-sdk/clients/sagemaker.d.ts +12 -2
  62. package/node_modules/aws-sdk/clients/ssm.d.ts +38 -8
  63. package/node_modules/aws-sdk/clients/ssmincidents.d.ts +191 -40
  64. package/node_modules/aws-sdk/clients/ssoadmin.d.ts +1517 -128
  65. package/node_modules/aws-sdk/clients/transfer.d.ts +25 -1
  66. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  67. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +36 -36
  68. package/node_modules/aws-sdk/dist/aws-sdk.js +888 -647
  69. package/node_modules/aws-sdk/dist/aws-sdk.min.js +100 -100
  70. package/node_modules/aws-sdk/lib/core.js +1 -1
  71. package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +1 -1
  72. package/node_modules/aws-sdk/lib/dynamodb/document_client.js +1 -1
  73. package/node_modules/aws-sdk/package.json +1 -1
  74. package/package.json +5 -5
@@ -11,6 +11,14 @@ declare class IVSRealTime extends Service {
11
11
  */
12
12
  constructor(options?: IVSRealTime.Types.ClientConfiguration)
13
13
  config: Config & IVSRealTime.Types.ClientConfiguration;
14
+ /**
15
+ * Creates an EncoderConfiguration object.
16
+ */
17
+ createEncoderConfiguration(params: IVSRealTime.Types.CreateEncoderConfigurationRequest, callback?: (err: AWSError, data: IVSRealTime.Types.CreateEncoderConfigurationResponse) => void): Request<IVSRealTime.Types.CreateEncoderConfigurationResponse, AWSError>;
18
+ /**
19
+ * Creates an EncoderConfiguration object.
20
+ */
21
+ createEncoderConfiguration(callback?: (err: AWSError, data: IVSRealTime.Types.CreateEncoderConfigurationResponse) => void): Request<IVSRealTime.Types.CreateEncoderConfigurationResponse, AWSError>;
14
22
  /**
15
23
  * Creates an additional token for a specified stage. This can be done after stage creation or when tokens expire. Tokens always are scoped to the stage for which they are created. Encryption keys are owned by Amazon IVS and never used directly by your application.
16
24
  */
@@ -27,6 +35,22 @@ declare class IVSRealTime extends Service {
27
35
  * Creates a new stage (and optionally participant tokens).
28
36
  */
29
37
  createStage(callback?: (err: AWSError, data: IVSRealTime.Types.CreateStageResponse) => void): Request<IVSRealTime.Types.CreateStageResponse, AWSError>;
38
+ /**
39
+ * Creates a new storage configuration, used to enable recording to Amazon S3. When a StorageConfiguration is created, IVS will modify the S3 bucketPolicy of the provided bucket. This will ensure that IVS has sufficient permissions to write content to the provided bucket.
40
+ */
41
+ createStorageConfiguration(params: IVSRealTime.Types.CreateStorageConfigurationRequest, callback?: (err: AWSError, data: IVSRealTime.Types.CreateStorageConfigurationResponse) => void): Request<IVSRealTime.Types.CreateStorageConfigurationResponse, AWSError>;
42
+ /**
43
+ * Creates a new storage configuration, used to enable recording to Amazon S3. When a StorageConfiguration is created, IVS will modify the S3 bucketPolicy of the provided bucket. This will ensure that IVS has sufficient permissions to write content to the provided bucket.
44
+ */
45
+ createStorageConfiguration(callback?: (err: AWSError, data: IVSRealTime.Types.CreateStorageConfigurationResponse) => void): Request<IVSRealTime.Types.CreateStorageConfigurationResponse, AWSError>;
46
+ /**
47
+ * Deletes an EncoderConfiguration resource. Ensures that no Compositions are using this template; otherwise, returns an error.
48
+ */
49
+ deleteEncoderConfiguration(params: IVSRealTime.Types.DeleteEncoderConfigurationRequest, callback?: (err: AWSError, data: IVSRealTime.Types.DeleteEncoderConfigurationResponse) => void): Request<IVSRealTime.Types.DeleteEncoderConfigurationResponse, AWSError>;
50
+ /**
51
+ * Deletes an EncoderConfiguration resource. Ensures that no Compositions are using this template; otherwise, returns an error.
52
+ */
53
+ deleteEncoderConfiguration(callback?: (err: AWSError, data: IVSRealTime.Types.DeleteEncoderConfigurationResponse) => void): Request<IVSRealTime.Types.DeleteEncoderConfigurationResponse, AWSError>;
30
54
  /**
31
55
  * Shuts down and deletes the specified stage (disconnecting all participants).
32
56
  */
@@ -35,6 +59,14 @@ declare class IVSRealTime extends Service {
35
59
  * Shuts down and deletes the specified stage (disconnecting all participants).
36
60
  */
37
61
  deleteStage(callback?: (err: AWSError, data: IVSRealTime.Types.DeleteStageResponse) => void): Request<IVSRealTime.Types.DeleteStageResponse, AWSError>;
62
+ /**
63
+ * Deletes the storage configuration for the specified ARN. If you try to delete a storage configuration that is used by a Composition, you will get an error (409 ConflictException). To avoid this, for all Compositions that reference the storage configuration, first use StopComposition and wait for it to complete, then use DeleteStorageConfiguration.
64
+ */
65
+ deleteStorageConfiguration(params: IVSRealTime.Types.DeleteStorageConfigurationRequest, callback?: (err: AWSError, data: IVSRealTime.Types.DeleteStorageConfigurationResponse) => void): Request<IVSRealTime.Types.DeleteStorageConfigurationResponse, AWSError>;
66
+ /**
67
+ * Deletes the storage configuration for the specified ARN. If you try to delete a storage configuration that is used by a Composition, you will get an error (409 ConflictException). To avoid this, for all Compositions that reference the storage configuration, first use StopComposition and wait for it to complete, then use DeleteStorageConfiguration.
68
+ */
69
+ deleteStorageConfiguration(callback?: (err: AWSError, data: IVSRealTime.Types.DeleteStorageConfigurationResponse) => void): Request<IVSRealTime.Types.DeleteStorageConfigurationResponse, AWSError>;
38
70
  /**
39
71
  * Disconnects a specified participant and revokes the participant permanently from a specified stage.
40
72
  */
@@ -43,6 +75,22 @@ declare class IVSRealTime extends Service {
43
75
  * Disconnects a specified participant and revokes the participant permanently from a specified stage.
44
76
  */
45
77
  disconnectParticipant(callback?: (err: AWSError, data: IVSRealTime.Types.DisconnectParticipantResponse) => void): Request<IVSRealTime.Types.DisconnectParticipantResponse, AWSError>;
78
+ /**
79
+ * Get information about the specified Composition resource.
80
+ */
81
+ getComposition(params: IVSRealTime.Types.GetCompositionRequest, callback?: (err: AWSError, data: IVSRealTime.Types.GetCompositionResponse) => void): Request<IVSRealTime.Types.GetCompositionResponse, AWSError>;
82
+ /**
83
+ * Get information about the specified Composition resource.
84
+ */
85
+ getComposition(callback?: (err: AWSError, data: IVSRealTime.Types.GetCompositionResponse) => void): Request<IVSRealTime.Types.GetCompositionResponse, AWSError>;
86
+ /**
87
+ * Gets information about the specified EncoderConfiguration resource.
88
+ */
89
+ getEncoderConfiguration(params: IVSRealTime.Types.GetEncoderConfigurationRequest, callback?: (err: AWSError, data: IVSRealTime.Types.GetEncoderConfigurationResponse) => void): Request<IVSRealTime.Types.GetEncoderConfigurationResponse, AWSError>;
90
+ /**
91
+ * Gets information about the specified EncoderConfiguration resource.
92
+ */
93
+ getEncoderConfiguration(callback?: (err: AWSError, data: IVSRealTime.Types.GetEncoderConfigurationResponse) => void): Request<IVSRealTime.Types.GetEncoderConfigurationResponse, AWSError>;
46
94
  /**
47
95
  * Gets information about the specified participant token.
48
96
  */
@@ -67,6 +115,30 @@ declare class IVSRealTime extends Service {
67
115
  * Gets information for the specified stage session.
68
116
  */
69
117
  getStageSession(callback?: (err: AWSError, data: IVSRealTime.Types.GetStageSessionResponse) => void): Request<IVSRealTime.Types.GetStageSessionResponse, AWSError>;
118
+ /**
119
+ * Gets the storage configuration for the specified ARN.
120
+ */
121
+ getStorageConfiguration(params: IVSRealTime.Types.GetStorageConfigurationRequest, callback?: (err: AWSError, data: IVSRealTime.Types.GetStorageConfigurationResponse) => void): Request<IVSRealTime.Types.GetStorageConfigurationResponse, AWSError>;
122
+ /**
123
+ * Gets the storage configuration for the specified ARN.
124
+ */
125
+ getStorageConfiguration(callback?: (err: AWSError, data: IVSRealTime.Types.GetStorageConfigurationResponse) => void): Request<IVSRealTime.Types.GetStorageConfigurationResponse, AWSError>;
126
+ /**
127
+ * Gets summary information about all Compositions in your account, in the AWS region where the API request is processed.
128
+ */
129
+ listCompositions(params: IVSRealTime.Types.ListCompositionsRequest, callback?: (err: AWSError, data: IVSRealTime.Types.ListCompositionsResponse) => void): Request<IVSRealTime.Types.ListCompositionsResponse, AWSError>;
130
+ /**
131
+ * Gets summary information about all Compositions in your account, in the AWS region where the API request is processed.
132
+ */
133
+ listCompositions(callback?: (err: AWSError, data: IVSRealTime.Types.ListCompositionsResponse) => void): Request<IVSRealTime.Types.ListCompositionsResponse, AWSError>;
134
+ /**
135
+ * Gets summary information about all EncoderConfigurations in your account, in the AWS region where the API request is processed.
136
+ */
137
+ listEncoderConfigurations(params: IVSRealTime.Types.ListEncoderConfigurationsRequest, callback?: (err: AWSError, data: IVSRealTime.Types.ListEncoderConfigurationsResponse) => void): Request<IVSRealTime.Types.ListEncoderConfigurationsResponse, AWSError>;
138
+ /**
139
+ * Gets summary information about all EncoderConfigurations in your account, in the AWS region where the API request is processed.
140
+ */
141
+ listEncoderConfigurations(callback?: (err: AWSError, data: IVSRealTime.Types.ListEncoderConfigurationsResponse) => void): Request<IVSRealTime.Types.ListEncoderConfigurationsResponse, AWSError>;
70
142
  /**
71
143
  * Lists events for a specified participant that occurred during a specified stage session.
72
144
  */
@@ -99,6 +171,14 @@ declare class IVSRealTime extends Service {
99
171
  * Gets summary information about all stages in your account, in the AWS region where the API request is processed.
100
172
  */
101
173
  listStages(callback?: (err: AWSError, data: IVSRealTime.Types.ListStagesResponse) => void): Request<IVSRealTime.Types.ListStagesResponse, AWSError>;
174
+ /**
175
+ * Gets summary information about all storage configurations in your account, in the AWS region where the API request is processed.
176
+ */
177
+ listStorageConfigurations(params: IVSRealTime.Types.ListStorageConfigurationsRequest, callback?: (err: AWSError, data: IVSRealTime.Types.ListStorageConfigurationsResponse) => void): Request<IVSRealTime.Types.ListStorageConfigurationsResponse, AWSError>;
178
+ /**
179
+ * Gets summary information about all storage configurations in your account, in the AWS region where the API request is processed.
180
+ */
181
+ listStorageConfigurations(callback?: (err: AWSError, data: IVSRealTime.Types.ListStorageConfigurationsResponse) => void): Request<IVSRealTime.Types.ListStorageConfigurationsResponse, AWSError>;
102
182
  /**
103
183
  * Gets information about AWS tags for the specified ARN.
104
184
  */
@@ -107,6 +187,22 @@ declare class IVSRealTime extends Service {
107
187
  * Gets information about AWS tags for the specified ARN.
108
188
  */
109
189
  listTagsForResource(callback?: (err: AWSError, data: IVSRealTime.Types.ListTagsForResourceResponse) => void): Request<IVSRealTime.Types.ListTagsForResourceResponse, AWSError>;
190
+ /**
191
+ * Starts a Composition from a stage based on the configuration provided in the request. A Composition is an ephemeral resource that exists after this endpoint returns successfully. Composition stops and the resource is deleted: When StopComposition is called. After a 1-minute timeout, when all participants are disconnected from the stage. After a 1-minute timeout, if there are no participants in the stage when StartComposition is called. When broadcasting to the IVS channel fails and all retries are exhausted. When broadcasting is disconnected and all attempts to reconnect are exhausted.
192
+ */
193
+ startComposition(params: IVSRealTime.Types.StartCompositionRequest, callback?: (err: AWSError, data: IVSRealTime.Types.StartCompositionResponse) => void): Request<IVSRealTime.Types.StartCompositionResponse, AWSError>;
194
+ /**
195
+ * Starts a Composition from a stage based on the configuration provided in the request. A Composition is an ephemeral resource that exists after this endpoint returns successfully. Composition stops and the resource is deleted: When StopComposition is called. After a 1-minute timeout, when all participants are disconnected from the stage. After a 1-minute timeout, if there are no participants in the stage when StartComposition is called. When broadcasting to the IVS channel fails and all retries are exhausted. When broadcasting is disconnected and all attempts to reconnect are exhausted.
196
+ */
197
+ startComposition(callback?: (err: AWSError, data: IVSRealTime.Types.StartCompositionResponse) => void): Request<IVSRealTime.Types.StartCompositionResponse, AWSError>;
198
+ /**
199
+ * Stops and deletes a Composition resource. Any broadcast from the Composition resource is stopped.
200
+ */
201
+ stopComposition(params: IVSRealTime.Types.StopCompositionRequest, callback?: (err: AWSError, data: IVSRealTime.Types.StopCompositionResponse) => void): Request<IVSRealTime.Types.StopCompositionResponse, AWSError>;
202
+ /**
203
+ * Stops and deletes a Composition resource. Any broadcast from the Composition resource is stopped.
204
+ */
205
+ stopComposition(callback?: (err: AWSError, data: IVSRealTime.Types.StopCompositionResponse) => void): Request<IVSRealTime.Types.StopCompositionResponse, AWSError>;
110
206
  /**
111
207
  * Adds or updates tags for the AWS resource with the specified ARN.
112
208
  */
@@ -133,6 +229,107 @@ declare class IVSRealTime extends Service {
133
229
  updateStage(callback?: (err: AWSError, data: IVSRealTime.Types.UpdateStageResponse) => void): Request<IVSRealTime.Types.UpdateStageResponse, AWSError>;
134
230
  }
135
231
  declare namespace IVSRealTime {
232
+ export type AttributeKey = string;
233
+ export type Bitrate = number;
234
+ export type ChannelArn = string;
235
+ export interface ChannelDestinationConfiguration {
236
+ /**
237
+ * ARN of the channel to use for broadcasting. The channel and stage resources must be in the same AWS account and region. The channel must be offline (not broadcasting).
238
+ */
239
+ channelArn: ChannelArn;
240
+ /**
241
+ * ARN of the EncoderConfiguration resource. The encoder configuration and stage resources must be in the same AWS account and region.
242
+ */
243
+ encoderConfigurationArn?: EncoderConfigurationArn;
244
+ }
245
+ export interface Composition {
246
+ /**
247
+ * ARN of the Composition resource.
248
+ */
249
+ arn: CompositionArn;
250
+ /**
251
+ * Array of Destination objects. A Composition can contain either one destination (channel or s3) or two (one channel and one s3).
252
+ */
253
+ destinations: DestinationList;
254
+ /**
255
+ * UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a string.
256
+ */
257
+ endTime?: Time;
258
+ /**
259
+ * Layout object to configure composition parameters.
260
+ */
261
+ layout: LayoutConfiguration;
262
+ /**
263
+ * ARN of the stage used as input
264
+ */
265
+ stageArn: StageArn;
266
+ /**
267
+ * UTC time of the Composition start. This is an ISO 8601 timestamp; note that this is returned as a string.
268
+ */
269
+ startTime?: Time;
270
+ /**
271
+ * State of the Composition.
272
+ */
273
+ state: CompositionState;
274
+ /**
275
+ * Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
276
+ */
277
+ tags?: Tags;
278
+ }
279
+ export type CompositionArn = string;
280
+ export type CompositionClientToken = string;
281
+ export type CompositionState = "STARTING"|"ACTIVE"|"STOPPING"|"FAILED"|"STOPPED"|string;
282
+ export interface CompositionSummary {
283
+ /**
284
+ * ARN of the Composition resource.
285
+ */
286
+ arn: CompositionArn;
287
+ /**
288
+ * Array of Destination objects.
289
+ */
290
+ destinations: DestinationSummaryList;
291
+ /**
292
+ * UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a string.
293
+ */
294
+ endTime?: Time;
295
+ /**
296
+ * ARN of the attached stage.
297
+ */
298
+ stageArn: StageArn;
299
+ /**
300
+ * UTC time of the Composition start. This is an ISO 8601 timestamp; note that this is returned as a string.
301
+ */
302
+ startTime?: Time;
303
+ /**
304
+ * State of the Composition resource.
305
+ */
306
+ state: CompositionState;
307
+ /**
308
+ * Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
309
+ */
310
+ tags?: Tags;
311
+ }
312
+ export type CompositionSummaryList = CompositionSummary[];
313
+ export interface CreateEncoderConfigurationRequest {
314
+ /**
315
+ * Optional name to identify the resource.
316
+ */
317
+ name?: EncoderConfigurationName;
318
+ /**
319
+ * Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
320
+ */
321
+ tags?: Tags;
322
+ /**
323
+ * Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps.
324
+ */
325
+ video?: Video;
326
+ }
327
+ export interface CreateEncoderConfigurationResponse {
328
+ /**
329
+ * The EncoderConfiguration that was created.
330
+ */
331
+ encoderConfiguration?: EncoderConfiguration;
332
+ }
136
333
  export interface CreateParticipantTokenRequest {
137
334
  /**
138
335
  * Application-provided attributes to encode into the token and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
@@ -185,6 +382,34 @@ declare namespace IVSRealTime {
185
382
  */
186
383
  stage?: Stage;
187
384
  }
385
+ export interface CreateStorageConfigurationRequest {
386
+ /**
387
+ * Storage configuration name. The value does not need to be unique.
388
+ */
389
+ name?: StorageConfigurationName;
390
+ /**
391
+ * A complex type that contains a storage configuration for where recorded video will be stored.
392
+ */
393
+ s3: S3StorageConfiguration;
394
+ /**
395
+ * Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
396
+ */
397
+ tags?: Tags;
398
+ }
399
+ export interface CreateStorageConfigurationResponse {
400
+ /**
401
+ * The StorageConfiguration that was created.
402
+ */
403
+ storageConfiguration?: StorageConfiguration;
404
+ }
405
+ export interface DeleteEncoderConfigurationRequest {
406
+ /**
407
+ * ARN of the EncoderConfiguration.
408
+ */
409
+ arn: EncoderConfigurationArn;
410
+ }
411
+ export interface DeleteEncoderConfigurationResponse {
412
+ }
188
413
  export interface DeleteStageRequest {
189
414
  /**
190
415
  * ARN of the stage to be deleted.
@@ -193,6 +418,83 @@ declare namespace IVSRealTime {
193
418
  }
194
419
  export interface DeleteStageResponse {
195
420
  }
421
+ export interface DeleteStorageConfigurationRequest {
422
+ /**
423
+ * ARN of the storage configuration to be deleted.
424
+ */
425
+ arn: StorageConfigurationArn;
426
+ }
427
+ export interface DeleteStorageConfigurationResponse {
428
+ }
429
+ export interface Destination {
430
+ /**
431
+ * Configuration used to create this destination.
432
+ */
433
+ configuration: DestinationConfiguration;
434
+ /**
435
+ * Optional details regarding the status of the destination.
436
+ */
437
+ detail?: DestinationDetail;
438
+ /**
439
+ * UTC time of the destination end. This is an ISO 8601 timestamp; note that this is returned as a string.
440
+ */
441
+ endTime?: Time;
442
+ /**
443
+ * Unique identifier for this destination, assigned by IVS.
444
+ */
445
+ id: String;
446
+ /**
447
+ * UTC time of the destination start. This is an ISO 8601 timestamp; note that this is returned as a string.
448
+ */
449
+ startTime?: Time;
450
+ /**
451
+ * State of the Composition Destination.
452
+ */
453
+ state: DestinationState;
454
+ }
455
+ export interface DestinationConfiguration {
456
+ /**
457
+ * An IVS channel to be used for broadcasting, for server-side composition. Either a channel or an s3 must be specified.
458
+ */
459
+ channel?: ChannelDestinationConfiguration;
460
+ /**
461
+ * Name that can be specified to help identify the destination.
462
+ */
463
+ name?: DestinationConfigurationName;
464
+ /**
465
+ * An S3 storage configuration to be used for recording video data. Either a channel or an s3 must be specified.
466
+ */
467
+ s3?: S3DestinationConfiguration;
468
+ }
469
+ export type DestinationConfigurationList = DestinationConfiguration[];
470
+ export type DestinationConfigurationName = string;
471
+ export interface DestinationDetail {
472
+ /**
473
+ * An S3 detail object to return information about the S3 destination.
474
+ */
475
+ s3?: S3Detail;
476
+ }
477
+ export type DestinationList = Destination[];
478
+ export type DestinationState = "STARTING"|"ACTIVE"|"STOPPING"|"RECONNECTING"|"FAILED"|"STOPPED"|string;
479
+ export interface DestinationSummary {
480
+ /**
481
+ * UTC time of the destination end. This is an ISO 8601 timestamp; note that this is returned as a string.
482
+ */
483
+ endTime?: Time;
484
+ /**
485
+ * Unique identifier for this destination, assigned by IVS.
486
+ */
487
+ id: String;
488
+ /**
489
+ * UTC time of the destination start. This is an ISO 8601 timestamp; note that this is returned as a string.
490
+ */
491
+ startTime?: Time;
492
+ /**
493
+ * State of the Composition Destination.
494
+ */
495
+ state: DestinationState;
496
+ }
497
+ export type DestinationSummaryList = DestinationSummary[];
196
498
  export type DisconnectParticipantReason = string;
197
499
  export interface DisconnectParticipantRequest {
198
500
  /**
@@ -210,6 +512,42 @@ declare namespace IVSRealTime {
210
512
  }
211
513
  export interface DisconnectParticipantResponse {
212
514
  }
515
+ export interface EncoderConfiguration {
516
+ /**
517
+ * ARN of the EncoderConfiguration resource.
518
+ */
519
+ arn: EncoderConfigurationArn;
520
+ /**
521
+ * Optional name to identify the resource.
522
+ */
523
+ name?: EncoderConfigurationName;
524
+ /**
525
+ * Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
526
+ */
527
+ tags?: Tags;
528
+ /**
529
+ * Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps
530
+ */
531
+ video?: Video;
532
+ }
533
+ export type EncoderConfigurationArn = string;
534
+ export type EncoderConfigurationArnList = EncoderConfigurationArn[];
535
+ export type EncoderConfigurationName = string;
536
+ export interface EncoderConfigurationSummary {
537
+ /**
538
+ * ARN of the EncoderConfiguration resource.
539
+ */
540
+ arn: EncoderConfigurationArn;
541
+ /**
542
+ * Optional name to identify the resource.
543
+ */
544
+ name?: EncoderConfigurationName;
545
+ /**
546
+ * Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
547
+ */
548
+ tags?: Tags;
549
+ }
550
+ export type EncoderConfigurationSummaryList = EncoderConfigurationSummary[];
213
551
  export interface Event {
214
552
  /**
215
553
  * If the event is an error event, the error code is provided to give insight into the specific error that occurred. If the event is not an error event, this field is null. INSUFFICIENT_CAPABILITIES indicates that the participant tried to take an action that the participant’s token is not allowed to do. For more information about participant capabilities, see the capabilities field in CreateParticipantToken. QUOTA_EXCEEDED indicates that the number of participants who want to publish/subscribe to a stage exceeds the quota; for more information, see Service Quotas. PUBLISHER_NOT_FOUND indicates that the participant tried to subscribe to a publisher that doesn’t exist.
@@ -235,6 +573,31 @@ declare namespace IVSRealTime {
235
573
  export type EventErrorCode = "INSUFFICIENT_CAPABILITIES"|"QUOTA_EXCEEDED"|"PUBLISHER_NOT_FOUND"|string;
236
574
  export type EventList = Event[];
237
575
  export type EventName = "JOINED"|"LEFT"|"PUBLISH_STARTED"|"PUBLISH_STOPPED"|"SUBSCRIBE_STARTED"|"SUBSCRIBE_STOPPED"|"PUBLISH_ERROR"|"SUBSCRIBE_ERROR"|"JOIN_ERROR"|string;
576
+ export type Framerate = number;
577
+ export interface GetCompositionRequest {
578
+ /**
579
+ * ARN of the Composition resource.
580
+ */
581
+ arn: CompositionArn;
582
+ }
583
+ export interface GetCompositionResponse {
584
+ /**
585
+ * The Composition that was returned.
586
+ */
587
+ composition?: Composition;
588
+ }
589
+ export interface GetEncoderConfigurationRequest {
590
+ /**
591
+ * ARN of the EncoderConfiguration resource.
592
+ */
593
+ arn: EncoderConfigurationArn;
594
+ }
595
+ export interface GetEncoderConfigurationResponse {
596
+ /**
597
+ * The EncoderConfiguration that was returned.
598
+ */
599
+ encoderConfiguration?: EncoderConfiguration;
600
+ }
238
601
  export interface GetParticipantRequest {
239
602
  /**
240
603
  * Unique identifier for the participant. This is assigned by IVS and returned by CreateParticipantToken.
@@ -283,13 +646,86 @@ declare namespace IVSRealTime {
283
646
  */
284
647
  stageSession?: StageSession;
285
648
  }
649
+ export interface GetStorageConfigurationRequest {
650
+ /**
651
+ * ARN of the storage configuration to be retrieved.
652
+ */
653
+ arn: StorageConfigurationArn;
654
+ }
655
+ export interface GetStorageConfigurationResponse {
656
+ /**
657
+ * The StorageConfiguration that was returned.
658
+ */
659
+ storageConfiguration?: StorageConfiguration;
660
+ }
661
+ export interface GridConfiguration {
662
+ /**
663
+ * This attribute name identifies the featured slot. A participant with this attribute set to "true" (as a string value) in ParticipantTokenConfiguration is placed in the featured slot.
664
+ */
665
+ featuredParticipantAttribute?: AttributeKey;
666
+ }
667
+ export type Height = number;
668
+ export interface LayoutConfiguration {
669
+ /**
670
+ * Configuration related to grid layout. Default: Grid layout.
671
+ */
672
+ grid?: GridConfiguration;
673
+ }
674
+ export interface ListCompositionsRequest {
675
+ /**
676
+ * Filters the Composition list to match the specified EncoderConfiguration attached to at least one of its output.
677
+ */
678
+ filterByEncoderConfigurationArn?: EncoderConfigurationArn;
679
+ /**
680
+ * Filters the Composition list to match the specified Stage ARN.
681
+ */
682
+ filterByStageArn?: StageArn;
683
+ /**
684
+ * Maximum number of results to return. Default: 100.
685
+ */
686
+ maxResults?: MaxCompositionResults;
687
+ /**
688
+ * The first Composition to retrieve. This is used for pagination; see the nextToken response field.
689
+ */
690
+ nextToken?: PaginationToken;
691
+ }
692
+ export interface ListCompositionsResponse {
693
+ /**
694
+ * List of the matching Compositions (summary information only).
695
+ */
696
+ compositions: CompositionSummaryList;
697
+ /**
698
+ * If there are more compositions than maxResults, use nextToken in the request to get the next set.
699
+ */
700
+ nextToken?: PaginationToken;
701
+ }
702
+ export interface ListEncoderConfigurationsRequest {
703
+ /**
704
+ * Maximum number of results to return. Default: 100.
705
+ */
706
+ maxResults?: MaxEncoderConfigurationResults;
707
+ /**
708
+ * The first encoder configuration to retrieve. This is used for pagination; see the nextToken response field.
709
+ */
710
+ nextToken?: PaginationToken;
711
+ }
712
+ export interface ListEncoderConfigurationsResponse {
713
+ /**
714
+ * List of the matching EncoderConfigurations (summary information only).
715
+ */
716
+ encoderConfigurations: EncoderConfigurationSummaryList;
717
+ /**
718
+ * If there are more encoder configurations than maxResults, use nextToken in the request to get the next set.
719
+ */
720
+ nextToken?: PaginationToken;
721
+ }
286
722
  export interface ListParticipantEventsRequest {
287
723
  /**
288
724
  * Maximum number of results to return. Default: 50.
289
725
  */
290
726
  maxResults?: MaxParticipantEventResults;
291
727
  /**
292
- * The first participant to retrieve. This is used for pagination; see the nextToken response field.
728
+ * The first participant event to retrieve. This is used for pagination; see the nextToken response field.
293
729
  */
294
730
  nextToken?: PaginationToken;
295
731
  /**
@@ -311,7 +747,7 @@ declare namespace IVSRealTime {
311
747
  */
312
748
  events: EventList;
313
749
  /**
314
- * If there are more rooms than maxResults, use nextToken in the request to get the next set.
750
+ * If there are more events than maxResults, use nextToken in the request to get the next set.
315
751
  */
316
752
  nextToken?: PaginationToken;
317
753
  }
@@ -347,7 +783,7 @@ declare namespace IVSRealTime {
347
783
  }
348
784
  export interface ListParticipantsResponse {
349
785
  /**
350
- * If there are more rooms than maxResults, use nextToken in the request to get the next set.
786
+ * If there are more participants than maxResults, use nextToken in the request to get the next set.
351
787
  */
352
788
  nextToken?: PaginationToken;
353
789
  /**
@@ -361,7 +797,7 @@ declare namespace IVSRealTime {
361
797
  */
362
798
  maxResults?: MaxStageSessionResults;
363
799
  /**
364
- * The first stage to retrieve. This is used for pagination; see the nextToken response field.
800
+ * The first stage session to retrieve. This is used for pagination; see the nextToken response field.
365
801
  */
366
802
  nextToken?: PaginationToken;
367
803
  /**
@@ -371,7 +807,7 @@ declare namespace IVSRealTime {
371
807
  }
372
808
  export interface ListStageSessionsResponse {
373
809
  /**
374
- * If there are more rooms than maxResults, use nextToken in the request to get the next set.
810
+ * If there are more stage sessions than maxResults, use nextToken in the request to get the next set.
375
811
  */
376
812
  nextToken?: PaginationToken;
377
813
  /**
@@ -391,7 +827,7 @@ declare namespace IVSRealTime {
391
827
  }
392
828
  export interface ListStagesResponse {
393
829
  /**
394
- * If there are more rooms than maxResults, use nextToken in the request to get the next set.
830
+ * If there are more stages than maxResults, use nextToken in the request to get the next set.
395
831
  */
396
832
  nextToken?: PaginationToken;
397
833
  /**
@@ -399,6 +835,26 @@ declare namespace IVSRealTime {
399
835
  */
400
836
  stages: StageSummaryList;
401
837
  }
838
+ export interface ListStorageConfigurationsRequest {
839
+ /**
840
+ * Maximum number of storage configurations to return. Default: your service quota or 100, whichever is smaller.
841
+ */
842
+ maxResults?: MaxStorageConfigurationResults;
843
+ /**
844
+ * The first storage configuration to retrieve. This is used for pagination; see the nextToken response field.
845
+ */
846
+ nextToken?: PaginationToken;
847
+ }
848
+ export interface ListStorageConfigurationsResponse {
849
+ /**
850
+ * If there are more storage configurations than maxResults, use nextToken in the request to get the next set.
851
+ */
852
+ nextToken?: PaginationToken;
853
+ /**
854
+ * List of the matching storage configurations.
855
+ */
856
+ storageConfigurations: StorageConfigurationSummaryList;
857
+ }
402
858
  export interface ListTagsForResourceRequest {
403
859
  /**
404
860
  * The ARN of the resource to be retrieved. The ARN must be URL-encoded.
@@ -411,10 +867,13 @@ declare namespace IVSRealTime {
411
867
  */
412
868
  tags: Tags;
413
869
  }
870
+ export type MaxCompositionResults = number;
871
+ export type MaxEncoderConfigurationResults = number;
414
872
  export type MaxParticipantEventResults = number;
415
873
  export type MaxParticipantResults = number;
416
874
  export type MaxStageResults = number;
417
875
  export type MaxStageSessionResults = number;
876
+ export type MaxStorageConfigurationResults = number;
418
877
  export type PaginationToken = string;
419
878
  export interface Participant {
420
879
  /**
@@ -552,7 +1011,41 @@ declare namespace IVSRealTime {
552
1011
  export type ParticipantTokenString = string;
553
1012
  export type ParticipantTokenUserId = string;
554
1013
  export type Published = boolean;
1014
+ export interface RecordingConfiguration {
1015
+ /**
1016
+ * The recording format for storing a recording in Amazon S3.
1017
+ */
1018
+ format?: RecordingConfigurationFormat;
1019
+ }
1020
+ export type RecordingConfigurationFormat = "HLS"|string;
555
1021
  export type ResourceArn = string;
1022
+ export type S3BucketName = string;
1023
+ export interface S3DestinationConfiguration {
1024
+ /**
1025
+ * ARNs of the EncoderConfiguration resource. The encoder configuration and stage resources must be in the same AWS account and region.
1026
+ */
1027
+ encoderConfigurationArns: EncoderConfigurationArnList;
1028
+ /**
1029
+ * Array of maps, each of the form string:string (key:value). This is an optional customer specification, currently used only to specify the recording format for storing a recording in Amazon S3.
1030
+ */
1031
+ recordingConfiguration?: RecordingConfiguration;
1032
+ /**
1033
+ * ARN of the StorageConfiguration where recorded videos will be stored.
1034
+ */
1035
+ storageConfigurationArn: StorageConfigurationArn;
1036
+ }
1037
+ export interface S3Detail {
1038
+ /**
1039
+ * The S3 bucket prefix under which the recording is stored.
1040
+ */
1041
+ recordingPrefix: String;
1042
+ }
1043
+ export interface S3StorageConfiguration {
1044
+ /**
1045
+ * Location (S3 bucket name) where recorded videos will be stored. Note that the StorageConfiguration and S3 bucket must be in the same region as the Composition.
1046
+ */
1047
+ bucketName: S3BucketName;
1048
+ }
556
1049
  export interface Stage {
557
1050
  /**
558
1051
  * ID of the active session within the stage.
@@ -622,6 +1115,81 @@ declare namespace IVSRealTime {
622
1115
  tags?: Tags;
623
1116
  }
624
1117
  export type StageSummaryList = StageSummary[];
1118
+ export interface StartCompositionRequest {
1119
+ /**
1120
+ * Array of destination configuration.
1121
+ */
1122
+ destinations: DestinationConfigurationList;
1123
+ /**
1124
+ * Idempotency token.
1125
+ */
1126
+ idempotencyToken?: CompositionClientToken;
1127
+ /**
1128
+ * Layout object to configure composition parameters.
1129
+ */
1130
+ layout?: LayoutConfiguration;
1131
+ /**
1132
+ * ARN of the stage to be used for compositing.
1133
+ */
1134
+ stageArn: StageArn;
1135
+ /**
1136
+ * Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
1137
+ */
1138
+ tags?: Tags;
1139
+ }
1140
+ export interface StartCompositionResponse {
1141
+ /**
1142
+ * The Composition that was created.
1143
+ */
1144
+ composition?: Composition;
1145
+ }
1146
+ export interface StopCompositionRequest {
1147
+ /**
1148
+ * ARN of the Composition.
1149
+ */
1150
+ arn: CompositionArn;
1151
+ }
1152
+ export interface StopCompositionResponse {
1153
+ }
1154
+ export interface StorageConfiguration {
1155
+ /**
1156
+ * ARN of the storage configuration.
1157
+ */
1158
+ arn: StorageConfigurationArn;
1159
+ /**
1160
+ * Name of the storage configuration.
1161
+ */
1162
+ name?: StorageConfigurationName;
1163
+ /**
1164
+ * An S3 destination configuration where recorded videos will be stored.
1165
+ */
1166
+ s3?: S3StorageConfiguration;
1167
+ /**
1168
+ * Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
1169
+ */
1170
+ tags?: Tags;
1171
+ }
1172
+ export type StorageConfigurationArn = string;
1173
+ export type StorageConfigurationName = string;
1174
+ export interface StorageConfigurationSummary {
1175
+ /**
1176
+ * ARN of the storage configuration.
1177
+ */
1178
+ arn: StorageConfigurationArn;
1179
+ /**
1180
+ * Name of the storage configuration.
1181
+ */
1182
+ name?: StorageConfigurationName;
1183
+ /**
1184
+ * An S3 destination configuration where recorded videos will be stored.
1185
+ */
1186
+ s3?: S3StorageConfiguration;
1187
+ /**
1188
+ * Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
1189
+ */
1190
+ tags?: Tags;
1191
+ }
1192
+ export type StorageConfigurationSummaryList = StorageConfigurationSummary[];
625
1193
  export type String = string;
626
1194
  export type TagKey = string;
627
1195
  export type TagKeyList = TagKey[];
@@ -669,6 +1237,25 @@ declare namespace IVSRealTime {
669
1237
  stage?: Stage;
670
1238
  }
671
1239
  export type UserId = string;
1240
+ export interface Video {
1241
+ /**
1242
+ * Bitrate for generated output, in bps. Default: 2500000.
1243
+ */
1244
+ bitrate?: Bitrate;
1245
+ /**
1246
+ * Video frame rate, in fps. Default: 30.
1247
+ */
1248
+ framerate?: Framerate;
1249
+ /**
1250
+ * Video-resolution height. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.
1251
+ */
1252
+ height?: Height;
1253
+ /**
1254
+ * Video-resolution width. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.
1255
+ */
1256
+ width?: Width;
1257
+ }
1258
+ export type Width = number;
672
1259
  /**
673
1260
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
674
1261
  */