aws-sdk-kinesisvideo 1.43.0 → 1.45.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: edae8ea702f288ac6a37e4b57c0af6bddefc3ba6469fa7757763406e50f73a30
4
- data.tar.gz: 3cd0714a129d3b0e696a4ec5bb3a19eabdde13b5eeb55424c4a3d6ed4e94f8ef
3
+ metadata.gz: bb1a047e8cdd6883439bed052d6e30e7e4ee9969511b7da4520d559b098fb645
4
+ data.tar.gz: d704725ae45c332407a5ee42fc5e3d3764e8c0aeacfa9f941cd5ea8958a2fc54
5
5
  SHA512:
6
- metadata.gz: cb7ad3cef59e7838fea3ab5aa7fb9e6e74f97319e5d19f3d7844ab128d8ebb7362ce8c86e8f39c5e21e3356500156e522d73c19fd7b9e4a1566f74971ea14f1d
7
- data.tar.gz: 127ce2221fe82c1fe07ef29dd74e9ab3e2fe2bdbaee1b075c1b4fc1633e95e905b976697b8be615cbf2cf483a3da84f3d0a0e14860df9f3e53196815f28c37f3
6
+ metadata.gz: 8fc0f077c248c79507f8072e5e209a113ed7d8ad7abd828c9e0bdb5a1a5d3699db917e9b4e2e6a2961fff1367c6683fc2fce4dfe3e667c451596b792ff7a762b
7
+ data.tar.gz: 710bdf14328642ed192f6bb0ceebfb52f8e03bbfe88f0a020ae6106abe00cd211aad2974cb3df687efcf763d81cb36e8cb471c56397b5aeaccfcc77284f2ceff
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2022-12-19)
5
+ ------------------
6
+
7
+ * 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.
8
+
9
+ 1.44.0 (2022-12-12)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for public preview of Kinesis Video Stream at Edge enabling customers to provide configuration for the Kinesis Video Stream EdgeAgent running on an on-premise IoT device. Customers can now locally record from cameras and stream videos to the cloud on configured schedule.
13
+
4
14
  1.43.0 (2022-10-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.45.0
@@ -608,6 +608,64 @@ module Aws::KinesisVideo
608
608
  req.send_request(options)
609
609
  end
610
610
 
611
+ # Describes a stream’s edge configuration that was set using the
612
+ # `StartEdgeConfigurationUpdate` API. Use this API to get the status of
613
+ # the configuration if the configuration is in sync with the Edge Agent.
614
+ #
615
+ # @option params [String] :stream_name
616
+ # The name of the stream whose edge configuration you want to update.
617
+ # Specify either the `StreamName` or the `StreamARN`.
618
+ #
619
+ # @option params [String] :stream_arn
620
+ # The Amazon Resource Name (ARN) of the stream. Specify either the
621
+ # `StreamName`or the `StreamARN`.
622
+ #
623
+ # @return [Types::DescribeEdgeConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
624
+ #
625
+ # * {Types::DescribeEdgeConfigurationOutput#stream_name #stream_name} => String
626
+ # * {Types::DescribeEdgeConfigurationOutput#stream_arn #stream_arn} => String
627
+ # * {Types::DescribeEdgeConfigurationOutput#creation_time #creation_time} => Time
628
+ # * {Types::DescribeEdgeConfigurationOutput#last_updated_time #last_updated_time} => Time
629
+ # * {Types::DescribeEdgeConfigurationOutput#sync_status #sync_status} => String
630
+ # * {Types::DescribeEdgeConfigurationOutput#failed_status_details #failed_status_details} => String
631
+ # * {Types::DescribeEdgeConfigurationOutput#edge_config #edge_config} => Types::EdgeConfig
632
+ #
633
+ # @example Request syntax with placeholder values
634
+ #
635
+ # resp = client.describe_edge_configuration({
636
+ # stream_name: "StreamName",
637
+ # stream_arn: "ResourceARN",
638
+ # })
639
+ #
640
+ # @example Response structure
641
+ #
642
+ # resp.stream_name #=> String
643
+ # resp.stream_arn #=> String
644
+ # resp.creation_time #=> Time
645
+ # resp.last_updated_time #=> Time
646
+ # resp.sync_status #=> String, one of "SYNCING", "ACKNOWLEDGED", "IN_SYNC", "SYNC_FAILED", "DELETING", "DELETE_FAILED"
647
+ # resp.failed_status_details #=> String
648
+ # resp.edge_config.hub_device_arn #=> String
649
+ # resp.edge_config.recorder_config.media_source_config.media_uri_secret_arn #=> String
650
+ # resp.edge_config.recorder_config.media_source_config.media_uri_type #=> String, one of "RTSP_URI", "FILE_URI"
651
+ # resp.edge_config.recorder_config.schedule_config.schedule_expression #=> String
652
+ # resp.edge_config.recorder_config.schedule_config.duration_in_seconds #=> Integer
653
+ # resp.edge_config.uploader_config.schedule_config.schedule_expression #=> String
654
+ # resp.edge_config.uploader_config.schedule_config.duration_in_seconds #=> Integer
655
+ # resp.edge_config.deletion_config.edge_retention_in_hours #=> Integer
656
+ # resp.edge_config.deletion_config.local_size_config.max_local_media_size_in_mb #=> Integer
657
+ # resp.edge_config.deletion_config.local_size_config.strategy_on_full_size #=> String, one of "DELETE_OLDEST_MEDIA", "DENY_NEW_MEDIA"
658
+ # resp.edge_config.deletion_config.delete_after_upload #=> Boolean
659
+ #
660
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeEdgeConfiguration AWS API Documentation
661
+ #
662
+ # @overload describe_edge_configuration(params = {})
663
+ # @param [Hash] params ({})
664
+ def describe_edge_configuration(params = {}, options = {})
665
+ req = build_request(:describe_edge_configuration, params)
666
+ req.send_request(options)
667
+ end
668
+
611
669
  # Gets the `ImageGenerationConfiguration` for a given Kinesis video
612
670
  # stream.
613
671
  #
@@ -654,6 +712,91 @@ module Aws::KinesisVideo
654
712
  req.send_request(options)
655
713
  end
656
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
+
657
800
  # Gets the `NotificationConfiguration` for a given Kinesis video stream.
658
801
  #
659
802
  # @option params [String] :stream_name
@@ -855,7 +998,7 @@ module Aws::KinesisVideo
855
998
  # resp = client.get_signaling_channel_endpoint({
856
999
  # channel_arn: "ResourceARN", # required
857
1000
  # single_master_channel_endpoint_configuration: {
858
- # protocols: ["WSS"], # accepts WSS, HTTPS
1001
+ # protocols: ["WSS"], # accepts WSS, HTTPS, WEBRTC
859
1002
  # role: "MASTER", # accepts MASTER, VIEWER
860
1003
  # },
861
1004
  # })
@@ -863,7 +1006,7 @@ module Aws::KinesisVideo
863
1006
  # @example Response structure
864
1007
  #
865
1008
  # resp.resource_endpoint_list #=> Array
866
- # resp.resource_endpoint_list[0].protocol #=> String, one of "WSS", "HTTPS"
1009
+ # resp.resource_endpoint_list[0].protocol #=> String, one of "WSS", "HTTPS", "WEBRTC"
867
1010
  # resp.resource_endpoint_list[0].resource_endpoint #=> String
868
1011
  #
869
1012
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/GetSignalingChannelEndpoint AWS API Documentation
@@ -1075,6 +1218,108 @@ module Aws::KinesisVideo
1075
1218
  req.send_request(options)
1076
1219
  end
1077
1220
 
1221
+ # An asynchronous API that updates a stream’s existing edge
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
1234
+ # `ResourceInUseException` will be thrown. The connectivity of the
1235
+ # stream’s edge configuration and the Edge Agent will be retried for 15
1236
+ # minutes. After 15 minutes, the status will transition into the
1237
+ # `SYNC_FAILED` state.
1238
+ #
1239
+ # @option params [String] :stream_name
1240
+ # The name of the stream whose edge configuration you want to update.
1241
+ # Specify either the `StreamName` or the `StreamARN`.
1242
+ #
1243
+ # @option params [String] :stream_arn
1244
+ # The Amazon Resource Name (ARN) of the stream. Specify either the
1245
+ # `StreamName` or the `StreamARN`.
1246
+ #
1247
+ # @option params [required, Types::EdgeConfig] :edge_config
1248
+ # The edge configuration details required to invoke the update process.
1249
+ #
1250
+ # @return [Types::StartEdgeConfigurationUpdateOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1251
+ #
1252
+ # * {Types::StartEdgeConfigurationUpdateOutput#stream_name #stream_name} => String
1253
+ # * {Types::StartEdgeConfigurationUpdateOutput#stream_arn #stream_arn} => String
1254
+ # * {Types::StartEdgeConfigurationUpdateOutput#creation_time #creation_time} => Time
1255
+ # * {Types::StartEdgeConfigurationUpdateOutput#last_updated_time #last_updated_time} => Time
1256
+ # * {Types::StartEdgeConfigurationUpdateOutput#sync_status #sync_status} => String
1257
+ # * {Types::StartEdgeConfigurationUpdateOutput#failed_status_details #failed_status_details} => String
1258
+ # * {Types::StartEdgeConfigurationUpdateOutput#edge_config #edge_config} => Types::EdgeConfig
1259
+ #
1260
+ # @example Request syntax with placeholder values
1261
+ #
1262
+ # resp = client.start_edge_configuration_update({
1263
+ # stream_name: "StreamName",
1264
+ # stream_arn: "ResourceARN",
1265
+ # edge_config: { # required
1266
+ # hub_device_arn: "HubDeviceArn", # required
1267
+ # recorder_config: { # required
1268
+ # media_source_config: { # required
1269
+ # media_uri_secret_arn: "MediaUriSecretArn", # required
1270
+ # media_uri_type: "RTSP_URI", # required, accepts RTSP_URI, FILE_URI
1271
+ # },
1272
+ # schedule_config: {
1273
+ # schedule_expression: "ScheduleExpression", # required
1274
+ # duration_in_seconds: 1, # required
1275
+ # },
1276
+ # },
1277
+ # uploader_config: {
1278
+ # schedule_config: { # required
1279
+ # schedule_expression: "ScheduleExpression", # required
1280
+ # duration_in_seconds: 1, # required
1281
+ # },
1282
+ # },
1283
+ # deletion_config: {
1284
+ # edge_retention_in_hours: 1,
1285
+ # local_size_config: {
1286
+ # max_local_media_size_in_mb: 1,
1287
+ # strategy_on_full_size: "DELETE_OLDEST_MEDIA", # accepts DELETE_OLDEST_MEDIA, DENY_NEW_MEDIA
1288
+ # },
1289
+ # delete_after_upload: false,
1290
+ # },
1291
+ # },
1292
+ # })
1293
+ #
1294
+ # @example Response structure
1295
+ #
1296
+ # resp.stream_name #=> String
1297
+ # resp.stream_arn #=> String
1298
+ # resp.creation_time #=> Time
1299
+ # resp.last_updated_time #=> Time
1300
+ # resp.sync_status #=> String, one of "SYNCING", "ACKNOWLEDGED", "IN_SYNC", "SYNC_FAILED", "DELETING", "DELETE_FAILED"
1301
+ # resp.failed_status_details #=> String
1302
+ # resp.edge_config.hub_device_arn #=> String
1303
+ # resp.edge_config.recorder_config.media_source_config.media_uri_secret_arn #=> String
1304
+ # resp.edge_config.recorder_config.media_source_config.media_uri_type #=> String, one of "RTSP_URI", "FILE_URI"
1305
+ # resp.edge_config.recorder_config.schedule_config.schedule_expression #=> String
1306
+ # resp.edge_config.recorder_config.schedule_config.duration_in_seconds #=> Integer
1307
+ # resp.edge_config.uploader_config.schedule_config.schedule_expression #=> String
1308
+ # resp.edge_config.uploader_config.schedule_config.duration_in_seconds #=> Integer
1309
+ # resp.edge_config.deletion_config.edge_retention_in_hours #=> Integer
1310
+ # resp.edge_config.deletion_config.local_size_config.max_local_media_size_in_mb #=> Integer
1311
+ # resp.edge_config.deletion_config.local_size_config.strategy_on_full_size #=> String, one of "DELETE_OLDEST_MEDIA", "DENY_NEW_MEDIA"
1312
+ # resp.edge_config.deletion_config.delete_after_upload #=> Boolean
1313
+ #
1314
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/StartEdgeConfigurationUpdate AWS API Documentation
1315
+ #
1316
+ # @overload start_edge_configuration_update(params = {})
1317
+ # @param [Hash] params ({})
1318
+ def start_edge_configuration_update(params = {}, options = {})
1319
+ req = build_request(:start_edge_configuration_update, params)
1320
+ req.send_request(options)
1321
+ end
1322
+
1078
1323
  # Adds one or more tags to a signaling channel. A *tag* is a key-value
1079
1324
  # pair (the value is optional) that you can define and assign to Amazon
1080
1325
  # Web Services resources. If you specify a tag that already exists, the
@@ -1350,6 +1595,43 @@ module Aws::KinesisVideo
1350
1595
  req.send_request(options)
1351
1596
  end
1352
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
+
1353
1635
  # Updates the notification information for a stream.
1354
1636
  #
1355
1637
  # @option params [String] :stream_name
@@ -1514,7 +1796,7 @@ module Aws::KinesisVideo
1514
1796
  params: params,
1515
1797
  config: config)
1516
1798
  context[:gem_name] = 'aws-sdk-kinesisvideo'
1517
- context[:gem_version] = '1.43.0'
1799
+ context[:gem_version] = '1.45.0'
1518
1800
  Seahorse::Client::Request.new(handlers, context)
1519
1801
  end
1520
1802