aws-sdk-kinesisvideo 1.44.0 → 1.46.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: ca1533e1296d690b1e1c8aa14f50ffeee67187d490cc0c6c52a0fa9017f69552
4
- data.tar.gz: d70d1f5a003b1b7ec20727204972a9f13a942dd39d682aa749836ad73433b457
3
+ metadata.gz: 6bbf07831b68f965b3962667d04cc65d40c4fa1254c1a63aa85710661f4888d5
4
+ data.tar.gz: 9fb11c155e7879ebe138e07cbb07cd9a1bbc2536ddb80a44c71e9a2f95560056
5
5
  SHA512:
6
- metadata.gz: 522053cfb4a8aa651157da1449edcef69fd8251b3fe0e725a361fff71034a47cb5ef0992b1efd9d6a527195da9ce789a48459f96784dc65306a121eb03c01aef
7
- data.tar.gz: 8fa3049ae9d0e29e6c101f63e845b090797f5f38c786bc6c96f47229e4c6fc9062294b063dc3c96cf8ab71cbbd200f4eea4cd9a4c6d8192af287263f5454f9ff
6
+ metadata.gz: 3b40ccb370ee2123219e02247efa57547781686261d1ee97af6c7c14e6fb3406f44cde6121e0cd32983e42cb22650b60126dff323551e15704cc5035cc95e02e
7
+ data.tar.gz: c9f8a1c02a585f5fdc4566e437da2e05f06a57974f5a0d1e7f05d8463a21d60b6fd1854f2b4324f9dc69f05353c2cf24474443bc270f00490b5c04794416ea6e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.46.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.45.0 (2022-12-19)
12
+ ------------------
13
+
14
+ * Feature - Amazon Kinesis Video Streams offers capabilities to stream video and audio in real-time via WebRTC to the cloud for storage, playback, and analytical processing. Customers can use our enhanced WebRTC SDK and cloud APIs to enable real-time streaming, as well as media ingestion to the cloud.
15
+
4
16
  1.44.0 (2022-12-12)
5
17
  ------------------
6
18
 
@@ -230,4 +242,4 @@ Unreleased Changes
230
242
  1.0.0 (2017-11-29)
231
243
  ------------------
232
244
 
233
- * Feature - Initial release of `aws-sdk-kinesisvideo`.
245
+ * Feature - Initial release of `aws-sdk-kinesisvideo`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.44.0
1
+ 1.46.0
@@ -712,6 +712,91 @@ module Aws::KinesisVideo
712
712
  req.send_request(options)
713
713
  end
714
714
 
715
+ # Returns the most current information about the stream. Either
716
+ # streamName or streamARN should be provided in the input.
717
+ #
718
+ # Returns the most current information about the stream. The
719
+ # `streamName` or `streamARN` should be provided in the input.
720
+ #
721
+ # @option params [String] :stream_name
722
+ # The name of the stream.
723
+ #
724
+ # @option params [String] :stream_arn
725
+ # The Amazon Resource Name (ARN) of the stream.
726
+ #
727
+ # @option params [Integer] :max_results
728
+ # The maximum number of results to return in the response.
729
+ #
730
+ # @option params [String] :next_token
731
+ # The token to provide in your next request, to get another batch of
732
+ # results.
733
+ #
734
+ # @return [Types::DescribeMappedResourceConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
735
+ #
736
+ # * {Types::DescribeMappedResourceConfigurationOutput#mapped_resource_configuration_list #mapped_resource_configuration_list} => Array<Types::MappedResourceConfigurationListItem>
737
+ # * {Types::DescribeMappedResourceConfigurationOutput#next_token #next_token} => String
738
+ #
739
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
740
+ #
741
+ # @example Request syntax with placeholder values
742
+ #
743
+ # resp = client.describe_mapped_resource_configuration({
744
+ # stream_name: "StreamName",
745
+ # stream_arn: "ResourceARN",
746
+ # max_results: 1,
747
+ # next_token: "NextToken",
748
+ # })
749
+ #
750
+ # @example Response structure
751
+ #
752
+ # resp.mapped_resource_configuration_list #=> Array
753
+ # resp.mapped_resource_configuration_list[0].type #=> String
754
+ # resp.mapped_resource_configuration_list[0].arn #=> String
755
+ # resp.next_token #=> String
756
+ #
757
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeMappedResourceConfiguration AWS API Documentation
758
+ #
759
+ # @overload describe_mapped_resource_configuration(params = {})
760
+ # @param [Hash] params ({})
761
+ def describe_mapped_resource_configuration(params = {}, options = {})
762
+ req = build_request(:describe_mapped_resource_configuration, params)
763
+ req.send_request(options)
764
+ end
765
+
766
+ # Returns the most current information about the channel. Specify the
767
+ # `ChannelName` or `ChannelARN` in the input.
768
+ #
769
+ # @option params [String] :channel_name
770
+ # The name of the channel.
771
+ #
772
+ # @option params [String] :channel_arn
773
+ # The Amazon Resource Name (ARN) of the channel.
774
+ #
775
+ # @return [Types::DescribeMediaStorageConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
776
+ #
777
+ # * {Types::DescribeMediaStorageConfigurationOutput#media_storage_configuration #media_storage_configuration} => Types::MediaStorageConfiguration
778
+ #
779
+ # @example Request syntax with placeholder values
780
+ #
781
+ # resp = client.describe_media_storage_configuration({
782
+ # channel_name: "ChannelName",
783
+ # channel_arn: "ResourceARN",
784
+ # })
785
+ #
786
+ # @example Response structure
787
+ #
788
+ # resp.media_storage_configuration.stream_arn #=> String
789
+ # resp.media_storage_configuration.status #=> String, one of "ENABLED", "DISABLED"
790
+ #
791
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeMediaStorageConfiguration AWS API Documentation
792
+ #
793
+ # @overload describe_media_storage_configuration(params = {})
794
+ # @param [Hash] params ({})
795
+ def describe_media_storage_configuration(params = {}, options = {})
796
+ req = build_request(:describe_media_storage_configuration, params)
797
+ req.send_request(options)
798
+ end
799
+
715
800
  # Gets the `NotificationConfiguration` for a given Kinesis video stream.
