aws-sdk-kinesisvideoarchivedmedia 1.55.0 → 1.57.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 77a2accc17d67773914334c70508e7818e12b38396307df24fdc1aee004722e5
4
- data.tar.gz: 49821c5cda0e6d5528fcc819195b4d51e13c5b3c7a6dc7237a3b42db1603b0b2
3
+ metadata.gz: 6da89595842ff99c4e3c2e0d0dd44da1b692be76be69eef581385b8643771290
4
+ data.tar.gz: 2c09641cff69ece0bd8623bafc979aaef672d92b1d5104af5d01f39f16adafb9
5
5
  SHA512:
6
- metadata.gz: 8a4e174840d35bd0c49fc8f71f1360eb67446195b5e4676b900b9c41a70c3e1aeb834975c1ad6cf653573f222221f8f69a5ff6557ac83eafe596fed4e7b16f83
7
- data.tar.gz: cefbe54708f2f520fd073ca3fd346f779c3813977a0bee39f7eae798f5752ba3a93f4f70013a621860f0dcdb15d0b9abd9ccbff27c32b1e9b00bf65823e9bc8a
6
+ metadata.gz: bd2204a2ad91feabe13ebf4bba00dcef18b5158c5ec7e31c4732200289bff5f5f25bb29e43868ea40b913f6881ce1d1e9330d395352ff4adb4a25c502c83cb89
7
+ data.tar.gz: c48303b4cff2a2aece05e0ca483f1cea03ffb4f54922e3481c52b91a01a2b4fb01b7ad88daa28a0855ff7b32496f56aa488f766122200f4ea59a6eab1ed35db0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.57.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.56.0 (2023-12-28)
10
+ ------------------
11
+
12
+ * Feature - NoDataRetentionException thrown when GetImages requested for a Stream that does not retain data (that is, has a DataRetentionInHours of 0).
13
+
4
14
  1.55.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.0
1
+ 1.57.0
@@ -1199,7 +1199,7 @@ module Aws::KinesisVideoArchivedMedia
1199
1199
  req.send_request(options)
1200
1200
  end
1201
1201
 
1202
- # Retrieves a list of Images corresponding to each timestamp for a given
1202
+ # Retrieves a list of images corresponding to each timestamp for a given
1203
1203
  # time range, sampling interval, and image format configuration.
1204
1204
  #
1205
1205
  # @option params [String] :stream_name
@@ -1228,14 +1228,10 @@ module Aws::KinesisVideoArchivedMedia
1228
1228
  #
1229
1229
  # @option params [Integer] :sampling_interval
1230
1230
  # The time interval in milliseconds (ms) at which the images need to be
1231
- # generated from the stream, with a default of 3000 ms. The minimum
1232
- # value that can be provided is 200 ms. If the timestamp range is less
1233
- # than the sampling interval, the Image from the `startTimestamp` will
1234
- # be returned if available.
1235
- #
1236
- # <note markdown="1"> The minimum value of 200 ms is a hard limit.
1237
- #
1238
- # </note>
1231
+ # generated from the stream. The minimum value that can be provided is
1232
+ # 200 ms (5 images per second). If the timestamp range is less than the
1233
+ # sampling interval, the image from the `startTimestamp` will be
1234
+ # returned if available.
1239
1235
  #
1240
1236
  # @option params [required, String] :format
1241
1237
  # The format that will be used to encode the image.
@@ -1468,6 +1464,10 @@ module Aws::KinesisVideoArchivedMedia
1468
1464
  # Describes the timestamp range and timestamp origin for the range of
1469
1465
  # fragments to return.
1470
1466
  #
1467
+ # <note markdown="1"> This is only required when the `NextToken` isn't passed in the API.
1468
+ #
1469
+ # </note>
1470
+ #
1471
1471
  # @return [Types::ListFragmentsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1472
1472
  #
1473
1473
  # * {Types::ListFragmentsOutput#fragments #fragments} => Array&lt;Types::Fragment&gt;
@@ -1523,7 +1523,7 @@ module Aws::KinesisVideoArchivedMedia
1523
1523
  params: params,
1524
1524
  config: config)
1525
1525
  context[:gem_name] = 'aws-sdk-kinesisvideoarchivedmedia'
1526
- context[:gem_version] = '1.55.0'
1526
+ context[:gem_version] = '1.57.0'
1527
1527
  Seahorse::Client::Request.new(handlers, context)
1528
1528
  end
1529
1529
 
@@ -319,6 +319,7 @@ module Aws::KinesisVideoArchivedMedia
319
319
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
320
320
  o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
321
321
  o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
