aws-sdk-ivs 1.17.0 → 1.18.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50fa4603c35c219f638f305e5df3ac249361189e58de77a990db436027761845
4
- data.tar.gz: 7a7174f634f206e7dcd80ca559ceb2f8c50fb3ffdf4c922b19e474525c4c0851
3
+ metadata.gz: 80e7e30082cf7f21ad71dbf8e661c02d7909e46b10667ba062e1fb4885260488
4
+ data.tar.gz: 3dbd69d6790c293c4a8cd689dda1d04c7d90961e8abdfb48bf8bd04397d04b9d
5
5
  SHA512:
6
- metadata.gz: fd57b662afaaefa003f7f0b3b50325868700107a9018dfc95b66a3e1eb6f3028d12845390cbdf1b177e7f9c6a8eb4ba3eaa51f1057276fab14ab97a0d5088815
7
- data.tar.gz: 314fbd3acea7a69acec247faf0d1723bf60631110562c0e3513d38213fda0b58a0d44cecc4fa4bfe8486d7745361692b54e245ab3233fdd4c4b52f8e424e018a
6
+ metadata.gz: 1893d47cde84483ea185ff775692338b869f52bf8e237dc3e40fcfbe1b9155012f94f2c688fb1286d19ef558f9a9d921af0b2d13eae02d8d83d0a27be1911595
7
+ data.tar.gz: acae82ca9d5e379c6421814617470daff9978859f36695304e7e08742296dfc1db77bd201c91d1fc2becc67d40f1ab3e6858e0474831f01eb1f94218dbb87783
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.0 (2022-01-18)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for the new Thumbnail Configuration property for Recording Configurations. For more information see https://docs.aws.amazon.com/ivs/latest/userguide/record-to-s3.html
8
+
4
9
  1.17.0 (2021-12-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.18.0
@@ -537,6 +537,11 @@ module Aws::IVS
537
537
  # @option params [Hash<String,String>] :tags
538
538
  # Array of 1-50 maps, each of the form `string:string (key:value)`.
539
539
  #
540
+ # @option params [Types::ThumbnailConfiguration] :thumbnail_configuration
541
+ # A complex type that allows you to enable/disable the recording of
542
+ # thumbnails for a live session and modify the interval at which
543
+ # thumbnails are generated for the live session.
544
+ #
540
545
  # @return [Types::CreateRecordingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
541
546
  #
542
547
  # * {Types::CreateRecordingConfigurationResponse#recording_configuration #recording_configuration} => Types::RecordingConfiguration
@@ -553,6 +558,10 @@ module Aws::IVS
553
558
  # tags: {
554
559
  # "TagKey" => "TagValue",
555
560
  # },
561
+ # thumbnail_configuration: {
562
+ # recording_mode: "DISABLED", # accepts DISABLED, INTERVAL
563
+ # target_interval_seconds: 1,
564
+ # },
556
565
  # })
557
566
  #
558
567
  # @example Response structure
@@ -563,6 +572,8 @@ module Aws::IVS
563
572
  # resp.recording_configuration.state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE"
564
573
  # resp.recording_configuration.tags #=> Hash
565
574
  # resp.recording_configuration.tags["TagKey"] #=> String
575
+ # resp.recording_configuration.thumbnail_configuration.recording_mode #=> String, one of "DISABLED", "INTERVAL"
576
+ # resp.recording_configuration.thumbnail_configuration.target_interval_seconds #=> Integer
566
577
  #
567
578
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateRecordingConfiguration AWS API Documentation
568
579
  #
@@ -831,6 +842,8 @@ module Aws::IVS
831
842
  # resp.recording_configuration.state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE"
832
843
  # resp.recording_configuration.tags #=> Hash
833
844
  # resp.recording_configuration.tags["TagKey"] #=> String
845
+ # resp.recording_configuration.thumbnail_configuration.recording_mode #=> String, one of "DISABLED", "INTERVAL"
846
+ # resp.recording_configuration.thumbnail_configuration.target_interval_seconds #=> Integer
834
847
  #
835
848
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetRecordingConfiguration AWS API Documentation
836
849
  #
@@ -960,6 +973,8 @@ module Aws::IVS
960
973
  # resp.stream_session.recording_configuration.state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE"
961
974
  # resp.stream_session.recording_configuration.tags #=> Hash
962
975
  # resp.stream_session.recording_configuration.tags["TagKey"] #=> String
976
+ # resp.stream_session.recording_configuration.thumbnail_configuration.recording_mode #=> String, one of "DISABLED", "INTERVAL"
977
+ # resp.stream_session.recording_configuration.thumbnail_configuration.target_interval_seconds #=> Integer
963
978
  # resp.stream_session.start_time #=> Time
964
979
  # resp.stream_session.stream_id #=> String
965
980
  # resp.stream_session.truncated_events #=> Array
@@ -1557,7 +1572,7 @@ module Aws::IVS
1557
1572
  params: params,
1558
1573
  config: config)