716
801
  #
717
802
  # @option params [String] :stream_name
@@ -913,7 +998,7 @@ module Aws::KinesisVideo
913
998
  # resp = client.get_signaling_channel_endpoint({
914
999
  # channel_arn: "ResourceARN", # required
915
1000
  # single_master_channel_endpoint_configuration: {
916
- # protocols: ["WSS"], # accepts WSS, HTTPS
1001
+ # protocols: ["WSS"], # accepts WSS, HTTPS, WEBRTC
917
1002
  # role: "MASTER", # accepts MASTER, VIEWER
918
1003
  # },
919
1004
  # })
@@ -921,7 +1006,7 @@ module Aws::KinesisVideo
921
1006
  # @example Response structure
922
1007
  #
923
1008
  # resp.resource_endpoint_list #=> Array
924
- # resp.resource_endpoint_list[0].protocol #=> String, one of "WSS", "HTTPS"
1009
+ # resp.resource_endpoint_list[0].protocol #=> String, one of "WSS", "HTTPS", "WEBRTC"
925
1010
  # resp.resource_endpoint_list[0].resource_endpoint #=> String
926
1011
  #
927
1012
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/GetSignalingChannelEndpoint AWS API Documentation
@@ -1134,22 +1219,20 @@ module Aws::KinesisVideo
1134
1219
  end
1135
1220
 
1136
1221
  # An asynchronous API that updates a stream’s existing edge
1137
- # configuration. If this API is invoked for the first time, a new edge
1138
- # configuration will be created for the stream, and the sync status will
1139
- # be set to `SYNCING`.
1140
- #
1141
- # The Kinesis Video Stream will sync the stream’s edge configuration
1142
- # with the Edge Agent IoT Greengrass component that runs on an IoT Hub
1143
- # Device setup at your premise. The time to sync can vary and depends on
1144
- # the connectivity of the Hub Device. The `SyncStatus` will be updated
1145
- # as the edge configuration is acknowledged, and synced with the Edge
1146
- # Agent. You will have to wait for the sync status to reach a terminal
1147
- # state such as: `IN_SYNC` and `SYNC_FAILED`, before using this API
1148
- # again.
1149
- #
1150
- # If you invoke this API during the syncing process, a
1222
+ # configuration. The Kinesis Video Stream will sync the stream’s edge
1223
+ # configuration with the Edge Agent IoT Greengrass component that runs
1224
+ # on an IoT Hub Device, setup at your premise. The time to sync can vary
1225
+ # and depends on the connectivity of the Hub Device. The `SyncStatus`
1226
+ # will be updated as the edge configuration is acknowledged, and synced
1227
+ # with the Edge Agent.
1228
+ #
1229
+ # If this API is invoked for the first time, a new edge configuration
1230
+ # will be created for the stream, and the sync status will be set to
1231
+ # `SYNCING`. You will have to wait for the sync status to reach a
1232
+ # terminal state such as: `IN_SYNC`, or `SYNC_FAILED`, before using this
1233
+ # API again. If you invoke this API during the syncing process, a
1151
1234
  # `ResourceInUseException` will be thrown. The connectivity of the
1152
- # stream's edge configuration and the Edge Agent will be retried for 15
1235
+ # streams edge configuration and the Edge Agent will be retried for 15
1153
1236
  # minutes. After 15 minutes, the status will transition into the