322
+ o.errors << Shapes::ShapeRef.new(shape: NoDataRetentionException)
322
323
  o[:pager] = Aws::Pager.new(
323
324
  limit_key: "max_results",
324
325
  tokens: {
@@ -32,7 +32,7 @@ module Aws::KinesisVideoArchivedMedia
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
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"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -14,6 +14,7 @@ module Aws::KinesisVideoArchivedMedia
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::KinesisVideoArchivedMedia::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -753,14 +753,10 @@ module Aws::KinesisVideoArchivedMedia
753
753
  #
754
754
  # @!attribute [rw] sampling_interval
755
755
  # The time interval in milliseconds (ms) at which the images need to
756
- # be generated from the stream, with a default of 3000 ms. The minimum
757
- # value that can be provided is 200 ms. If the timestamp range is less
758
- # than the sampling interval, the Image from the `startTimestamp` will
759
- # be returned if available.
760
- #
761
- # <note markdown="1"> The minimum value of 200 ms is a hard limit.
762
- #
763
- # </note>
756
+ # be generated from the stream. The minimum value that can be provided
757
+ # is 200 ms (5 images per second). If the timestamp range is less than
758
+ # the sampling interval, the image from the `startTimestamp` will be
759
+ # returned if available.
764
760
  # @return [Integer]
765
761
  #
766
762
  # @!attribute [rw] format
@@ -1131,6 +1127,10 @@ module Aws::KinesisVideoArchivedMedia
1131
1127
  # @!attribute [rw] fragment_selector
1132
1128
  # Describes the timestamp range and timestamp origin for the range of
1133
1129
  # fragments to return.
1130
+ #
1131
+ # <note markdown="1"> This is only required when the `NextToken` isn't passed in the API.
1132
+ #
1133
+ # </note>
1134
1134
  # @return [Types::FragmentSelector]
1135
1135
  #
1136
1136
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/ListFragmentsInput AWS API Documentation
@@ -1180,8 +1180,8 @@ module Aws::KinesisVideoArchivedMedia
1180
1180
  include Aws::Structure
1181
1181
  end
1182
1182
 
1183
- # A streaming session was requested for a stream that does not retain
1184
- # data (that is, has a `DataRetentionInHours` of 0).
1183
+ # `GetImages` was requested for a stream that does not retain data (that
1184
+ # is, has a `DataRetentionInHours` of 0).
1185
1185
  #
1186
1186
  # @!attribute [rw] message
1187
1187
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-kinesisvideoarchivedmedia/customizations'
52
52
  # @!group service
53
53
  module Aws::KinesisVideoArchivedMedia
54
54
 
55
- GEM_VERSION = '1.55.0'
55
+ GEM_VERSION = '1.57.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,199 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module KinesisVideoArchivedMedia
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisVideoArchivedMedia/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _GetClipResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetClipOutput]
77
+ def content_type: () -> ::String
78
+ def payload: () -> ::IO
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisVideoArchivedMedia/Client.html#get_clip-instance_method
81
+ def get_clip: (
82
+ ?stream_name: ::String,
83
+ ?stream_arn: ::String,
84
+ clip_fragment_selector: {
85
+ fragment_selector_type: ("PRODUCER_TIMESTAMP" | "SERVER_TIMESTAMP"),
86
+ timestamp_range: {
87
+ start_timestamp: ::Time,
88
+ end_timestamp: ::Time
89
+ }
90
+ }
91
+ ) ?{ (*untyped) -> void } -> _GetClipResponseSuccess
92
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetClipResponseSuccess
93
+
94
+ interface _GetDASHStreamingSessionURLResponseSuccess
95
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDASHStreamingSessionURLOutput]
96
+ def dash_streaming_session_url: () -> ::String
97
+ end
98
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisVideoArchivedMedia/Client.html#get_dash_streaming_session_url-instance_method
99
+ def get_dash_streaming_session_url: (
100
+ ?stream_name: ::String,
101
+ ?stream_arn: ::String,
102
+ ?playback_mode: ("LIVE" | "LIVE_REPLAY" | "ON_DEMAND"),
103
+ ?display_fragment_timestamp: ("ALWAYS" | "NEVER"),
104
+ ?display_fragment_number: ("ALWAYS" | "NEVER"),
105
+ ?dash_fragment_selector: {
106
+ fragment_selector_type: ("PRODUCER_TIMESTAMP" | "SERVER_TIMESTAMP")?,
107
+ timestamp_range: {
108
+ start_timestamp: ::Time?,
109
+ end_timestamp: ::Time?
110
+ }?
111
+ },
112
+ ?expires: ::Integer,
113
+ ?max_manifest_fragment_results: ::Integer
114
+ ) -> _GetDASHStreamingSessionURLResponseSuccess
115
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDASHStreamingSessionURLResponseSuccess
116
+
117
+ interface _GetHLSStreamingSessionURLResponseSuccess
118
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetHLSStreamingSessionURLOutput]
119
+ def hls_streaming_session_url: () -> ::String
120
+ end
121
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisVideoArchivedMedia/Client.html#get_hls_streaming_session_url-instance_method
122
+ def get_hls_streaming_session_url: (
123
+ ?stream_name: ::String,
124
+ ?stream_arn: ::String,
125
+ ?playback_mode: ("LIVE" | "LIVE_REPLAY" | "ON_DEMAND"),
126
+ ?hls_fragment_selector: {
127
+ fragment_selector_type: ("PRODUCER_TIMESTAMP" | "SERVER_TIMESTAMP")?,
128
+ timestamp_range: {
129
+ start_timestamp: ::Time?,
130
+ end_timestamp: ::Time?
131
+ }?
132
+ },
133
+ ?container_format: ("FRAGMENTED_MP4" | "MPEG_TS"),
134
+ ?discontinuity_mode: ("ALWAYS" | "NEVER" | "ON_DISCONTINUITY"),
135
+ ?display_fragment_timestamp: ("ALWAYS" | "NEVER"),
136
+ ?expires: ::Integer,
137
+ ?max_media_playlist_fragment_results: ::Integer
138
+ ) -> _GetHLSStreamingSessionURLResponseSuccess
139
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetHLSStreamingSessionURLResponseSuccess
140
+
141
+ interface _GetImagesResponseSuccess
142
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetImagesOutput]
143
+ def images: () -> ::Array[Types::Image]
144
+ def next_token: () -> ::String
145
+ end
146
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisVideoArchivedMedia/Client.html#get_images-instance_method
147
+ def get_images: (
148
+ ?stream_name: ::String,
149
+ ?stream_arn: ::String,
150
+ image_selector_type: ("PRODUCER_TIMESTAMP" | "SERVER_TIMESTAMP"),
151
+ start_timestamp: ::Time,
152
+ end_timestamp: ::Time,
153
+ ?sampling_interval: ::Integer,
154
+ format: ("JPEG" | "PNG"),
155
+ ?format_config: Hash[("JPEGQuality"), ::String],
156
+ ?width_pixels: ::Integer,
157
+ ?height_pixels: ::Integer,
158
+ ?max_results: ::Integer,
159
+ ?next_token: ::String
160
+ ) -> _GetImagesResponseSuccess
161
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetImagesResponseSuccess
162
+
163
+ interface _GetMediaForFragmentListResponseSuccess
164
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMediaForFragmentListOutput]
165
+ def content_type: () -> ::String
166
+ def payload: () -> ::IO
167
+ end
168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisVideoArchivedMedia/Client.html#get_media_for_fragment_list-instance_method
169
+ def get_media_for_fragment_list: (
170
+ ?stream_name: ::String,
171
+ ?stream_arn: ::String,
172
+ fragments: Array[::String]
173
+ ) ?{ (*untyped) -> void } -> _GetMediaForFragmentListResponseSuccess
174
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetMediaForFragmentListResponseSuccess
175
+
176
+ interface _ListFragmentsResponseSuccess
177
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFragmentsOutput]
178
+ def fragments: () -> ::Array[Types::Fragment]
179
+ def next_token: () -> ::String
180
+ end
181
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisVideoArchivedMedia/Client.html#list_fragments-instance_method
182
+ def list_fragments: (
183
+ ?stream_name: ::String,
184
+ ?stream_arn: ::String,
185
+ ?max_results: ::Integer,
186
+ ?next_token: ::String,
187
+ ?fragment_selector: {
188
+ fragment_selector_type: ("PRODUCER_TIMESTAMP" | "SERVER_TIMESTAMP"),
189
+ timestamp_range: {
190
+ start_timestamp: ::Time,
191
+ end_timestamp: ::Time
192
+ }
193
+ }
194
+ ) -> _ListFragmentsResponseSuccess
195
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFragmentsResponseSuccess
196
+ end
197
+ end
198
+ end
199
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,43 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module KinesisVideoArchivedMedia
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class ClientLimitExceededException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InvalidArgumentException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class InvalidCodecPrivateDataException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class InvalidMediaFrameException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class MissingCodecPrivateDataException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class NoDataRetentionException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class NotAuthorizedException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ end
38
+ class UnsupportedStreamMediaTypeException < ::Aws::Errors::ServiceError
39
+ def message: () -> ::String
40
+ end
41
+ end
42
+ end
43
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module KinesisVideoArchivedMedia
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisVideoArchivedMedia/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisVideoArchivedMedia/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,218 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::KinesisVideoArchivedMedia
9
+ module Types
10
+
11
+ class ClientLimitExceededException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class ClipFragmentSelector
17
+ attr_accessor fragment_selector_type: ("PRODUCER_TIMESTAMP" | "SERVER_TIMESTAMP")
18
+ attr_accessor timestamp_range: Types::ClipTimestampRange
19
+ SENSITIVE: []
20
+ end
21
+
22
+ class ClipTimestampRange
23
+ attr_accessor start_timestamp: ::Time
24
+ attr_accessor end_timestamp: ::Time
25
+ SENSITIVE: []
26
+ end
27
+
28
+ class DASHFragmentSelector
29
+ attr_accessor fragment_selector_type: ("PRODUCER_TIMESTAMP" | "SERVER_TIMESTAMP")
30
+ attr_accessor timestamp_range: Types::DASHTimestampRange
31
+ SENSITIVE: []
32
+ end
33
+
34
+ class DASHTimestampRange
35
+ attr_accessor start_timestamp: ::Time
36
+ attr_accessor end_timestamp: ::Time
37
+ SENSITIVE: []
38
+ end
39
+
40
+ class Fragment
41
+ attr_accessor fragment_number: ::String
42
+ attr_accessor fragment_size_in_bytes: ::Integer
43
+ attr_accessor producer_timestamp: ::Time
44
+ attr_accessor server_timestamp: ::Time
45
+ attr_accessor fragment_length_in_milliseconds: ::Integer
46
+ SENSITIVE: []
47
+ end
48
+
49
+ class FragmentSelector
50
+ attr_accessor fragment_selector_type: ("PRODUCER_TIMESTAMP" | "SERVER_TIMESTAMP")
51
+ attr_accessor timestamp_range: Types::TimestampRange
52
+ SENSITIVE: []
53
+ end
54
+
55
+ class GetClipInput
56
+ attr_accessor stream_name: ::String
57
+ attr_accessor stream_arn: ::String
58
+ attr_accessor clip_fragment_selector: Types::ClipFragmentSelector
59
+ SENSITIVE: []
60
+ end
61
+
62
+ class GetClipOutput
63
+ attr_accessor content_type: ::String
64
+ attr_accessor payload: ::IO
65
+ SENSITIVE: []
66
+ end
67
+
68
+ class GetDASHStreamingSessionURLInput
69
+ attr_accessor stream_name: ::String
70
+ attr_accessor stream_arn: ::String
71
+ attr_accessor playback_mode: ("LIVE" | "LIVE_REPLAY" | "ON_DEMAND")
72
+ attr_accessor display_fragment_timestamp: ("ALWAYS" | "NEVER")
73
+ attr_accessor display_fragment_number: ("ALWAYS" | "NEVER")
74
+ attr_accessor dash_fragment_selector: Types::DASHFragmentSelector
75
+ attr_accessor expires: ::Integer
76
+ attr_accessor max_manifest_fragment_results: ::Integer
77
+ SENSITIVE: []
78
+ end
79
+
80
+ class GetDASHStreamingSessionURLOutput
81
+ attr_accessor dash_streaming_session_url: ::String
82
+ SENSITIVE: []
83
+ end
84
+
85
+ class GetHLSStreamingSessionURLInput
86
+ attr_accessor stream_name: ::String
87
+ attr_accessor stream_arn: ::String
88
+ attr_accessor playback_mode: ("LIVE" | "LIVE_REPLAY" | "ON_DEMAND")
89
+ attr_accessor hls_fragment_selector: Types::HLSFragmentSelector
90
+ attr_accessor container_format: ("FRAGMENTED_MP4" | "MPEG_TS")
91
+ attr_accessor discontinuity_mode: ("ALWAYS" | "NEVER" | "ON_DISCONTINUITY")
92
+ attr_accessor display_fragment_timestamp: ("ALWAYS" | "NEVER")
93
+ attr_accessor expires: ::Integer
94
+ attr_accessor max_media_playlist_fragment_results: ::Integer
95
+ SENSITIVE: []
96
+ end
97
+
98
+ class GetHLSStreamingSessionURLOutput
99
+ attr_accessor hls_streaming_session_url: ::String
100
+ SENSITIVE: []
101
+ end
102
+
103
+ class GetImagesInput
104
+ attr_accessor stream_name: ::String
105
+ attr_accessor stream_arn: ::String
106
+ attr_accessor image_selector_type: ("PRODUCER_TIMESTAMP" | "SERVER_TIMESTAMP")
107
+ attr_accessor start_timestamp: ::Time
108
+ attr_accessor end_timestamp: ::Time
109
+ attr_accessor sampling_interval: ::Integer
110
+ attr_accessor format: ("JPEG" | "PNG")
111
+ attr_accessor format_config: ::Hash[("JPEGQuality"), ::String]
112
+ attr_accessor width_pixels: ::Integer
113
+ attr_accessor height_pixels: ::Integer
114
+ attr_accessor max_results: ::Integer
115
+ attr_accessor next_token: ::String
116
+ SENSITIVE: []
117
+ end
118
+
119
+ class GetImagesOutput
120
+ attr_accessor images: ::Array[Types::Image]
121
+ attr_accessor next_token: ::String
122
+ SENSITIVE: []
123
+ end
124
+
125
+ class GetMediaForFragmentListInput
126
+ attr_accessor stream_name: ::String
127
+ attr_accessor stream_arn: ::String
128
+ attr_accessor fragments: ::Array[::String]
129
+ SENSITIVE: []
130
+ end
131
+
132
+ class GetMediaForFragmentListOutput
133
+ attr_accessor content_type: ::String
134
+ attr_accessor payload: ::IO
135
+ SENSITIVE: []
136
+ end
137
+
138
+ class HLSFragmentSelector
139
+ attr_accessor fragment_selector_type: ("PRODUCER_TIMESTAMP" | "SERVER_TIMESTAMP")
140
+ attr_accessor timestamp_range: Types::HLSTimestampRange
141
+ SENSITIVE: []
142
+ end
143
+
144
+ class HLSTimestampRange
145
+ attr_accessor start_timestamp: ::Time
146
+ attr_accessor end_timestamp: ::Time
147
+ SENSITIVE: []
148
+ end
149
+
150
+ class Image
151
+ attr_accessor time_stamp: ::Time
152
+ attr_accessor error: ("NO_MEDIA" | "MEDIA_ERROR")
153
+ attr_accessor image_content: ::String
154
+ SENSITIVE: []
155
+ end
156
+
157
+ class InvalidArgumentException
158
+ attr_accessor message: ::String
159
+ SENSITIVE: []
160
+ end
161
+
162
+ class InvalidCodecPrivateDataException
163
+ attr_accessor message: ::String
164
+ SENSITIVE: []
165
+ end
166
+
167
+ class InvalidMediaFrameException
168
+ attr_accessor message: ::String
169
+ SENSITIVE: []
170
+ end
171
+
172
+ class ListFragmentsInput
173
+ attr_accessor stream_name: ::String
174
+ attr_accessor stream_arn: ::String
175
+ attr_accessor max_results: ::Integer
176
+ attr_accessor next_token: ::String
177
+ attr_accessor fragment_selector: Types::FragmentSelector
178
+ SENSITIVE: []
179
+ end
180
+
181
+ class ListFragmentsOutput
182
+ attr_accessor fragments: ::Array[Types::Fragment]
183
+ attr_accessor next_token: ::String
184
+ SENSITIVE: []
185
+ end
186
+
187
+ class MissingCodecPrivateDataException
188
+ attr_accessor message: ::String
189
+ SENSITIVE: []
190
+ end
191
+
192
+ class NoDataRetentionException
193
+ attr_accessor message: ::String
194
+ SENSITIVE: []
195
+ end
196
+
197
+ class NotAuthorizedException
198
+ attr_accessor message: ::String
199
+ SENSITIVE: []
200
+ end
201
+
202
+ class ResourceNotFoundException
203
+ attr_accessor message: ::String
204
+ SENSITIVE: []
205
+ end
206
+
207
+ class TimestampRange
208
+ attr_accessor start_timestamp: ::Time
209
+ attr_accessor end_timestamp: ::Time
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class UnsupportedStreamMediaTypeException
214
+ attr_accessor message: ::String
215
+ SENSITIVE: []
216
+ end
217
+ end
218
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module KinesisVideoArchivedMedia
10
+ module Waiters
11
+ end
12
+ end
13
+ end
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.55.0
4
+ version: 1.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
22
+ version: 3.191.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.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-kinesisvideoarchivedmedia/plugins/endpoints.rb
67
67
  - lib/aws-sdk-kinesisvideoarchivedmedia/resource.rb
68
68
  - lib/aws-sdk-kinesisvideoarchivedmedia/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kinesisvideoarchivedmedia
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kinesisvideoarchivedmedia/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - Kinesis Video Archived Media
94
99
  test_files: []