aws-sdk-kinesisvideo 1.44.0 → 1.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kinesisvideo/client.rb +138 -18
- data/lib/aws-sdk-kinesisvideo/client_api.rb +89 -0
- data/lib/aws-sdk-kinesisvideo/endpoints.rb +42 -0
- data/lib/aws-sdk-kinesisvideo/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-kinesisvideo/types.rb +164 -14
- data/lib/aws-sdk-kinesisvideo.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb1a047e8cdd6883439bed052d6e30e7e4ee9969511b7da4520d559b098fb645
|
4
|
+
data.tar.gz: d704725ae45c332407a5ee42fc5e3d3764e8c0aeacfa9f941cd5ea8958a2fc54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fc0f077c248c79507f8072e5e209a113ed7d8ad7abd828c9e0bdb5a1a5d3699db917e9b4e2e6a2961fff1367c6683fc2fce4dfe3e667c451596b792ff7a762b
|
7
|
+
data.tar.gz: 710bdf14328642ed192f6bb0ceebfb52f8e03bbfe88f0a020ae6106abe00cd211aad2974cb3df687efcf763d81cb36e8cb471c56397b5aeaccfcc77284f2ceff
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
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
|
+
|
4
9
|
1.44.0 (2022-12-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.45.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.
|
1138
|
-
# configuration
|
1139
|
-
#
|
1140
|
-
#
|
1141
|
-
#
|
1142
|
-
# with the Edge Agent
|
1143
|
-
#
|
1144
|
-
#
|
1145
|
-
#
|
1146
|
-
#
|
1147
|
-
# state such as: `IN_SYNC
|
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
|
1235
|
+
# stream’s 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.
|
1799
|
+
context[:gem_version] = '1.45.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"
|
@@ -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
|
590
|
-
# from the Edge Agent
|
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 (
|
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
|
-
#
|
1161
|
-
#
|
1162
|
-
#
|
1163
|
-
#
|
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
|
-
#
|
1166
|
-
#
|
1167
|
-
#
|
1168
|
-
#
|
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 `
|
1774
|
-
# that
|
1775
|
-
#
|
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
|
data/lib/aws-sdk-kinesisvideo.rb
CHANGED
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.
|
4
|
+
version: 1.45.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-
|
11
|
+
date: 2022-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|