1154
1237
  # `SYNC_FAILED` state.
1155
1238
  #
@@ -1512,6 +1595,43 @@ module Aws::KinesisVideo
1512
1595
  req.send_request(options)
1513
1596
  end
1514
1597
 
1598
+ # Associates a `SignalingChannel` to a stream to store the media. There
1599
+ # are two signaling modes that can specified :
1600
+ #
1601
+ # * If the `StorageStatus` is disabled, no data will be stored, and the
1602
+ # `StreamARN` parameter will not be needed.
1603
+ #
1604
+ # * If the `StorageStatus` is enabled, the data will be stored in the
1605
+ # `StreamARN` provided.
1606
+ #
1607
+ # @option params [required, String] :channel_arn
1608
+ # The Amazon Resource Name (ARN) of the channel.
1609
+ #
1610
+ # @option params [required, Types::MediaStorageConfiguration] :media_storage_configuration
1611
+ # A structure that encapsulates, or contains, the media storage
1612
+ # configuration properties.
1613
+ #
1614
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1615
+ #
1616
+ # @example Request syntax with placeholder values
1617
+ #
1618
+ # resp = client.update_media_storage_configuration({
1619
+ # channel_arn: "ResourceARN", # required
1620
+ # media_storage_configuration: { # required
1621
+ # stream_arn: "ResourceARN",
1622
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
1623
+ # },
1624
+ # })
1625
+ #
1626
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateMediaStorageConfiguration AWS API Documentation
1627
+ #
1628
+ # @overload update_media_storage_configuration(params = {})
1629
+ # @param [Hash] params ({})
1630
+ def update_media_storage_configuration(params = {}, options = {})
1631
+ req = build_request(:update_media_storage_configuration, params)
1632
+ req.send_request(options)
1633
+ end
1634
+
1515
1635
  # Updates the notification information for a stream.
1516
1636
  #
1517
1637
  # @option params [String] :stream_name
@@ -1676,7 +1796,7 @@ module Aws::KinesisVideo
1676
1796
  params: params,
1677
1797
  config: config)
1678
1798
  context[:gem_name] = 'aws-sdk-kinesisvideo'
1679
- context[:gem_version] = '1.44.0'
1799
+ context[:gem_version] = '1.46.0'
1680
1800
  Seahorse::Client::Request.new(handlers, context)
1681
1801
  end
1682
1802
 
@@ -44,6 +44,10 @@ module Aws::KinesisVideo
44
44
  DescribeEdgeConfigurationOutput = Shapes::StructureShape.new(name: 'DescribeEdgeConfigurationOutput')
45
45
  DescribeImageGenerationConfigurationInput = Shapes::StructureShape.new(name: 'DescribeImageGenerationConfigurationInput')
46
46
  DescribeImageGenerationConfigurationOutput = Shapes::StructureShape.new(name: 'DescribeImageGenerationConfigurationOutput')
47
+ DescribeMappedResourceConfigurationInput = Shapes::StructureShape.new(name: 'DescribeMappedResourceConfigurationInput')
48
+ DescribeMappedResourceConfigurationOutput = Shapes::StructureShape.new(name: 'DescribeMappedResourceConfigurationOutput')
49
+ DescribeMediaStorageConfigurationInput = Shapes::StructureShape.new(name: 'DescribeMediaStorageConfigurationInput')
50
+ DescribeMediaStorageConfigurationOutput = Shapes::StructureShape.new(name: 'DescribeMediaStorageConfigurationOutput')
47
51
  DescribeNotificationConfigurationInput = Shapes::StructureShape.new(name: 'DescribeNotificationConfigurationInput')
48
52
  DescribeNotificationConfigurationOutput = Shapes::StructureShape.new(name: 'DescribeNotificationConfigurationOutput')
49
53
  DescribeSignalingChannelInput = Shapes::StructureShape.new(name: 'DescribeSignalingChannelInput')
@@ -87,8 +91,13 @@ module Aws::KinesisVideo
87
91
  ListTagsForStreamInput = Shapes::StructureShape.new(name: 'ListTagsForStreamInput')
88
92
  ListTagsForStreamOutput = Shapes::StructureShape.new(name: 'ListTagsForStreamOutput')
89
93
  LocalSizeConfig = Shapes::StructureShape.new(name: 'LocalSizeConfig')
94
+ MappedResourceConfigurationList = Shapes::ListShape.new(name: 'MappedResourceConfigurationList')
95
+ MappedResourceConfigurationListItem = Shapes::StructureShape.new(name: 'MappedResourceConfigurationListItem')
96
+ MappedResourceConfigurationListLimit = Shapes::IntegerShape.new(name: 'MappedResourceConfigurationListLimit')
90
97
  MaxLocalMediaSizeInMB = Shapes::IntegerShape.new(name: 'MaxLocalMediaSizeInMB')
