aws-sdk-kinesisvideomedia 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3533130cc853631a1685b4e396a4714ea940b7d1
4
- data.tar.gz: 38f26d4a3c71bb12944fe1f7346b2d9477f7ffe3
3
+ metadata.gz: c96a5678077f867baf9053271be0fc8e05d3b70e
4
+ data.tar.gz: bf4efeaee4ab39f36fe0a865c2938f00679bcdd7
5
5
  SHA512:
6
- metadata.gz: 824717bf781c74944486d9949c5ac36def51ff6418e796273ee0f6aac40557f30d1db1bd7a270e0230ea4206e1d1423b2d79d500f0ebeaf96c43754a5b3d4299
7
- data.tar.gz: e5e77114aa2ede7c18270b19312ba2e6563c4fda3282db1349861e88ebb11d81864bd8a88e547e576ab8eaf37e4d99331a21ffc312300fdebc2816f6f7d63b2c
6
+ metadata.gz: 07b3ccf2b94266f15a7082055d5c1d7eb4f6777c982a9b7c2a8b44d060a564c2feb7bef0e7f716ef725664193b7987f40e2ddf9d35a21fa4a8593c9c38b5cc82
7
+ data.tar.gz: '0097f03daeed4b41b67274ae3c00ae2cd789b8239b5d74eae5b53f134d962339e3c3ed0aaa4df2eb2124adf459bfda2dd394cd0ace49486b533311297bde7d25'
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-kinesisvideomedia/customizations'
42
42
  # @service
43
43
  module Aws::KinesisVideoMedia
44
44
 
45
- GEM_VERSION = '1.12.0'
45
+ GEM_VERSION = '1.13.0'
46
46
 
47
47
  end
@@ -336,7 +336,7 @@ module Aws::KinesisVideoMedia
336
336
  params: params,
337
337
  config: config)
338
338
  context[:gem_name] = 'aws-sdk-kinesisvideomedia'
339
- context[:gem_version] = '1.12.0'
339
+ context[:gem_version] = '1.13.0'
340
340
  Seahorse::Client::Request.new(handlers, context)
341
341
  end
342
342
 
@@ -30,6 +30,12 @@ module Aws::KinesisVideoMedia
30
30
  StreamName = Shapes::StringShape.new(name: 'StreamName')
31
31
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
32
32
 
33
+ ClientLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
34
+ ClientLimitExceededException.struct_class = Types::ClientLimitExceededException
35
+
36
+ ConnectionLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
37
+ ConnectionLimitExceededException.struct_class = Types::ConnectionLimitExceededException
38
+
33
39
  GetMediaInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
34
40
  GetMediaInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
35
41
  GetMediaInput.add_member(:start_selector, Shapes::ShapeRef.new(shape: StartSelector, required: true, location_name: "StartSelector"))
@@ -41,6 +47,18 @@ module Aws::KinesisVideoMedia
41
47
  GetMediaOutput[:payload] = :payload
42
48
  GetMediaOutput[:payload_member] = GetMediaOutput.member(:payload)
43
49
 
50
+ InvalidArgumentException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
51
+ InvalidArgumentException.struct_class = Types::InvalidArgumentException
52
+
53
+ InvalidEndpointException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
54
+ InvalidEndpointException.struct_class = Types::InvalidEndpointException
55
+
56
+ NotAuthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
57
+ NotAuthorizedException.struct_class = Types::NotAuthorizedException
58
+
59
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
60
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
61
+
44
62
  StartSelector.add_member(:start_selector_type, Shapes::ShapeRef.new(shape: StartSelectorType, required: true, location_name: "StartSelectorType"))
45
63
  StartSelector.add_member(:after_fragment_number, Shapes::ShapeRef.new(shape: FragmentNumberString, location_name: "AfterFragmentNumber"))
46
64
  StartSelector.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTimestamp"))
