aws-sdk-kinesisvideoarchivedmedia 1.45.0 → 1.47.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-kinesisvideoarchivedmedia/client.rb +26 -21
- data/lib/aws-sdk-kinesisvideoarchivedmedia/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-kinesisvideoarchivedmedia/types.rb +9 -187
- data/lib/aws-sdk-kinesisvideoarchivedmedia.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd264cc5c5fa9926c08532041bf3cb87e39d4bdc3b3d0f222ac8a68380e44d82
|
4
|
+
data.tar.gz: 2a2a1144c71d8dca26cbe7aebba03855d43c56ae5212ad42f11acb64caec9d27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 452aecec421dd363110746d28b11cff79cb0067a5faa11cfa8dfbb0a32ea39ffc8cbc38f386f3e1d6791d2ffb4c5070c718d822fbacfc374474cdf021b336a34
|
7
|
+
data.tar.gz: 4f360f0134e88d8b46f97ffa7c3832223f7c545c836864207b551f7553c7b621a37025b14ab66127dcf3ada1690e213de92d3f76f66f4f07ebfea25ab8f04a1b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.47.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.46.0 (2023-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
15
|
+
|
4
16
|
1.45.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
@@ -235,4 +247,4 @@ Unreleased Changes
|
|
235
247
|
1.0.0 (2017-11-29)
|
236
248
|
------------------
|
237
249
|
|
238
|
-
* Feature - Initial release of `aws-sdk-kinesisvideoarchivedmedia`.
|
250
|
+
* Feature - Initial release of `aws-sdk-kinesisvideoarchivedmedia`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
@@ -275,6 +275,11 @@ module Aws::KinesisVideoArchivedMedia
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -614,13 +619,13 @@ module Aws::KinesisVideoArchivedMedia
|
|
614
619
|
#
|
615
620
|
# Features of the three types of sessions include the following:
|
616
621
|
#
|
617
|
-
# * <b> <code>LIVE</code> </b
|
618
|
-
#
|
619
|
-
#
|
620
|
-
#
|
621
|
-
#
|
622
|
-
#
|
623
|
-
#
|
622
|
+
# * <b> <code>LIVE</code> </b>: For sessions of this type, the MPEG-DASH
|
623
|
+
# manifest is continually updated with the latest fragments as they
|
624
|
+
# become available. We recommend that the media player retrieve a new
|
625
|
+
# manifest on a one-second interval. When this type of session is
|
626
|
+
# played in a media player, the user interface typically displays a
|
627
|
+
# "live" notification, with no scrubber control for choosing the
|
628
|
+
# position in the playback window to display.
|
624
629
|
#
|
625
630
|
# <note markdown="1"> In `LIVE` mode, the newest available fragments are included in an
|
626
631
|
# MPEG-DASH manifest, even if there is a gap between fragments (that
|
@@ -633,7 +638,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
633
638
|
#
|
634
639
|
# </note>
|
635
640
|
#
|
636
|
-
# * <b> <code>LIVE_REPLAY</code> </b
|
641
|
+
# * <b> <code>LIVE_REPLAY</code> </b>: For sessions of this type, the
|
637
642
|
# MPEG-DASH manifest is updated similarly to how it is updated for
|
638
643
|
# `LIVE` mode except that it starts by including fragments from a
|
639
644
|
# given start time. Instead of fragments being added as they are
|
@@ -646,7 +651,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
646
651
|
# is also useful to stream previously archived media without being
|
647
652
|
# limited by the 1,000 fragment limit in the `ON_DEMAND` mode.
|
648
653
|
#
|
649
|
-
# * <b> <code>ON_DEMAND</code> </b
|
654
|
+
# * <b> <code>ON_DEMAND</code> </b>: For sessions of this type, the
|
650
655
|
# MPEG-DASH manifest contains all the fragments for the session, up to
|
651
656
|
# the number that is specified in `MaxManifestFragmentResults`. The
|
652
657
|
# manifest must be retrieved only once for each session. When this
|
@@ -974,10 +979,10 @@ module Aws::KinesisVideoArchivedMedia
|
|
974
979
|
#
|
975
980
|
# Features of the three types of sessions include the following:
|
976
981
|
#
|
977
|
-
# * <b> <code>LIVE</code> </b
|
978
|
-
#
|
979
|
-
#
|
980
|
-
#
|
982
|
+
# * <b> <code>LIVE</code> </b>: For sessions of this type, the HLS media
|
983
|
+
# playlist is continually updated with the latest fragments as they
|
984
|
+
# become available. We recommend that the media player retrieve a new
|
985
|
+
# playlist on a one-second interval. When this type of session is
|
981
986
|
# played in a media player, the user interface typically displays a
|
982
987
|
# "live" notification, with no scrubber control for choosing the
|
983
988
|
# position in the playback window to display.
|
@@ -993,7 +998,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
993
998
|
#
|
994
999
|
# </note>
|
995
1000
|
#
|
996
|
-
# * <b> <code>LIVE_REPLAY</code> </b
|
1001
|
+
# * <b> <code>LIVE_REPLAY</code> </b>: For sessions of this type, the
|
997
1002
|
# HLS media playlist is updated similarly to how it is updated for
|
998
1003
|
# `LIVE` mode except that it starts by including fragments from a
|
999
1004
|
# given start time. Instead of fragments being added as they are
|
@@ -1007,7 +1012,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
1007
1012
|
# media without being limited by the 1,000 fragment limit in the
|
1008
1013
|
# `ON_DEMAND` mode.
|
1009
1014
|
#
|
1010
|
-
# * <b> <code>ON_DEMAND</code> </b
|
1015
|
+
# * <b> <code>ON_DEMAND</code> </b>: For sessions of this type, the HLS
|
1011
1016
|
# media playlist contains all the fragments for the session, up to the
|
1012
1017
|
# number that is specified in `MaxMediaPlaylistFragmentResults`. The
|
1013
1018
|
# playlist must be retrieved only once for each session. When this
|
@@ -1068,15 +1073,15 @@ module Aws::KinesisVideoArchivedMedia
|
|
1068
1073
|
#
|
1069
1074
|
# The following modes are supported:
|
1070
1075
|
#
|
1071
|
-
# * `ALWAYS
|
1072
|
-
#
|
1073
|
-
#
|
1076
|
+
# * `ALWAYS`: a discontinuity marker is placed between every fragment in
|
1077
|
+
# the HLS media playlist. It is recommended to use a value of `ALWAYS`
|
1078
|
+
# if the fragment timestamps are not accurate.
|
1074
1079
|
#
|
1075
|
-
# * `NEVER
|
1080
|
+
# * `NEVER`: no discontinuity markers are placed anywhere. It is
|
1076
1081
|
# recommended to use a value of `NEVER` to ensure the media player
|
1077
1082
|
# timeline most accurately maps to the producer timestamps.
|
1078
1083
|
#
|
1079
|
-
# * `ON_DISCONTINUITY
|
1084
|
+
# * `ON_DISCONTINUITY`: a discontinuity marker is placed between
|
1080
1085
|
# fragments that have a gap or overlap of more than 50 milliseconds.
|
1081
1086
|
# For most playback scenarios, it is recommended to use a value of
|
1082
1087
|
# `ON_DISCONTINUITY` so that the media player timeline is only reset
|
@@ -1492,7 +1497,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
1492
1497
|
params: params,
|
1493
1498
|
config: config)
|
1494
1499
|
context[:gem_name] = 'aws-sdk-kinesisvideoarchivedmedia'
|
1495
|
-
context[:gem_version] = '1.
|
1500
|
+
context[:gem_version] = '1.47.0'
|
1496
1501
|
Seahorse::Client::Request.new(handlers, context)
|
1497
1502
|
end
|
1498
1503
|
|
@@ -9,104 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::KinesisVideoArchivedMedia
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2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jpbdHJ1ZSx7ImZu
|
97
|
-
IjoiZ2V0QXR0ciIsImFyZ3YiOlt7InJlZiI6IlBhcnRpdGlvblJlc3VsdCJ9
|
98
|
-
LCJzdXBwb3J0c0R1YWxTdGFjayJdfV19XSwidHlwZSI6InRyZWUiLCJydWxl
|
99
|
-
cyI6W3siY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBz
|
100
|
-
Oi8va2luZXNpc3ZpZGVvLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVh
|
101
|
-
bFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7
|
102
|
-
fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJy
|
103
|
-
b3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24g
|
104
|
-
ZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19
|
105
|
-
LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8v
|
106
|
-
a2luZXNpc3ZpZGVvLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3Vm
|
107
|
-
Zml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJl
|
108
|
-
bmRwb2ludCJ9XX1dfQ==
|
109
|
-
|
110
|
-
JSON
|
111
50
|
end
|
112
51
|
end
|
@@ -40,17 +40,6 @@ module Aws::KinesisVideoArchivedMedia
|
|
40
40
|
# range and very different points in time, only the oldest ingested
|
41
41
|
# collection of fragments are returned.
|
42
42
|
#
|
43
|
-
# @note When making an API call, you may pass ClipFragmentSelector
|
44
|
-
# data as a hash:
|
45
|
-
#
|
46
|
-
# {
|
47
|
-
# fragment_selector_type: "PRODUCER_TIMESTAMP", # required, accepts PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
|
48
|
-
# timestamp_range: { # required
|
49
|
-
# start_timestamp: Time.now, # required
|
50
|
-
# end_timestamp: Time.now, # required
|
51
|
-
# },
|
52
|
-
# }
|
53
|
-
#
|
54
43
|
# @!attribute [rw] fragment_selector_type
|
55
44
|
# The origin of the timestamps to use (Server or Producer).
|
56
45
|
# @return [String]
|
@@ -70,14 +59,6 @@ module Aws::KinesisVideoArchivedMedia
|
|
70
59
|
|
71
60
|
# The range of timestamps for which to return fragments.
|
72
61
|
#
|
73
|
-
# @note When making an API call, you may pass ClipTimestampRange
|
74
|
-
# data as a hash:
|
75
|
-
#
|
76
|
-
# {
|
77
|
-
# start_timestamp: Time.now, # required
|
78
|
-
# end_timestamp: Time.now, # required
|
79
|
-
# }
|
80
|
-
#
|
81
62
|
# @!attribute [rw] start_timestamp
|
82
63
|
# The starting timestamp in the range of timestamps for which to
|
83
64
|
# return fragments.
|
@@ -115,17 +96,6 @@ module Aws::KinesisVideoArchivedMedia
|
|
115
96
|
# Contains the range of timestamps for the requested media, and the
|
116
97
|
# source of the timestamps.
|
117
98
|
#
|
118
|
-
# @note When making an API call, you may pass DASHFragmentSelector
|
119
|
-
# data as a hash:
|
120
|
-
#
|
121
|
-
# {
|
122
|
-
# fragment_selector_type: "PRODUCER_TIMESTAMP", # accepts PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
|
123
|
-
# timestamp_range: {
|
124
|
-
# start_timestamp: Time.now,
|
125
|
-
# end_timestamp: Time.now,
|
126
|
-
# },
|
127
|
-
# }
|
128
|
-
#
|
129
99
|
# @!attribute [rw] fragment_selector_type
|
130
100
|
# The source of the timestamps for the requested media.
|
131
101
|
#
|
@@ -182,14 +152,6 @@ module Aws::KinesisVideoArchivedMedia
|
|
182
152
|
# Fragments that start before the start time and continue past it are
|
183
153
|
# not included in the session.
|
184
154
|
#
|
185
|
-
# @note When making an API call, you may pass DASHTimestampRange
|
186
|
-
# data as a hash:
|
187
|
-
#
|
188
|
-
# {
|
189
|
-
# start_timestamp: Time.now,
|
190
|
-
# end_timestamp: Time.now,
|
191
|
-
# }
|
192
|
-
#
|
193
155
|
# @!attribute [rw] start_timestamp
|
194
156
|
# The start of the timestamp range for the requested media.
|
195
157
|
#
|
@@ -290,17 +252,6 @@ module Aws::KinesisVideoArchivedMedia
|
|
290
252
|
# of 00:00:04 would return the fragments with start times of 00:00:02
|
291
253
|
# and 00:00:04.
|
292
254
|
#
|
293
|
-
# @note When making an API call, you may pass FragmentSelector
|
294
|
-
# data as a hash:
|
295
|
-
#
|
296
|
-
# {
|
297
|
-
# fragment_selector_type: "PRODUCER_TIMESTAMP", # required, accepts PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
|
298
|
-
# timestamp_range: { # required
|
299
|
-
# start_timestamp: Time.now, # required
|
300
|
-
# end_timestamp: Time.now, # required
|
301
|
-
# },
|
302
|
-
# }
|
303
|
-
#
|
304
255
|
# @!attribute [rw] fragment_selector_type
|
305
256
|
# The origin of the timestamps to use (Server or Producer).
|
306
257
|
# @return [String]
|
@@ -318,21 +269,6 @@ module Aws::KinesisVideoArchivedMedia
|
|
318
269
|
include Aws::Structure
|
319
270
|
end
|
320
271
|
|
321
|
-
# @note When making an API call, you may pass GetClipInput
|
322
|
-
# data as a hash:
|
323
|
-
#
|
324
|
-
# {
|
325
|
-
# stream_name: "StreamName",
|
326
|
-
# stream_arn: "ResourceARN",
|
327
|
-
# clip_fragment_selector: { # required
|
328
|
-
# fragment_selector_type: "PRODUCER_TIMESTAMP", # required, accepts PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
|
329
|
-
# timestamp_range: { # required
|
330
|
-
# start_timestamp: Time.now, # required
|
331
|
-
# end_timestamp: Time.now, # required
|
332
|
-
# },
|
333
|
-
# },
|
334
|
-
# }
|
335
|
-
#
|
336
272
|
# @!attribute [rw] stream_name
|
337
273
|
# The name of the stream for which to retrieve the media clip.
|
338
274
|
#
|
@@ -385,26 +321,6 @@ module Aws::KinesisVideoArchivedMedia
|
|
385
321
|
include Aws::Structure
|
386
322
|
end
|
387
323
|
|
388
|
-
# @note When making an API call, you may pass GetDASHStreamingSessionURLInput
|
389
|
-
# data as a hash:
|
390
|
-
#
|
391
|
-
# {
|
392
|
-
# stream_name: "StreamName",
|
393
|
-
# stream_arn: "ResourceARN",
|
394
|
-
# playback_mode: "LIVE", # accepts LIVE, LIVE_REPLAY, ON_DEMAND
|
395
|
-
# display_fragment_timestamp: "ALWAYS", # accepts ALWAYS, NEVER
|
396
|
-
# display_fragment_number: "ALWAYS", # accepts ALWAYS, NEVER
|
397
|
-
# dash_fragment_selector: {
|
398
|
-
# fragment_selector_type: "PRODUCER_TIMESTAMP", # accepts PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
|
399
|
-
# timestamp_range: {
|
400
|
-
# start_timestamp: Time.now,
|
401
|
-
# end_timestamp: Time.now,
|
402
|
-
# },
|
403
|
-
# },
|
404
|
-
# expires: 1,
|
405
|
-
# max_manifest_fragment_results: 1,
|
406
|
-
# }
|
407
|
-
#
|
408
324
|
# @!attribute [rw] stream_name
|
409
325
|
# The name of the stream for which to retrieve the MPEG-DASH manifest
|
410
326
|
# URL.
|
@@ -424,7 +340,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
424
340
|
#
|
425
341
|
# Features of the three types of sessions include the following:
|
426
342
|
#
|
427
|
-
# * <b> <code>LIVE</code> </b
|
343
|
+
# * <b> <code>LIVE</code> </b>: For sessions of this type, the
|
428
344
|
# MPEG-DASH manifest is continually updated with the latest
|
429
345
|
# fragments as they become available. We recommend that the media
|
430
346
|
# player retrieve a new manifest on a one-second interval. When this
|
@@ -445,7 +361,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
445
361
|
#
|
446
362
|
# </note>
|
447
363
|
#
|
448
|
-
# * <b> <code>LIVE_REPLAY</code> </b
|
364
|
+
# * <b> <code>LIVE_REPLAY</code> </b>: For sessions of this type, the
|
449
365
|
# MPEG-DASH manifest is updated similarly to how it is updated for
|
450
366
|
# `LIVE` mode except that it starts by including fragments from a
|
451
367
|
# given start time. Instead of fragments being added as they are
|
@@ -459,7 +375,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
459
375
|
# without being limited by the 1,000 fragment limit in the
|
460
376
|
# `ON_DEMAND` mode.
|
461
377
|
#
|
462
|
-
# * <b> <code>ON_DEMAND</code> </b
|
378
|
+
# * <b> <code>ON_DEMAND</code> </b>: For sessions of this type, the
|
463
379
|
# MPEG-DASH manifest contains all the fragments for the session, up
|
464
380
|
# to the number that is specified in `MaxManifestFragmentResults`.
|
465
381
|
# The manifest must be retrieved only once for each session. When
|
@@ -587,27 +503,6 @@ module Aws::KinesisVideoArchivedMedia
|
|
587
503
|
include Aws::Structure
|
588
504
|
end
|
589
505
|
|
590
|
-
# @note When making an API call, you may pass GetHLSStreamingSessionURLInput
|
591
|
-
# data as a hash:
|
592
|
-
#
|
593
|
-
# {
|
594
|
-
# stream_name: "StreamName",
|
595
|
-
# stream_arn: "ResourceARN",
|
596
|
-
# playback_mode: "LIVE", # accepts LIVE, LIVE_REPLAY, ON_DEMAND
|
597
|
-
# hls_fragment_selector: {
|
598
|
-
# fragment_selector_type: "PRODUCER_TIMESTAMP", # accepts PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
|
599
|
-
# timestamp_range: {
|
600
|
-
# start_timestamp: Time.now,
|
601
|
-
# end_timestamp: Time.now,
|
602
|
-
# },
|
603
|
-
# },
|
604
|
-
# container_format: "FRAGMENTED_MP4", # accepts FRAGMENTED_MP4, MPEG_TS
|
605
|
-
# discontinuity_mode: "ALWAYS", # accepts ALWAYS, NEVER, ON_DISCONTINUITY
|
606
|
-
# display_fragment_timestamp: "ALWAYS", # accepts ALWAYS, NEVER
|
607
|
-
# expires: 1,
|
608
|
-
# max_media_playlist_fragment_results: 1,
|
609
|
-
# }
|
610
|
-
#
|
611
506
|
# @!attribute [rw] stream_name
|
612
507
|
# The name of the stream for which to retrieve the HLS master playlist
|
613
508
|
# URL.
|
@@ -627,7 +522,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
627
522
|
#
|
628
523
|
# Features of the three types of sessions include the following:
|
629
524
|
#
|
630
|
-
# * <b> <code>LIVE</code> </b
|
525
|
+
# * <b> <code>LIVE</code> </b>: For sessions of this type, the HLS
|
631
526
|
# media playlist is continually updated with the latest fragments as
|
632
527
|
# they become available. We recommend that the media player retrieve
|
633
528
|
# a new playlist on a one-second interval. When this type of session
|
@@ -647,7 +542,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
647
542
|
#
|
648
543
|
# </note>
|
649
544
|
#
|
650
|
-
# * <b> <code>LIVE_REPLAY</code> </b
|
545
|
+
# * <b> <code>LIVE_REPLAY</code> </b>: For sessions of this type, the
|
651
546
|
# HLS media playlist is updated similarly to how it is updated for
|
652
547
|
# `LIVE` mode except that it starts by including fragments from a
|
653
548
|
# given start time. Instead of fragments being added as they are
|
@@ -661,7 +556,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
661
556
|
# previously archived media without being limited by the 1,000
|
662
557
|
# fragment limit in the `ON_DEMAND` mode.
|
663
558
|
#
|
664
|
-
# * <b> <code>ON_DEMAND</code> </b
|
559
|
+
# * <b> <code>ON_DEMAND</code> </b>: For sessions of this type, the
|
665
560
|
# HLS media playlist contains all the fragments for the session, up
|
666
561
|
# to the number that is specified in
|
667
562
|
# `MaxMediaPlaylistFragmentResults`. The playlist must be retrieved
|
@@ -726,15 +621,15 @@ module Aws::KinesisVideoArchivedMedia
|
|
726
621
|
#
|
727
622
|
# The following modes are supported:
|
728
623
|
#
|
729
|
-
# * `ALWAYS
|
624
|
+
# * `ALWAYS`: a discontinuity marker is placed between every fragment
|
730
625
|
# in the HLS media playlist. It is recommended to use a value of
|
731
626
|
# `ALWAYS` if the fragment timestamps are not accurate.
|
732
627
|
#
|
733
|
-
# * `NEVER
|
628
|
+
# * `NEVER`: no discontinuity markers are placed anywhere. It is
|
734
629
|
# recommended to use a value of `NEVER` to ensure the media player
|
735
630
|
# timeline most accurately maps to the producer timestamps.
|
736
631
|
#
|
737
|
-
# * `ON_DISCONTINUITY
|
632
|
+
# * `ON_DISCONTINUITY`: a discontinuity marker is placed between
|
738
633
|
# fragments that have a gap or overlap of more than 50 milliseconds.
|
739
634
|
# For most playback scenarios, it is recommended to use a value of
|
740
635
|
# `ON_DISCONTINUITY` so that the media player timeline is only reset
|
@@ -826,26 +721,6 @@ module Aws::KinesisVideoArchivedMedia
|
|
826
721
|
include Aws::Structure
|
827
722
|
end
|
828
723
|
|
829
|
-
# @note When making an API call, you may pass GetImagesInput
|
830
|
-
# data as a hash:
|
831
|
-
#
|
832
|
-
# {
|
833
|
-
# stream_name: "StreamName",
|
834
|
-
# stream_arn: "ResourceARN",
|
835
|
-
# image_selector_type: "PRODUCER_TIMESTAMP", # required, accepts PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
|
836
|
-
# start_timestamp: Time.now, # required
|
837
|
-
# end_timestamp: Time.now, # required
|
838
|
-
# sampling_interval: 1, # required
|
839
|
-
# format: "JPEG", # required, accepts JPEG, PNG
|
840
|
-
# format_config: {
|
841
|
-
# "JPEGQuality" => "FormatConfigValue",
|
842
|
-
# },
|
843
|
-
# width_pixels: 1,
|
844
|
-
# height_pixels: 1,
|
845
|
-
# max_results: 1,
|
846
|
-
# next_token: "NextToken",
|
847
|
-
# }
|
848
|
-
#
|
849
724
|
# @!attribute [rw] stream_name
|
850
725
|
# The name of the stream from which to retrieve the images. You must
|
851
726
|
# specify either the `StreamName` or the `StreamARN`.
|
@@ -976,15 +851,6 @@ module Aws::KinesisVideoArchivedMedia
|
|
976
851
|
include Aws::Structure
|
977
852
|
end
|
978
853
|
|
979
|
-
# @note When making an API call, you may pass GetMediaForFragmentListInput
|
980
|
-
# data as a hash:
|
981
|
-
#
|
982
|
-
# {
|
983
|
-
# stream_name: "StreamName",
|
984
|
-
# stream_arn: "ResourceARN",
|
985
|
-
# fragments: ["FragmentNumberString"], # required
|
986
|
-
# }
|
987
|
-
#
|
988
854
|
# @!attribute [rw] stream_name
|
989
855
|
# The name of the stream from which to retrieve fragment media.
|
990
856
|
# Specify either this parameter or the `StreamARN` parameter.
|
@@ -1059,17 +925,6 @@ module Aws::KinesisVideoArchivedMedia
|
|
1059
925
|
# Contains the range of timestamps for the requested media, and the
|
1060
926
|
# source of the timestamps.
|
1061
927
|
#
|
1062
|
-
# @note When making an API call, you may pass HLSFragmentSelector
|
1063
|
-
# data as a hash:
|
1064
|
-
#
|
1065
|
-
# {
|
1066
|
-
# fragment_selector_type: "PRODUCER_TIMESTAMP", # accepts PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
|
1067
|
-
# timestamp_range: {
|
1068
|
-
# start_timestamp: Time.now,
|
1069
|
-
# end_timestamp: Time.now,
|
1070
|
-
# },
|
1071
|
-
# }
|
1072
|
-
#
|
1073
928
|
# @!attribute [rw] fragment_selector_type
|
1074
929
|
# The source of the timestamps for the requested media.
|
1075
930
|
#
|
@@ -1121,14 +976,6 @@ module Aws::KinesisVideoArchivedMedia
|
|
1121
976
|
#
|
1122
977
|
# This value should not be present if `PlaybackType` is `LIVE`.
|
1123
978
|
#
|
1124
|
-
# @note When making an API call, you may pass HLSTimestampRange
|
1125
|
-
# data as a hash:
|
1126
|
-
#
|
1127
|
-
# {
|
1128
|
-
# start_timestamp: Time.now,
|
1129
|
-
# end_timestamp: Time.now,
|
1130
|
-
# }
|
1131
|
-
#
|
1132
979
|
# @!attribute [rw] start_timestamp
|
1133
980
|
# The start of the timestamp range for the requested media.
|
1134
981
|
#
|
@@ -1254,23 +1101,6 @@ module Aws::KinesisVideoArchivedMedia
|
|
1254
1101
|
include Aws::Structure
|
1255
1102
|
end
|
1256
1103
|
|
1257
|
-
# @note When making an API call, you may pass ListFragmentsInput
|
1258
|
-
# data as a hash:
|
1259
|
-
#
|
1260
|
-
# {
|
1261
|
-
# stream_name: "StreamName",
|
1262
|
-
# stream_arn: "ResourceARN",
|
1263
|
-
# max_results: 1,
|
1264
|
-
# next_token: "NextToken",
|
1265
|
-
# fragment_selector: {
|
1266
|
-
# fragment_selector_type: "PRODUCER_TIMESTAMP", # required, accepts PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
|
1267
|
-
# timestamp_range: { # required
|
1268
|
-
# start_timestamp: Time.now, # required
|
1269
|
-
# end_timestamp: Time.now, # required
|
1270
|
-
# },
|
1271
|
-
# },
|
1272
|
-
# }
|
1273
|
-
#
|
1274
1104
|
# @!attribute [rw] stream_name
|
1275
1105
|
# The name of the stream from which to retrieve a fragment list.
|
1276
1106
|
# Specify either this parameter or the `StreamARN` parameter.
|
@@ -1397,14 +1227,6 @@ module Aws::KinesisVideoArchivedMedia
|
|
1397
1227
|
|
1398
1228
|
# The range of timestamps for which to return fragments.
|
1399
1229
|
#
|
1400
|
-
# @note When making an API call, you may pass TimestampRange
|
1401
|
-
# data as a hash:
|
1402
|
-
#
|
1403
|
-
# {
|
1404
|
-
# start_timestamp: Time.now, # required
|
1405
|
-
# end_timestamp: Time.now, # required
|
1406
|
-
# }
|
1407
|
-
#
|
1408
1230
|
# @!attribute [rw] start_timestamp
|
1409
1231
|
# The starting timestamp in the range of timestamps for which to
|
1410
1232
|
# return fragments.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kinesisvideoarchivedmedia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.47.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:
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|