91
98
  MediaSourceConfig = Shapes::StructureShape.new(name: 'MediaSourceConfig')
99
+ MediaStorageConfiguration = Shapes::StructureShape.new(name: 'MediaStorageConfiguration')
100
+ MediaStorageConfigurationStatus = Shapes::StringShape.new(name: 'MediaStorageConfigurationStatus')
92
101
  MediaType = Shapes::StringShape.new(name: 'MediaType')
93
102
  MediaUriSecretArn = Shapes::StringShape.new(name: 'MediaUriSecretArn')
94
103
  MediaUriType = Shapes::StringShape.new(name: 'MediaUriType')
@@ -133,6 +142,7 @@ module Aws::KinesisVideo
133
142
  TagValue = Shapes::StringShape.new(name: 'TagValue')
134
143
  TagsPerResourceExceededLimitException = Shapes::StructureShape.new(name: 'TagsPerResourceExceededLimitException')
135
144
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
145
+ Type = Shapes::StringShape.new(name: 'Type')
136
146
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
137
147
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
138
148
  UntagStreamInput = Shapes::StructureShape.new(name: 'UntagStreamInput')
@@ -142,6 +152,8 @@ module Aws::KinesisVideo
142
152
  UpdateDataRetentionOutput = Shapes::StructureShape.new(name: 'UpdateDataRetentionOutput')
143
153
  UpdateImageGenerationConfigurationInput = Shapes::StructureShape.new(name: 'UpdateImageGenerationConfigurationInput')
144
154
  UpdateImageGenerationConfigurationOutput = Shapes::StructureShape.new(name: 'UpdateImageGenerationConfigurationOutput')
155
+ UpdateMediaStorageConfigurationInput = Shapes::StructureShape.new(name: 'UpdateMediaStorageConfigurationInput')
156
+ UpdateMediaStorageConfigurationOutput = Shapes::StructureShape.new(name: 'UpdateMediaStorageConfigurationOutput')
145
157
  UpdateNotificationConfigurationInput = Shapes::StructureShape.new(name: 'UpdateNotificationConfigurationInput')
146
158
  UpdateNotificationConfigurationOutput = Shapes::StructureShape.new(name: 'UpdateNotificationConfigurationOutput')
147
159
  UpdateSignalingChannelInput = Shapes::StructureShape.new(name: 'UpdateSignalingChannelInput')
@@ -237,6 +249,23 @@ module Aws::KinesisVideo
237
249
  DescribeImageGenerationConfigurationOutput.add_member(:image_generation_configuration, Shapes::ShapeRef.new(shape: ImageGenerationConfiguration, location_name: "ImageGenerationConfiguration"))
238
250
  DescribeImageGenerationConfigurationOutput.struct_class = Types::DescribeImageGenerationConfigurationOutput
239
251
 
252
+ DescribeMappedResourceConfigurationInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
253
+ DescribeMappedResourceConfigurationInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
254
+ DescribeMappedResourceConfigurationInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MappedResourceConfigurationListLimit, location_name: "MaxResults"))
255
+ DescribeMappedResourceConfigurationInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
256
+ DescribeMappedResourceConfigurationInput.struct_class = Types::DescribeMappedResourceConfigurationInput
257
+
258
+ DescribeMappedResourceConfigurationOutput.add_member(:mapped_resource_configuration_list, Shapes::ShapeRef.new(shape: MappedResourceConfigurationList, location_name: "MappedResourceConfigurationList"))
259
+ DescribeMappedResourceConfigurationOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
260
+ DescribeMappedResourceConfigurationOutput.struct_class = Types::DescribeMappedResourceConfigurationOutput
261
+
262
+ DescribeMediaStorageConfigurationInput.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "ChannelName"))
263
+ DescribeMediaStorageConfigurationInput.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ChannelARN"))
264
+ DescribeMediaStorageConfigurationInput.struct_class = Types::DescribeMediaStorageConfigurationInput
265
+
266
+ DescribeMediaStorageConfigurationOutput.add_member(:media_storage_configuration, Shapes::ShapeRef.new(shape: MediaStorageConfiguration, location_name: "MediaStorageConfiguration"))
267
+ DescribeMediaStorageConfigurationOutput.struct_class = Types::DescribeMediaStorageConfigurationOutput
268
+
240
269
  DescribeNotificationConfigurationInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
241
270
  DescribeNotificationConfigurationInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
242
271
  DescribeNotificationConfigurationInput.struct_class = Types::DescribeNotificationConfigurationInput
@@ -349,10 +378,20 @@ module Aws::KinesisVideo
349
378
  LocalSizeConfig.add_member(:strategy_on_full_size, Shapes::ShapeRef.new(shape: StrategyOnFullSize, location_name: "StrategyOnFullSize"))