1559
1574
  context[:gem_name] = 'aws-sdk-ivs'
1560
- context[:gem_version] = '1.17.0'
1575
+ context[:gem_version] = '1.18.0'
1561
1576
  Seahorse::Client::Request.new(handlers, context)
1562
1577
  end
1563
1578
 
@@ -101,6 +101,7 @@ module Aws::IVS
101
101
  RecordingConfigurationName = Shapes::StringShape.new(name: 'RecordingConfigurationName')
102
102
  RecordingConfigurationState = Shapes::StringShape.new(name: 'RecordingConfigurationState')
103
103
  RecordingConfigurationSummary = Shapes::StructureShape.new(name: 'RecordingConfigurationSummary')
104
+ RecordingMode = Shapes::StringShape.new(name: 'RecordingMode')
104
105
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
105
106
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
106
107
  S3DestinationBucketName = Shapes::StringShape.new(name: 'S3DestinationBucketName')
@@ -138,7 +139,9 @@ module Aws::IVS
138
139
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
139
140
  TagValue = Shapes::StringShape.new(name: 'TagValue')
140
141
  Tags = Shapes::MapShape.new(name: 'Tags')
142
+ TargetIntervalSeconds = Shapes::IntegerShape.new(name: 'TargetIntervalSeconds')
141
143
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
144
+ ThumbnailConfiguration = Shapes::StructureShape.new(name: 'ThumbnailConfiguration')
142
145
  Time = Shapes::TimestampShape.new(name: 'Time', timestampFormat: "iso8601")
143
146
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
144
147
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
@@ -225,6 +228,7 @@ module Aws::IVS
225
228
  CreateRecordingConfigurationRequest.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, required: true, location_name: "destinationConfiguration"))
226
229
  CreateRecordingConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: RecordingConfigurationName, location_name: "name"))
227
230
  CreateRecordingConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
231
+ CreateRecordingConfigurationRequest.add_member(:thumbnail_configuration, Shapes::ShapeRef.new(shape: ThumbnailConfiguration, location_name: "thumbnailConfiguration"))
228
232
  CreateRecordingConfigurationRequest.struct_class = Types::CreateRecordingConfigurationRequest
229
233
 
230
234
  CreateRecordingConfigurationResponse.add_member(:recording_configuration, Shapes::ShapeRef.new(shape: RecordingConfiguration, location_name: "recordingConfiguration"))
@@ -390,6 +394,7 @@ module Aws::IVS
390
394
  RecordingConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: RecordingConfigurationName, location_name: "name"))
391
395
  RecordingConfiguration.add_member(:state, Shapes::ShapeRef.new(shape: RecordingConfigurationState, required: true, location_name: "state"))
392
396
  RecordingConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
397
+ RecordingConfiguration.add_member(:thumbnail_configuration, Shapes::ShapeRef.new(shape: ThumbnailConfiguration, location_name: "thumbnailConfiguration"))
393
398
  RecordingConfiguration.struct_class = Types::RecordingConfiguration
394
399
 
395
400
  RecordingConfigurationList.member = Shapes::ShapeRef.new(shape: RecordingConfigurationSummary)
@@ -495,6 +500,10 @@ module Aws::IVS
495
500
  ThrottlingException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
496
501
  ThrottlingException.struct_class = Types::ThrottlingException
497
502
 
503
+ ThumbnailConfiguration.add_member(:recording_mode, Shapes::ShapeRef.new(shape: RecordingMode, location_name: "recordingMode"))
504
+ ThumbnailConfiguration.add_member(:target_interval_seconds, Shapes::ShapeRef.new(shape: TargetIntervalSeconds, location_name: "targetIntervalSeconds"))
505
+ ThumbnailConfiguration.struct_class = Types::ThumbnailConfiguration
506
+
498
507
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
499
508
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
500
509
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -822,6 +831,7 @@ module Aws::IVS
822
831
  o.input = Shapes::ShapeRef.new(shape: ListStreamsRequest)
823
832
  o.output = Shapes::ShapeRef.new(shape: ListStreamsResponse)
