aws-sdk-kinesisvideowebrtcstorage 1.0.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kinesisvideowebrtcstorage/client.rb +1 -45
- data/lib/aws-sdk-kinesisvideowebrtcstorage/client_api.rb +0 -18
- data/lib/aws-sdk-kinesisvideowebrtcstorage/endpoint_provider.rb +35 -93
- data/lib/aws-sdk-kinesisvideowebrtcstorage/endpoints.rb +0 -14
- data/lib/aws-sdk-kinesisvideowebrtcstorage/plugins/endpoints.rb +0 -2
- data/lib/aws-sdk-kinesisvideowebrtcstorage/types.rb +3 -42
- data/lib/aws-sdk-kinesisvideowebrtcstorage.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9e51aeee325f8aadbd8dea30bcc0cbe860a3e5132e4ea92b05296c0497dc45f
|
4
|
+
data.tar.gz: 61133ba05f2a24ba001c65596c0fdff8e35db18198e519074dbb386249d3f3a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 172529d7b4e975b8daab9edfca84bfc51151f8dad88e75d8cd3c5e28235d3c469e62f88181f67eb157c229ee10a0c0ce5f6c482674894864bd770421b40bbbf7
|
7
|
+
data.tar.gz: 214e7342621f1e8eed3a2b807790c8fdd7bfc39c7b1f626df779c3fbcc15ce39aa7d9a96bf0c64c6c2a3a541b73ed6df6f339bd8f5364e802153528cf0c24e9b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.2.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.1.0 (2022-12-22)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - Amazon Kinesis Video Streams offers capabilities to stream video and audio in real-time via WebRTC to the cloud for storage, playback, and analytical processing. Customers can use our enhanced WebRTC SDK and cloud APIs to enable real-time streaming, as well as media ingestion to the cloud.
|
15
|
+
|
4
16
|
1.0.0 (2022-12-19)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
@@ -414,50 +414,6 @@ module Aws::KinesisVideoWebRTCStorage
|
|
414
414
|
req.send_request(options)
|
415
415
|
end
|
416
416
|
|
417
|
-
# Join the ongoing one way-video and/or multi-way audio WebRTC session
|
418
|
-
# as a viewer for an input channel. If there’s no existing session for
|
419
|
-
# the channel, create a new streaming session and provide the Amazon
|
420
|
-
# Resource Name (ARN) of the signaling channel (`channelArn`) and client
|
421
|
-
# id (`clientId`).
|
422
|
-
#
|
423
|
-
# Currently for `SINGLE_MASTER` type, a video producing device is able
|
424
|
-
# to ingest both audio and video media into a stream, while viewers can
|
425
|
-
# only ingest audio. Both a video producing device and viewers can join
|
426
|
-
# a session first and wait for other participants. While participants
|
427
|
-
# are having peer to peer conversations through webRTC, the ingested
|
428
|
-
# media session will be stored into the Kinesis Video Stream. Multiple
|
429
|
-
# viewers are able to playback real-time media.
|
430
|
-
#
|
431
|
-
# Customers can also use existing Kinesis Video Streams features like
|
432
|
-
# `HLS` or `DASH` playback, Image generation, and more with ingested
|
433
|
-
# WebRTC media. If there’s an existing session with the same `clientId`
|
434
|
-
# that's found in the join session request, the new request takes
|
435
|
-
# precedence.
|
436
|
-
#
|
437
|
-
# @option params [required, String] :channel_arn
|
438
|
-
# The Amazon Resource Name (ARN) of the signaling channel.
|
439
|
-
#
|
440
|
-
# @option params [required, String] :client_id
|
441
|
-
# The unique identifier for the sender client.
|
442
|
-
#
|
443
|
-
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
444
|
-
#
|
445
|
-
# @example Request syntax with placeholder values
|
446
|
-
#
|
447
|
-
# resp = client.join_storage_session_as_viewer({
|
448
|
-
# channel_arn: "ChannelArn", # required
|
449
|
-
# client_id: "ClientId", # required
|
450
|
-
# })
|
451
|
-
#
|
452
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-webrtc-storage-2018-05-10/JoinStorageSessionAsViewer AWS API Documentation
|
453
|
-
#
|
454
|
-
# @overload join_storage_session_as_viewer(params = {})
|
455
|
-
# @param [Hash] params ({})
|
456
|
-
def join_storage_session_as_viewer(params = {}, options = {})
|
457
|
-
req = build_request(:join_storage_session_as_viewer, params)
|
458
|
-
req.send_request(options)
|
459
|
-
end
|
460
|
-
|
461
417
|
# @!endgroup
|
462
418
|
|
463
419
|
# @param params ({})
|
@@ -471,7 +427,7 @@ module Aws::KinesisVideoWebRTCStorage
|
|
471
427
|
params: params,
|
472
428
|
config: config)
|
473
429
|
context[:gem_name] = 'aws-sdk-kinesisvideowebrtcstorage'
|
474
|
-
context[:gem_version] = '1.
|
430
|
+
context[:gem_version] = '1.2.0'
|
475
431
|
Seahorse::Client::Request.new(handlers, context)
|
476
432
|
end
|
477
433
|
|
@@ -15,10 +15,8 @@ module Aws::KinesisVideoWebRTCStorage
|
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
17
|
ChannelArn = Shapes::StringShape.new(name: 'ChannelArn')
|
18
|
-
ClientId = Shapes::StringShape.new(name: 'ClientId')
|
19
18
|
ClientLimitExceededException = Shapes::StructureShape.new(name: 'ClientLimitExceededException')
|
20
19
|
InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
|
21
|
-
JoinStorageSessionAsViewerInput = Shapes::StructureShape.new(name: 'JoinStorageSessionAsViewerInput')
|
22
20
|
JoinStorageSessionInput = Shapes::StructureShape.new(name: 'JoinStorageSessionInput')
|
23
21
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
24
22
|
String = Shapes::StringShape.new(name: 'String')
|
@@ -32,10 +30,6 @@ module Aws::KinesisVideoWebRTCStorage
|
|
32
30
|
InvalidArgumentException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
33
31
|
InvalidArgumentException.struct_class = Types::InvalidArgumentException
|
34
32
|
|
35
|
-
JoinStorageSessionAsViewerInput.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
|
36
|
-
JoinStorageSessionAsViewerInput.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, required: true, location_name: "clientId"))
|
37
|
-
JoinStorageSessionAsViewerInput.struct_class = Types::JoinStorageSessionAsViewerInput
|
38
|
-
|
39
33
|
JoinStorageSessionInput.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
|
40
34
|
JoinStorageSessionInput.struct_class = Types::JoinStorageSessionInput
|
41
35
|
|
@@ -71,18 +65,6 @@ module Aws::KinesisVideoWebRTCStorage
|
|
71
65
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
72
66
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
73
67
|
end)
|
74
|
-
|
75
|
-
api.add_operation(:join_storage_session_as_viewer, Seahorse::Model::Operation.new.tap do |o|
|
76
|
-
o.name = "JoinStorageSessionAsViewer"
|
77
|
-
o.http_method = "POST"
|
78
|
-
o.http_request_uri = "/joinStorageSessionAsViewer"
|
79
|
-
o.input = Shapes::ShapeRef.new(shape: JoinStorageSessionAsViewerInput)
|
80
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
81
|
-
o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
|
82
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
83
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
84
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
85
|
-
end)
|
86
68
|
end
|
87
69
|
|
88
70
|
end
|
@@ -9,101 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::KinesisVideoWebRTCStorage
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
|
33
|
-
YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
|
34
|
-
ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0Y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fV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlv
|
97
|
-
bnMiOltdLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2tpbmVzaXN2aWRl
|
98
|
-
by57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2R1YWxTdGFja0Ruc1N1ZmZp
|
99
|
-
eH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5k
|
100
|
-
cG9pbnQifV19LHsiY29uZGl0aW9ucyI6W10sImVycm9yIjoiRHVhbFN0YWNr
|
101
|
-
IGlzIGVuYWJsZWQgYnV0IHRoaXMgcGFydGl0aW9uIGRvZXMgbm90IHN1cHBv
|
102
|
-
cnQgRHVhbFN0YWNrIiwidHlwZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMi
|
103
|
-
OltdLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2tpbmVzaXN2aWRlby57
|
104
|
-
UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0
|
105
|
-
aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
|
106
|
-
|
107
|
-
JSON
|
108
50
|
end
|
109
51
|
end
|
@@ -25,19 +25,5 @@ module Aws::KinesisVideoWebRTCStorage
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
-
class JoinStorageSessionAsViewer
|
29
|
-
def self.build(context)
|
30
|
-
unless context.config.regional_endpoint
|
31
|
-
endpoint = context.config.endpoint.to_s
|
32
|
-
end
|
33
|
-
Aws::KinesisVideoWebRTCStorage::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
28
|
end
|
43
29
|
end
|
@@ -58,8 +58,6 @@ module Aws::KinesisVideoWebRTCStorage
|
|
58
58
|
case context.operation_name
|
59
59
|
when :join_storage_session
|
60
60
|
Aws::KinesisVideoWebRTCStorage::Endpoints::JoinStorageSession.build(context)
|
61
|
-
when :join_storage_session_as_viewer
|
62
|
-
Aws::KinesisVideoWebRTCStorage::Endpoints::JoinStorageSessionAsViewer.build(context)
|
63
61
|
end
|
64
62
|
end
|
65
63
|
end
|
@@ -10,15 +10,7 @@
|
|
10
10
|
module Aws::KinesisVideoWebRTCStorage
|
11
11
|
module Types
|
12
12
|
|
13
|
-
#
|
14
|
-
#
|
15
|
-
# ^
|
16
|
-
# ^
|
17
|
-
#
|
18
|
-
# 1. The `AccessDeniedException` can be thrown for operation access as
|
19
|
-
# well as tokens or resource access
|
20
|
-
#
|
21
|
-
# ^
|
13
|
+
# You do not have required permissions to perform this operation.
|
22
14
|
#
|
23
15
|
# @!attribute [rw] message
|
24
16
|
# @return [String]
|
@@ -45,14 +37,7 @@ module Aws::KinesisVideoWebRTCStorage
|
|
45
37
|
include Aws::Structure
|
46
38
|
end
|
47
39
|
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# ^
|
51
|
-
# ^
|
52
|
-
#
|
53
|
-
# 1. Additional details may **not**be returned.
|
54
|
-
#
|
55
|
-
# ^
|
40
|
+
# The value for this input parameter is invalid.
|
56
41
|
#
|
57
42
|
# @!attribute [rw] message
|
58
43
|
# @return [String]
|
@@ -65,23 +50,6 @@ module Aws::KinesisVideoWebRTCStorage
|
|
65
50
|
include Aws::Structure
|
66
51
|
end
|
67
52
|
|
68
|
-
# @!attribute [rw] channel_arn
|
69
|
-
# The Amazon Resource Name (ARN) of the signaling channel.
|
70
|
-
# @return [String]
|
71
|
-
#
|
72
|
-
# @!attribute [rw] client_id
|
73
|
-
# The unique identifier for the sender client.
|
74
|
-
# @return [String]
|
75
|
-
#
|
76
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-webrtc-storage-2018-05-10/JoinStorageSessionAsViewerInput AWS API Documentation
|
77
|
-
#
|
78
|
-
class JoinStorageSessionAsViewerInput < Struct.new(
|
79
|
-
:channel_arn,
|
80
|
-
:client_id)
|
81
|
-
SENSITIVE = []
|
82
|
-
include Aws::Structure
|
83
|
-
end
|
84
|
-
|
85
53
|
# @!attribute [rw] channel_arn
|
86
54
|
# The Amazon Resource Name (ARN) of the signaling channel.
|
87
55
|
# @return [String]
|
@@ -94,14 +62,7 @@ module Aws::KinesisVideoWebRTCStorage
|
|
94
62
|
include Aws::Structure
|
95
63
|
end
|
96
64
|
|
97
|
-
#
|
98
|
-
#
|
99
|
-
# ^
|
100
|
-
# ^
|
101
|
-
#
|
102
|
-
# 1. You have not specified a channel in this API call.
|
103
|
-
#
|
104
|
-
# ^
|
65
|
+
# The specified resource is not found.
|
105
66
|
#
|
106
67
|
# @!attribute [rw] message
|
107
68
|
# @return [String]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kinesisvideowebrtcstorage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.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
|