aws-sdk-elastictranscoder 1.19.0 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 16d297ea7614b7d70a39669c4dd9a13006940291af9718276f10f14cda8514f7
|
4
|
+
data.tar.gz: 5e37493416ec3269ad5a235f48616c5a81b5185c42830b40ea6a59d926c83c9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f5b73d622e8296785cc5668b3473d43a2d2e3fbbc5fef09c2e45ed54212c62389066ac480929cc97a5467a7a8c8afe7b615aaa7ca7a3ab131248e2ed5e094f5
|
7
|
+
data.tar.gz: bb126494554aca83f823711cd02b7f25dd63fd6555f6f30a2be1de98e570de6235795d403d57b7bfc6c203eb9e9684e191a3f35e66a8458d2b4bc8f206d4a36f
|
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:elastictranscoder)
|
|
32
32
|
module Aws::ElasticTranscoder
|
33
33
|
# An API client for ElasticTranscoder. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::ElasticTranscoder::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -105,7 +105,7 @@ module Aws::ElasticTranscoder
|
|
105
105
|
# @option options [required, String] :region
|
106
106
|
# The AWS region to connect to. The configured `:region` is
|
107
107
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
109
109
|
#
|
110
110
|
# * `Aws.config[:region]`
|
111
111
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +161,7 @@ module Aws::ElasticTranscoder
|
|
161
161
|
# @option options [String] :endpoint
|
162
162
|
# The client endpoint is normally constructed from the `:region`
|
163
163
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
165
165
|
#
|
166
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -229,15 +229,19 @@ module Aws::ElasticTranscoder
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -265,8 +269,7 @@ module Aws::ElasticTranscoder
|
|
265
269
|
#
|
266
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
271
|
# number of seconds to wait for response data. This value can
|
268
|
-
# safely be set
|
269
|
-
# per-request on the session yielded by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
270
273
|
#
|
271
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
275
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +281,7 @@ module Aws::ElasticTranscoder
|
|
278
281
|
# request body. This option has no effect unless the request has
|
279
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
283
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
284
|
+
# request on the session.
|
282
285
|
#
|
283
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1460,6 +1463,8 @@ module Aws::ElasticTranscoder
|
|
1460
1463
|
# * {Types::ListJobsByPipelineResponse#jobs #jobs} => Array<Types::Job>
|
1461
1464
|
# * {Types::ListJobsByPipelineResponse#next_page_token #next_page_token} => String
|
1462
1465
|
#
|
1466
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1467
|
+
#
|
1463
1468
|
# @example Request syntax with placeholder values
|
1464
1469
|
#
|
1465
1470
|
# resp = client.list_jobs_by_pipeline({
|
@@ -1713,6 +1718,8 @@ module Aws::ElasticTranscoder
|
|
1713
1718
|
# * {Types::ListJobsByStatusResponse#jobs #jobs} => Array<Types::Job>
|
1714
1719
|
# * {Types::ListJobsByStatusResponse#next_page_token #next_page_token} => String
|
1715
1720
|
#
|
1721
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1722
|
+
#
|
1716
1723
|
# @example Request syntax with placeholder values
|
1717
1724
|
#
|
1718
1725
|
# resp = client.list_jobs_by_status({
|
@@ -1960,6 +1967,8 @@ module Aws::ElasticTranscoder
|
|
1960
1967
|
# * {Types::ListPipelinesResponse#pipelines #pipelines} => Array<Types::Pipeline>
|
1961
1968
|
# * {Types::ListPipelinesResponse#next_page_token #next_page_token} => String
|
1962
1969
|
#
|
1970
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1971
|
+
#
|
1963
1972
|
# @example Request syntax with placeholder values
|
1964
1973
|
#
|
1965
1974
|
# resp = client.list_pipelines({
|
@@ -2024,6 +2033,8 @@ module Aws::ElasticTranscoder
|
|
2024
2033
|
# * {Types::ListPresetsResponse#presets #presets} => Array<Types::Preset>
|
2025
2034
|
# * {Types::ListPresetsResponse#next_page_token #next_page_token} => String
|
2026
2035
|
#
|
2036
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2037
|
+
#
|
2027
2038
|
# @example Request syntax with placeholder values
|
2028
2039
|
#
|
2029
2040
|
# resp = client.list_presets({
|
@@ -2320,6 +2331,11 @@ module Aws::ElasticTranscoder
|
|
2320
2331
|
# resp.job.timing.start_time_millis #=> Integer
|
2321
2332
|
# resp.job.timing.finish_time_millis #=> Integer
|
2322
2333
|
#
|
2334
|
+
#
|
2335
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
2336
|
+
#
|
2337
|
+
# * job_complete
|
2338
|
+
#
|
2323
2339
|
# @overload read_job(params = {})
|
2324
2340
|
# @param [Hash] params ({})
|
2325
2341
|
def read_job(params = {}, options = {})
|
@@ -2956,7 +2972,7 @@ module Aws::ElasticTranscoder
|
|
2956
2972
|
params: params,
|
2957
2973
|
config: config)
|
2958
2974
|
context[:gem_name] = 'aws-sdk-elastictranscoder'
|
2959
|
-
context[:gem_version] = '1.
|
2975
|
+
context[:gem_version] = '1.20.0'
|
2960
2976
|
Seahorse::Client::Request.new(handlers, context)
|
2961
2977
|
end
|
2962
2978
|
|
@@ -3022,9 +3038,9 @@ module Aws::ElasticTranscoder
|
|
3022
3038
|
# The following table lists the valid waiter names, the operations they call,
|
3023
3039
|
# and the default `:delay` and `:max_attempts` values.
|
3024
3040
|
#
|
3025
|
-
# | waiter_name | params
|
3026
|
-
# | ------------ |
|
3027
|
-
# | job_complete | {#read_job} | 30 | 120 |
|
3041
|
+
# | waiter_name | params | :delay | :max_attempts |
|
3042
|
+
# | ------------ | ----------------- | -------- | ------------- |
|
3043
|
+
# | job_complete | {Client#read_job} | 30 | 120 |
|
3028
3044
|
#
|
3029
3045
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
3030
3046
|
# because the waiter has entered a state that it will not transition
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::ElasticTranscoder
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::ElasticTranscoder::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::ElasticTranscoder::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::ElasticTranscoder::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -8,6 +8,67 @@
|
|
8
8
|
require 'aws-sdk-core/waiters'
|
9
9
|
|
10
10
|
module Aws::ElasticTranscoder
|
11
|
+
# Waiters are utility methods that poll for a particular state to occur
|
12
|
+
# on a client. Waiters can fail after a number of attempts at a polling
|
13
|
+
# interval defined for the service client.
|
14
|
+
#
|
15
|
+
# For a list of operations that can be waited for and the
|
16
|
+
# client methods called for each operation, see the table below or the
|
17
|
+
# {Client#wait_until} field documentation for the {Client}.
|
18
|
+
#
|
19
|
+
# # Invoking a Waiter
|
20
|
+
# To invoke a waiter, call #wait_until on a {Client}. The first parameter
|
21
|
+
# is the waiter name, which is specific to the service client and indicates
|
22
|
+
# which operation is being waited for. The second parameter is a hash of
|
23
|
+
# parameters that are passed to the client method called by the waiter,
|
24
|
+
# which varies according to the waiter name.
|
25
|
+
#
|
26
|
+
# # Wait Failures
|
27
|
+
# To catch errors in a waiter, use WaiterFailed,
|
28
|
+
# as shown in the following example.
|
29
|
+
#
|
30
|
+
# rescue rescue Aws::Waiters::Errors::WaiterFailed => error
|
31
|
+
# puts "failed waiting for instance running: #{error.message}
|
32
|
+
# end
|
33
|
+
#
|
34
|
+
# # Configuring a Waiter
|
35
|
+
# Each waiter has a default polling interval and a maximum number of
|
36
|
+
# attempts it will make before returning control to your program.
|
37
|
+
# To set these values, use the `max_attempts` and `delay` parameters
|
38
|
+
# in your `#wait_until` call.
|
39
|
+
# The following example waits for up to 25 seconds, polling every five seconds.
|
40
|
+
#
|
41
|
+
# client.wait_until(...) do |w|
|
42
|
+
# w.max_attempts = 5
|
43
|
+
# w.delay = 5
|
44
|
+
# end
|
45
|
+
#
|
46
|
+
# To disable wait failures, set the value of either of these parameters
|
47
|
+
# to `nil`.
|
48
|
+
#
|
49
|
+
# # Extending a Waiter
|
50
|
+
# To modify the behavior of waiters, you can register callbacks that are
|
51
|
+
# triggered before each polling attempt and before waiting.
|
52
|
+
#
|
53
|
+
# The following example implements an exponential backoff in a waiter
|
54
|
+
# by doubling the amount of time to wait on every attempt.
|
55
|
+
#
|
56
|
+
# client.wait_until(...) do |w|
|
57
|
+
# w.interval = 0 # disable normal sleep
|
58
|
+
# w.before_wait do |n, resp|
|
59
|
+
# sleep(n ** 2)
|
60
|
+
# end
|
61
|
+
# end
|
62
|
+
#
|
63
|
+
# # Available Waiters
|
64
|
+
#
|
65
|
+
# The following table lists the valid waiter names, the operations they call,
|
66
|
+
# and the default `:delay` and `:max_attempts` values.
|
67
|
+
#
|
68
|
+
# | waiter_name | params | :delay | :max_attempts |
|
69
|
+
# | ------------ | ----------------- | -------- | ------------- |
|
70
|
+
# | job_complete | {Client#read_job} | 30 | 120 |
|
71
|
+
#
|
11
72
|
module Waiters
|
12
73
|
|
13
74
|
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.20.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: 2020-
|
11
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -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
|