aws-sdk-ivs 1.23.0 → 1.25.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 +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ivs/client.rb +20 -3
- data/lib/aws-sdk-ivs/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-ivs/endpoint_provider.rb +51 -0
- data/lib/aws-sdk-ivs/endpoints.rb +407 -0
- data/lib/aws-sdk-ivs/plugins/endpoints.rb +124 -0
- data/lib/aws-sdk-ivs/types.rb +0 -278
- data/lib/aws-sdk-ivs.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b19909d1d191c3f913db51f3fd303d90583a0a2a2a92deb3287d33509005c475
|
4
|
+
data.tar.gz: 2e4fc07bef70b46a69b67b75f0c902bdc250f9804fadea9d58196fc66075a7a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa2c88e14d0029723d4833c1a43fc528f85394fec6188b444f24f7a66dfdc09a6e0d1825ba161ce5e265e6837c069373a8f266e93d982f3c34e7f3af50bf55df
|
7
|
+
data.tar.gz: aac8d418c0a0c0ece8ae44b6d6686487daa3d04439c5161f6d129fb11de060dabe705a7dfdb898ec76978812b0518fb0dd68d6b17fe1e2bb1069e2154e55bdd4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.25.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.24.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.23.0 (2022-08-31)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.25.0
|
data/lib/aws-sdk-ivs/client.rb
CHANGED
@@ -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/
|
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(:ivs)
|
@@ -79,8 +79,9 @@ module Aws::IVS
|
|
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::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
84
|
+
add_plugin(Aws::IVS::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -287,6 +288,19 @@ module Aws::IVS
|
|
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::IVS
|
|
300
314
|
# When `true`, request parameters are validated before
|
301
315
|
# sending the request.
|
302
316
|
#
|
317
|
+
# @option options [Aws::IVS::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::IVS::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
|
#
|
@@ -1642,7 +1659,7 @@ module Aws::IVS
|
|
1642
1659
|
params: params,
|
1643
1660
|
config: config)
|
1644
1661
|
context[:gem_name] = 'aws-sdk-ivs'
|
1645
|
-
context[:gem_version] = '1.
|
1662
|
+
context[:gem_version] = '1.25.0'
|
1646
1663
|
Seahorse::Client::Request.new(handlers, context)
|
1647
1664
|
end
|
1648
1665
|
|
@@ -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::IVS
|
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::IVS
|
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://ivs-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://ivs-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://ivs.#{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://ivs.#{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,407 @@
|
|
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::IVS
|
12
|
+
module Endpoints
|
13
|
+
|
14
|
+
class BatchGetChannel
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::IVS::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 BatchGetStreamKey
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::IVS::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 CreateChannel
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::IVS::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 CreateRecordingConfiguration
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::IVS::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 CreateStreamKey
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::IVS::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 DeleteChannel
|
85
|
+
def self.build(context)
|
86
|
+
unless context.config.regional_endpoint
|
87
|
+
endpoint = context.config.endpoint.to_s
|
88
|
+
end
|
89
|
+
Aws::IVS::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
|
+
class DeletePlaybackKeyPair
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::IVS::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class DeleteRecordingConfiguration
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::IVS::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class DeleteStreamKey
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::IVS::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class GetChannel
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::IVS::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class GetPlaybackKeyPair
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::IVS::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
162
|
+
use_fips: context.config.use_fips_endpoint,
|
163
|
+
endpoint: endpoint,
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class GetRecordingConfiguration
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::IVS::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class GetStream
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::IVS::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class GetStreamKey
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::IVS::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
class GetStreamSession
|
211
|
+
def self.build(context)
|
212
|
+
unless context.config.regional_endpoint
|
213
|
+
endpoint = context.config.endpoint.to_s
|
214
|
+
end
|
215
|
+
Aws::IVS::EndpointParameters.new(
|
216
|
+
region: context.config.region,
|
217
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
+
use_fips: context.config.use_fips_endpoint,
|
219
|
+
endpoint: endpoint,
|
220
|
+
)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class ImportPlaybackKeyPair
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::IVS::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class ListChannels
|
239
|
+
def self.build(context)
|
240
|
+
unless context.config.regional_endpoint
|
241
|
+
endpoint = context.config.endpoint.to_s
|
242
|
+
end
|
243
|
+
Aws::IVS::EndpointParameters.new(
|
244
|
+
region: context.config.region,
|
245
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
246
|
+
use_fips: context.config.use_fips_endpoint,
|
247
|
+
endpoint: endpoint,
|
248
|
+
)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
class ListPlaybackKeyPairs
|
253
|
+
def self.build(context)
|
254
|
+
unless context.config.regional_endpoint
|
255
|
+
endpoint = context.config.endpoint.to_s
|
256
|
+
end
|
257
|
+
Aws::IVS::EndpointParameters.new(
|
258
|
+
region: context.config.region,
|
259
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
+
use_fips: context.config.use_fips_endpoint,
|
261
|
+
endpoint: endpoint,
|
262
|
+
)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
class ListRecordingConfigurations
|
267
|
+
def self.build(context)
|
268
|
+
unless context.config.regional_endpoint
|
269
|
+
endpoint = context.config.endpoint.to_s
|
270
|
+
end
|
271
|
+
Aws::IVS::EndpointParameters.new(
|
272
|
+
region: context.config.region,
|
273
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
274
|
+
use_fips: context.config.use_fips_endpoint,
|
275
|
+
endpoint: endpoint,
|
276
|
+
)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class ListStreamKeys
|
281
|
+
def self.build(context)
|
282
|
+
unless context.config.regional_endpoint
|
283
|
+
endpoint = context.config.endpoint.to_s
|
284
|
+
end
|
285
|
+
Aws::IVS::EndpointParameters.new(
|
286
|
+
region: context.config.region,
|
287
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
288
|
+
use_fips: context.config.use_fips_endpoint,
|
289
|
+
endpoint: endpoint,
|
290
|
+
)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
class ListStreamSessions
|
295
|
+
def self.build(context)
|
296
|
+
unless context.config.regional_endpoint
|
297
|
+
endpoint = context.config.endpoint.to_s
|
298
|
+
end
|
299
|
+
Aws::IVS::EndpointParameters.new(
|
300
|
+
region: context.config.region,
|
301
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
302
|
+
use_fips: context.config.use_fips_endpoint,
|
303
|
+
endpoint: endpoint,
|
304
|
+
)
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
class ListStreams
|
309
|
+
def self.build(context)
|
310
|
+
unless context.config.regional_endpoint
|
311
|
+
endpoint = context.config.endpoint.to_s
|
312
|
+
end
|
313
|
+
Aws::IVS::EndpointParameters.new(
|
314
|
+
region: context.config.region,
|
315
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
316
|
+
use_fips: context.config.use_fips_endpoint,
|
317
|
+
endpoint: endpoint,
|
318
|
+
)
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
class ListTagsForResource
|
323
|
+
def self.build(context)
|
324
|
+
unless context.config.regional_endpoint
|
325
|
+
endpoint = context.config.endpoint.to_s
|
326
|
+
end
|
327
|
+
Aws::IVS::EndpointParameters.new(
|
328
|
+
region: context.config.region,
|
329
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
330
|
+
use_fips: context.config.use_fips_endpoint,
|
331
|
+
endpoint: endpoint,
|
332
|
+
)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
class PutMetadata
|
337
|
+
def self.build(context)
|
338
|
+
unless context.config.regional_endpoint
|
339
|
+
endpoint = context.config.endpoint.to_s
|
340
|
+
end
|
341
|
+
Aws::IVS::EndpointParameters.new(
|
342
|
+
region: context.config.region,
|
343
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
344
|
+
use_fips: context.config.use_fips_endpoint,
|
345
|
+
endpoint: endpoint,
|
346
|
+
)
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
class StopStream
|
351
|
+
def self.build(context)
|
352
|
+
unless context.config.regional_endpoint
|
353
|
+
endpoint = context.config.endpoint.to_s
|
354
|
+
end
|
355
|
+
Aws::IVS::EndpointParameters.new(
|
356
|
+
region: context.config.region,
|
357
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
358
|
+
use_fips: context.config.use_fips_endpoint,
|
359
|
+
endpoint: endpoint,
|
360
|
+
)
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
364
|
+
class TagResource
|
365
|
+
def self.build(context)
|
366
|
+
unless context.config.regional_endpoint
|
367
|
+
endpoint = context.config.endpoint.to_s
|
368
|
+
end
|
369
|
+
Aws::IVS::EndpointParameters.new(
|
370
|
+
region: context.config.region,
|
371
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
372
|
+
use_fips: context.config.use_fips_endpoint,
|
373
|
+
endpoint: endpoint,
|
374
|
+
)
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
378
|
+
class UntagResource
|
379
|
+
def self.build(context)
|
380
|
+
unless context.config.regional_endpoint
|
381
|
+
endpoint = context.config.endpoint.to_s
|
382
|
+
end
|
383
|
+
Aws::IVS::EndpointParameters.new(
|
384
|
+
region: context.config.region,
|
385
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
386
|
+
use_fips: context.config.use_fips_endpoint,
|
387
|
+
endpoint: endpoint,
|
388
|
+
)
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
392
|
+
class UpdateChannel
|
393
|
+
def self.build(context)
|
394
|
+
unless context.config.regional_endpoint
|
395
|
+
endpoint = context.config.endpoint.to_s
|
396
|
+
end
|
397
|
+
Aws::IVS::EndpointParameters.new(
|
398
|
+
region: context.config.region,
|
399
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
400
|
+
use_fips: context.config.use_fips_endpoint,
|
401
|
+
endpoint: endpoint,
|
402
|
+
)
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
end
|
407
|
+
end
|
@@ -0,0 +1,124 @@
|
|
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::IVS
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::IVS::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::IVS::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::IVS::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 :batch_get_channel
|
60
|
+
Aws::IVS::Endpoints::BatchGetChannel.build(context)
|
61
|
+
when :batch_get_stream_key
|
62
|
+
Aws::IVS::Endpoints::BatchGetStreamKey.build(context)
|
63
|
+
when :create_channel
|
64
|
+
Aws::IVS::Endpoints::CreateChannel.build(context)
|
65
|
+
when :create_recording_configuration
|
66
|
+
Aws::IVS::Endpoints::CreateRecordingConfiguration.build(context)
|
67
|
+
when :create_stream_key
|
68
|
+
Aws::IVS::Endpoints::CreateStreamKey.build(context)
|
69
|
+
when :delete_channel
|
70
|
+
Aws::IVS::Endpoints::DeleteChannel.build(context)
|
71
|
+
when :delete_playback_key_pair
|
72
|
+
Aws::IVS::Endpoints::DeletePlaybackKeyPair.build(context)
|
73
|
+
when :delete_recording_configuration
|
74
|
+
Aws::IVS::Endpoints::DeleteRecordingConfiguration.build(context)
|
75
|
+
when :delete_stream_key
|
76
|
+
Aws::IVS::Endpoints::DeleteStreamKey.build(context)
|
77
|
+
when :get_channel
|
78
|
+
Aws::IVS::Endpoints::GetChannel.build(context)
|
79
|
+
when :get_playback_key_pair
|
80
|
+
Aws::IVS::Endpoints::GetPlaybackKeyPair.build(context)
|
81
|
+
when :get_recording_configuration
|
82
|
+
Aws::IVS::Endpoints::GetRecordingConfiguration.build(context)
|
83
|
+
when :get_stream
|
84
|
+
Aws::IVS::Endpoints::GetStream.build(context)
|
85
|
+
when :get_stream_key
|
86
|
+
Aws::IVS::Endpoints::GetStreamKey.build(context)
|
87
|
+
when :get_stream_session
|
88
|
+
Aws::IVS::Endpoints::GetStreamSession.build(context)
|
89
|
+
when :import_playback_key_pair
|
90
|
+
Aws::IVS::Endpoints::ImportPlaybackKeyPair.build(context)
|
91
|
+
when :list_channels
|
92
|
+
Aws::IVS::Endpoints::ListChannels.build(context)
|
93
|
+
when :list_playback_key_pairs
|
94
|
+
Aws::IVS::Endpoints::ListPlaybackKeyPairs.build(context)
|
95
|
+
when :list_recording_configurations
|
96
|
+
Aws::IVS::Endpoints::ListRecordingConfigurations.build(context)
|
97
|
+
when :list_stream_keys
|
98
|
+
Aws::IVS::Endpoints::ListStreamKeys.build(context)
|
99
|
+
when :list_stream_sessions
|
100
|
+
Aws::IVS::Endpoints::ListStreamSessions.build(context)
|
101
|
+
when :list_streams
|
102
|
+
Aws::IVS::Endpoints::ListStreams.build(context)
|
103
|
+
when :list_tags_for_resource
|
104
|
+
Aws::IVS::Endpoints::ListTagsForResource.build(context)
|
105
|
+
when :put_metadata
|
106
|
+
Aws::IVS::Endpoints::PutMetadata.build(context)
|
107
|
+
when :stop_stream
|
108
|
+
Aws::IVS::Endpoints::StopStream.build(context)
|
109
|
+
when :tag_resource
|
110
|
+
Aws::IVS::Endpoints::TagResource.build(context)
|
111
|
+
when :untag_resource
|
112
|
+
Aws::IVS::Endpoints::UntagResource.build(context)
|
113
|
+
when :update_channel
|
114
|
+
Aws::IVS::Endpoints::UpdateChannel.build(context)
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
def add_handlers(handlers, _config)
|
120
|
+
handlers.add(Handler, step: :build, priority: 75)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
data/lib/aws-sdk-ivs/types.rb
CHANGED
@@ -78,13 +78,6 @@ module Aws::IVS
|
|
78
78
|
include Aws::Structure
|
79
79
|
end
|
80
80
|
|
81
|
-
# @note When making an API call, you may pass BatchGetChannelRequest
|
82
|
-
# data as a hash:
|
83
|
-
#
|
84
|
-
# {
|
85
|
-
# arns: ["ChannelArn"], # required
|
86
|
-
# }
|
87
|
-
#
|
88
81
|
# @!attribute [rw] arns
|
89
82
|
# Array of ARNs, one per channel.
|
90
83
|
# @return [Array<String>]
|
@@ -113,13 +106,6 @@ module Aws::IVS
|
|
113
106
|
include Aws::Structure
|
114
107
|
end
|
115
108
|
|
116
|
-
# @note When making an API call, you may pass BatchGetStreamKeyRequest
|
117
|
-
# data as a hash:
|
118
|
-
#
|
119
|
-
# {
|
120
|
-
# arns: ["StreamKeyArn"], # required
|
121
|
-
# }
|
122
|
-
#
|
123
109
|
# @!attribute [rw] arns
|
124
110
|
# Array of ARNs, one per channel.
|
125
111
|
# @return [Array<String>]
|
@@ -310,20 +296,6 @@ module Aws::IVS
|
|
310
296
|
include Aws::Structure
|
311
297
|
end
|
312
298
|
|
313
|
-
# @note When making an API call, you may pass CreateChannelRequest
|
314
|
-
# data as a hash:
|
315
|
-
#
|
316
|
-
# {
|
317
|
-
# authorized: false,
|
318
|
-
# latency_mode: "NORMAL", # accepts NORMAL, LOW
|
319
|
-
# name: "ChannelName",
|
320
|
-
# recording_configuration_arn: "ChannelRecordingConfigurationArn",
|
321
|
-
# tags: {
|
322
|
-
# "TagKey" => "TagValue",
|
323
|
-
# },
|
324
|
-
# type: "BASIC", # accepts BASIC, STANDARD
|
325
|
-
# }
|
326
|
-
#
|
327
299
|
# @!attribute [rw] authorized
|
328
300
|
# Whether the channel is private (enabled for playback authorization).
|
329
301
|
# Default: `false`.
|
@@ -406,26 +378,6 @@ module Aws::IVS
|
|
406
378
|
include Aws::Structure
|
407
379
|
end
|
408
380
|
|
409
|
-
# @note When making an API call, you may pass CreateRecordingConfigurationRequest
|
410
|
-
# data as a hash:
|
411
|
-
#
|
412
|
-
# {
|
413
|
-
# destination_configuration: { # required
|
414
|
-
# s3: {
|
415
|
-
# bucket_name: "S3DestinationBucketName", # required
|
416
|
-
# },
|
417
|
-
# },
|
418
|
-
# name: "RecordingConfigurationName",
|
419
|
-
# recording_reconnect_window_seconds: 1,
|
420
|
-
# tags: {
|
421
|
-
# "TagKey" => "TagValue",
|
422
|
-
# },
|
423
|
-
# thumbnail_configuration: {
|
424
|
-
# recording_mode: "DISABLED", # accepts DISABLED, INTERVAL
|
425
|
-
# target_interval_seconds: 1,
|
426
|
-
# },
|
427
|
-
# }
|
428
|
-
#
|
429
381
|
# @!attribute [rw] destination_configuration
|
430
382
|
# A complex type that contains a destination configuration for where
|
431
383
|
# recorded video will be stored.
|
@@ -485,16 +437,6 @@ module Aws::IVS
|
|
485
437
|
include Aws::Structure
|
486
438
|
end
|
487
439
|
|
488
|
-
# @note When making an API call, you may pass CreateStreamKeyRequest
|
489
|
-
# data as a hash:
|
490
|
-
#
|
491
|
-
# {
|
492
|
-
# channel_arn: "ChannelArn", # required
|
493
|
-
# tags: {
|
494
|
-
# "TagKey" => "TagValue",
|
495
|
-
# },
|
496
|
-
# }
|
497
|
-
#
|
498
440
|
# @!attribute [rw] channel_arn
|
499
441
|
# ARN of the channel for which to create the stream key.
|
500
442
|
# @return [String]
|
@@ -532,13 +474,6 @@ module Aws::IVS
|
|
532
474
|
include Aws::Structure
|
533
475
|
end
|
534
476
|
|
535
|
-
# @note When making an API call, you may pass DeleteChannelRequest
|
536
|
-
# data as a hash:
|
537
|
-
#
|
538
|
-
# {
|
539
|
-
# arn: "ChannelArn", # required
|
540
|
-
# }
|
541
|
-
#
|
542
477
|
# @!attribute [rw] arn
|
543
478
|
# ARN of the channel to be deleted.
|
544
479
|
# @return [String]
|
@@ -551,13 +486,6 @@ module Aws::IVS
|
|
551
486
|
include Aws::Structure
|
552
487
|
end
|
553
488
|
|
554
|
-
# @note When making an API call, you may pass DeletePlaybackKeyPairRequest
|
555
|
-
# data as a hash:
|
556
|
-
#
|
557
|
-
# {
|
558
|
-
# arn: "PlaybackKeyPairArn", # required
|
559
|
-
# }
|
560
|
-
#
|
561
489
|
# @!attribute [rw] arn
|
562
490
|
# ARN of the key pair to be deleted.
|
563
491
|
# @return [String]
|
@@ -574,13 +502,6 @@ module Aws::IVS
|
|
574
502
|
#
|
575
503
|
class DeletePlaybackKeyPairResponse < Aws::EmptyStructure; end
|
576
504
|
|
577
|
-
# @note When making an API call, you may pass DeleteRecordingConfigurationRequest
|
578
|
-
# data as a hash:
|
579
|
-
#
|
580
|
-
# {
|
581
|
-
# arn: "RecordingConfigurationArn", # required
|
582
|
-
# }
|
583
|
-
#
|
584
505
|
# @!attribute [rw] arn
|
585
506
|
# ARN of the recording configuration to be deleted.
|
586
507
|
# @return [String]
|
@@ -593,13 +514,6 @@ module Aws::IVS
|
|
593
514
|
include Aws::Structure
|
594
515
|
end
|
595
516
|
|
596
|
-
# @note When making an API call, you may pass DeleteStreamKeyRequest
|
597
|
-
# data as a hash:
|
598
|
-
#
|
599
|
-
# {
|
600
|
-
# arn: "StreamKeyArn", # required
|
601
|
-
# }
|
602
|
-
#
|
603
517
|
# @!attribute [rw] arn
|
604
518
|
# ARN of the stream key to be deleted.
|
605
519
|
# @return [String]
|
@@ -617,15 +531,6 @@ module Aws::IVS
|
|
617
531
|
# For recording, you define one and only one type of destination
|
618
532
|
# configuration.
|
619
533
|
#
|
620
|
-
# @note When making an API call, you may pass DestinationConfiguration
|
621
|
-
# data as a hash:
|
622
|
-
#
|
623
|
-
# {
|
624
|
-
# s3: {
|
625
|
-
# bucket_name: "S3DestinationBucketName", # required
|
626
|
-
# },
|
627
|
-
# }
|
628
|
-
#
|
629
534
|
# @!attribute [rw] s3
|
630
535
|
# An S3 destination configuration where recorded videos will be
|
631
536
|
# stored.
|
@@ -639,13 +544,6 @@ module Aws::IVS
|
|
639
544
|
include Aws::Structure
|
640
545
|
end
|
641
546
|
|
642
|
-
# @note When making an API call, you may pass GetChannelRequest
|
643
|
-
# data as a hash:
|
644
|
-
#
|
645
|
-
# {
|
646
|
-
# arn: "ChannelArn", # required
|
647
|
-
# }
|
648
|
-
#
|
649
547
|
# @!attribute [rw] arn
|
650
548
|
# ARN of the channel for which the configuration is to be retrieved.
|
651
549
|
# @return [String]
|
@@ -669,13 +567,6 @@ module Aws::IVS
|
|
669
567
|
include Aws::Structure
|
670
568
|
end
|
671
569
|
|
672
|
-
# @note When making an API call, you may pass GetPlaybackKeyPairRequest
|
673
|
-
# data as a hash:
|
674
|
-
#
|
675
|
-
# {
|
676
|
-
# arn: "PlaybackKeyPairArn", # required
|
677
|
-
# }
|
678
|
-
#
|
679
570
|
# @!attribute [rw] arn
|
680
571
|
# ARN of the key pair to be returned.
|
681
572
|
# @return [String]
|
@@ -702,13 +593,6 @@ module Aws::IVS
|
|
702
593
|
include Aws::Structure
|
703
594
|
end
|
704
595
|
|
705
|
-
# @note When making an API call, you may pass GetRecordingConfigurationRequest
|
706
|
-
# data as a hash:
|
707
|
-
#
|
708
|
-
# {
|
709
|
-
# arn: "RecordingConfigurationArn", # required
|
710
|
-
# }
|
711
|
-
#
|
712
596
|
# @!attribute [rw] arn
|
713
597
|
# ARN of the recording configuration to be retrieved.
|
714
598
|
# @return [String]
|
@@ -735,13 +619,6 @@ module Aws::IVS
|
|
735
619
|
include Aws::Structure
|
736
620
|
end
|
737
621
|
|
738
|
-
# @note When making an API call, you may pass GetStreamKeyRequest
|
739
|
-
# data as a hash:
|
740
|
-
#
|
741
|
-
# {
|
742
|
-
# arn: "StreamKeyArn", # required
|
743
|
-
# }
|
744
|
-
#
|
745
622
|
# @!attribute [rw] arn
|
746
623
|
# ARN for the stream key to be retrieved.
|
747
624
|
# @return [String]
|
@@ -768,13 +645,6 @@ module Aws::IVS
|
|
768
645
|
include Aws::Structure
|
769
646
|
end
|
770
647
|
|
771
|
-
# @note When making an API call, you may pass GetStreamRequest
|
772
|
-
# data as a hash:
|
773
|
-
#
|
774
|
-
# {
|
775
|
-
# channel_arn: "ChannelArn", # required
|
776
|
-
# }
|
777
|
-
#
|
778
648
|
# @!attribute [rw] channel_arn
|
779
649
|
# Channel ARN for stream to be accessed.
|
780
650
|
# @return [String]
|
@@ -798,14 +668,6 @@ module Aws::IVS
|
|
798
668
|
include Aws::Structure
|
799
669
|
end
|
800
670
|
|
801
|
-
# @note When making an API call, you may pass GetStreamSessionRequest
|
802
|
-
# data as a hash:
|
803
|
-
#
|
804
|
-
# {
|
805
|
-
# channel_arn: "ChannelArn", # required
|
806
|
-
# stream_id: "StreamId",
|
807
|
-
# }
|
808
|
-
#
|
809
671
|
# @!attribute [rw] channel_arn
|
810
672
|
# ARN of the channel resource
|
811
673
|
# @return [String]
|
@@ -837,17 +699,6 @@ module Aws::IVS
|
|
837
699
|
include Aws::Structure
|
838
700
|
end
|
839
701
|
|
840
|
-
# @note When making an API call, you may pass ImportPlaybackKeyPairRequest
|
841
|
-
# data as a hash:
|
842
|
-
#
|
843
|
-
# {
|
844
|
-
# name: "PlaybackKeyPairName",
|
845
|
-
# public_key_material: "PlaybackPublicKeyMaterial", # required
|
846
|
-
# tags: {
|
847
|
-
# "TagKey" => "TagValue",
|
848
|
-
# },
|
849
|
-
# }
|
850
|
-
#
|
851
702
|
# @!attribute [rw] name
|
852
703
|
# Playback-key-pair name. The value does not need to be unique.
|
853
704
|
# @return [String]
|
@@ -921,16 +772,6 @@ module Aws::IVS
|
|
921
772
|
include Aws::Structure
|
922
773
|
end
|
923
774
|
|
924
|
-
# @note When making an API call, you may pass ListChannelsRequest
|
925
|
-
# data as a hash:
|
926
|
-
#
|
927
|
-
# {
|
928
|
-
# filter_by_name: "ChannelName",
|
929
|
-
# filter_by_recording_configuration_arn: "ChannelRecordingConfigurationArn",
|
930
|
-
# max_results: 1,
|
931
|
-
# next_token: "PaginationToken",
|
932
|
-
# }
|
933
|
-
#
|
934
775
|
# @!attribute [rw] filter_by_name
|
935
776
|
# Filters the channel list to match the specified name.
|
936
777
|
# @return [String]
|
@@ -978,14 +819,6 @@ module Aws::IVS
|
|
978
819
|
include Aws::Structure
|
979
820
|
end
|
980
821
|
|
981
|
-
# @note When making an API call, you may pass ListPlaybackKeyPairsRequest
|
982
|
-
# data as a hash:
|
983
|
-
#
|
984
|
-
# {
|
985
|
-
# max_results: 1,
|
986
|
-
# next_token: "PaginationToken",
|
987
|
-
# }
|
988
|
-
#
|
989
822
|
# @!attribute [rw] max_results
|
990
823
|
# Maximum number of key pairs to return. Default: your service quota
|
991
824
|
# or 100, whichever is smaller.
|
@@ -1023,14 +856,6 @@ module Aws::IVS
|
|
1023
856
|
include Aws::Structure
|
1024
857
|
end
|
1025
858
|
|
1026
|
-
# @note When making an API call, you may pass ListRecordingConfigurationsRequest
|
1027
|
-
# data as a hash:
|
1028
|
-
#
|
1029
|
-
# {
|
1030
|
-
# max_results: 1,
|
1031
|
-
# next_token: "PaginationToken",
|
1032
|
-
# }
|
1033
|
-
#
|
1034
859
|
# @!attribute [rw] max_results
|
1035
860
|
# Maximum number of recording configurations to return. Default: your
|
1036
861
|
# service quota or 100, whichever is smaller.
|
@@ -1068,15 +893,6 @@ module Aws::IVS
|
|
1068
893
|
include Aws::Structure
|
1069
894
|
end
|
1070
895
|
|
1071
|
-
# @note When making an API call, you may pass ListStreamKeysRequest
|
1072
|
-
# data as a hash:
|
1073
|
-
#
|
1074
|
-
# {
|
1075
|
-
# channel_arn: "ChannelArn", # required
|
1076
|
-
# max_results: 1,
|
1077
|
-
# next_token: "PaginationToken",
|
1078
|
-
# }
|
1079
|
-
#
|
1080
896
|
# @!attribute [rw] channel_arn
|
1081
897
|
# Channel ARN used to filter the list.
|
1082
898
|
# @return [String]
|
@@ -1118,15 +934,6 @@ module Aws::IVS
|
|
1118
934
|
include Aws::Structure
|
1119
935
|
end
|
1120
936
|
|
1121
|
-
# @note When making an API call, you may pass ListStreamSessionsRequest
|
1122
|
-
# data as a hash:
|
1123
|
-
#
|
1124
|
-
# {
|
1125
|
-
# channel_arn: "ChannelArn", # required
|
1126
|
-
# max_results: 1,
|
1127
|
-
# next_token: "PaginationToken",
|
1128
|
-
# }
|
1129
|
-
#
|
1130
937
|
# @!attribute [rw] channel_arn
|
1131
938
|
# Channel ARN used to filter the list.
|
1132
939
|
# @return [String]
|
@@ -1168,17 +975,6 @@ module Aws::IVS
|
|
1168
975
|
include Aws::Structure
|
1169
976
|
end
|
1170
977
|
|
1171
|
-
# @note When making an API call, you may pass ListStreamsRequest
|
1172
|
-
# data as a hash:
|
1173
|
-
#
|
1174
|
-
# {
|
1175
|
-
# filter_by: {
|
1176
|
-
# health: "HEALTHY", # accepts HEALTHY, STARVING, UNKNOWN
|
1177
|
-
# },
|
1178
|
-
# max_results: 1,
|
1179
|
-
# next_token: "PaginationToken",
|
1180
|
-
# }
|
1181
|
-
#
|
1182
978
|
# @!attribute [rw] filter_by
|
1183
979
|
# Filters the stream list to match the specified criterion.
|
1184
980
|
# @return [Types::StreamFilters]
|
@@ -1220,13 +1016,6 @@ module Aws::IVS
|
|
1220
1016
|
include Aws::Structure
|
1221
1017
|
end
|
1222
1018
|
|
1223
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1224
|
-
# data as a hash:
|
1225
|
-
#
|
1226
|
-
# {
|
1227
|
-
# resource_arn: "ResourceArn", # required
|
1228
|
-
# }
|
1229
|
-
#
|
1230
1019
|
# @!attribute [rw] resource_arn
|
1231
1020
|
# The ARN of the resource to be retrieved. The ARN must be
|
1232
1021
|
# URL-encoded.
|
@@ -1332,14 +1121,6 @@ module Aws::IVS
|
|
1332
1121
|
include Aws::Structure
|
1333
1122
|
end
|
1334
1123
|
|
1335
|
-
# @note When making an API call, you may pass PutMetadataRequest
|
1336
|
-
# data as a hash:
|
1337
|
-
#
|
1338
|
-
# {
|
1339
|
-
# channel_arn: "ChannelArn", # required
|
1340
|
-
# metadata: "StreamMetadata", # required
|
1341
|
-
# }
|
1342
|
-
#
|
1343
1124
|
# @!attribute [rw] channel_arn
|
1344
1125
|
# ARN of the channel into which metadata is inserted. This channel
|
1345
1126
|
# must have an active stream.
|
@@ -1477,13 +1258,6 @@ module Aws::IVS
|
|
1477
1258
|
# A complex type that describes an S3 location where recorded videos
|
1478
1259
|
# will be stored.
|
1479
1260
|
#
|
1480
|
-
# @note When making an API call, you may pass S3DestinationConfiguration
|
1481
|
-
# data as a hash:
|
1482
|
-
#
|
1483
|
-
# {
|
1484
|
-
# bucket_name: "S3DestinationBucketName", # required
|
1485
|
-
# }
|
1486
|
-
#
|
1487
1261
|
# @!attribute [rw] bucket_name
|
1488
1262
|
# Location (S3 bucket name) where recorded videos will be stored.
|
1489
1263
|
# @return [String]
|
@@ -1508,13 +1282,6 @@ module Aws::IVS
|
|
1508
1282
|
include Aws::Structure
|
1509
1283
|
end
|
1510
1284
|
|
1511
|
-
# @note When making an API call, you may pass StopStreamRequest
|
1512
|
-
# data as a hash:
|
1513
|
-
#
|
1514
|
-
# {
|
1515
|
-
# channel_arn: "ChannelArn", # required
|
1516
|
-
# }
|
1517
|
-
#
|
1518
1285
|
# @!attribute [rw] channel_arn
|
1519
1286
|
# ARN of the channel for which the stream is to be stopped.
|
1520
1287
|
# @return [String]
|
@@ -1614,13 +1381,6 @@ module Aws::IVS
|
|
1614
1381
|
|
1615
1382
|
# Object specifying the stream attribute on which to filter.
|
1616
1383
|
#
|
1617
|
-
# @note When making an API call, you may pass StreamFilters
|
1618
|
-
# data as a hash:
|
1619
|
-
#
|
1620
|
-
# {
|
1621
|
-
# health: "HEALTHY", # accepts HEALTHY, STARVING, UNKNOWN
|
1622
|
-
# }
|
1623
|
-
#
|
1624
1384
|
# @!attribute [rw] health
|
1625
1385
|
# The stream’s health.
|
1626
1386
|
# @return [String]
|
@@ -1849,16 +1609,6 @@ module Aws::IVS
|
|
1849
1609
|
include Aws::Structure
|
1850
1610
|
end
|
1851
1611
|
|
1852
|
-
# @note When making an API call, you may pass TagResourceRequest
|
1853
|
-
# data as a hash:
|
1854
|
-
#
|
1855
|
-
# {
|
1856
|
-
# resource_arn: "ResourceArn", # required
|
1857
|
-
# tags: { # required
|
1858
|
-
# "TagKey" => "TagValue",
|
1859
|
-
# },
|
1860
|
-
# }
|
1861
|
-
#
|
1862
1612
|
# @!attribute [rw] resource_arn
|
1863
1613
|
# ARN of the resource for which tags are to be added or updated. The
|
1864
1614
|
# ARN must be URL-encoded.
|
@@ -1904,14 +1654,6 @@ module Aws::IVS
|
|
1904
1654
|
# An object representing a configuration of thumbnails for recorded
|
1905
1655
|
# video.
|
1906
1656
|
#
|
1907
|
-
# @note When making an API call, you may pass ThumbnailConfiguration
|
1908
|
-
# data as a hash:
|
1909
|
-
#
|
1910
|
-
# {
|
1911
|
-
# recording_mode: "DISABLED", # accepts DISABLED, INTERVAL
|
1912
|
-
# target_interval_seconds: 1,
|
1913
|
-
# }
|
1914
|
-
#
|
1915
1657
|
# @!attribute [rw] recording_mode
|
1916
1658
|
# Thumbnail recording mode. Default: `INTERVAL`.
|
1917
1659
|
# @return [String]
|
@@ -1943,14 +1685,6 @@ module Aws::IVS
|
|
1943
1685
|
include Aws::Structure
|
1944
1686
|
end
|
1945
1687
|
|
1946
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
1947
|
-
# data as a hash:
|
1948
|
-
#
|
1949
|
-
# {
|
1950
|
-
# resource_arn: "ResourceArn", # required
|
1951
|
-
# tag_keys: ["TagKey"], # required
|
1952
|
-
# }
|
1953
|
-
#
|
1954
1688
|
# @!attribute [rw] resource_arn
|
1955
1689
|
# ARN of the resource for which tags are to be removed. The ARN must
|
1956
1690
|
# be URL-encoded.
|
@@ -1980,18 +1714,6 @@ module Aws::IVS
|
|
1980
1714
|
#
|
1981
1715
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
1982
1716
|
|
1983
|
-
# @note When making an API call, you may pass UpdateChannelRequest
|
1984
|
-
# data as a hash:
|
1985
|
-
#
|
1986
|
-
# {
|
1987
|
-
# arn: "ChannelArn", # required
|
1988
|
-
# authorized: false,
|
1989
|
-
# latency_mode: "NORMAL", # accepts NORMAL, LOW
|
1990
|
-
# name: "ChannelName",
|
1991
|
-
# recording_configuration_arn: "ChannelRecordingConfigurationArn",
|
1992
|
-
# type: "BASIC", # accepts BASIC, STANDARD
|
1993
|
-
# }
|
1994
|
-
#
|
1995
1717
|
# @!attribute [rw] arn
|
1996
1718
|
# ARN of the channel to be updated.
|
1997
1719
|
# @return [String]
|
data/lib/aws-sdk-ivs.rb
CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-ivs/types'
|
15
15
|
require_relative 'aws-sdk-ivs/client_api'
|
16
|
+
require_relative 'aws-sdk-ivs/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-ivs/client'
|
17
18
|
require_relative 'aws-sdk-ivs/errors'
|
18
19
|
require_relative 'aws-sdk-ivs/resource'
|
20
|
+
require_relative 'aws-sdk-ivs/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-ivs/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-ivs/endpoints'
|
19
23
|
require_relative 'aws-sdk-ivs/customizations'
|
20
24
|
|
21
25
|
# This module provides support for Amazon Interactive Video Service. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-ivs/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::IVS
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.25.0'
|
52
56
|
|
53
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ivs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.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-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.
|
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.
|
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-ivs/client.rb
|
60
60
|
- lib/aws-sdk-ivs/client_api.rb
|
61
61
|
- lib/aws-sdk-ivs/customizations.rb
|
62
|
+
- lib/aws-sdk-ivs/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-ivs/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-ivs/endpoints.rb
|
62
65
|
- lib/aws-sdk-ivs/errors.rb
|
66
|
+
- lib/aws-sdk-ivs/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-ivs/resource.rb
|
64
68
|
- lib/aws-sdk-ivs/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|