824
833
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
834
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
825
835
  o[:pager] = Aws::Pager.new(
826
836
  limit_key: "max_results",
827
837
  tokens: {
@@ -385,6 +385,10 @@ module Aws::IVS
385
385
  # tags: {
386
386
  # "TagKey" => "TagValue",
387
387
  # },
388
+ # thumbnail_configuration: {
389
+ # recording_mode: "DISABLED", # accepts DISABLED, INTERVAL
390
+ # target_interval_seconds: 1,
391
+ # },
388
392
  # }
389
393
  #
390
394
  # @!attribute [rw] destination_configuration
@@ -400,12 +404,19 @@ module Aws::IVS
400
404
  # Array of 1-50 maps, each of the form `string:string (key:value)`.
401
405
  # @return [Hash<String,String>]
402
406
  #
407
+ # @!attribute [rw] thumbnail_configuration
408
+ # A complex type that allows you to enable/disable the recording of
409
+ # thumbnails for a live session and modify the interval at which
410
+ # thumbnails are generated for the live session.
411
+ # @return [Types::ThumbnailConfiguration]
412
+ #
403
413
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateRecordingConfigurationRequest AWS API Documentation
404
414
  #
405
415
  class CreateRecordingConfigurationRequest < Struct.new(
406
416
  :destination_configuration,
407
417
  :name,
408
- :tags)
418
+ :tags,
419
+ :thumbnail_configuration)
409
420
  SENSITIVE = []
410
421
  include Aws::Structure
411
422
  end
@@ -1078,6 +1089,7 @@ module Aws::IVS
1078
1089
  # @return [String]
1079
1090
  #
1080
1091
  # @!attribute [rw] stream_sessions
1092
+ # List of stream sessions.
1081
1093
  # @return [Array<Types::StreamSessionSummary>]
1082
1094
  #
1083
1095
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListStreamSessionsResponse AWS API Documentation
@@ -1287,6 +1299,12 @@ module Aws::IVS
1287
1299
  # Array of 1-50 maps, each of the form `string:string (key:value)`.
1288
1300
  # @return [Hash<String,String>]
1289
1301
  #
1302
+ # @!attribute [rw] thumbnail_configuration
1303
+ # A complex type that allows you to enable/disable the recording of
1304
+ # thumbnails for a live session and modify the interval at which
1305
+ # thumbnails are generated for the live session.
1306
+ # @return [Types::ThumbnailConfiguration]
1307
+ #
1290
1308
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/RecordingConfiguration AWS API Documentation
1291
1309
  #
1292
1310
  class RecordingConfiguration < Struct.new(
@@ -1294,7 +1312,8 @@ module Aws::IVS
1294
1312
  :destination_configuration,
1295
1313
  :name,
1296
1314
  :state,
1297
- :tags)
1315
+ :tags,
1316
+ :thumbnail_configuration)
1298
1317
  SENSITIVE = []
1299
1318
  include Aws::Structure
1300
1319
  end
@@ -1745,6 +1764,48 @@ module Aws::IVS
1745
1764
  include Aws::Structure
1746
1765
  end
1747
1766
 
1767
+ # An object representing a configuration of thumbnails for recorded
1768
+ # video.
1769
+ #
1770
+ # @note When making an API call, you may pass ThumbnailConfiguration
1771
+ # data as a hash:
1772
+ #
1773
+ # {
1774
+ # recording_mode: "DISABLED", # accepts DISABLED, INTERVAL
1775
+ # target_interval_seconds: 1,
1776
+ # }
1777
+ #
1778
+ # @!attribute [rw] recording_mode
1779
+ # Thumbnail recording mode. Default: `INTERVAL`.
1780
+ # @return [String]
1781
+ #
1782
+ # @!attribute [rw] target_interval_seconds
1783
+ # The targeted thumbnail-generation interval in seconds. This is
1784
+ # configurable (and required) only if `recordingMode` is `INTERVAL`.
1785
+ # Default: 60.
1786
+ #
1787
+ # **Important:** Setting a value for `targetIntervalSeconds` does not
1788
+ # guarantee that thumbnails are generated at the specified interval.
1789
+ # For thumbnails to be generated at the `targetIntervalSeconds`
1790
+ # interval, the `IDR/Keyframe` value for the input video must be less
1791
+ # than the `targetIntervalSeconds` value. See [ Amazon IVS Streaming
1792
+ # Configuration][1] for information on setting `IDR/Keyframe` to the
1793
+ # recommended value in video-encoder settings.
1794
+ #
1795
+ #
1796
+ #
1797
+ # [1]: https://docs.aws.amazon.com/ivs/latest/userguide/streaming-config.html
1798
+ # @return [Integer]
1799
+ #
1800
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ThumbnailConfiguration AWS API Documentation
1801
+ #
1802
+ class ThumbnailConfiguration < Struct.new(
1803
+ :recording_mode,
1804
+ :target_interval_seconds)
1805
+ SENSITIVE = []
1806
+ include Aws::Structure
1807
+ end
1808
+
1748
1809
  # @note When making an API call, you may pass UntagResourceRequest
1749
1810
  # data as a hash:
1750
1811
  #
data/lib/aws-sdk-ivs.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-ivs/customizations'
48
48
  # @!group service
49
49
  module Aws::IVS
50
50
 
51
- GEM_VERSION = '1.17.0'
51
+ GEM_VERSION = '1.18.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ivs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-21 00:00:00.000000000 Z
11
+ date: 2022-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core