aws-sdk-kinesisvideowebrtcstorage 1.0.0 → 1.1.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 +5 -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/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: 2645b7c49acff7f16dda08232e5c85fbb50770488fcf19c0e2bdae4af3b0c131
|
4
|
+
data.tar.gz: 2f410231d2d37fc9526285d1c49d6cfd59910460a9dc52f08949e3fcdd468518
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6303386a57e312cd1823e7cb30e99ae8874383eea8bdd7f2166888c00ef1ab5a8dbc7ca5a6bedc1f0515263abc80049cd6eafe9f640c6f31461e948f5ba1e005
|
7
|
+
data.tar.gz: 337da3dce4f50e8380f8c37832a519656f7697b21ed3990e7e649f80cb697a0f39278d21ee178484345b9c319d456a4d861fef590b111b0bfd6202359688302f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.1.0 (2022-12-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
4
9
|
1.0.0 (2022-12-19)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.1.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.1.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
|
@@ -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.1.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-12-
|
11
|
+
date: 2022-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|