aws-sdk-elastictranscoder 1.18.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-elastictranscoder.rb +9 -4
- data/lib/aws-sdk-elastictranscoder/client.rb +88 -17
- data/lib/aws-sdk-elastictranscoder/client_api.rb +16 -0
- data/lib/aws-sdk-elastictranscoder/customizations.rb +1 -0
- data/lib/aws-sdk-elastictranscoder/errors.rb +101 -0
- data/lib/aws-sdk-elastictranscoder/resource.rb +3 -0
- data/lib/aws-sdk-elastictranscoder/types.rb +96 -0
- data/lib/aws-sdk-elastictranscoder/waiters.rb +63 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 15da2bdc97f319b462b58fa946f3c345fa7997b30b8288fa92b8e5af6fabad97
|
4
|
+
data.tar.gz: f97b4eb2476adf8341090ad857e75249217c7ced55cd692bf51c54311bd2c45d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb4ee6c7c5ee2908ae13465defae42db9bc705be6be14735ae0f3ea82fc1ee71c4c45bf37a2fbc145745c521138d140196c3be965304e3f7067f24cf12b934de
|
7
|
+
data.tar.gz: f3173a21550d6f930abef9e50374497ff11e3d8d12402e30e3a0b82a1cd21bf3e119733c5f2aa3b73bd15c02c85d0ecc2188243925b15d8508c61c45bce1240d
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -25,17 +27,20 @@ require_relative 'aws-sdk-elastictranscoder/customizations'
|
|
25
27
|
# methods each accept a hash of request parameters and return a response
|
26
28
|
# structure.
|
27
29
|
#
|
30
|
+
# elastic_transcoder = Aws::ElasticTranscoder::Client.new
|
31
|
+
# resp = elastic_transcoder.cancel_job(params)
|
32
|
+
#
|
28
33
|
# See {Client} for more information.
|
29
34
|
#
|
30
35
|
# # Errors
|
31
36
|
#
|
32
|
-
# Errors returned from Amazon Elastic Transcoder
|
33
|
-
# extend {Errors::ServiceError}.
|
37
|
+
# Errors returned from Amazon Elastic Transcoder are defined in the
|
38
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
34
39
|
#
|
35
40
|
# begin
|
36
41
|
# # do stuff
|
37
42
|
# rescue Aws::ElasticTranscoder::Errors::ServiceError
|
38
|
-
# # rescues all
|
43
|
+
# # rescues all Amazon Elastic Transcoder API errors
|
39
44
|
# end
|
40
45
|
#
|
41
46
|
# See {Errors} for more information.
|
@@ -43,6 +48,6 @@ require_relative 'aws-sdk-elastictranscoder/customizations'
|
|
43
48
|
# @service
|
44
49
|
module Aws::ElasticTranscoder
|
45
50
|
|
46
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.23.0'
|
47
52
|
|
48
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
30
33
|
Aws::Plugins::GlobalConfiguration.add_identifier(:elastictranscoder)
|
31
34
|
|
32
35
|
module Aws::ElasticTranscoder
|
36
|
+
# An API client for ElasticTranscoder. To construct a client, you need to configure a `:region` and `:credentials`.
|
37
|
+
#
|
38
|
+
# client = Aws::ElasticTranscoder::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
43
|
+
#
|
44
|
+
# For details on configuring region and credentials see
|
45
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
46
|
+
#
|
47
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
48
|
class Client < Seahorse::Client::Base
|
34
49
|
|
35
50
|
include Aws::ClientStubs
|
@@ -57,6 +72,7 @@ module Aws::ElasticTranscoder
|
|
57
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
62
78
|
|
@@ -93,7 +109,7 @@ module Aws::ElasticTranscoder
|
|
93
109
|
# @option options [required, String] :region
|
94
110
|
# The AWS region to connect to. The configured `:region` is
|
95
111
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
97
113
|
#
|
98
114
|
# * `Aws.config[:region]`
|
99
115
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +124,12 @@ module Aws::ElasticTranscoder
|
|
108
124
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
125
|
# the background every 60 secs (default). Defaults to `false`.
|
110
126
|
#
|
127
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
128
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
129
|
+
# until there is sufficent client side capacity to retry the request.
|
130
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
131
|
+
# not retry instead of sleeping.
|
132
|
+
#
|
111
133
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
134
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
135
|
# this client.
|
@@ -132,6 +154,10 @@ module Aws::ElasticTranscoder
|
|
132
154
|
# When `true`, an attempt is made to coerce request parameters into
|
133
155
|
# the required types.
|
134
156
|
#
|
157
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
158
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
159
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
160
|
+
#
|
135
161
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
162
|
# Set to true to disable SDK automatically adding host prefix
|
137
163
|
# to default service endpoint when available.
|
@@ -139,7 +165,7 @@ module Aws::ElasticTranscoder
|
|
139
165
|
# @option options [String] :endpoint
|
140
166
|
# The client endpoint is normally constructed from the `:region`
|
141
167
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
169
|
#
|
144
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +180,7 @@ module Aws::ElasticTranscoder
|
|
154
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
181
|
#
|
156
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
184
|
#
|
159
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
186
|
# The log formatter.
|
@@ -166,15 +192,29 @@ module Aws::ElasticTranscoder
|
|
166
192
|
# The Logger instance to send log messages to. If this option
|
167
193
|
# is not set, logging will be disabled.
|
168
194
|
#
|
195
|
+
# @option options [Integer] :max_attempts (3)
|
196
|
+
# An integer representing the maximum number attempts that will be made for
|
197
|
+
# a single request, including the initial attempt. For example,
|
198
|
+
# setting this value to 5 will result in a request being retried up to
|
199
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
200
|
+
#
|
169
201
|
# @option options [String] :profile ("default")
|
170
202
|
# Used when loading credentials from the shared credentials file
|
171
203
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
204
|
#
|
205
|
+
# @option options [Proc] :retry_backoff
|
206
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
207
|
+
# This option is only used in the `legacy` retry mode.
|
208
|
+
#
|
173
209
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
210
|
+
# The base delay in seconds used by the default backoff function. This option
|
211
|
+
# is only used in the `legacy` retry mode.
|
175
212
|
#
|
176
213
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
214
|
+
# A delay randomiser function used by the default backoff function.
|
215
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
216
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
217
|
+
# in the `legacy` retry mode.
|
178
218
|
#
|
179
219
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
220
|
#
|
@@ -182,11 +222,30 @@ module Aws::ElasticTranscoder
|
|
182
222
|
# The maximum number of times to retry failed requests. Only
|
183
223
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
224
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
225
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
226
|
+
# endpoint discovery, and errors from expired credentials.
|
227
|
+
# This option is only used in the `legacy` retry mode.
|
187
228
|
#
|
188
229
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
230
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
231
|
+
# used by the default backoff function. This option is only used in the
|
232
|
+
# `legacy` retry mode.
|
233
|
+
#
|
234
|
+
# @option options [String] :retry_mode ("legacy")
|
235
|
+
# Specifies which retry algorithm to use. Values are:
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
190
249
|
#
|
191
250
|
# @option options [String] :secret_access_key
|
192
251
|
#
|
@@ -209,16 +268,15 @@ module Aws::ElasticTranscoder
|
|
209
268
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
269
|
#
|
211
270
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
271
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
272
|
# `Timeout::Error`.
|
214
273
|
#
|
215
274
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
275
|
# number of seconds to wait for response data. This value can
|
217
|
-
# safely be set
|
218
|
-
# per-request on the session yeidled by {#session_for}.
|
276
|
+
# safely be set per-request on the session.
|
219
277
|
#
|
220
278
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
279
|
+
# seconds a connection is allowed to sit idle before it is
|
222
280
|
# considered stale. Stale connections are closed and removed
|
223
281
|
# from the pool before making a request.
|
224
282
|
#
|
@@ -227,7 +285,7 @@ module Aws::ElasticTranscoder
|
|
227
285
|
# request body. This option has no effect unless the request has
|
228
286
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
287
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
288
|
+
# request on the session.
|
231
289
|
#
|
232
290
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
291
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1409,6 +1467,8 @@ module Aws::ElasticTranscoder
|
|
1409
1467
|
# * {Types::ListJobsByPipelineResponse#jobs #jobs} => Array<Types::Job>
|
1410
1468
|
# * {Types::ListJobsByPipelineResponse#next_page_token #next_page_token} => String
|
1411
1469
|
#
|
1470
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1471
|
+
#
|
1412
1472
|
# @example Request syntax with placeholder values
|
1413
1473
|
#
|
1414
1474
|
# resp = client.list_jobs_by_pipeline({
|
@@ -1662,6 +1722,8 @@ module Aws::ElasticTranscoder
|
|
1662
1722
|
# * {Types::ListJobsByStatusResponse#jobs #jobs} => Array<Types::Job>
|
1663
1723
|
# * {Types::ListJobsByStatusResponse#next_page_token #next_page_token} => String
|
1664
1724
|
#
|
1725
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1726
|
+
#
|
1665
1727
|
# @example Request syntax with placeholder values
|
1666
1728
|
#
|
1667
1729
|
# resp = client.list_jobs_by_status({
|
@@ -1909,6 +1971,8 @@ module Aws::ElasticTranscoder
|
|
1909
1971
|
# * {Types::ListPipelinesResponse#pipelines #pipelines} => Array<Types::Pipeline>
|
1910
1972
|
# * {Types::ListPipelinesResponse#next_page_token #next_page_token} => String
|
1911
1973
|
#
|
1974
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1975
|
+
#
|
1912
1976
|
# @example Request syntax with placeholder values
|
1913
1977
|
#
|
1914
1978
|
# resp = client.list_pipelines({
|
@@ -1973,6 +2037,8 @@ module Aws::ElasticTranscoder
|
|
1973
2037
|
# * {Types::ListPresetsResponse#presets #presets} => Array<Types::Preset>
|
1974
2038
|
# * {Types::ListPresetsResponse#next_page_token #next_page_token} => String
|
1975
2039
|
#
|
2040
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2041
|
+
#
|
1976
2042
|
# @example Request syntax with placeholder values
|
1977
2043
|
#
|
1978
2044
|
# resp = client.list_presets({
|
@@ -2269,6 +2335,11 @@ module Aws::ElasticTranscoder
|
|
2269
2335
|
# resp.job.timing.start_time_millis #=> Integer
|
2270
2336
|
# resp.job.timing.finish_time_millis #=> Integer
|
2271
2337
|
#
|
2338
|
+
#
|
2339
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
2340
|
+
#
|
2341
|
+
# * job_complete
|
2342
|
+
#
|
2272
2343
|
# @overload read_job(params = {})
|
2273
2344
|
# @param [Hash] params ({})
|
2274
2345
|
def read_job(params = {}, options = {})
|
@@ -2905,7 +2976,7 @@ module Aws::ElasticTranscoder
|
|
2905
2976
|
params: params,
|
2906
2977
|
config: config)
|
2907
2978
|
context[:gem_name] = 'aws-sdk-elastictranscoder'
|
2908
|
-
context[:gem_version] = '1.
|
2979
|
+
context[:gem_version] = '1.23.0'
|
2909
2980
|
Seahorse::Client::Request.new(handlers, context)
|
2910
2981
|
end
|
2911
2982
|
|
@@ -2971,9 +3042,9 @@ module Aws::ElasticTranscoder
|
|
2971
3042
|
# The following table lists the valid waiter names, the operations they call,
|
2972
3043
|
# and the default `:delay` and `:max_attempts` values.
|
2973
3044
|
#
|
2974
|
-
# | waiter_name | params
|
2975
|
-
# | ------------ |
|
2976
|
-
# | job_complete | {#read_job} | 30 | 120 |
|
3045
|
+
# | waiter_name | params | :delay | :max_attempts |
|
3046
|
+
# | ------------ | ----------------- | -------- | ------------- |
|
3047
|
+
# | job_complete | {Client#read_job} | 30 | 120 |
|
2977
3048
|
#
|
2978
3049
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
2979
3050
|
# because the waiter has entered a state that it will not transition
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -185,6 +187,8 @@ module Aws::ElasticTranscoder
|
|
185
187
|
|
186
188
|
AccessControls.member = Shapes::ShapeRef.new(shape: AccessControl)
|
187
189
|
|
190
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
191
|
+
|
188
192
|
Artwork.add_member(:input_key, Shapes::ShapeRef.new(shape: WatermarkKey, location_name: "InputKey"))
|
189
193
|
Artwork.add_member(:max_width, Shapes::ShapeRef.new(shape: DigitsOrAuto, location_name: "MaxWidth"))
|
190
194
|
Artwork.add_member(:max_height, Shapes::ShapeRef.new(shape: DigitsOrAuto, location_name: "MaxHeight"))
|
@@ -340,10 +344,14 @@ module Aws::ElasticTranscoder
|
|
340
344
|
HlsContentProtection.add_member(:key_storage_policy, Shapes::ShapeRef.new(shape: KeyStoragePolicy, location_name: "KeyStoragePolicy"))
|
341
345
|
HlsContentProtection.struct_class = Types::HlsContentProtection
|
342
346
|
|
347
|
+
IncompatibleVersionException.struct_class = Types::IncompatibleVersionException
|
348
|
+
|
343
349
|
InputCaptions.add_member(:merge_policy, Shapes::ShapeRef.new(shape: CaptionMergePolicy, location_name: "MergePolicy"))
|
344
350
|
InputCaptions.add_member(:caption_sources, Shapes::ShapeRef.new(shape: CaptionSources, location_name: "CaptionSources"))
|
345
351
|
InputCaptions.struct_class = Types::InputCaptions
|
346
352
|
|
353
|
+
InternalServiceException.struct_class = Types::InternalServiceException
|
354
|
+
|
347
355
|
Job.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
|
348
356
|
Job.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
|
349
357
|
Job.add_member(:pipeline_id, Shapes::ShapeRef.new(shape: Id, location_name: "PipelineId"))
|
@@ -410,6 +418,8 @@ module Aws::ElasticTranscoder
|
|
410
418
|
|
411
419
|
Jobs.member = Shapes::ShapeRef.new(shape: Job)
|
412
420
|
|
421
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
422
|
+
|
413
423
|
ListJobsByPipelineRequest.add_member(:pipeline_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "PipelineId"))
|
414
424
|
ListJobsByPipelineRequest.add_member(:ascending, Shapes::ShapeRef.new(shape: Ascending, location: "querystring", location_name: "Ascending"))
|
415
425
|
ListJobsByPipelineRequest.add_member(:page_token, Shapes::ShapeRef.new(shape: Id, location: "querystring", location_name: "PageToken"))
|
@@ -544,6 +554,10 @@ module Aws::ElasticTranscoder
|
|
544
554
|
ReadPresetResponse.add_member(:preset, Shapes::ShapeRef.new(shape: Preset, location_name: "Preset"))
|
545
555
|
ReadPresetResponse.struct_class = Types::ReadPresetResponse
|
546
556
|
|
557
|
+
ResourceInUseException.struct_class = Types::ResourceInUseException
|
558
|
+
|
559
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
560
|
+
|
547
561
|
SnsTopics.member = Shapes::ShapeRef.new(shape: SnsTopic)
|
548
562
|
|
549
563
|
TestRoleRequest.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "Role"))
|
@@ -606,6 +620,8 @@ module Aws::ElasticTranscoder
|
|
606
620
|
UserMetadata.key = Shapes::ShapeRef.new(shape: String)
|
607
621
|
UserMetadata.value = Shapes::ShapeRef.new(shape: String)
|
608
622
|
|
623
|
+
ValidationException.struct_class = Types::ValidationException
|
624
|
+
|
609
625
|
VideoParameters.add_member(:codec, Shapes::ShapeRef.new(shape: VideoCodec, location_name: "Codec"))
|
610
626
|
VideoParameters.add_member(:codec_options, Shapes::ShapeRef.new(shape: CodecOptions, location_name: "CodecOptions"))
|
611
627
|
VideoParameters.add_member(:keyframes_max_dist, Shapes::ShapeRef.new(shape: KeyframesMaxDist, location_name: "KeyframesMaxDist"))
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,9 +8,108 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::ElasticTranscoder
|
11
|
+
|
12
|
+
# When ElasticTranscoder returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::ElasticTranscoder::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all ElasticTranscoder errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::ElasticTranscoder::Errors::ServiceError
|
20
|
+
# # rescues all ElasticTranscoder 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
|
+
# * {IncompatibleVersionException}
|
32
|
+
# * {InternalServiceException}
|
33
|
+
# * {LimitExceededException}
|
34
|
+
# * {ResourceInUseException}
|
35
|
+
# * {ResourceNotFoundException}
|
36
|
+
# * {ValidationException}
|
37
|
+
#
|
38
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
39
|
+
# if they are not defined above.
|
9
40
|
module Errors
|
10
41
|
|
11
42
|
extend Aws::Errors::DynamicErrors
|
12
43
|
|
44
|
+
class AccessDeniedException < ServiceError
|
45
|
+
|
46
|
+
# @param [Seahorse::Client::RequestContext] context
|
47
|
+
# @param [String] message
|
48
|
+
# @param [Aws::ElasticTranscoder::Types::AccessDeniedException] data
|
49
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
50
|
+
super(context, message, data)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
class IncompatibleVersionException < ServiceError
|
55
|
+
|
56
|
+
# @param [Seahorse::Client::RequestContext] context
|
57
|
+
# @param [String] message
|
58
|
+
# @param [Aws::ElasticTranscoder::Types::IncompatibleVersionException] data
|
59
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
60
|
+
super(context, message, data)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
class InternalServiceException < ServiceError
|
65
|
+
|
66
|
+
# @param [Seahorse::Client::RequestContext] context
|
67
|
+
# @param [String] message
|
68
|
+
# @param [Aws::ElasticTranscoder::Types::InternalServiceException] data
|
69
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
70
|
+
super(context, message, data)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
class LimitExceededException < ServiceError
|
75
|
+
|
76
|
+
# @param [Seahorse::Client::RequestContext] context
|
77
|
+
# @param [String] message
|
78
|
+
# @param [Aws::ElasticTranscoder::Types::LimitExceededException] data
|
79
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
80
|
+
super(context, message, data)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class ResourceInUseException < ServiceError
|
85
|
+
|
86
|
+
# @param [Seahorse::Client::RequestContext] context
|
87
|
+
# @param [String] message
|
88
|
+
# @param [Aws::ElasticTranscoder::Types::ResourceInUseException] data
|
89
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
90
|
+
super(context, message, data)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
class ResourceNotFoundException < ServiceError
|
95
|
+
|
96
|
+
# @param [Seahorse::Client::RequestContext] context
|
97
|
+
# @param [String] message
|
98
|
+
# @param [Aws::ElasticTranscoder::Types::ResourceNotFoundException] data
|
99
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
100
|
+
super(context, message, data)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
class ValidationException < ServiceError
|
105
|
+
|
106
|
+
# @param [Seahorse::Client::RequestContext] context
|
107
|
+
# @param [String] message
|
108
|
+
# @param [Aws::ElasticTranscoder::Types::ValidationException] data
|
109
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
110
|
+
super(context, message, data)
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
13
114
|
end
|
14
115
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::ElasticTranscoder
|
11
|
+
|
9
12
|
class Resource
|
10
13
|
|
11
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -8,6 +10,10 @@
|
|
8
10
|
module Aws::ElasticTranscoder
|
9
11
|
module Types
|
10
12
|
|
13
|
+
# General authentication failure. The request was not signed correctly.
|
14
|
+
#
|
15
|
+
class AccessDeniedException < Aws::EmptyStructure; end
|
16
|
+
|
11
17
|
# The file to be used as album art. There can be multiple artworks
|
12
18
|
# associated with an audio file, to a maximum of 20.
|
13
19
|
#
|
@@ -124,6 +130,7 @@ module Aws::ElasticTranscoder
|
|
124
130
|
:padding_policy,
|
125
131
|
:album_art_format,
|
126
132
|
:encryption)
|
133
|
+
SENSITIVE = []
|
127
134
|
include Aws::Structure
|
128
135
|
end
|
129
136
|
|
@@ -205,6 +212,7 @@ module Aws::ElasticTranscoder
|
|
205
212
|
:bit_depth,
|
206
213
|
:bit_order,
|
207
214
|
:signed)
|
215
|
+
SENSITIVE = []
|
208
216
|
include Aws::Structure
|
209
217
|
end
|
210
218
|
|
@@ -410,6 +418,7 @@ module Aws::ElasticTranscoder
|
|
410
418
|
:channels,
|
411
419
|
:audio_packing_mode,
|
412
420
|
:codec_options)
|
421
|
+
SENSITIVE = []
|
413
422
|
include Aws::Structure
|
414
423
|
end
|
415
424
|
|
@@ -431,6 +440,7 @@ module Aws::ElasticTranscoder
|
|
431
440
|
#
|
432
441
|
class CancelJobRequest < Struct.new(
|
433
442
|
:id)
|
443
|
+
SENSITIVE = []
|
434
444
|
include Aws::Structure
|
435
445
|
end
|
436
446
|
|
@@ -517,6 +527,7 @@ module Aws::ElasticTranscoder
|
|
517
527
|
:format,
|
518
528
|
:pattern,
|
519
529
|
:encryption)
|
530
|
+
SENSITIVE = []
|
520
531
|
include Aws::Structure
|
521
532
|
end
|
522
533
|
|
@@ -585,6 +596,7 @@ module Aws::ElasticTranscoder
|
|
585
596
|
:time_offset,
|
586
597
|
:label,
|
587
598
|
:encryption)
|
599
|
+
SENSITIVE = []
|
588
600
|
include Aws::Structure
|
589
601
|
end
|
590
602
|
|
@@ -662,6 +674,7 @@ module Aws::ElasticTranscoder
|
|
662
674
|
:merge_policy,
|
663
675
|
:caption_sources,
|
664
676
|
:caption_formats)
|
677
|
+
SENSITIVE = []
|
665
678
|
include Aws::Structure
|
666
679
|
end
|
667
680
|
|
@@ -684,6 +697,7 @@ module Aws::ElasticTranscoder
|
|
684
697
|
#
|
685
698
|
class Clip < Struct.new(
|
686
699
|
:time_span)
|
700
|
+
SENSITIVE = []
|
687
701
|
include Aws::Structure
|
688
702
|
end
|
689
703
|
|
@@ -964,6 +978,7 @@ module Aws::ElasticTranscoder
|
|
964
978
|
:composition,
|
965
979
|
:captions,
|
966
980
|
:encryption)
|
981
|
+
SENSITIVE = []
|
967
982
|
include Aws::Structure
|
968
983
|
end
|
969
984
|
|
@@ -1074,6 +1089,7 @@ module Aws::ElasticTranscoder
|
|
1074
1089
|
:output_keys,
|
1075
1090
|
:hls_content_protection,
|
1076
1091
|
:play_ready_drm)
|
1092
|
+
SENSITIVE = []
|
1077
1093
|
include Aws::Structure
|
1078
1094
|
end
|
1079
1095
|
|
@@ -1437,6 +1453,7 @@ module Aws::ElasticTranscoder
|
|
1437
1453
|
:output_key_prefix,
|
1438
1454
|
:playlists,
|
1439
1455
|
:user_metadata)
|
1456
|
+
SENSITIVE = []
|
1440
1457
|
include Aws::Structure
|
1441
1458
|
end
|
1442
1459
|
|
@@ -1449,6 +1466,7 @@ module Aws::ElasticTranscoder
|
|
1449
1466
|
#
|
1450
1467
|
class CreateJobResponse < Struct.new(
|
1451
1468
|
:job)
|
1469
|
+
SENSITIVE = []
|
1452
1470
|
include Aws::Structure
|
1453
1471
|
end
|
1454
1472
|
|
@@ -1733,6 +1751,7 @@ module Aws::ElasticTranscoder
|
|
1733
1751
|
:notifications,
|
1734
1752
|
:content_config,
|
1735
1753
|
:thumbnail_config)
|
1754
|
+
SENSITIVE = []
|
1736
1755
|
include Aws::Structure
|
1737
1756
|
end
|
1738
1757
|
|
@@ -1756,6 +1775,7 @@ module Aws::ElasticTranscoder
|
|
1756
1775
|
class CreatePipelineResponse < Struct.new(
|
1757
1776
|
:pipeline,
|
1758
1777
|
:warnings)
|
1778
|
+
SENSITIVE = []
|
1759
1779
|
include Aws::Structure
|
1760
1780
|
end
|
1761
1781
|
|
@@ -1860,6 +1880,7 @@ module Aws::ElasticTranscoder
|
|
1860
1880
|
:video,
|
1861
1881
|
:audio,
|
1862
1882
|
:thumbnails)
|
1883
|
+
SENSITIVE = []
|
1863
1884
|
include Aws::Structure
|
1864
1885
|
end
|
1865
1886
|
|
@@ -1881,6 +1902,7 @@ module Aws::ElasticTranscoder
|
|
1881
1902
|
class CreatePresetResponse < Struct.new(
|
1882
1903
|
:preset,
|
1883
1904
|
:warning)
|
1905
|
+
SENSITIVE = []
|
1884
1906
|
include Aws::Structure
|
1885
1907
|
end
|
1886
1908
|
|
@@ -1899,6 +1921,7 @@ module Aws::ElasticTranscoder
|
|
1899
1921
|
#
|
1900
1922
|
class DeletePipelineRequest < Struct.new(
|
1901
1923
|
:id)
|
1924
|
+
SENSITIVE = []
|
1902
1925
|
include Aws::Structure
|
1903
1926
|
end
|
1904
1927
|
|
@@ -1922,6 +1945,7 @@ module Aws::ElasticTranscoder
|
|
1922
1945
|
#
|
1923
1946
|
class DeletePresetRequest < Struct.new(
|
1924
1947
|
:id)
|
1948
|
+
SENSITIVE = []
|
1925
1949
|
include Aws::Structure
|
1926
1950
|
end
|
1927
1951
|
|
@@ -1969,6 +1993,7 @@ module Aws::ElasticTranscoder
|
|
1969
1993
|
:frame_rate,
|
1970
1994
|
:file_size,
|
1971
1995
|
:duration_millis)
|
1996
|
+
SENSITIVE = []
|
1972
1997
|
include Aws::Structure
|
1973
1998
|
end
|
1974
1999
|
|
@@ -2062,6 +2087,7 @@ module Aws::ElasticTranscoder
|
|
2062
2087
|
:key,
|
2063
2088
|
:key_md_5,
|
2064
2089
|
:initialization_vector)
|
2090
|
+
SENSITIVE = []
|
2065
2091
|
include Aws::Structure
|
2066
2092
|
end
|
2067
2093
|
|
@@ -2142,9 +2168,12 @@ module Aws::ElasticTranscoder
|
|
2142
2168
|
:initialization_vector,
|
2143
2169
|
:license_acquisition_url,
|
2144
2170
|
:key_storage_policy)
|
2171
|
+
SENSITIVE = []
|
2145
2172
|
include Aws::Structure
|
2146
2173
|
end
|
2147
2174
|
|
2175
|
+
class IncompatibleVersionException < Aws::EmptyStructure; end
|
2176
|
+
|
2148
2177
|
# The captions to be created, if any.
|
2149
2178
|
#
|
2150
2179
|
# @note When making an API call, you may pass InputCaptions
|
@@ -2201,9 +2230,15 @@ module Aws::ElasticTranscoder
|
|
2201
2230
|
class InputCaptions < Struct.new(
|
2202
2231
|
:merge_policy,
|
2203
2232
|
:caption_sources)
|
2233
|
+
SENSITIVE = []
|
2204
2234
|
include Aws::Structure
|
2205
2235
|
end
|
2206
2236
|
|
2237
|
+
# Elastic Transcoder encountered an unexpected exception while trying to
|
2238
|
+
# fulfill the request.
|
2239
|
+
#
|
2240
|
+
class InternalServiceException < Aws::EmptyStructure; end
|
2241
|
+
|
2207
2242
|
# A section of the response body that provides information about the job
|
2208
2243
|
# that is created.
|
2209
2244
|
#
|
@@ -2319,6 +2354,7 @@ module Aws::ElasticTranscoder
|
|
2319
2354
|
:status,
|
2320
2355
|
:user_metadata,
|
2321
2356
|
:timing)
|
2357
|
+
SENSITIVE = []
|
2322
2358
|
include Aws::Structure
|
2323
2359
|
end
|
2324
2360
|
|
@@ -2375,6 +2411,7 @@ module Aws::ElasticTranscoder
|
|
2375
2411
|
class JobAlbumArt < Struct.new(
|
2376
2412
|
:merge_policy,
|
2377
2413
|
:artwork)
|
2414
|
+
SENSITIVE = []
|
2378
2415
|
include Aws::Structure
|
2379
2416
|
end
|
2380
2417
|
|
@@ -2569,6 +2606,7 @@ module Aws::ElasticTranscoder
|
|
2569
2606
|
:time_span,
|
2570
2607
|
:input_captions,
|
2571
2608
|
:detected_properties)
|
2609
|
+
SENSITIVE = []
|
2572
2610
|
include Aws::Structure
|
2573
2611
|
end
|
2574
2612
|
|
@@ -2855,6 +2893,7 @@ module Aws::ElasticTranscoder
|
|
2855
2893
|
:captions,
|
2856
2894
|
:encryption,
|
2857
2895
|
:applied_color_space_conversion)
|
2896
|
+
SENSITIVE = []
|
2858
2897
|
include Aws::Structure
|
2859
2898
|
end
|
2860
2899
|
|
@@ -2905,9 +2944,15 @@ module Aws::ElasticTranscoder
|
|
2905
2944
|
:preset_watermark_id,
|
2906
2945
|
:input_key,
|
2907
2946
|
:encryption)
|
2947
|
+
SENSITIVE = []
|
2908
2948
|
include Aws::Structure
|
2909
2949
|
end
|
2910
2950
|
|
2951
|
+
# Too many operations for a given AWS account. For example, the number
|
2952
|
+
# of pipelines exceeds the maximum allowed.
|
2953
|
+
#
|
2954
|
+
class LimitExceededException < Aws::EmptyStructure; end
|
2955
|
+
|
2911
2956
|
# The `ListJobsByPipelineRequest` structure.
|
2912
2957
|
#
|
2913
2958
|
# @note When making an API call, you may pass ListJobsByPipelineRequest
|
@@ -2939,6 +2984,7 @@ module Aws::ElasticTranscoder
|
|
2939
2984
|
:pipeline_id,
|
2940
2985
|
:ascending,
|
2941
2986
|
:page_token)
|
2987
|
+
SENSITIVE = []
|
2942
2988
|
include Aws::Structure
|
2943
2989
|
end
|
2944
2990
|
|
@@ -2958,6 +3004,7 @@ module Aws::ElasticTranscoder
|
|
2958
3004
|
class ListJobsByPipelineResponse < Struct.new(
|
2959
3005
|
:jobs,
|
2960
3006
|
:next_page_token)
|
3007
|
+
SENSITIVE = []
|
2961
3008
|
include Aws::Structure
|
2962
3009
|
end
|
2963
3010
|
|
@@ -2994,6 +3041,7 @@ module Aws::ElasticTranscoder
|
|
2994
3041
|
:status,
|
2995
3042
|
:ascending,
|
2996
3043
|
:page_token)
|
3044
|
+
SENSITIVE = []
|
2997
3045
|
include Aws::Structure
|
2998
3046
|
end
|
2999
3047
|
|
@@ -3013,6 +3061,7 @@ module Aws::ElasticTranscoder
|
|
3013
3061
|
class ListJobsByStatusResponse < Struct.new(
|
3014
3062
|
:jobs,
|
3015
3063
|
:next_page_token)
|
3064
|
+
SENSITIVE = []
|
3016
3065
|
include Aws::Structure
|
3017
3066
|
end
|
3018
3067
|
|
@@ -3041,6 +3090,7 @@ module Aws::ElasticTranscoder
|
|
3041
3090
|
class ListPipelinesRequest < Struct.new(
|
3042
3091
|
:ascending,
|
3043
3092
|
:page_token)
|
3093
|
+
SENSITIVE = []
|
3044
3094
|
include Aws::Structure
|
3045
3095
|
end
|
3046
3096
|
|
@@ -3060,6 +3110,7 @@ module Aws::ElasticTranscoder
|
|
3060
3110
|
class ListPipelinesResponse < Struct.new(
|
3061
3111
|
:pipelines,
|
3062
3112
|
:next_page_token)
|
3113
|
+
SENSITIVE = []
|
3063
3114
|
include Aws::Structure
|
3064
3115
|
end
|
3065
3116
|
|
@@ -3088,6 +3139,7 @@ module Aws::ElasticTranscoder
|
|
3088
3139
|
class ListPresetsRequest < Struct.new(
|
3089
3140
|
:ascending,
|
3090
3141
|
:page_token)
|
3142
|
+
SENSITIVE = []
|
3091
3143
|
include Aws::Structure
|
3092
3144
|
end
|
3093
3145
|
|
@@ -3107,6 +3159,7 @@ module Aws::ElasticTranscoder
|
|
3107
3159
|
class ListPresetsResponse < Struct.new(
|
3108
3160
|
:presets,
|
3109
3161
|
:next_page_token)
|
3162
|
+
SENSITIVE = []
|
3110
3163
|
include Aws::Structure
|
3111
3164
|
end
|
3112
3165
|
|
@@ -3152,6 +3205,7 @@ module Aws::ElasticTranscoder
|
|
3152
3205
|
:completed,
|
3153
3206
|
:warning,
|
3154
3207
|
:error)
|
3208
|
+
SENSITIVE = []
|
3155
3209
|
include Aws::Structure
|
3156
3210
|
end
|
3157
3211
|
|
@@ -3210,6 +3264,7 @@ module Aws::ElasticTranscoder
|
|
3210
3264
|
:grantee_type,
|
3211
3265
|
:grantee,
|
3212
3266
|
:access)
|
3267
|
+
SENSITIVE = []
|
3213
3268
|
include Aws::Structure
|
3214
3269
|
end
|
3215
3270
|
|
@@ -3405,6 +3460,7 @@ module Aws::ElasticTranscoder
|
|
3405
3460
|
:notifications,
|
3406
3461
|
:content_config,
|
3407
3462
|
:thumbnail_config)
|
3463
|
+
SENSITIVE = []
|
3408
3464
|
include Aws::Structure
|
3409
3465
|
end
|
3410
3466
|
|
@@ -3478,6 +3534,7 @@ module Aws::ElasticTranscoder
|
|
3478
3534
|
:bucket,
|
3479
3535
|
:storage_class,
|
3480
3536
|
:permissions)
|
3537
|
+
SENSITIVE = []
|
3481
3538
|
include Aws::Structure
|
3482
3539
|
end
|
3483
3540
|
|
@@ -3559,6 +3616,7 @@ module Aws::ElasticTranscoder
|
|
3559
3616
|
:key_id,
|
3560
3617
|
:initialization_vector,
|
3561
3618
|
:license_acquisition_url)
|
3619
|
+
SENSITIVE = []
|
3562
3620
|
include Aws::Structure
|
3563
3621
|
end
|
3564
3622
|
|
@@ -3659,6 +3717,7 @@ module Aws::ElasticTranscoder
|
|
3659
3717
|
:play_ready_drm,
|
3660
3718
|
:status,
|
3661
3719
|
:status_detail)
|
3720
|
+
SENSITIVE = []
|
3662
3721
|
include Aws::Structure
|
3663
3722
|
end
|
3664
3723
|
|
@@ -3722,6 +3781,7 @@ module Aws::ElasticTranscoder
|
|
3722
3781
|
:video,
|
3723
3782
|
:thumbnails,
|
3724
3783
|
:type)
|
3784
|
+
SENSITIVE = []
|
3725
3785
|
include Aws::Structure
|
3726
3786
|
end
|
3727
3787
|
|
@@ -3940,6 +4000,7 @@ module Aws::ElasticTranscoder
|
|
3940
4000
|
:vertical_offset,
|
3941
4001
|
:opacity,
|
3942
4002
|
:target)
|
4003
|
+
SENSITIVE = []
|
3943
4004
|
include Aws::Structure
|
3944
4005
|
end
|
3945
4006
|
|
@@ -3959,6 +4020,7 @@ module Aws::ElasticTranscoder
|
|
3959
4020
|
#
|
3960
4021
|
class ReadJobRequest < Struct.new(
|
3961
4022
|
:id)
|
4023
|
+
SENSITIVE = []
|
3962
4024
|
include Aws::Structure
|
3963
4025
|
end
|
3964
4026
|
|
@@ -3971,6 +4033,7 @@ module Aws::ElasticTranscoder
|
|
3971
4033
|
#
|
3972
4034
|
class ReadJobResponse < Struct.new(
|
3973
4035
|
:job)
|
4036
|
+
SENSITIVE = []
|
3974
4037
|
include Aws::Structure
|
3975
4038
|
end
|
3976
4039
|
|
@@ -3989,6 +4052,7 @@ module Aws::ElasticTranscoder
|
|
3989
4052
|
#
|
3990
4053
|
class ReadPipelineRequest < Struct.new(
|
3991
4054
|
:id)
|
4055
|
+
SENSITIVE = []
|
3992
4056
|
include Aws::Structure
|
3993
4057
|
end
|
3994
4058
|
|
@@ -4011,6 +4075,7 @@ module Aws::ElasticTranscoder
|
|
4011
4075
|
class ReadPipelineResponse < Struct.new(
|
4012
4076
|
:pipeline,
|
4013
4077
|
:warnings)
|
4078
|
+
SENSITIVE = []
|
4014
4079
|
include Aws::Structure
|
4015
4080
|
end
|
4016
4081
|
|
@@ -4030,6 +4095,7 @@ module Aws::ElasticTranscoder
|
|
4030
4095
|
#
|
4031
4096
|
class ReadPresetRequest < Struct.new(
|
4032
4097
|
:id)
|
4098
|
+
SENSITIVE = []
|
4033
4099
|
include Aws::Structure
|
4034
4100
|
end
|
4035
4101
|
|
@@ -4042,9 +4108,21 @@ module Aws::ElasticTranscoder
|
|
4042
4108
|
#
|
4043
4109
|
class ReadPresetResponse < Struct.new(
|
4044
4110
|
:preset)
|
4111
|
+
SENSITIVE = []
|
4045
4112
|
include Aws::Structure
|
4046
4113
|
end
|
4047
4114
|
|
4115
|
+
# The resource you are attempting to change is in use. For example, you
|
4116
|
+
# are attempting to delete a pipeline that is currently in use.
|
4117
|
+
#
|
4118
|
+
class ResourceInUseException < Aws::EmptyStructure; end
|
4119
|
+
|
4120
|
+
# The requested resource does not exist or is not available. For
|
4121
|
+
# example, the pipeline to which you're trying to add a job doesn't
|
4122
|
+
# exist or is still being created.
|
4123
|
+
#
|
4124
|
+
class ResourceNotFoundException < Aws::EmptyStructure; end
|
4125
|
+
|
4048
4126
|
# The `TestRoleRequest` structure.
|
4049
4127
|
#
|
4050
4128
|
# @note When making an API call, you may pass TestRoleRequest
|
@@ -4082,6 +4160,7 @@ module Aws::ElasticTranscoder
|
|
4082
4160
|
:input_bucket,
|
4083
4161
|
:output_bucket,
|
4084
4162
|
:topics)
|
4163
|
+
SENSITIVE = []
|
4085
4164
|
include Aws::Structure
|
4086
4165
|
end
|
4087
4166
|
|
@@ -4101,6 +4180,7 @@ module Aws::ElasticTranscoder
|
|
4101
4180
|
class TestRoleResponse < Struct.new(
|
4102
4181
|
:success,
|
4103
4182
|
:messages)
|
4183
|
+
SENSITIVE = []
|
4104
4184
|
include Aws::Structure
|
4105
4185
|
end
|
4106
4186
|
|
@@ -4226,6 +4306,7 @@ module Aws::ElasticTranscoder
|
|
4226
4306
|
:max_height,
|
4227
4307
|
:sizing_policy,
|
4228
4308
|
:padding_policy)
|
4309
|
+
SENSITIVE = []
|
4229
4310
|
include Aws::Structure
|
4230
4311
|
end
|
4231
4312
|
|
@@ -4262,6 +4343,7 @@ module Aws::ElasticTranscoder
|
|
4262
4343
|
class TimeSpan < Struct.new(
|
4263
4344
|
:start_time,
|
4264
4345
|
:duration)
|
4346
|
+
SENSITIVE = []
|
4265
4347
|
include Aws::Structure
|
4266
4348
|
end
|
4267
4349
|
|
@@ -4284,6 +4366,7 @@ module Aws::ElasticTranscoder
|
|
4284
4366
|
:submit_time_millis,
|
4285
4367
|
:start_time_millis,
|
4286
4368
|
:finish_time_millis)
|
4369
|
+
SENSITIVE = []
|
4287
4370
|
include Aws::Structure
|
4288
4371
|
end
|
4289
4372
|
|
@@ -4339,6 +4422,7 @@ module Aws::ElasticTranscoder
|
|
4339
4422
|
class UpdatePipelineNotificationsRequest < Struct.new(
|
4340
4423
|
:id,
|
4341
4424
|
:notifications)
|
4425
|
+
SENSITIVE = []
|
4342
4426
|
include Aws::Structure
|
4343
4427
|
end
|
4344
4428
|
|
@@ -4351,6 +4435,7 @@ module Aws::ElasticTranscoder
|
|
4351
4435
|
#
|
4352
4436
|
class UpdatePipelineNotificationsResponse < Struct.new(
|
4353
4437
|
:pipeline)
|
4438
|
+
SENSITIVE = []
|
4354
4439
|
include Aws::Structure
|
4355
4440
|
end
|
4356
4441
|
|
@@ -4609,6 +4694,7 @@ module Aws::ElasticTranscoder
|
|
4609
4694
|
:notifications,
|
4610
4695
|
:content_config,
|
4611
4696
|
:thumbnail_config)
|
4697
|
+
SENSITIVE = []
|
4612
4698
|
include Aws::Structure
|
4613
4699
|
end
|
4614
4700
|
|
@@ -4631,6 +4717,7 @@ module Aws::ElasticTranscoder
|
|
4631
4717
|
class UpdatePipelineResponse < Struct.new(
|
4632
4718
|
:pipeline,
|
4633
4719
|
:warnings)
|
4720
|
+
SENSITIVE = []
|
4634
4721
|
include Aws::Structure
|
4635
4722
|
end
|
4636
4723
|
|
@@ -4659,6 +4746,7 @@ module Aws::ElasticTranscoder
|
|
4659
4746
|
class UpdatePipelineStatusRequest < Struct.new(
|
4660
4747
|
:id,
|
4661
4748
|
:status)
|
4749
|
+
SENSITIVE = []
|
4662
4750
|
include Aws::Structure
|
4663
4751
|
end
|
4664
4752
|
|
@@ -4672,9 +4760,15 @@ module Aws::ElasticTranscoder
|
|
4672
4760
|
#
|
4673
4761
|
class UpdatePipelineStatusResponse < Struct.new(
|
4674
4762
|
:pipeline)
|
4763
|
+
SENSITIVE = []
|
4675
4764
|
include Aws::Structure
|
4676
4765
|
end
|
4677
4766
|
|
4767
|
+
# One or more required parameter values were not provided in the
|
4768
|
+
# request.
|
4769
|
+
#
|
4770
|
+
class ValidationException < Aws::EmptyStructure; end
|
4771
|
+
|
4678
4772
|
# The `VideoParameters` structure.
|
4679
4773
|
#
|
4680
4774
|
# @note When making an API call, you may pass VideoParameters
|
@@ -5201,6 +5295,7 @@ module Aws::ElasticTranscoder
|
|
5201
5295
|
:sizing_policy,
|
5202
5296
|
:padding_policy,
|
5203
5297
|
:watermarks)
|
5298
|
+
SENSITIVE = []
|
5204
5299
|
include Aws::Structure
|
5205
5300
|
end
|
5206
5301
|
|
@@ -5227,6 +5322,7 @@ module Aws::ElasticTranscoder
|
|
5227
5322
|
class Warning < Struct.new(
|
5228
5323
|
:code,
|
5229
5324
|
:message)
|
5325
|
+
SENSITIVE = []
|
5230
5326
|
include Aws::Structure
|
5231
5327
|
end
|
5232
5328
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -8,6 +10,67 @@
|
|
8
10
|
require 'aws-sdk-core/waiters'
|
9
11
|
|
10
12
|
module Aws::ElasticTranscoder
|
13
|
+
# Waiters are utility methods that poll for a particular state to occur
|
14
|
+
# on a client. Waiters can fail after a number of attempts at a polling
|
15
|
+
# interval defined for the service client.
|
16
|
+
#
|
17
|
+
# For a list of operations that can be waited for and the
|
18
|
+
# client methods called for each operation, see the table below or the
|
19
|
+
# {Client#wait_until} field documentation for the {Client}.
|
20
|
+
#
|
21
|
+
# # Invoking a Waiter
|
22
|
+
# To invoke a waiter, call #wait_until on a {Client}. The first parameter
|
23
|
+
# is the waiter name, which is specific to the service client and indicates
|
24
|
+
# which operation is being waited for. The second parameter is a hash of
|
25
|
+
# parameters that are passed to the client method called by the waiter,
|
26
|
+
# which varies according to the waiter name.
|
27
|
+
#
|
28
|
+
# # Wait Failures
|
29
|
+
# To catch errors in a waiter, use WaiterFailed,
|
30
|
+
# as shown in the following example.
|
31
|
+
#
|
32
|
+
# rescue rescue Aws::Waiters::Errors::WaiterFailed => error
|
33
|
+
# puts "failed waiting for instance running: #{error.message}
|
34
|
+
# end
|
35
|
+
#
|
36
|
+
# # Configuring a Waiter
|
37
|
+
# Each waiter has a default polling interval and a maximum number of
|
38
|
+
# attempts it will make before returning control to your program.
|
39
|
+
# To set these values, use the `max_attempts` and `delay` parameters
|
40
|
+
# in your `#wait_until` call.
|
41
|
+
# The following example waits for up to 25 seconds, polling every five seconds.
|
42
|
+
#
|
43
|
+
# client.wait_until(...) do |w|
|
44
|
+
# w.max_attempts = 5
|
45
|
+
# w.delay = 5
|
46
|
+
# end
|
47
|
+
#
|
48
|
+
# To disable wait failures, set the value of either of these parameters
|
49
|
+
# to `nil`.
|
50
|
+
#
|
51
|
+
# # Extending a Waiter
|
52
|
+
# To modify the behavior of waiters, you can register callbacks that are
|
53
|
+
# triggered before each polling attempt and before waiting.
|
54
|
+
#
|
55
|
+
# The following example implements an exponential backoff in a waiter
|
56
|
+
# by doubling the amount of time to wait on every attempt.
|
57
|
+
#
|
58
|
+
# client.wait_until(...) do |w|
|
59
|
+
# w.interval = 0 # disable normal sleep
|
60
|
+
# w.before_wait do |n, resp|
|
61
|
+
# sleep(n ** 2)
|
62
|
+
# end
|
63
|
+
# end
|
64
|
+
#
|
65
|
+
# # Available Waiters
|
66
|
+
#
|
67
|
+
# The following table lists the valid waiter names, the operations they call,
|
68
|
+
# and the default `:delay` and `:max_attempts` values.
|
69
|
+
#
|
70
|
+
# | waiter_name | params | :delay | :max_attempts |
|
71
|
+
# | ------------ | ----------------- | -------- | ------------- |
|
72
|
+
# | job_complete | {Client#read_job} | 30 | 120 |
|
73
|
+
#
|
11
74
|
module Waiters
|
12
75
|
|
13
76
|
class JobComplete
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-elastictranscoder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.23.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: 2020-06-23 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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.7.6.2
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: AWS SDK for Ruby - Amazon Elastic Transcoder
|