aws-sdk-kinesisvideoarchivedmedia 1.26.0 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdfab42497c4223625fc18618af56cbe92186f3b99ade44d86eed8e41ab6a94a
|
4
|
+
data.tar.gz: 4f70f2346ae3ab0ce1b51ea611acc7dc45a0c9fa38066de62512a3e36ee7f2d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ff2d58f6fdadb2c1621830c4aba4fe6730bbc34d44564ea4d01a8dd7d5ac1bc91fd00d96f5a5daa4c3ddfe7367e884ff57a72a886e802013232937c6cfb0ea0
|
7
|
+
data.tar.gz: 81c5597e4182f2808526ba44c5c9d6fc1ba22101d83ff72fa3c75fab7e7746be0559b949664abf566d0ecabb2bb66e9122becf6c6bd18079d064eb77b60f5ccf
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-kinesisvideoarchivedmedia/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::KinesisVideoArchivedMedia
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.31.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::KinesisVideoArchivedMedia
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::KinesisVideoArchivedMedia
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -319,7 +334,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
319
334
|
# must specify either the StreamName or the StreamARN when invoking this
|
320
335
|
# API operation.
|
321
336
|
#
|
322
|
-
# As a
|
337
|
+
# As a prerequisite to using GetCLip API, you must obtain an endpoint
|
323
338
|
# using `GetDataEndpoint`, specifying GET\_CLIP for` the APIName
|
324
339
|
# parameter. </p> An Amazon Kinesis video stream has the following
|
325
340
|
# requirements for providing data through MP4: The media must contain
|
@@ -1196,8 +1211,14 @@ module Aws::KinesisVideoArchivedMedia
|
|
1196
1211
|
# [1]: https://docs.aws.amazon.com/cli/latest/reference/
|
1197
1212
|
# [2]: https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/CommonErrors.html
|
1198
1213
|
#
|
1199
|
-
# @option params [
|
1200
|
-
# The name of the stream from which to retrieve fragment media.
|
1214
|
+
# @option params [String] :stream_name
|
1215
|
+
# The name of the stream from which to retrieve fragment media. Specify
|
1216
|
+
# either this parameter or the `StreamARN` parameter.
|
1217
|
+
#
|
1218
|
+
# @option params [String] :stream_arn
|
1219
|
+
# The Amazon Resource Name (ARN) of the stream from which to retrieve
|
1220
|
+
# fragment media. Specify either this parameter or the `StreamName`
|
1221
|
+
# parameter.
|
1201
1222
|
#
|
1202
1223
|
# @option params [required, Array<String>] :fragments
|
1203
1224
|
# A list of the numbers of fragments for which to retrieve media. You
|
@@ -1211,7 +1232,8 @@ module Aws::KinesisVideoArchivedMedia
|
|
1211
1232
|
# @example Request syntax with placeholder values
|
1212
1233
|
#
|
1213
1234
|
# resp = client.get_media_for_fragment_list({
|
1214
|
-
# stream_name: "StreamName",
|
1235
|
+
# stream_name: "StreamName",
|
1236
|
+
# stream_arn: "ResourceARN",
|
1215
1237
|
# fragments: ["FragmentNumberString"], # required
|
1216
1238
|
# })
|
1217
1239
|
#
|
@@ -1270,8 +1292,14 @@ module Aws::KinesisVideoArchivedMedia
|
|
1270
1292
|
# [1]: https://docs.aws.amazon.com/cli/latest/reference/
|
1271
1293
|
# [2]: https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/CommonErrors.html
|
1272
1294
|
#
|
1273
|
-
# @option params [
|
1274
|
-
# The name of the stream from which to retrieve a fragment list.
|
1295
|
+
# @option params [String] :stream_name
|
1296
|
+
# The name of the stream from which to retrieve a fragment list. Specify
|
1297
|
+
# either this parameter or the `StreamARN` parameter.
|
1298
|
+
#
|
1299
|
+
# @option params [String] :stream_arn
|
1300
|
+
# The Amazon Resource Name (ARN) of the stream from which to retrieve a
|
1301
|
+
# fragment list. Specify either this parameter or the `StreamName`
|
1302
|
+
# parameter.
|
1275
1303
|
#
|
1276
1304
|
# @option params [Integer] :max_results
|
1277
1305
|
# The total number of fragments to return. If the total number of
|
@@ -1297,7 +1325,8 @@ module Aws::KinesisVideoArchivedMedia
|
|
1297
1325
|
# @example Request syntax with placeholder values
|
1298
1326
|
#
|
1299
1327
|
# resp = client.list_fragments({
|
1300
|
-
# stream_name: "StreamName",
|
1328
|
+
# stream_name: "StreamName",
|
1329
|
+
# stream_arn: "ResourceARN",
|
1301
1330
|
# max_results: 1,
|
1302
1331
|
# next_token: "NextToken",
|
1303
1332
|
# fragment_selector: {
|
@@ -1341,7 +1370,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
1341
1370
|
params: params,
|
1342
1371
|
config: config)
|
1343
1372
|
context[:gem_name] = 'aws-sdk-kinesisvideoarchivedmedia'
|
1344
|
-
context[:gem_version] = '1.
|
1373
|
+
context[:gem_version] = '1.31.0'
|
1345
1374
|
Seahorse::Client::Request.new(handlers, context)
|
1346
1375
|
end
|
1347
1376
|
|
@@ -140,7 +140,8 @@ module Aws::KinesisVideoArchivedMedia
|
|
140
140
|
GetHLSStreamingSessionURLOutput.add_member(:hls_streaming_session_url, Shapes::ShapeRef.new(shape: HLSStreamingSessionURL, location_name: "HLSStreamingSessionURL"))
|
141
141
|
GetHLSStreamingSessionURLOutput.struct_class = Types::GetHLSStreamingSessionURLOutput
|
142
142
|
|
143
|
-
GetMediaForFragmentListInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName,
|
143
|
+
GetMediaForFragmentListInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
|
144
|
+
GetMediaForFragmentListInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
|
144
145
|
GetMediaForFragmentListInput.add_member(:fragments, Shapes::ShapeRef.new(shape: FragmentNumberList, required: true, location_name: "Fragments"))
|
145
146
|
GetMediaForFragmentListInput.struct_class = Types::GetMediaForFragmentListInput
|
146
147
|
|
@@ -167,7 +168,8 @@ module Aws::KinesisVideoArchivedMedia
|
|
167
168
|
InvalidMediaFrameException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
168
169
|
InvalidMediaFrameException.struct_class = Types::InvalidMediaFrameException
|
169
170
|
|
170
|
-
ListFragmentsInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName,
|
171
|
+
ListFragmentsInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
|
172
|
+
ListFragmentsInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
|
171
173
|
ListFragmentsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageLimit, location_name: "MaxResults"))
|
172
174
|
ListFragmentsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
173
175
|
ListFragmentsInput.add_member(:fragment_selector, Shapes::ShapeRef.new(shape: FragmentSelector, location_name: "FragmentSelector"))
|
@@ -371,8 +371,11 @@ module Aws::KinesisVideoArchivedMedia
|
|
371
371
|
# Traditional MP4 file that contains the media clip from the specified
|
372
372
|
# video stream. The output will contain the first 100 MB or the first
|
373
373
|
# 200 fragments from the specified start timestamp. For more
|
374
|
-
# information, see [Kinesis Video Streams Limits]
|
375
|
-
#
|
374
|
+
# information, see [Kinesis Video Streams Limits][1].
|
375
|
+
#
|
376
|
+
#
|
377
|
+
#
|
378
|
+
# [1]: https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html
|
376
379
|
# @return [IO]
|
377
380
|
#
|
378
381
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetClipOutput AWS API Documentation
|
@@ -830,12 +833,20 @@ module Aws::KinesisVideoArchivedMedia
|
|
830
833
|
# data as a hash:
|
831
834
|
#
|
832
835
|
# {
|
833
|
-
# stream_name: "StreamName",
|
836
|
+
# stream_name: "StreamName",
|
837
|
+
# stream_arn: "ResourceARN",
|
834
838
|
# fragments: ["FragmentNumberString"], # required
|
835
839
|
# }
|
836
840
|
#
|
837
841
|
# @!attribute [rw] stream_name
|
838
842
|
# The name of the stream from which to retrieve fragment media.
|
843
|
+
# Specify either this parameter or the `StreamARN` parameter.
|
844
|
+
# @return [String]
|
845
|
+
#
|
846
|
+
# @!attribute [rw] stream_arn
|
847
|
+
# The Amazon Resource Name (ARN) of the stream from which to retrieve
|
848
|
+
# fragment media. Specify either this parameter or the `StreamName`
|
849
|
+
# parameter.
|
839
850
|
# @return [String]
|
840
851
|
#
|
841
852
|
# @!attribute [rw] fragments
|
@@ -847,6 +858,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
847
858
|
#
|
848
859
|
class GetMediaForFragmentListInput < Struct.new(
|
849
860
|
:stream_name,
|
861
|
+
:stream_arn,
|
850
862
|
:fragments)
|
851
863
|
SENSITIVE = []
|
852
864
|
include Aws::Structure
|
@@ -1067,7 +1079,8 @@ module Aws::KinesisVideoArchivedMedia
|
|
1067
1079
|
# data as a hash:
|
1068
1080
|
#
|
1069
1081
|
# {
|
1070
|
-
# stream_name: "StreamName",
|
1082
|
+
# stream_name: "StreamName",
|
1083
|
+
# stream_arn: "ResourceARN",
|
1071
1084
|
# max_results: 1,
|
1072
1085
|
# next_token: "NextToken",
|
1073
1086
|
# fragment_selector: {
|
@@ -1081,6 +1094,13 @@ module Aws::KinesisVideoArchivedMedia
|
|
1081
1094
|
#
|
1082
1095
|
# @!attribute [rw] stream_name
|
1083
1096
|
# The name of the stream from which to retrieve a fragment list.
|
1097
|
+
# Specify either this parameter or the `StreamARN` parameter.
|
1098
|
+
# @return [String]
|
1099
|
+
#
|
1100
|
+
# @!attribute [rw] stream_arn
|
1101
|
+
# The Amazon Resource Name (ARN) of the stream from which to retrieve
|
1102
|
+
# a fragment list. Specify either this parameter or the `StreamName`
|
1103
|
+
# parameter.
|
1084
1104
|
# @return [String]
|
1085
1105
|
#
|
1086
1106
|
# @!attribute [rw] max_results
|
@@ -1104,6 +1124,7 @@ module Aws::KinesisVideoArchivedMedia
|
|
1104
1124
|
#
|
1105
1125
|
class ListFragmentsInput < Struct.new(
|
1106
1126
|
:stream_name,
|
1127
|
+
:stream_arn,
|
1107
1128
|
:max_results,
|
1108
1129
|
:next_token,
|
1109
1130
|
:fragment_selector)
|
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.31.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: 2021-02-15 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.112.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.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|