aws-sdk-kinesisvideoarchivedmedia 1.44.0 → 1.46.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: a4bb3b405b3992492f228b38dbc2fb69ab1b3439f8e778f7071f9b85afd89b34
4
- data.tar.gz: 766738022d303884128e501c15e6a2d08bdc3ab4c794cdf4a160f11a94c4e141
3
+ metadata.gz: 42c076bbc034f0ec3c6bb80dc9c5046657fc44cba40320f1205f7d2de62af7ca
4
+ data.tar.gz: 9a6c926f12eddfe4f43c01503e058f73813eda706277c2161552c5f826e9064b
5
5
  SHA512:
6
- metadata.gz: 6f90d2c66a7de9420424e18b6e95d89dcb44b3eacacb57425bffa6b79c77fb3c05cde5fa8e88e0f98ebbc2c60d126f5e742f1425791acdb561ef907a4ea95169
7
- data.tar.gz: d49e2d0e5cbd55f61e81f7ed008fff9ce0e76c9a735f38aac1c91bdc333d47c205cab3d8a9abf80915391f92d54f76366504da343aad5c691d28a4fb9c8110df
6
+ metadata.gz: 11919c88f6a01569f64dbf02dea8dc172a9ff85407ab76e5c92efb49b6a34dba39600fa22fb999c19b9bd5ff1f165b1a7d417717a0c97f260b654c8e64badbc2
7
+ data.tar.gz: d86d3acf193de7ff2e4d25fc19a84af340420856974b127d7621b6d7aecdd5ce175a621d55ac04f9825ffd53ee12a9e9635a216018720209b3fa2eec1af96b66
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.46.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.45.0 (2022-10-25)
12
+ ------------------
13
+
14
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
15
+
4
16
  1.44.0 (2022-05-03)
5
17
  ------------------
6
18
 
@@ -230,4 +242,4 @@ Unreleased Changes
230
242
  1.0.0 (2017-11-29)
231
243
  ------------------
232
244
 
233
- * Feature - Initial release of `aws-sdk-kinesisvideoarchivedmedia`.
245
+ * Feature - Initial release of `aws-sdk-kinesisvideoarchivedmedia`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.44.0
1
+ 1.46.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:kinesisvideoarchivedmedia)
@@ -79,8 +79,9 @@ module Aws::KinesisVideoArchivedMedia
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
84
+ add_plugin(Aws::KinesisVideoArchivedMedia::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::KinesisVideoArchivedMedia
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::KinesisVideoArchivedMedia
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::KinesisVideoArchivedMedia::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::KinesisVideoArchivedMedia::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -1475,7 +1492,7 @@ module Aws::KinesisVideoArchivedMedia
1475
1492
  params: params,
1476
1493
  config: config)
1477
1494
  context[:gem_name] = 'aws-sdk-kinesisvideoarchivedmedia'
1478
- context[:gem_version] = '1.44.0'
1495
+ context[:gem_version] = '1.46.0'
1479
1496
  Seahorse::Client::Request.new(handlers, context)
1480
1497
  end
1481
1498
 
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::KinesisVideoArchivedMedia
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::KinesisVideoArchivedMedia
11
+ class EndpointProvider
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: {})
46
+ end
47
+ raise ArgumentError, 'No endpoint could be resolved'
48
+
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,99 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::KinesisVideoArchivedMedia
12
+ module Endpoints
13
+
14
+ class GetClip
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::KinesisVideoArchivedMedia::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class GetDASHStreamingSessionURL
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::KinesisVideoArchivedMedia::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class GetHLSStreamingSessionURL
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::KinesisVideoArchivedMedia::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class GetImages
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::KinesisVideoArchivedMedia::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class GetMediaForFragmentList
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::KinesisVideoArchivedMedia::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class ListFragments
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::KinesisVideoArchivedMedia::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ end
99
+ end
@@ -0,0 +1,80 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::KinesisVideoArchivedMedia
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::KinesisVideoArchivedMedia::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::KinesisVideoArchivedMedia::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::KinesisVideoArchivedMedia::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :get_clip
60
+ Aws::KinesisVideoArchivedMedia::Endpoints::GetClip.build(context)
61
+ when :get_dash_streaming_session_url
62
+ Aws::KinesisVideoArchivedMedia::Endpoints::GetDASHStreamingSessionURL.build(context)
63
+ when :get_hls_streaming_session_url
64
+ Aws::KinesisVideoArchivedMedia::Endpoints::GetHLSStreamingSessionURL.build(context)
65
+ when :get_images
66
+ Aws::KinesisVideoArchivedMedia::Endpoints::GetImages.build(context)
67
+ when :get_media_for_fragment_list
68
+ Aws::KinesisVideoArchivedMedia::Endpoints::GetMediaForFragmentList.build(context)
69
+ when :list_fragments
70
+ Aws::KinesisVideoArchivedMedia::Endpoints::ListFragments.build(context)
71
+ end
72
+ end
73
+ end
74
+
75
+ def add_handlers(handlers, _config)
76
+ handlers.add(Handler, step: :build, priority: 75)
77
+ end
78
+ end
79
+ end
80
+ 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.
@@ -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.
@@ -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.
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-kinesisvideoarchivedmedia/types'
15
15
  require_relative 'aws-sdk-kinesisvideoarchivedmedia/client_api'
16
+ require_relative 'aws-sdk-kinesisvideoarchivedmedia/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-kinesisvideoarchivedmedia/client'
17
18
  require_relative 'aws-sdk-kinesisvideoarchivedmedia/errors'
18
19
  require_relative 'aws-sdk-kinesisvideoarchivedmedia/resource'
20
+ require_relative 'aws-sdk-kinesisvideoarchivedmedia/endpoint_parameters'
21
+ require_relative 'aws-sdk-kinesisvideoarchivedmedia/endpoint_provider'
22
+ require_relative 'aws-sdk-kinesisvideoarchivedmedia/endpoints'
19
23
  require_relative 'aws-sdk-kinesisvideoarchivedmedia/customizations'
20
24
 
21
25
  # This module provides support for Amazon Kinesis Video Streams Archived Media. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-kinesisvideoarchivedmedia/customizations'
48
52
  # @!group service
49
53
  module Aws::KinesisVideoArchivedMedia
50
54
 
51
- GEM_VERSION = '1.44.0'
55
+ GEM_VERSION = '1.46.0'
52
56
 
53
57
  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.44.0
4
+ version: 1.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-03 00:00:00.000000000 Z
11
+ date: 2023-01-18 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.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-kinesisvideoarchivedmedia/client.rb
60
60
  - lib/aws-sdk-kinesisvideoarchivedmedia/client_api.rb
61
61
  - lib/aws-sdk-kinesisvideoarchivedmedia/customizations.rb
62
+ - lib/aws-sdk-kinesisvideoarchivedmedia/endpoint_parameters.rb
63
+ - lib/aws-sdk-kinesisvideoarchivedmedia/endpoint_provider.rb
64
+ - lib/aws-sdk-kinesisvideoarchivedmedia/endpoints.rb
62
65
  - lib/aws-sdk-kinesisvideoarchivedmedia/errors.rb
66
+ - lib/aws-sdk-kinesisvideoarchivedmedia/plugins/endpoints.rb
63
67
  - lib/aws-sdk-kinesisvideoarchivedmedia/resource.rb
64
68
  - lib/aws-sdk-kinesisvideoarchivedmedia/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby