aws-sdk-kinesisvideo 1.48.0 → 1.49.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 +120 -9
- data/lib/aws-sdk-kinesisvideo/client_api.rb +86 -0
- data/lib/aws-sdk-kinesisvideo/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-kinesisvideo/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-kinesisvideo/endpoints.rb +28 -0
- data/lib/aws-sdk-kinesisvideo/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-kinesisvideo/types.rb +223 -16
- 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: 80efd83d74a5b36630e2c6b6e7a34484e883e97d18709f7e1a3a600154f52c27
|
4
|
+
data.tar.gz: 1c999b1843d21586a0471c4f973a86b48b7adfd9a143c3d6f3be0ce73a8af175
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8955930ae9c2ae141f19328a7d2737e87353d0bdd43dab769e773b0f766b50136a0a759bcd13ae0fdefbd2755ae521c188ddf91251fe9cc39ca15c273eef867c
|
7
|
+
data.tar.gz: 2190ccb22121d3542e836ca0fe2330602c46733faf3bb181d5e35030cf357d85996bf536541c06802354434a467c0d2a0250ad18729740ea5f174d32d13f1a65
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.49.0 (2023-06-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - General Availability (GA) release of Kinesis Video Streams at Edge, enabling customers to provide a configuration for the Kinesis Video Streams EdgeAgent running on an on-premise IoT device. Customers can now locally record from cameras and stream videos to the cloud on a configured schedule.
|
8
|
+
|
4
9
|
1.48.0 (2023-06-15)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
@@ -479,7 +479,7 @@ module Aws::KinesisVideo
|
|
479
479
|
# Video Streams to use to encrypt stream data.
|
480
480
|
#
|
481
481
|
# If no key ID is specified, the default, Kinesis Video-managed key
|
482
|
-
# (`
|
482
|
+
# (`Amazon Web Services/kinesisvideo`) is used.
|
483
483
|
#
|
484
484
|
# For more information, see [DescribeKey][1].
|
485
485
|
#
|
@@ -535,6 +535,45 @@ module Aws::KinesisVideo
|
|
535
535
|
req.send_request(options)
|
536
536
|
end
|
537
537
|
|
538
|
+
# An asynchronous API that deletes a stream’s existing edge
|
539
|
+
# configuration, as well as the corresponding media from the Edge Agent.
|
540
|
+
#
|
541
|
+
# When you invoke this API, the sync status is set to `DELETING`. A
|
542
|
+
# deletion process starts, in which active edge jobs are stopped and all
|
543
|
+
# media is deleted from the edge device. The time to delete varies,
|
544
|
+
# depending on the total amount of stored media. If the deletion process
|
545
|
+
# fails, the sync status changes to `DELETE_FAILED`. You will need to
|
546
|
+
# re-try the deletion.
|
547
|
+
#
|
548
|
+
# When the deletion process has completed successfully, the edge
|
549
|
+
# configuration is no longer accessible.
|
550
|
+
#
|
551
|
+
# @option params [String] :stream_name
|
552
|
+
# The name of the stream from which to delete the edge configuration.
|
553
|
+
# Specify either the `StreamName` or the `StreamARN`.
|
554
|
+
#
|
555
|
+
# @option params [String] :stream_arn
|
556
|
+
# The Amazon Resource Name (ARN) of the stream. Specify either the
|
557
|
+
# `StreamName` or the `StreamARN`.
|
558
|
+
#
|
559
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
560
|
+
#
|
561
|
+
# @example Request syntax with placeholder values
|
562
|
+
#
|
563
|
+
# resp = client.delete_edge_configuration({
|
564
|
+
# stream_name: "StreamName",
|
565
|
+
# stream_arn: "ResourceARN",
|
566
|
+
# })
|
567
|
+
#
|
568
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteEdgeConfiguration AWS API Documentation
|
569
|
+
#
|
570
|
+
# @overload delete_edge_configuration(params = {})
|
571
|
+
# @param [Hash] params ({})
|
572
|
+
def delete_edge_configuration(params = {}, options = {})
|
573
|
+
req = build_request(:delete_edge_configuration, params)
|
574
|
+
req.send_request(options)
|
575
|
+
end
|
576
|
+
|
538
577
|
# Deletes a specified signaling channel. `DeleteSignalingChannel` is an
|
539
578
|
# asynchronous operation. If you don't specify the channel's current
|
540
579
|
# version, the most recent version is deleted.
|
@@ -614,8 +653,10 @@ module Aws::KinesisVideo
|
|
614
653
|
end
|
615
654
|
|
616
655
|
# Describes a stream’s edge configuration that was set using the
|
617
|
-
# `StartEdgeConfigurationUpdate` API
|
618
|
-
#
|
656
|
+
# `StartEdgeConfigurationUpdate` API and the latest status of the edge
|
657
|
+
# agent's recorder and uploader jobs. Use this API to get the status of
|
658
|
+
# the configuration to determine if the configuration is in sync with
|
659
|
+
# the Edge Agent. Use this API to evaluate the health of the Edge Agent.
|
619
660
|
#
|
620
661
|
# @option params [String] :stream_name
|
621
662
|
# The name of the stream whose edge configuration you want to update.
|
@@ -634,6 +675,7 @@ module Aws::KinesisVideo
|
|
634
675
|
# * {Types::DescribeEdgeConfigurationOutput#sync_status #sync_status} => String
|
635
676
|
# * {Types::DescribeEdgeConfigurationOutput#failed_status_details #failed_status_details} => String
|
636
677
|
# * {Types::DescribeEdgeConfigurationOutput#edge_config #edge_config} => Types::EdgeConfig
|
678
|
+
# * {Types::DescribeEdgeConfigurationOutput#edge_agent_status #edge_agent_status} => Types::EdgeAgentStatus
|
637
679
|
#
|
638
680
|
# @example Request syntax with placeholder values
|
639
681
|
#
|
@@ -648,7 +690,7 @@ module Aws::KinesisVideo
|
|
648
690
|
# resp.stream_arn #=> String
|
649
691
|
# resp.creation_time #=> Time
|
650
692
|
# resp.last_updated_time #=> Time
|
651
|
-
# resp.sync_status #=> String, one of "SYNCING", "ACKNOWLEDGED", "IN_SYNC", "SYNC_FAILED", "DELETING", "DELETE_FAILED"
|
693
|
+
# resp.sync_status #=> String, one of "SYNCING", "ACKNOWLEDGED", "IN_SYNC", "SYNC_FAILED", "DELETING", "DELETE_FAILED", "DELETING_ACKNOWLEDGED"
|
652
694
|
# resp.failed_status_details #=> String
|
653
695
|
# resp.edge_config.hub_device_arn #=> String
|
654
696
|
# resp.edge_config.recorder_config.media_source_config.media_uri_secret_arn #=> String
|
@@ -661,6 +703,14 @@ module Aws::KinesisVideo
|
|
661
703
|
# resp.edge_config.deletion_config.local_size_config.max_local_media_size_in_mb #=> Integer
|
662
704
|
# resp.edge_config.deletion_config.local_size_config.strategy_on_full_size #=> String, one of "DELETE_OLDEST_MEDIA", "DENY_NEW_MEDIA"
|
663
705
|
# resp.edge_config.deletion_config.delete_after_upload #=> Boolean
|
706
|
+
# resp.edge_agent_status.last_recorder_status.job_status_details #=> String
|
707
|
+
# resp.edge_agent_status.last_recorder_status.last_collected_time #=> Time
|
708
|
+
# resp.edge_agent_status.last_recorder_status.last_updated_time #=> Time
|
709
|
+
# resp.edge_agent_status.last_recorder_status.recorder_status #=> String, one of "SUCCESS", "USER_ERROR", "SYSTEM_ERROR"
|
710
|
+
# resp.edge_agent_status.last_uploader_status.job_status_details #=> String
|
711
|
+
# resp.edge_agent_status.last_uploader_status.last_collected_time #=> Time
|
712
|
+
# resp.edge_agent_status.last_uploader_status.last_updated_time #=> Time
|
713
|
+
# resp.edge_agent_status.last_uploader_status.uploader_status #=> String, one of "SUCCESS", "USER_ERROR", "SYSTEM_ERROR"
|
664
714
|
#
|
665
715
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeEdgeConfiguration AWS API Documentation
|
666
716
|
#
|
@@ -717,9 +767,6 @@ module Aws::KinesisVideo
|
|
717
767
|
req.send_request(options)
|
718
768
|
end
|
719
769
|
|
720
|
-
# Returns the most current information about the stream. Either
|
721
|
-
# streamName or streamARN should be provided in the input.
|
722
|
-
#
|
723
770
|
# Returns the most current information about the stream. The
|
724
771
|
# `streamName` or `streamARN` should be provided in the input.
|
725
772
|
#
|
@@ -1023,6 +1070,70 @@ module Aws::KinesisVideo
|
|
1023
1070
|
req.send_request(options)
|
1024
1071
|
end
|
1025
1072
|
|
1073
|
+
# Returns an array of edge configurations associated with the specified
|
1074
|
+
# Edge Agent.
|
1075
|
+
#
|
1076
|
+
# In the request, you must specify the Edge Agent `HubDeviceArn`.
|
1077
|
+
#
|
1078
|
+
# @option params [required, String] :hub_device_arn
|
1079
|
+
# The "Internet of Things (IoT) Thing" Arn of the edge agent.
|
1080
|
+
#
|
1081
|
+
# @option params [Integer] :max_results
|
1082
|
+
# The maximum number of edge configurations to return in the response.
|
1083
|
+
# The default is 5.
|
1084
|
+
#
|
1085
|
+
# @option params [String] :next_token
|
1086
|
+
# If you specify this parameter, when the result of a
|
1087
|
+
# `ListEdgeAgentConfigurations` operation is truncated, the call returns
|
1088
|
+
# the `NextToken` in the response. To get another batch of edge
|
1089
|
+
# configurations, provide this token in your next request.
|
1090
|
+
#
|
1091
|
+
# @return [Types::ListEdgeAgentConfigurationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1092
|
+
#
|
1093
|
+
# * {Types::ListEdgeAgentConfigurationsOutput#edge_configs #edge_configs} => Array<Types::ListEdgeAgentConfigurationsEdgeConfig>
|
1094
|
+
# * {Types::ListEdgeAgentConfigurationsOutput#next_token #next_token} => String
|
1095
|
+
#
|
1096
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1097
|
+
#
|
1098
|
+
# @example Request syntax with placeholder values
|
1099
|
+
#
|
1100
|
+
# resp = client.list_edge_agent_configurations({
|
1101
|
+
# hub_device_arn: "HubDeviceArn", # required
|
1102
|
+
# max_results: 1,
|
1103
|
+
# next_token: "NextToken",
|
1104
|
+
# })
|
1105
|
+
#
|
1106
|
+
# @example Response structure
|
1107
|
+
#
|
1108
|
+
# resp.edge_configs #=> Array
|
1109
|
+
# resp.edge_configs[0].stream_name #=> String
|
1110
|
+
# resp.edge_configs[0].stream_arn #=> String
|
1111
|
+
# resp.edge_configs[0].creation_time #=> Time
|
1112
|
+
# resp.edge_configs[0].last_updated_time #=> Time
|
1113
|
+
# resp.edge_configs[0].sync_status #=> String, one of "SYNCING", "ACKNOWLEDGED", "IN_SYNC", "SYNC_FAILED", "DELETING", "DELETE_FAILED", "DELETING_ACKNOWLEDGED"
|
1114
|
+
# resp.edge_configs[0].failed_status_details #=> String
|
1115
|
+
# resp.edge_configs[0].edge_config.hub_device_arn #=> String
|
1116
|
+
# resp.edge_configs[0].edge_config.recorder_config.media_source_config.media_uri_secret_arn #=> String
|
1117
|
+
# resp.edge_configs[0].edge_config.recorder_config.media_source_config.media_uri_type #=> String, one of "RTSP_URI", "FILE_URI"
|
1118
|
+
# resp.edge_configs[0].edge_config.recorder_config.schedule_config.schedule_expression #=> String
|
1119
|
+
# resp.edge_configs[0].edge_config.recorder_config.schedule_config.duration_in_seconds #=> Integer
|
1120
|
+
# resp.edge_configs[0].edge_config.uploader_config.schedule_config.schedule_expression #=> String
|
1121
|
+
# resp.edge_configs[0].edge_config.uploader_config.schedule_config.duration_in_seconds #=> Integer
|
1122
|
+
# resp.edge_configs[0].edge_config.deletion_config.edge_retention_in_hours #=> Integer
|
1123
|
+
# resp.edge_configs[0].edge_config.deletion_config.local_size_config.max_local_media_size_in_mb #=> Integer
|
1124
|
+
# resp.edge_configs[0].edge_config.deletion_config.local_size_config.strategy_on_full_size #=> String, one of "DELETE_OLDEST_MEDIA", "DENY_NEW_MEDIA"
|
1125
|
+
# resp.edge_configs[0].edge_config.deletion_config.delete_after_upload #=> Boolean
|
1126
|
+
# resp.next_token #=> String
|
1127
|
+
#
|
1128
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListEdgeAgentConfigurations AWS API Documentation
|
1129
|
+
#
|
1130
|
+
# @overload list_edge_agent_configurations(params = {})
|
1131
|
+
# @param [Hash] params ({})
|
1132
|
+
def list_edge_agent_configurations(params = {}, options = {})
|
1133
|
+
req = build_request(:list_edge_agent_configurations, params)
|
1134
|
+
req.send_request(options)
|
1135
|
+
end
|
1136
|
+
|
1026
1137
|
# Returns an array of `ChannelInfo` objects. Each object describes a
|
1027
1138
|
# signaling channel. To retrieve only those channels that satisfy a
|
1028
1139
|
# specific condition, you can specify a `ChannelNameCondition`.
|
@@ -1302,7 +1413,7 @@ module Aws::KinesisVideo
|
|
1302
1413
|
# resp.stream_arn #=> String
|
1303
1414
|
# resp.creation_time #=> Time
|
1304
1415
|
# resp.last_updated_time #=> Time
|
1305
|
-
# resp.sync_status #=> String, one of "SYNCING", "ACKNOWLEDGED", "IN_SYNC", "SYNC_FAILED", "DELETING", "DELETE_FAILED"
|
1416
|
+
# resp.sync_status #=> String, one of "SYNCING", "ACKNOWLEDGED", "IN_SYNC", "SYNC_FAILED", "DELETING", "DELETE_FAILED", "DELETING_ACKNOWLEDGED"
|
1306
1417
|
# resp.failed_status_details #=> String
|
1307
1418
|
# resp.edge_config.hub_device_arn #=> String
|
1308
1419
|
# resp.edge_config.recorder_config.media_source_config.media_uri_secret_arn #=> String
|
@@ -1801,7 +1912,7 @@ module Aws::KinesisVideo
|
|
1801
1912
|
params: params,
|
1802
1913
|
config: config)
|
1803
1914
|
context[:gem_name] = 'aws-sdk-kinesisvideo'
|
1804
|
-
context[:gem_version] = '1.
|
1915
|
+
context[:gem_version] = '1.49.0'
|
1805
1916
|
Seahorse::Client::Request.new(handlers, context)
|
1806
1917
|
end
|
1807
1918
|
|
@@ -35,6 +35,8 @@ module Aws::KinesisVideo
|
|
35
35
|
DataRetentionChangeInHours = Shapes::IntegerShape.new(name: 'DataRetentionChangeInHours')
|
36
36
|
DataRetentionInHours = Shapes::IntegerShape.new(name: 'DataRetentionInHours')
|
37
37
|
DeleteAfterUpload = Shapes::BooleanShape.new(name: 'DeleteAfterUpload')
|
38
|
+
DeleteEdgeConfigurationInput = Shapes::StructureShape.new(name: 'DeleteEdgeConfigurationInput')
|
39
|
+
DeleteEdgeConfigurationOutput = Shapes::StructureShape.new(name: 'DeleteEdgeConfigurationOutput')
|
38
40
|
DeleteSignalingChannelInput = Shapes::StructureShape.new(name: 'DeleteSignalingChannelInput')
|
39
41
|
DeleteSignalingChannelOutput = Shapes::StructureShape.new(name: 'DeleteSignalingChannelOutput')
|
40
42
|
DeleteStreamInput = Shapes::StructureShape.new(name: 'DeleteStreamInput')
|
@@ -59,6 +61,7 @@ module Aws::KinesisVideo
|
|
59
61
|
DeviceName = Shapes::StringShape.new(name: 'DeviceName')
|
60
62
|
DeviceStreamLimitExceededException = Shapes::StructureShape.new(name: 'DeviceStreamLimitExceededException')
|
61
63
|
DurationInSeconds = Shapes::IntegerShape.new(name: 'DurationInSeconds')
|
64
|
+
EdgeAgentStatus = Shapes::StructureShape.new(name: 'EdgeAgentStatus')
|
62
65
|
EdgeConfig = Shapes::StructureShape.new(name: 'EdgeConfig')
|
63
66
|
EdgeRetentionInHours = Shapes::IntegerShape.new(name: 'EdgeRetentionInHours')
|
64
67
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
@@ -79,7 +82,15 @@ module Aws::KinesisVideo
|
|
79
82
|
InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
|
80
83
|
InvalidDeviceException = Shapes::StructureShape.new(name: 'InvalidDeviceException')
|
81
84
|
InvalidResourceFormatException = Shapes::StructureShape.new(name: 'InvalidResourceFormatException')
|
85
|
+
JobStatusDetails = Shapes::StringShape.new(name: 'JobStatusDetails')
|
82
86
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
87
|
+
LastRecorderStatus = Shapes::StructureShape.new(name: 'LastRecorderStatus')
|
88
|
+
LastUploaderStatus = Shapes::StructureShape.new(name: 'LastUploaderStatus')
|
89
|
+
ListEdgeAgentConfigurationsEdgeConfig = Shapes::StructureShape.new(name: 'ListEdgeAgentConfigurationsEdgeConfig')
|
90
|
+
ListEdgeAgentConfigurationsEdgeConfigList = Shapes::ListShape.new(name: 'ListEdgeAgentConfigurationsEdgeConfigList')
|
91
|
+
ListEdgeAgentConfigurationsInput = Shapes::StructureShape.new(name: 'ListEdgeAgentConfigurationsInput')
|
92
|
+
ListEdgeAgentConfigurationsInputLimit = Shapes::IntegerShape.new(name: 'ListEdgeAgentConfigurationsInputLimit')
|
93
|
+
ListEdgeAgentConfigurationsOutput = Shapes::StructureShape.new(name: 'ListEdgeAgentConfigurationsOutput')
|
83
94
|
ListOfProtocols = Shapes::ListShape.new(name: 'ListOfProtocols')
|
84
95
|
ListSignalingChannelsInput = Shapes::StructureShape.new(name: 'ListSignalingChannelsInput')
|
85
96
|
ListSignalingChannelsOutput = Shapes::StructureShape.new(name: 'ListSignalingChannelsOutput')
|
@@ -108,6 +119,7 @@ module Aws::KinesisVideo
|
|
108
119
|
NotificationConfiguration = Shapes::StructureShape.new(name: 'NotificationConfiguration')
|
109
120
|
NotificationDestinationConfig = Shapes::StructureShape.new(name: 'NotificationDestinationConfig')
|
110
121
|
RecorderConfig = Shapes::StructureShape.new(name: 'RecorderConfig')
|
122
|
+
RecorderStatus = Shapes::StringShape.new(name: 'RecorderStatus')
|
111
123
|
ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
|
112
124
|
ResourceEndpoint = Shapes::StringShape.new(name: 'ResourceEndpoint')
|
113
125
|
ResourceEndpointList = Shapes::ListShape.new(name: 'ResourceEndpointList')
|
@@ -161,6 +173,7 @@ module Aws::KinesisVideo
|
|
161
173
|
UpdateStreamInput = Shapes::StructureShape.new(name: 'UpdateStreamInput')
|
162
174
|
UpdateStreamOutput = Shapes::StructureShape.new(name: 'UpdateStreamOutput')
|
163
175
|
UploaderConfig = Shapes::StructureShape.new(name: 'UploaderConfig')
|
176
|
+
UploaderStatus = Shapes::StringShape.new(name: 'UploaderStatus')
|
164
177
|
Version = Shapes::StringShape.new(name: 'Version')
|
165
178
|
VersionMismatchException = Shapes::StructureShape.new(name: 'VersionMismatchException')
|
166
179
|
WidthPixels = Shapes::IntegerShape.new(name: 'WidthPixels')
|
@@ -212,6 +225,12 @@ module Aws::KinesisVideo
|
|
212
225
|
CreateStreamOutput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
|
213
226
|
CreateStreamOutput.struct_class = Types::CreateStreamOutput
|
214
227
|
|
228
|
+
DeleteEdgeConfigurationInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
|
229
|
+
DeleteEdgeConfigurationInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
|
230
|
+
DeleteEdgeConfigurationInput.struct_class = Types::DeleteEdgeConfigurationInput
|
231
|
+
|
232
|
+
DeleteEdgeConfigurationOutput.struct_class = Types::DeleteEdgeConfigurationOutput
|
233
|
+
|
215
234
|
DeleteSignalingChannelInput.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ChannelARN"))
|
216
235
|
DeleteSignalingChannelInput.add_member(:current_version, Shapes::ShapeRef.new(shape: Version, location_name: "CurrentVersion"))
|
217
236
|
DeleteSignalingChannelInput.struct_class = Types::DeleteSignalingChannelInput
|
@@ -240,6 +259,7 @@ module Aws::KinesisVideo
|
|
240
259
|
DescribeEdgeConfigurationOutput.add_member(:sync_status, Shapes::ShapeRef.new(shape: SyncStatus, location_name: "SyncStatus"))
|
241
260
|
DescribeEdgeConfigurationOutput.add_member(:failed_status_details, Shapes::ShapeRef.new(shape: FailedStatusDetails, location_name: "FailedStatusDetails"))
|
242
261
|
DescribeEdgeConfigurationOutput.add_member(:edge_config, Shapes::ShapeRef.new(shape: EdgeConfig, location_name: "EdgeConfig"))
|
262
|
+
DescribeEdgeConfigurationOutput.add_member(:edge_agent_status, Shapes::ShapeRef.new(shape: EdgeAgentStatus, location_name: "EdgeAgentStatus"))
|
243
263
|
DescribeEdgeConfigurationOutput.struct_class = Types::DescribeEdgeConfigurationOutput
|
244
264
|
|
245
265
|
DescribeImageGenerationConfigurationInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
|
@@ -290,6 +310,10 @@ module Aws::KinesisVideo
|
|
290
310
|
DeviceStreamLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
291
311
|
DeviceStreamLimitExceededException.struct_class = Types::DeviceStreamLimitExceededException
|
292
312
|
|
313
|
+
EdgeAgentStatus.add_member(:last_recorder_status, Shapes::ShapeRef.new(shape: LastRecorderStatus, location_name: "LastRecorderStatus"))
|
314
|
+
EdgeAgentStatus.add_member(:last_uploader_status, Shapes::ShapeRef.new(shape: LastUploaderStatus, location_name: "LastUploaderStatus"))
|
315
|
+
EdgeAgentStatus.struct_class = Types::EdgeAgentStatus
|
316
|
+
|
293
317
|
EdgeConfig.add_member(:hub_device_arn, Shapes::ShapeRef.new(shape: HubDeviceArn, required: true, location_name: "HubDeviceArn"))
|
294
318
|
EdgeConfig.add_member(:recorder_config, Shapes::ShapeRef.new(shape: RecorderConfig, required: true, location_name: "RecorderConfig"))
|
295
319
|
EdgeConfig.add_member(:uploader_config, Shapes::ShapeRef.new(shape: UploaderConfig, location_name: "UploaderConfig"))
|
@@ -337,6 +361,38 @@ module Aws::KinesisVideo
|
|
337
361
|
InvalidResourceFormatException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
338
362
|
InvalidResourceFormatException.struct_class = Types::InvalidResourceFormatException
|
339
363
|
|
364
|
+
LastRecorderStatus.add_member(:job_status_details, Shapes::ShapeRef.new(shape: JobStatusDetails, location_name: "JobStatusDetails"))
|
365
|
+
LastRecorderStatus.add_member(:last_collected_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastCollectedTime"))
|
366
|
+
LastRecorderStatus.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTime"))
|
367
|
+
LastRecorderStatus.add_member(:recorder_status, Shapes::ShapeRef.new(shape: RecorderStatus, location_name: "RecorderStatus"))
|
368
|
+
LastRecorderStatus.struct_class = Types::LastRecorderStatus
|
369
|
+
|
370
|
+
LastUploaderStatus.add_member(:job_status_details, Shapes::ShapeRef.new(shape: JobStatusDetails, location_name: "JobStatusDetails"))
|
371
|
+
LastUploaderStatus.add_member(:last_collected_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastCollectedTime"))
|
372
|
+
LastUploaderStatus.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTime"))
|
373
|
+
LastUploaderStatus.add_member(:uploader_status, Shapes::ShapeRef.new(shape: UploaderStatus, location_name: "UploaderStatus"))
|
374
|
+
LastUploaderStatus.struct_class = Types::LastUploaderStatus
|
375
|
+
|
376
|
+
ListEdgeAgentConfigurationsEdgeConfig.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
|
377
|
+
ListEdgeAgentConfigurationsEdgeConfig.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
|
378
|
+
ListEdgeAgentConfigurationsEdgeConfig.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
379
|
+
ListEdgeAgentConfigurationsEdgeConfig.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTime"))
|
380
|
+
ListEdgeAgentConfigurationsEdgeConfig.add_member(:sync_status, Shapes::ShapeRef.new(shape: SyncStatus, location_name: "SyncStatus"))
|
381
|
+
ListEdgeAgentConfigurationsEdgeConfig.add_member(:failed_status_details, Shapes::ShapeRef.new(shape: FailedStatusDetails, location_name: "FailedStatusDetails"))
|
382
|
+
ListEdgeAgentConfigurationsEdgeConfig.add_member(:edge_config, Shapes::ShapeRef.new(shape: EdgeConfig, location_name: "EdgeConfig"))
|
383
|
+
ListEdgeAgentConfigurationsEdgeConfig.struct_class = Types::ListEdgeAgentConfigurationsEdgeConfig
|
384
|
+
|
385
|
+
ListEdgeAgentConfigurationsEdgeConfigList.member = Shapes::ShapeRef.new(shape: ListEdgeAgentConfigurationsEdgeConfig)
|
386
|
+
|
387
|
+
ListEdgeAgentConfigurationsInput.add_member(:hub_device_arn, Shapes::ShapeRef.new(shape: HubDeviceArn, required: true, location_name: "HubDeviceArn"))
|
388
|
+
ListEdgeAgentConfigurationsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEdgeAgentConfigurationsInputLimit, location_name: "MaxResults"))
|
389
|
+
ListEdgeAgentConfigurationsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
390
|
+
ListEdgeAgentConfigurationsInput.struct_class = Types::ListEdgeAgentConfigurationsInput
|
391
|
+
|
392
|
+
ListEdgeAgentConfigurationsOutput.add_member(:edge_configs, Shapes::ShapeRef.new(shape: ListEdgeAgentConfigurationsEdgeConfigList, location_name: "EdgeConfigs"))
|
393
|
+
ListEdgeAgentConfigurationsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
394
|
+
ListEdgeAgentConfigurationsOutput.struct_class = Types::ListEdgeAgentConfigurationsOutput
|
395
|
+
|
340
396
|
ListOfProtocols.member = Shapes::ShapeRef.new(shape: ChannelProtocol)
|
341
397
|
|
342
398
|
ListSignalingChannelsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListStreamsInputLimit, location_name: "MaxResults"))
|
@@ -605,6 +661,19 @@ module Aws::KinesisVideo
|
|
605
661
|
o.errors << Shapes::ShapeRef.new(shape: TagsPerResourceExceededLimitException)
|
606
662
|
end)
|
607
663
|
|
664
|
+
api.add_operation(:delete_edge_configuration, Seahorse::Model::Operation.new.tap do |o|
|
665
|
+
o.name = "DeleteEdgeConfiguration"
|
666
|
+
o.http_method = "POST"
|
667
|
+
o.http_request_uri = "/deleteEdgeConfiguration"
|
668
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteEdgeConfigurationInput)
|
669
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteEdgeConfigurationOutput)
|
670
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
673
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
674
|
+
o.errors << Shapes::ShapeRef.new(shape: StreamEdgeConfigurationNotFoundException)
|
675
|
+
end)
|
676
|
+
|
608
677
|
api.add_operation(:delete_signaling_channel, Seahorse::Model::Operation.new.tap do |o|
|
609
678
|
o.name = "DeleteSignalingChannel"
|
610
679
|
o.http_method = "POST"
|
@@ -749,6 +818,23 @@ module Aws::KinesisVideo
|
|
749
818
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
750
819
|
end)
|
751
820
|
|
821
|
+
api.add_operation(:list_edge_agent_configurations, Seahorse::Model::Operation.new.tap do |o|
|
822
|
+
o.name = "ListEdgeAgentConfigurations"
|
823
|
+
o.http_method = "POST"
|
824
|
+
o.http_request_uri = "/listEdgeAgentConfigurations"
|
825
|
+
o.input = Shapes::ShapeRef.new(shape: ListEdgeAgentConfigurationsInput)
|
826
|
+
o.output = Shapes::ShapeRef.new(shape: ListEdgeAgentConfigurationsOutput)
|
827
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
828
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
|
829
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
830
|
+
o[:pager] = Aws::Pager.new(
|
831
|
+
limit_key: "max_results",
|
832
|
+
tokens: {
|
833
|
+
"next_token" => "next_token"
|
834
|
+
}
|
835
|
+
)
|
836
|
+
end)
|
837
|
+
|
752
838
|
api.add_operation(:list_signaling_channels, Seahorse::Model::Operation.new.tap do |o|
|
753
839
|
o.name = "ListSignalingChannels"
|
754
840
|
o.http_method = "POST"
|
@@ -50,9 +50,6 @@ module Aws::KinesisVideo
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::KinesisVideo
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
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
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
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"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
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"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -40,6 +40,20 @@ module Aws::KinesisVideo
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
+
class DeleteEdgeConfiguration
|
44
|
+
def self.build(context)
|
45
|
+
unless context.config.regional_endpoint
|
46
|
+
endpoint = context.config.endpoint.to_s
|
47
|
+
end
|
48
|
+
Aws::KinesisVideo::EndpointParameters.new(
|
49
|
+
region: context.config.region,
|
50
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
51
|
+
use_fips: context.config.use_fips_endpoint,
|
52
|
+
endpoint: endpoint,
|
53
|
+
)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
43
57
|
class DeleteSignalingChannel
|
44
58
|
def self.build(context)
|
45
59
|
unless context.config.regional_endpoint
|
@@ -194,6 +208,20 @@ module Aws::KinesisVideo
|
|
194
208
|
end
|
195
209
|
end
|
196
210
|
|
211
|
+
class ListEdgeAgentConfigurations
|
212
|
+
def self.build(context)
|
213
|
+
unless context.config.regional_endpoint
|
214
|
+
endpoint = context.config.endpoint.to_s
|
215
|
+
end
|
216
|
+
Aws::KinesisVideo::EndpointParameters.new(
|
217
|
+
region: context.config.region,
|
218
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
219
|
+
use_fips: context.config.use_fips_endpoint,
|
220
|
+
endpoint: endpoint,
|
221
|
+
)
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
197
225
|
class ListSignalingChannels
|
198
226
|
def self.build(context)
|
199
227
|
unless context.config.regional_endpoint
|
@@ -60,6 +60,8 @@ module Aws::KinesisVideo
|
|
60
60
|
Aws::KinesisVideo::Endpoints::CreateSignalingChannel.build(context)
|
61
61
|
when :create_stream
|
62
62
|
Aws::KinesisVideo::Endpoints::CreateStream.build(context)
|
63
|
+
when :delete_edge_configuration
|
64
|
+
Aws::KinesisVideo::Endpoints::DeleteEdgeConfiguration.build(context)
|
63
65
|
when :delete_signaling_channel
|
64
66
|
Aws::KinesisVideo::Endpoints::DeleteSignalingChannel.build(context)
|
65
67
|
when :delete_stream
|
@@ -82,6 +84,8 @@ module Aws::KinesisVideo
|
|
82
84
|
Aws::KinesisVideo::Endpoints::GetDataEndpoint.build(context)
|
83
85
|
when :get_signaling_channel_endpoint
|
84
86
|
Aws::KinesisVideo::Endpoints::GetSignalingChannelEndpoint.build(context)
|
87
|
+
when :list_edge_agent_configurations
|
88
|
+
Aws::KinesisVideo::Endpoints::ListEdgeAgentConfigurations.build(context)
|
85
89
|
when :list_signaling_channels
|
86
90
|
Aws::KinesisVideo::Endpoints::ListSignalingChannels.build(context)
|
87
91
|
when :list_streams
|
@@ -217,7 +217,7 @@ module Aws::KinesisVideo
|
|
217
217
|
# Video Streams to use to encrypt stream data.
|
218
218
|
#
|
219
219
|
# If no key ID is specified, the default, Kinesis Video-managed key
|
220
|
-
# (`
|
220
|
+
# (`Amazon Web Services/kinesisvideo`) is used.
|
221
221
|
#
|
222
222
|
# For more information, see [DescribeKey][1].
|
223
223
|
#
|
@@ -271,6 +271,29 @@ module Aws::KinesisVideo
|
|
271
271
|
include Aws::Structure
|
272
272
|
end
|
273
273
|
|
274
|
+
# @!attribute [rw] stream_name
|
275
|
+
# The name of the stream from which to delete the edge configuration.
|
276
|
+
# Specify either the `StreamName` or the `StreamARN`.
|
277
|
+
# @return [String]
|
278
|
+
#
|
279
|
+
# @!attribute [rw] stream_arn
|
280
|
+
# The Amazon Resource Name (ARN) of the stream. Specify either the
|
281
|
+
# `StreamName` or the `StreamARN`.
|
282
|
+
# @return [String]
|
283
|
+
#
|
284
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteEdgeConfigurationInput AWS API Documentation
|
285
|
+
#
|
286
|
+
class DeleteEdgeConfigurationInput < Struct.new(
|
287
|
+
:stream_name,
|
288
|
+
:stream_arn)
|
289
|
+
SENSITIVE = []
|
290
|
+
include Aws::Structure
|
291
|
+
end
|
292
|
+
|
293
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteEdgeConfigurationOutput AWS API Documentation
|
294
|
+
#
|
295
|
+
class DeleteEdgeConfigurationOutput < Aws::EmptyStructure; end
|
296
|
+
|
274
297
|
# @!attribute [rw] channel_arn
|
275
298
|
# The Amazon Resource Name (ARN) of the signaling channel that you
|
276
299
|
# want to delete.
|
@@ -349,7 +372,7 @@ module Aws::KinesisVideo
|
|
349
372
|
#
|
350
373
|
# Since the default value is set to `true`, configure the uploader
|
351
374
|
# schedule such that the media files are not being deleted before they
|
352
|
-
# are initially uploaded to
|
375
|
+
# are initially uploaded to the Amazon Web Services cloud.
|
353
376
|
# @return [Boolean]
|
354
377
|
#
|
355
378
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeletionConfig AWS API Documentation
|
@@ -414,6 +437,12 @@ module Aws::KinesisVideo
|
|
414
437
|
# component will run on an IoT Hub Device setup at your premise.
|
415
438
|
# @return [Types::EdgeConfig]
|
416
439
|
#
|
440
|
+
# @!attribute [rw] edge_agent_status
|
441
|
+
# An object that contains the latest status details for an edge
|
442
|
+
# agent's recorder and uploader jobs. Use this information to
|
443
|
+
# determine the current health of an edge agent.
|
444
|
+
# @return [Types::EdgeAgentStatus]
|
445
|
+
#
|
417
446
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeEdgeConfigurationOutput AWS API Documentation
|
418
447
|
#
|
419
448
|
class DescribeEdgeConfigurationOutput < Struct.new(
|
@@ -423,7 +452,8 @@ module Aws::KinesisVideo
|
|
423
452
|
:last_updated_time,
|
424
453
|
:sync_status,
|
425
454
|
:failed_status_details,
|
426
|
-
:edge_config
|
455
|
+
:edge_config,
|
456
|
+
:edge_agent_status)
|
427
457
|
SENSITIVE = []
|
428
458
|
include Aws::Structure
|
429
459
|
end
|
@@ -647,6 +677,27 @@ module Aws::KinesisVideo
|
|
647
677
|
include Aws::Structure
|
648
678
|
end
|
649
679
|
|
680
|
+
# An object that contains the latest status details for an edge agent's
|
681
|
+
# recorder and uploader jobs. Use this information to determine the
|
682
|
+
# current health of an edge agent.
|
683
|
+
#
|
684
|
+
# @!attribute [rw] last_recorder_status
|
685
|
+
# The latest status of a stream’s edge recording job.
|
686
|
+
# @return [Types::LastRecorderStatus]
|
687
|
+
#
|
688
|
+
# @!attribute [rw] last_uploader_status
|
689
|
+
# The latest status of a stream’s edge to cloud uploader job.
|
690
|
+
# @return [Types::LastUploaderStatus]
|
691
|
+
#
|
692
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/EdgeAgentStatus AWS API Documentation
|
693
|
+
#
|
694
|
+
class EdgeAgentStatus < Struct.new(
|
695
|
+
:last_recorder_status,
|
696
|
+
:last_uploader_status)
|
697
|
+
SENSITIVE = []
|
698
|
+
include Aws::Structure
|
699
|
+
end
|
700
|
+
|
650
701
|
# A description of the stream's edge configuration that will be used to
|
651
702
|
# sync with the Edge Agent IoT Greengrass component. The Edge Agent
|
652
703
|
# component will run on an IoT Hub Device setup at your premise.
|
@@ -841,9 +892,9 @@ module Aws::KinesisVideo
|
|
841
892
|
# @return [String]
|
842
893
|
#
|
843
894
|
# @!attribute [rw] destination_region
|
844
|
-
# The
|
845
|
-
# `DestinationRegion` must match the Region where the
|
846
|
-
# located.
|
895
|
+
# The Amazon Web Services Region of the S3 bucket where images will be
|
896
|
+
# delivered. This `DestinationRegion` must match the Region where the
|
897
|
+
# stream is located.
|
847
898
|
# @return [String]
|
848
899
|
#
|
849
900
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ImageGenerationDestinationConfig AWS API Documentation
|
@@ -894,6 +945,157 @@ module Aws::KinesisVideo
|
|
894
945
|
include Aws::Structure
|
895
946
|
end
|
896
947
|
|
948
|
+
# The latest status of a stream's edge recording job.
|
949
|
+
#
|
950
|
+
# @!attribute [rw] job_status_details
|
951
|
+
# A description of a recorder job’s latest status.
|
952
|
+
# @return [String]
|
953
|
+
#
|
954
|
+
# @!attribute [rw] last_collected_time
|
955
|
+
# The timestamp at which the recorder job was last executed and media
|
956
|
+
# stored to local disk.
|
957
|
+
# @return [Time]
|
958
|
+
#
|
959
|
+
# @!attribute [rw] last_updated_time
|
960
|
+
# The timestamp at which the recorder status was last updated.
|
961
|
+
# @return [Time]
|
962
|
+
#
|
963
|
+
# @!attribute [rw] recorder_status
|
964
|
+
# The status of the latest recorder job.
|
965
|
+
# @return [String]
|
966
|
+
#
|
967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/LastRecorderStatus AWS API Documentation
|
968
|
+
#
|
969
|
+
class LastRecorderStatus < Struct.new(
|
970
|
+
:job_status_details,
|
971
|
+
:last_collected_time,
|
972
|
+
:last_updated_time,
|
973
|
+
:recorder_status)
|
974
|
+
SENSITIVE = []
|
975
|
+
include Aws::Structure
|
976
|
+
end
|
977
|
+
|
978
|
+
# The latest status of a stream’s edge to cloud uploader job.
|
979
|
+
#
|
980
|
+
# @!attribute [rw] job_status_details
|
981
|
+
# A description of an uploader job’s latest status.
|
982
|
+
# @return [String]
|
983
|
+
#
|
984
|
+
# @!attribute [rw] last_collected_time
|
985
|
+
# The timestamp at which the uploader job was last executed and media
|
986
|
+
# collected to the cloud.
|
987
|
+
# @return [Time]
|
988
|
+
#
|
989
|
+
# @!attribute [rw] last_updated_time
|
990
|
+
# The timestamp at which the uploader status was last updated.
|
991
|
+
# @return [Time]
|
992
|
+
#
|
993
|
+
# @!attribute [rw] uploader_status
|
994
|
+
# The status of the latest uploader job.
|
995
|
+
# @return [String]
|
996
|
+
#
|
997
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/LastUploaderStatus AWS API Documentation
|
998
|
+
#
|
999
|
+
class LastUploaderStatus < Struct.new(
|
1000
|
+
:job_status_details,
|
1001
|
+
:last_collected_time,
|
1002
|
+
:last_updated_time,
|
1003
|
+
:uploader_status)
|
1004
|
+
SENSITIVE = []
|
1005
|
+
include Aws::Structure
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
# A description of a single stream's edge configuration.
|
1009
|
+
#
|
1010
|
+
# @!attribute [rw] stream_name
|
1011
|
+
# The name of the stream.
|
1012
|
+
# @return [String]
|
1013
|
+
#
|
1014
|
+
# @!attribute [rw] stream_arn
|
1015
|
+
# The Amazon Resource Name (ARN) of the stream.
|
1016
|
+
# @return [String]
|
1017
|
+
#
|
1018
|
+
# @!attribute [rw] creation_time
|
1019
|
+
# The timestamp when the stream first created the edge config.
|
1020
|
+
# @return [Time]
|
1021
|
+
#
|
1022
|
+
# @!attribute [rw] last_updated_time
|
1023
|
+
# The timestamp when the stream last updated the edge config.
|
1024
|
+
# @return [Time]
|
1025
|
+
#
|
1026
|
+
# @!attribute [rw] sync_status
|
1027
|
+
# The current sync status of the stream's edge configuration.
|
1028
|
+
# @return [String]
|
1029
|
+
#
|
1030
|
+
# @!attribute [rw] failed_status_details
|
1031
|
+
# A description of the generated failure status.
|
1032
|
+
# @return [String]
|
1033
|
+
#
|
1034
|
+
# @!attribute [rw] edge_config
|
1035
|
+
# A description of the stream's edge configuration that will be used
|
1036
|
+
# to sync with the Edge Agent IoT Greengrass component. The Edge Agent
|
1037
|
+
# component will run on an IoT Hub Device setup at your premise.
|
1038
|
+
# @return [Types::EdgeConfig]
|
1039
|
+
#
|
1040
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListEdgeAgentConfigurationsEdgeConfig AWS API Documentation
|
1041
|
+
#
|
1042
|
+
class ListEdgeAgentConfigurationsEdgeConfig < Struct.new(
|
1043
|
+
:stream_name,
|
1044
|
+
:stream_arn,
|
1045
|
+
:creation_time,
|
1046
|
+
:last_updated_time,
|
1047
|
+
:sync_status,
|
1048
|
+
:failed_status_details,
|
1049
|
+
:edge_config)
|
1050
|
+
SENSITIVE = []
|
1051
|
+
include Aws::Structure
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
# @!attribute [rw] hub_device_arn
|
1055
|
+
# The "Internet of Things (IoT) Thing" Arn of the edge agent.
|
1056
|
+
# @return [String]
|
1057
|
+
#
|
1058
|
+
# @!attribute [rw] max_results
|
1059
|
+
# The maximum number of edge configurations to return in the response.
|
1060
|
+
# The default is 5.
|
1061
|
+
# @return [Integer]
|
1062
|
+
#
|
1063
|
+
# @!attribute [rw] next_token
|
1064
|
+
# If you specify this parameter, when the result of a
|
1065
|
+
# `ListEdgeAgentConfigurations` operation is truncated, the call
|
1066
|
+
# returns the `NextToken` in the response. To get another batch of
|
1067
|
+
# edge configurations, provide this token in your next request.
|
1068
|
+
# @return [String]
|
1069
|
+
#
|
1070
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListEdgeAgentConfigurationsInput AWS API Documentation
|
1071
|
+
#
|
1072
|
+
class ListEdgeAgentConfigurationsInput < Struct.new(
|
1073
|
+
:hub_device_arn,
|
1074
|
+
:max_results,
|
1075
|
+
:next_token)
|
1076
|
+
SENSITIVE = []
|
1077
|
+
include Aws::Structure
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
# @!attribute [rw] edge_configs
|
1081
|
+
# A description of a single stream's edge configuration.
|
1082
|
+
# @return [Array<Types::ListEdgeAgentConfigurationsEdgeConfig>]
|
1083
|
+
#
|
1084
|
+
# @!attribute [rw] next_token
|
1085
|
+
# If the response is truncated, the call returns this element with a
|
1086
|
+
# given token. To get the next batch of edge configurations, use this
|
1087
|
+
# token in your next request.
|
1088
|
+
# @return [String]
|
1089
|
+
#
|
1090
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListEdgeAgentConfigurationsOutput AWS API Documentation
|
1091
|
+
#
|
1092
|
+
class ListEdgeAgentConfigurationsOutput < Struct.new(
|
1093
|
+
:edge_configs,
|
1094
|
+
:next_token)
|
1095
|
+
SENSITIVE = []
|
1096
|
+
include Aws::Structure
|
1097
|
+
end
|
1098
|
+
|
897
1099
|
# @!attribute [rw] max_results
|
898
1100
|
# The maximum number of channels to return in the response. The
|
899
1101
|
# default is 500.
|
@@ -1124,8 +1326,8 @@ module Aws::KinesisVideo
|
|
1124
1326
|
# that are streamed to the camera.
|
1125
1327
|
#
|
1126
1328
|
# @!attribute [rw] media_uri_secret_arn
|
1127
|
-
# The
|
1128
|
-
# camera, or a local media file location.
|
1329
|
+
# The Amazon Web Services Secrets Manager ARN for the username and
|
1330
|
+
# password of the camera, or a local media file location.
|
1129
1331
|
# @return [String]
|
1130
1332
|
#
|
1131
1333
|
# @!attribute [rw] media_uri_type
|
@@ -1260,6 +1462,8 @@ module Aws::KinesisVideo
|
|
1260
1462
|
# An object that describes the endpoint of the signaling channel
|
1261
1463
|
# returned by the `GetSignalingChannelEndpoint` API.
|
1262
1464
|
#
|
1465
|
+
# The media server endpoint will correspond to the `WEBRTC` Protocol.
|
1466
|
+
#
|
1263
1467
|
# @!attribute [rw] protocol
|
1264
1468
|
# The protocol of the signaling channel returned by the
|
1265
1469
|
# `GetSignalingChannelEndpoint` API.
|
@@ -1323,8 +1527,11 @@ module Aws::KinesisVideo
|
|
1323
1527
|
# consists of the `ScheduleExpression` and the `DurationInMinutes`
|
1324
1528
|
# attributes.
|
1325
1529
|
#
|
1326
|
-
# If the `
|
1327
|
-
# always be set to recording mode.
|
1530
|
+
# If the `ScheduleConfig` is not provided in the `RecorderConfig`, then
|
1531
|
+
# the Edge Agent will always be set to recording mode.
|
1532
|
+
#
|
1533
|
+
# If the `ScheduleConfig` is not provided in the `UploaderConfig`, then
|
1534
|
+
# the Edge Agent will upload at regular intervals (every 1 hour).
|
1328
1535
|
#
|
1329
1536
|
# @!attribute [rw] schedule_expression
|
1330
1537
|
# The Quartz cron expression that takes care of scheduling jobs to
|
@@ -1919,17 +2126,17 @@ module Aws::KinesisVideo
|
|
1919
2126
|
class UpdateStreamOutput < Aws::EmptyStructure; end
|
1920
2127
|
|
1921
2128
|
# The configuration that consists of the `ScheduleExpression` and the
|
1922
|
-
# `
|
2129
|
+
# `DurationInMinutes` details that specify the scheduling to record from
|
1923
2130
|
# a camera, or local media file, onto the Edge Agent. If the
|
1924
|
-
# `
|
1925
|
-
#
|
2131
|
+
# `ScheduleConfig` is not provided in the `UploaderConfig`, then the
|
2132
|
+
# Edge Agent will upload at regular intervals (every 1 hour).
|
1926
2133
|
#
|
1927
2134
|
# @!attribute [rw] schedule_config
|
1928
2135
|
# The configuration that consists of the `ScheduleExpression` and the
|
1929
|
-
# `DurationInMinutes`details that specify the scheduling to record
|
2136
|
+
# `DurationInMinutes` details that specify the scheduling to record
|
1930
2137
|
# from a camera, or local media file, onto the Edge Agent. If the
|
1931
|
-
# `
|
1932
|
-
#
|
2138
|
+
# `ScheduleConfig` is not provided in this `UploaderConfig`, then the
|
2139
|
+
# Edge Agent will upload at regular intervals (every 1 hour).
|
1933
2140
|
# @return [Types::ScheduleConfig]
|
1934
2141
|
#
|
1935
2142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UploaderConfig AWS API Documentation
|
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.49.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: 2023-06-
|
11
|
+
date: 2023-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|