350
379
  LocalSizeConfig.struct_class = Types::LocalSizeConfig
351
380
 
381
+ MappedResourceConfigurationList.member = Shapes::ShapeRef.new(shape: MappedResourceConfigurationListItem)
382
+
383
+ MappedResourceConfigurationListItem.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type"))
384
+ MappedResourceConfigurationListItem.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ARN"))
385
+ MappedResourceConfigurationListItem.struct_class = Types::MappedResourceConfigurationListItem
386
+
352
387
  MediaSourceConfig.add_member(:media_uri_secret_arn, Shapes::ShapeRef.new(shape: MediaUriSecretArn, required: true, location_name: "MediaUriSecretArn"))
353
388
  MediaSourceConfig.add_member(:media_uri_type, Shapes::ShapeRef.new(shape: MediaUriType, required: true, location_name: "MediaUriType"))
354
389
  MediaSourceConfig.struct_class = Types::MediaSourceConfig
355
390
 
391
+ MediaStorageConfiguration.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
392
+ MediaStorageConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: MediaStorageConfigurationStatus, required: true, location_name: "Status"))
393
+ MediaStorageConfiguration.struct_class = Types::MediaStorageConfiguration
394
+
356
395
  NoDataRetentionException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
357
396
  NoDataRetentionException.struct_class = Types::NoDataRetentionException
358
397
 
@@ -485,6 +524,12 @@ module Aws::KinesisVideo
485
524
 
486
525
  UpdateImageGenerationConfigurationOutput.struct_class = Types::UpdateImageGenerationConfigurationOutput
487
526
 
527
+ UpdateMediaStorageConfigurationInput.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ChannelARN"))
528
+ UpdateMediaStorageConfigurationInput.add_member(:media_storage_configuration, Shapes::ShapeRef.new(shape: MediaStorageConfiguration, required: true, location_name: "MediaStorageConfiguration"))
529
+ UpdateMediaStorageConfigurationInput.struct_class = Types::UpdateMediaStorageConfigurationInput
530
+
531
+ UpdateMediaStorageConfigurationOutput.struct_class = Types::UpdateMediaStorageConfigurationOutput
532
+
488
533
  UpdateNotificationConfigurationInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
489
534
  UpdateNotificationConfigurationInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
490
535
  UpdateNotificationConfigurationInput.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, location_name: "NotificationConfiguration"))
@@ -613,6 +658,36 @@ module Aws::KinesisVideo
613
658
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
614
659
  end)
615
660
 
661
+ api.add_operation(:describe_mapped_resource_configuration, Seahorse::Model::Operation.new.tap do |o|
662
+ o.name = "DescribeMappedResourceConfiguration"
663
+ o.http_method = "POST"
664
+ o.http_request_uri = "/describeMappedResourceConfiguration"
665
+ o.input = Shapes::ShapeRef.new(shape: DescribeMappedResourceConfigurationInput)
666
+ o.output = Shapes::ShapeRef.new(shape: DescribeMappedResourceConfigurationOutput)
667
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
668
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
669
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
670
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
671
+ o[:pager] = Aws::Pager.new(
672
+ limit_key: "max_results",
673
+ tokens: {
674
+ "next_token" => "next_token"
675
+ }
676
+ )
677
+ end)
678
+
679
+ api.add_operation(:describe_media_storage_configuration, Seahorse::Model::Operation.new.tap do |o|
680
+ o.name = "DescribeMediaStorageConfiguration"
681
+ o.http_method = "POST"
682
+ o.http_request_uri = "/describeMediaStorageConfiguration"
683
+ o.input = Shapes::ShapeRef.new(shape: DescribeMediaStorageConfigurationInput)
684
+ o.output = Shapes::ShapeRef.new(shape: DescribeMediaStorageConfigurationOutput)
685
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
686
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
687
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
688
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
689
+ end)
690
+
616
691
  api.add_operation(:describe_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
617
692
  o.name = "DescribeNotificationConfiguration"
618
693
  o.http_method = "POST"
@@ -826,6 +901,20 @@ module Aws::KinesisVideo
826
901
  o.errors << Shapes::ShapeRef.new(shape: NoDataRetentionException)
827
902
  end)
828
903
 