@@ -10,5 +10,101 @@ module Aws::KinesisVideoMedia
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class ClientLimitExceededException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::KinesisVideoMedia::Types::ClientLimitExceededException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class ConnectionLimitExceededException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::KinesisVideoMedia::Types::ConnectionLimitExceededException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class InvalidArgumentException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::KinesisVideoMedia::Types::InvalidArgumentException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class InvalidEndpointException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::KinesisVideoMedia::Types::InvalidEndpointException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class NotAuthorizedException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::KinesisVideoMedia::Types::NotAuthorizedException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class ResourceNotFoundException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::KinesisVideoMedia::Types::ResourceNotFoundException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
13
109
  end
14
110
  end
@@ -8,6 +8,32 @@
8
8
  module Aws::KinesisVideoMedia
9
9
  module Types
10
10
 
11
+ # Kinesis Video Streams has throttled the request because you have
12
+ # exceeded the limit of allowed client calls. Try making the call later.
13
+ #
14
+ # @!attribute [rw] message
15
+ # @return [String]
16
+ #
17
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-media-2017-09-30/ClientLimitExceededException AWS API Documentation
18
+ #
19
+ class ClientLimitExceededException < Struct.new(
20
+ :message)
21
+ include Aws::Structure
22
+ end
23
+
24
+ # Kinesis Video Streams has throttled the request because you have
25
+ # exceeded the limit of allowed client connections.
26
+ #
27
+ # @!attribute [rw] message
28
+ # @return [String]
29
+ #
30
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-media-2017-09-30/ConnectionLimitExceededException AWS API Documentation
31
+ #
32
+ class ConnectionLimitExceededException < Struct.new(
33
+ :message)
34
+ include Aws::Structure
35
+ end
36
+
11
37
  # @note When making an API call, you may pass GetMediaInput
12
38
  # data as a hash:
13
39
  #
@@ -114,6 +140,58 @@ module Aws::KinesisVideoMedia
114
140
  include Aws::Structure
115
141
  end
116
142
 
143
+ # The value for this input parameter is invalid.
144
+ #
145
+ # @!attribute [rw] message
146
+ # @return [String]
147
+ #
148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-media-2017-09-30/InvalidArgumentException AWS API Documentation
149
+ #
150
+ class InvalidArgumentException < Struct.new(
151
+ :message)
152
+ include Aws::Structure
153
+ end
154
+
155
+ # Status Code: 400, Caller used wrong endpoint to write data to a
156
+ # stream. On receiving such an exception, the user must call
157
+ # `GetDataEndpoint` with `AccessMode` set to "READ" and use the
158
+ # endpoint Kinesis Video returns in the next `GetMedia` call.
159
+ #
160
+ # @!attribute [rw] message
161
+ # @return [String]
162
+ #
163
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-media-2017-09-30/InvalidEndpointException AWS API Documentation
164
+ #
165
+ class InvalidEndpointException < Struct.new(
166
+ :message)
167
+ include Aws::Structure
168
+ end
169
+
170
+ # Status Code: 403, The caller is not authorized to perform an operation
171
+ # on the given stream, or the token has expired.
172
+ #
173
+ # @!attribute [rw] message
174
+ # @return [String]
175
+ #
176
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-media-2017-09-30/NotAuthorizedException AWS API Documentation
177
+ #
178
+ class NotAuthorizedException < Struct.new(
179
+ :message)
180
+ include Aws::Structure
181
+ end
182
+
183
+ # Status Code: 404, The stream with the given name does not exist.
184
+ #
185
+ # @!attribute [rw] message
186
+ # @return [String]
187
+ #
188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-media-2017-09-30/ResourceNotFoundException AWS API Documentation
189
+ #
190
+ class ResourceNotFoundException < Struct.new(
191
+ :message)
192
+ include Aws::Structure
193
+ end
194
+
117
195
  # Identifies the chunk on the Kinesis video stream where you want the
118
196
  # `GetMedia` API to start returning media data. You have the following
119
197
  # options to identify the starting chunk:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kinesisvideomedia
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.13.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: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 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.52.1
22
+ version: 3.53.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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement