aws-sdk-kinesisvideowebrtcstorage 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,109 @@
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::KinesisVideoWebRTCStorage
11
+ class EndpointProvider
12
+ def initialize(rule_set = nil)
13
+ @@rule_set ||= begin
14
+ endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
+ Aws::Endpoints::RuleSet.new(
16
+ version: endpoint_rules['version'],
17
+ service_id: endpoint_rules['serviceId'],
18
+ parameters: endpoint_rules['parameters'],
19
+ rules: endpoint_rules['rules']
20
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(parameters)
26
+ @provider.resolve_endpoint(parameters)
27
+ end
28
+
29
+ # @api private
30
+ RULES = <<-JSON
31
+ eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
+ bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
+ YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
+ ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
+ aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
+ ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
+ IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
38
+ bmRwb2lud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mVzaXN2aWRlby57
104
+ UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0
105
+ aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
106
+
107
+ JSON
108
+ end
109
+ end
@@ -0,0 +1,43 @@
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::KinesisVideoWebRTCStorage
12
+ module Endpoints
13
+
14
+ class JoinStorageSession
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::KinesisVideoWebRTCStorage::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 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
+ end
43
+ end
@@ -0,0 +1,102 @@
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::KinesisVideoWebRTCStorage
11
+
12
+ # When KinesisVideoWebRTCStorage returns an error response, the Ruby SDK constructs and raises an error.
13
+ # These errors all extend Aws::KinesisVideoWebRTCStorage::Errors::ServiceError < {Aws::Errors::ServiceError}
14
+ #
15
+ # You can rescue all KinesisVideoWebRTCStorage errors using ServiceError:
16
+ #
17
+ # begin
18
+ # # do stuff
19
+ # rescue Aws::KinesisVideoWebRTCStorage::Errors::ServiceError
20
+ # # rescues all KinesisVideoWebRTCStorage API errors
21
+ # end
22
+ #
23
+ #
24
+ # ## Request Context
25
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
26
+ # information about the request that generated the error.
27
+ # See {Seahorse::Client::RequestContext} for more information.
28
+ #
29
+ # ## Error Classes
30
+ # * {AccessDeniedException}
31
+ # * {ClientLimitExceededException}
32
+ # * {InvalidArgumentException}
33
+ # * {ResourceNotFoundException}
34
+ #
35
+ # Additionally, error classes are dynamically generated for service errors based on the error code
36
+ # if they are not defined above.
37
+ module Errors
38
+
39
+ extend Aws::Errors::DynamicErrors
40
+
41
+ class AccessDeniedException < ServiceError
42
+
43
+ # @param [Seahorse::Client::RequestContext] context
44
+ # @param [String] message
45
+ # @param [Aws::KinesisVideoWebRTCStorage::Types::AccessDeniedException] data
46
+ def initialize(context, message, data = Aws::EmptyStructure.new)
47
+ super(context, message, data)
48
+ end
49
+
50
+ # @return [String]
51
+ def message
52
+ @message || @data[:message]
53
+ end
54
+ end
55
+
56
+ class ClientLimitExceededException < ServiceError
57
+
58
+ # @param [Seahorse::Client::RequestContext] context
59
+ # @param [String] message
60
+ # @param [Aws::KinesisVideoWebRTCStorage::Types::ClientLimitExceededException] data
61
+ def initialize(context, message, data = Aws::EmptyStructure.new)
62
+ super(context, message, data)
63
+ end
64
+
65
+ # @return [String]
66
+ def message
67
+ @message || @data[:message]
68
+ end
69
+ end
70
+
71
+ class InvalidArgumentException < ServiceError
72
+
73
+ # @param [Seahorse::Client::RequestContext] context
74
+ # @param [String] message
75
+ # @param [Aws::KinesisVideoWebRTCStorage::Types::InvalidArgumentException] data
76
+ def initialize(context, message, data = Aws::EmptyStructure.new)
77
+ super(context, message, data)
78
+ end
79
+
80
+ # @return [String]
81
+ def message
82
+ @message || @data[:message]
83
+ end
84
+ end
85
+
86
+ class ResourceNotFoundException < ServiceError
87
+
88
+ # @param [Seahorse::Client::RequestContext] context
89
+ # @param [String] message
90
+ # @param [Aws::KinesisVideoWebRTCStorage::Types::ResourceNotFoundException] data
91
+ def initialize(context, message, data = Aws::EmptyStructure.new)
92
+ super(context, message, data)
93
+ end
94
+
95
+ # @return [String]
96
+ def message
97
+ @message || @data[:message]
98
+ end
99
+ end
100
+
101
+ end
102
+ end
@@ -0,0 +1,72 @@
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::KinesisVideoWebRTCStorage
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::KinesisVideoWebRTCStorage::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::KinesisVideoWebRTCStorage::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::KinesisVideoWebRTCStorage::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 :join_storage_session
60
+ Aws::KinesisVideoWebRTCStorage::Endpoints::JoinStorageSession.build(context)
61
+ when :join_storage_session_as_viewer
62
+ Aws::KinesisVideoWebRTCStorage::Endpoints::JoinStorageSessionAsViewer.build(context)
63
+ end
64
+ end
65
+ end
66
+
67
+ def add_handlers(handlers, _config)
68
+ handlers.add(Handler, step: :build, priority: 75)
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,26 @@
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::KinesisVideoWebRTCStorage
11
+
12
+ class Resource
13
+
14
+ # @param options ({})
15
+ # @option options [Client] :client
16
+ def initialize(options = {})
17
+ @client = options[:client] || Client.new(options)
18
+ end
19
+
20
+ # @return [Client]
21
+ def client
22
+ @client
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,118 @@
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::KinesisVideoWebRTCStorage
11
+ module Types
12
+
13
+ # 1. You do not have required permissions to perform this operation
14
+ #
15
+ # ^
16
+ # ^
17
+ #
18
+ # 1. The `AccessDeniedException` can be thrown for operation access as
19
+ # well as tokens or resource access
20
+ #
21
+ # ^
22
+ #
23
+ # @!attribute [rw] message
24
+ # @return [String]
25
+ #
26
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-webrtc-storage-2018-05-10/AccessDeniedException AWS API Documentation
27
+ #
28
+ class AccessDeniedException < Struct.new(
29
+ :message)
30
+ SENSITIVE = []
31
+ include Aws::Structure
32
+ end
33
+
34
+ # Kinesis Video Streams has throttled the request because you have
35
+ # exceeded the limit of allowed client calls. Try making the call later.
36
+ #
37
+ # @!attribute [rw] message
38
+ # @return [String]
39
+ #
40
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-webrtc-storage-2018-05-10/ClientLimitExceededException AWS API Documentation
41
+ #
42
+ class ClientLimitExceededException < Struct.new(
43
+ :message)
44
+ SENSITIVE = []
45
+ include Aws::Structure
46
+ end
47
+
48
+ # 1. The value for this input parameter is invalid.
49
+ #
50
+ # ^
51
+ # ^
52
+ #
53
+ # 1. Additional details may **not**be returned.
54
+ #
55
+ # ^
56
+ #
57
+ # @!attribute [rw] message
58
+ # @return [String]
59
+ #
60
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-webrtc-storage-2018-05-10/InvalidArgumentException AWS API Documentation
61
+ #
62
+ class InvalidArgumentException < Struct.new(
63
+ :message)
64
+ SENSITIVE = []
65
+ include Aws::Structure
66
+ end
67
+
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
+ # @!attribute [rw] channel_arn
86
+ # The Amazon Resource Name (ARN) of the signaling channel.
87
+ # @return [String]
88
+ #
89
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-webrtc-storage-2018-05-10/JoinStorageSessionInput AWS API Documentation
90
+ #
91
+ class JoinStorageSessionInput < Struct.new(
92
+ :channel_arn)
93
+ SENSITIVE = []
94
+ include Aws::Structure
95
+ end
96
+
97
+ # 1. The specified resource is not found
98
+ #
99
+ # ^
100
+ # ^
101
+ #
102
+ # 1. You have not specified a channel in this API call.
103
+ #
104
+ # ^
105
+ #
106
+ # @!attribute [rw] message
107
+ # @return [String]
108
+ #
109
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-webrtc-storage-2018-05-10/ResourceNotFoundException AWS API Documentation
110
+ #
111
+ class ResourceNotFoundException < Struct.new(
112
+ :message)
113
+ SENSITIVE = []
114
+ include Aws::Structure
115
+ end
116
+
117
+ end
118
+ end
@@ -0,0 +1,57 @@
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
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ require_relative 'aws-sdk-kinesisvideowebrtcstorage/types'
15
+ require_relative 'aws-sdk-kinesisvideowebrtcstorage/client_api'
16
+ require_relative 'aws-sdk-kinesisvideowebrtcstorage/plugins/endpoints.rb'
17
+ require_relative 'aws-sdk-kinesisvideowebrtcstorage/client'
18
+ require_relative 'aws-sdk-kinesisvideowebrtcstorage/errors'
19
+ require_relative 'aws-sdk-kinesisvideowebrtcstorage/resource'
20
+ require_relative 'aws-sdk-kinesisvideowebrtcstorage/endpoint_parameters'
21
+ require_relative 'aws-sdk-kinesisvideowebrtcstorage/endpoint_provider'
22
+ require_relative 'aws-sdk-kinesisvideowebrtcstorage/endpoints'
23
+ require_relative 'aws-sdk-kinesisvideowebrtcstorage/customizations'
24
+
25
+ # This module provides support for Amazon Kinesis Video WebRTC Storage. This module is available in the
26
+ # `aws-sdk-kinesisvideowebrtcstorage` gem.
27
+ #
28
+ # # Client
29
+ #
30
+ # The {Client} class provides one method for each API operation. Operation
31
+ # methods each accept a hash of request parameters and return a response
32
+ # structure.
33
+ #
34
+ # kinesis_video_web_rtc_storage = Aws::KinesisVideoWebRTCStorage::Client.new
35
+ # resp = kinesis_video_web_rtc_storage.join_storage_session(params)
36
+ #
37
+ # See {Client} for more information.
38
+ #
39
+ # # Errors
40
+ #
41
+ # Errors returned from Amazon Kinesis Video WebRTC Storage are defined in the
42
+ # {Errors} module and all extend {Errors::ServiceError}.
43
+ #
44
+ # begin
45
+ # # do stuff
46
+ # rescue Aws::KinesisVideoWebRTCStorage::Errors::ServiceError
47
+ # # rescues all Amazon Kinesis Video WebRTC Storage API errors
48
+ # end
49
+ #
50
+ # See {Errors} for more information.
51
+ #
52
+ # @!group service
53
+ module Aws::KinesisVideoWebRTCStorage
54
+
55
+ GEM_VERSION = '1.0.0'
56
+
57
+ end
metadata ADDED
@@ -0,0 +1,94 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aws-sdk-kinesisvideowebrtcstorage
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Amazon Web Services
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-12-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: aws-sdk-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 3.165.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '3'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 3.165.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: aws-sigv4
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.1'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.1'
47
+ description: Official AWS Ruby gem for Amazon Kinesis Video WebRTC Storage. This gem
48
+ is part of the AWS SDK for Ruby.
49
+ email:
50
+ - aws-dr-rubygems@amazon.com
51
+ executables: []
52
+ extensions: []
53
+ extra_rdoc_files: []
54
+ files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
58
+ - lib/aws-sdk-kinesisvideowebrtcstorage.rb
59
+ - lib/aws-sdk-kinesisvideowebrtcstorage/client.rb
60
+ - lib/aws-sdk-kinesisvideowebrtcstorage/client_api.rb
61
+ - lib/aws-sdk-kinesisvideowebrtcstorage/customizations.rb
62
+ - lib/aws-sdk-kinesisvideowebrtcstorage/endpoint_parameters.rb
63
+ - lib/aws-sdk-kinesisvideowebrtcstorage/endpoint_provider.rb
64
+ - lib/aws-sdk-kinesisvideowebrtcstorage/endpoints.rb
65
+ - lib/aws-sdk-kinesisvideowebrtcstorage/errors.rb
66
+ - lib/aws-sdk-kinesisvideowebrtcstorage/plugins/endpoints.rb
67
+ - lib/aws-sdk-kinesisvideowebrtcstorage/resource.rb
68
+ - lib/aws-sdk-kinesisvideowebrtcstorage/types.rb
69
+ homepage: https://github.com/aws/aws-sdk-ruby
70
+ licenses:
71
+ - Apache-2.0
72
+ metadata:
73
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kinesisvideowebrtcstorage
74
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kinesisvideowebrtcstorage/CHANGELOG.md
75
+ post_install_message:
76
+ rdoc_options: []
77
+ require_paths:
78
+ - lib
79
+ required_ruby_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '2.3'
84
+ required_rubygems_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ requirements: []
90
+ rubygems_version: 3.1.6
91
+ signing_key:
92
+ specification_version: 4
93
+ summary: AWS SDK for Ruby - Amazon Kinesis Video WebRTC Storage
94
+ test_files: []