904
+ api.add_operation(:update_media_storage_configuration, Seahorse::Model::Operation.new.tap do |o|
905
+ o.name = "UpdateMediaStorageConfiguration"
906
+ o.http_method = "POST"
907
+ o.http_request_uri = "/updateMediaStorageConfiguration"
908
+ o.input = Shapes::ShapeRef.new(shape: UpdateMediaStorageConfigurationInput)
909
+ o.output = Shapes::ShapeRef.new(shape: UpdateMediaStorageConfigurationOutput)
910
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
911
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
912
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
913
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
914
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
915
+ o.errors << Shapes::ShapeRef.new(shape: NoDataRetentionException)
916
+ end)
917
+
829
918
  api.add_operation(:update_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
830
919
  o.name = "UpdateNotificationConfiguration"
831
920
  o.http_method = "POST"
@@ -9,102 +9,43 @@
9
9
 
10
10
  module Aws::KinesisVideo
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsi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mwiOiJodHRwczovL2tpbmVzaXN2aWRlby57
99
- UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2R1YWxTdGFja0Ruc1N1ZmZpeH0i
100
- LCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9p
101
- bnQifV19LHsiY29uZGl0aW9ucyI6W10sImVycm9yIjoiRHVhbFN0YWNrIGlz
102
- IGVuYWJsZWQgYnV0IHRoaXMgcGFydGl0aW9uIGRvZXMgbm90IHN1cHBvcnQg
103
- RHVhbFN0YWNrIiwidHlwZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMiOltd
104
- LCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2tpbmVzaXN2aWRlby57UmVn
105
- aW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVz
106
- Ijp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
107
-
108
- JSON
109
50
  end
110
51
  end
@@ -95,6 +95,34 @@ module Aws::KinesisVideo
95
95
  end
96
96
  end
97
97
 
98
+ class DescribeMappedResourceConfiguration
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::KinesisVideo::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class DescribeMediaStorageConfiguration
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::KinesisVideo::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
98
126
  class DescribeNotificationConfiguration
99
127
  def self.build(context)
100
128
  unless context.config.regional_endpoint
@@ -319,6 +347,20 @@ module Aws::KinesisVideo
319
347
  end
320
348
  end
321
349
 
350
+ class UpdateMediaStorageConfiguration
351
+ def self.build(context)
352
+ unless context.config.regional_endpoint
353
+ endpoint = context.config.endpoint.to_s
354
+ end
355
+ Aws::KinesisVideo::EndpointParameters.new(
356
+ region: context.config.region,
357
+ use_dual_stack: context.config.use_dualstack_endpoint,
358
+ use_fips: context.config.use_fips_endpoint,
359
+ endpoint: endpoint,
360
+ )
361
+ end
362
+ end
363
+
322
364
  class UpdateNotificationConfiguration
323
365
  def self.build(context)
324
366
  unless context.config.regional_endpoint
@@ -68,6 +68,10 @@ module Aws::KinesisVideo
68
68
  Aws::KinesisVideo::Endpoints::DescribeEdgeConfiguration.build(context)
69
69
  when :describe_image_generation_configuration
70
70
  Aws::KinesisVideo::Endpoints::DescribeImageGenerationConfiguration.build(context)
71
+ when :describe_mapped_resource_configuration
72
+ Aws::KinesisVideo::Endpoints::DescribeMappedResourceConfiguration.build(context)
73
+ when :describe_media_storage_configuration
74
+ Aws::KinesisVideo::Endpoints::DescribeMediaStorageConfiguration.build(context)
71
75
  when :describe_notification_configuration
72
76
  Aws::KinesisVideo::Endpoints::DescribeNotificationConfiguration.build(context)
73
77
  when :describe_signaling_channel
@@ -100,6 +104,8 @@ module Aws::KinesisVideo
100
104
  Aws::KinesisVideo::Endpoints::UpdateDataRetention.build(context)
101
105
  when :update_image_generation_configuration
102
106
  Aws::KinesisVideo::Endpoints::UpdateImageGenerationConfiguration.build(context)
107
+ when :update_media_storage_configuration
108
+ Aws::KinesisVideo::Endpoints::UpdateMediaStorageConfiguration.build(context)
103
109
  when :update_notification_configuration
104
110
  Aws::KinesisVideo::Endpoints::UpdateNotificationConfiguration.build(context)
105
111
  when :update_signaling_channel
@@ -463,6 +463,83 @@ module Aws::KinesisVideo
463
463
  include Aws::Structure
464
464
  end
465
465
 
466
+ # @!attribute [rw] stream_name
467
+ # The name of the stream.
468
+ # @return [String]
469
+ #
470
+ # @!attribute [rw] stream_arn
471
+ # The Amazon Resource Name (ARN) of the stream.
472
+ # @return [String]
473
+ #
474
+ # @!attribute [rw] max_results
475
+ # The maximum number of results to return in the response.
476
+ # @return [Integer]
477
+ #
478
+ # @!attribute [rw] next_token
479
+ # The token to provide in your next request, to get another batch of
480
+ # results.
481
+ # @return [String]
482
+ #
483
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeMappedResourceConfigurationInput AWS API Documentation
484
+ #
485
+ class DescribeMappedResourceConfigurationInput < Struct.new(
486
+ :stream_name,
487
+ :stream_arn,
488
+ :max_results,
489
+ :next_token)
490
+ SENSITIVE = []
491
+ include Aws::Structure
492
+ end
493
+
494
+ # @!attribute [rw] mapped_resource_configuration_list
495
+ # A structure that encapsulates, or contains, the media storage
496
+ # configuration properties.
497
+ # @return [Array<Types::MappedResourceConfigurationListItem>]
498
+ #
499
+ # @!attribute [rw] next_token
500
+ # The token that was used in the `NextToken`request to fetch the next
501
+ # set of results.
502
+ # @return [String]
503
+ #
504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeMappedResourceConfigurationOutput AWS API Documentation
505
+ #
506
+ class DescribeMappedResourceConfigurationOutput < Struct.new(
507
+ :mapped_resource_configuration_list,
508
+ :next_token)
509
+ SENSITIVE = []
510
+ include Aws::Structure
511
+ end
512
+
513
+ # @!attribute [rw] channel_name
514
+ # The name of the channel.
515
+ # @return [String]
516
+ #
517
+ # @!attribute [rw] channel_arn
518
+ # The Amazon Resource Name (ARN) of the channel.
519
+ # @return [String]
520
+ #
521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeMediaStorageConfigurationInput AWS API Documentation
522
+ #
523
+ class DescribeMediaStorageConfigurationInput < Struct.new(
524
+ :channel_name,
525
+ :channel_arn)
526
+ SENSITIVE = []
527
+ include Aws::Structure
528
+ end
529
+
530
+ # @!attribute [rw] media_storage_configuration
531
+ # A structure that encapsulates, or contains, the media storage
532
+ # configuration properties.
533
+ # @return [Types::MediaStorageConfiguration]
534
+ #
535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeMediaStorageConfigurationOutput AWS API Documentation
536
+ #
537
+ class DescribeMediaStorageConfigurationOutput < Struct.new(
538
+ :media_storage_configuration)
539
+ SENSITIVE = []
540
+ include Aws::Structure
541
+ end
542
+
466
543
  # @!attribute [rw] stream_name
467
544
  # The name of the stream from which to retrieve the notification
468
545
  # configuration. You must specify either the `StreamName` or the
@@ -586,8 +663,8 @@ module Aws::KinesisVideo
586
663
  #
587
664
  # @!attribute [rw] uploader_config
588
665
  # The uploader configuration contains the `ScheduleExpression` details
589
- # that are used, to schedule upload jobs for the recorded media files
590
- # from the Edge Agent, to a Kinesis Video Stream.
666
+ # that are used to schedule upload jobs for the recorded media files
667
+ # from the Edge Agent to a Kinesis Video Stream.
591
668
  # @return [Types::UploaderConfig]
592
669
  #
593
670
  # @!attribute [rw] deletion_config
@@ -1021,6 +1098,27 @@ module Aws::KinesisVideo
1021
1098
  include Aws::Structure
1022
1099
  end
1023
1100
 
1101
+ # A structure that encapsulates, or contains, the media storage
1102
+ # configuration properties.
1103
+ #
1104
+ # @!attribute [rw] type
1105
+ # The type of the associated resource for the kinesis video stream.
1106
+ # @return [String]
1107
+ #
1108
+ # @!attribute [rw] arn
1109
+ # The Amazon Resource Name (ARN) of the Kinesis Video Stream resource,
1110
+ # associated with the stream.
1111
+ # @return [String]
1112
+ #
1113
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/MappedResourceConfigurationListItem AWS API Documentation
1114
+ #
1115
+ class MappedResourceConfigurationListItem < Struct.new(
1116
+ :type,
1117
+ :arn)
1118
+ SENSITIVE = []
1119
+ include Aws::Structure
1120
+ end
1121
+
1024
1122
  # The configuration details that consist of the credentials required
1025
1123
  # (`MediaUriSecretArn` and `MediaUriType`) to access the media files
1026
1124
  # that are streamed to the camera.
@@ -1031,8 +1129,12 @@ module Aws::KinesisVideo
1031
1129
  # @return [String]
1032
1130
  #
1033
1131
  # @!attribute [rw] media_uri_type
1034
- # The Uniform Resource Identifier (Uri) type. The `FILE_URI` value can
1132
+ # The Uniform Resource Identifier (URI) type. The `FILE_URI` value can
1035
1133
  # be used to stream local media files.
1134
+ #
1135
+ # <note markdown="1"> Preview only supports the `RTSP_URI` media source URI format .
1136
+ #
1137
+ # </note>
1036
1138
  # @return [String]
1037
1139
  #
1038
1140
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/MediaSourceConfig AWS API Documentation
@@ -1044,6 +1146,26 @@ module Aws::KinesisVideo
1044
1146
  include Aws::Structure
1045
1147
  end
1046
1148
 
1149
+ # A structure that encapsulates, or contains, the media storage
1150
+ # configuration properties.
1151
+ #
1152
+ # @!attribute [rw] stream_arn
1153
+ # The Amazon Resource Name (ARN) of the stream
1154
+ # @return [String]
1155
+ #
1156
+ # @!attribute [rw] status
1157
+ # The status of the media storage configuration.
1158
+ # @return [String]
1159
+ #
1160
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/MediaStorageConfiguration AWS API Documentation
1161
+ #
1162
+ class MediaStorageConfiguration < Struct.new(
1163
+ :stream_arn,
1164
+ :status)
1165
+ SENSITIVE = []
1166
+ include Aws::Structure
1167
+ end
1168
+
1047
1169
  # The Stream data retention in hours is equal to zero.
1048
1170
  #
1049
1171
  # @!attribute [rw] message
@@ -1157,15 +1279,19 @@ module Aws::KinesisVideo
1157
1279
  include Aws::Structure
1158
1280
  end
1159
1281
 
1160
- # The resource is currently not available for this operation. New
1161
- # resources cannot be created with the same name as existing resources.
1162
- # Also, resources cannot be updated or deleted unless they are in an
1163
- # `ACTIVE` state.
1282
+ # When the input `StreamARN` or `ChannelARN` in `CLOUD_STORAGE_MODE` is
1283
+ # already mapped to a different Kinesis Video Stream resource, or if the
1284
+ # provided input `StreamARN` or `ChannelARN` is not in Active status,
1285
+ # try one of the following :
1164
1286
  #
1165
- # If this exception is returned, do not use it to determine whether the
1166
- # requested resource already exists. Instead, it is recommended you use
1167
- # the resource-specific describe API, for example, `DescribeStream` for
1168
- # video streams.
1287
+ # 1. The `DescribeMediaStorageConfiguration` API to determine what the
1288
+ # stream given channel is mapped to.
1289
+ #
1290
+ # 2. The `DescribeMappedResourceConfiguration` API to determine the
1291
+ # channel that the given stream is mapped to.
1292
+ #
1293
+ # 3. The `DescribeStream` or `DescribeSignalingChannel` API to
1294
+ # determine the status of the resource.
1169
1295
  #
1170
1296
  # @!attribute [rw] message
1171
1297
  # @return [String]
@@ -1653,6 +1779,28 @@ module Aws::KinesisVideo
1653
1779
  #
1654
1780
  class UpdateImageGenerationConfigurationOutput < Aws::EmptyStructure; end
1655
1781
 
1782
+ # @!attribute [rw] channel_arn
1783
+ # The Amazon Resource Name (ARN) of the channel.
1784
+ # @return [String]
1785
+ #
1786
+ # @!attribute [rw] media_storage_configuration
1787
+ # A structure that encapsulates, or contains, the media storage
1788
+ # configuration properties.
1789
+ # @return [Types::MediaStorageConfiguration]
1790
+ #
1791
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateMediaStorageConfigurationInput AWS API Documentation
1792
+ #
1793
+ class UpdateMediaStorageConfigurationInput < Struct.new(
1794
+ :channel_arn,
1795
+ :media_storage_configuration)
1796
+ SENSITIVE = []
1797
+ include Aws::Structure
1798
+ end
1799
+
1800
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateMediaStorageConfigurationOutput AWS API Documentation
1801
+ #
1802
+ class UpdateMediaStorageConfigurationOutput < Aws::EmptyStructure; end
1803
+
1656
1804
  # @!attribute [rw] stream_name
1657
1805
  # The name of the stream from which to update the notification
1658
1806
  # configuration. You must specify either the `StreamName` or the
@@ -1770,9 +1918,11 @@ module Aws::KinesisVideo
1770
1918
  #
1771
1919
  class UpdateStreamOutput < Aws::EmptyStructure; end
1772
1920
 
1773
- # The configuration that consists of the `ScheduleConfig` attribute
1774
- # that's required, to schedule the jobs to upload the recorded media
1775
- # files onto the Edge Agent in a Kinesis Video Stream.
1921
+ # The configuration that consists of the `ScheduleExpression` and the
1922
+ # `DurationInMinutesdetails`, that specify the scheduling to record from
1923
+ # a camera, or local media file, onto the Edge Agent. If the
1924
+ # `ScheduleExpression` is not provided, then the Edge Agent will always
1925
+ # be in upload mode.
1776
1926
  #
1777
1927
  # @!attribute [rw] schedule_config
1778
1928
  # The configuration that consists of the `ScheduleExpression` and the
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-kinesisvideo/customizations'
52
52
  # @!group service
53
53
  module Aws::KinesisVideo
54
54
 
55
- GEM_VERSION = '1.44.0'
55
+ GEM_VERSION = '1.46.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kinesisvideo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.44.0
4
+ version: 1.46.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: 2022-12-12 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core