aws-sdk-signer 1.19.0 → 1.20.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
- SHA1:
3
- metadata.gz: a3cc081da17bc2508da2e335d41883c500b47199
4
- data.tar.gz: 9156271ebd96b4fd6248b6563b41c624a9380f10
2
+ SHA256:
3
+ metadata.gz: cc2cd88c92a6c2d7bca0b973d3e32a643f6c1b7481620245aef5dfb4ee82c741
4
+ data.tar.gz: b5e0ff49189352ebdbc5a30bb795314b080cb92d9db498d4b6a8e88151f1e069
5
5
  SHA512:
6
- metadata.gz: 76aafdc7b1f7fc367d8b10ec529feb3dba7f72d9890cde33ffa757aee6be95ab574fdacb8e7bd0fe72df5ee5320eb7f00da499c01daabb4d2f1839fc06db480d
7
- data.tar.gz: dbfc41ef1e1e0b68c004df333ebf2a069e0b6cd21073a1f0ae3387d47f443b5b9ca479d69500a87a7ad0f3baa133d900d0f1eedb427c2d8d1683d60d003b3abc
6
+ metadata.gz: 788ade8e1afc85bfbea4f46dd941d05190c17f359aca314451e85bf16b6a53ce9c7e632efa55034e777906f083ce95cca771e787428805824314b18e9fd25bc4
7
+ data.tar.gz: b8568eaa0d403efbe63ce6459100ede13f37f3b39ec88cf380c27048150d2bc5011a7fb83c60796b0e2e9c146caa800aa8cd84ebc3ad219b939973104c26ac7e
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-signer/customizations'
46
46
  # @service
47
47
  module Aws::Signer
48
48
 
49
- GEM_VERSION = '1.19.0'
49
+ GEM_VERSION = '1.20.0'
50
50
 
51
51
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:signer)
32
32
  module Aws::Signer
33
33
  # An API client for Signer. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::Signer::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::Signer::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::Signer
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 search for in the following locations:
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::Signer
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 avalid HTTP(S) URI.
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::Signer
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
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::Signer
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::Signer
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 yielded by {#session_for}.
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`.
@@ -381,6 +384,11 @@ module Aws::Signer
381
384
  # resp.signed_object.s3.bucket_name #=> String
382
385
  # resp.signed_object.s3.key #=> String
383
386
  #
387
+ #
388
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
389
+ #
390
+ # * successful_signing_job
391
+ #
384
392
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/DescribeSigningJob AWS API Documentation
385
393
  #
386
394
  # @overload describe_signing_job(params = {})
@@ -522,6 +530,8 @@ module Aws::Signer
522
530
  # * {Types::ListSigningJobsResponse#jobs #jobs} => Array<Types::SigningJob>
523
531
  # * {Types::ListSigningJobsResponse#next_token #next_token} => String
524
532
  #
533
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
534
+ #
525
535
  # @example Request syntax with placeholder values
526
536
  #
527
537
  # resp = client.list_signing_jobs({
@@ -586,6 +596,8 @@ module Aws::Signer
586
596
  # * {Types::ListSigningPlatformsResponse#platforms #platforms} => Array<Types::SigningPlatform>
587
597
  # * {Types::ListSigningPlatformsResponse#next_token #next_token} => String
588
598
  #
599
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
600
+ #
589
601
  # @example Request syntax with placeholder values
590
602
  #
591
603
  # resp = client.list_signing_platforms({
@@ -651,6 +663,8 @@ module Aws::Signer
651
663
  # * {Types::ListSigningProfilesResponse#profiles #profiles} => Array<Types::SigningProfile>
652
664
  # * {Types::ListSigningProfilesResponse#next_token #next_token} => String
653
665
  #
666
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
667
+ #
654
668
  # @example Request syntax with placeholder values
655
669
  #
656
670
  # resp = client.list_signing_profiles({
@@ -938,7 +952,7 @@ module Aws::Signer
938
952
  params: params,
939
953
  config: config)
940
954
  context[:gem_name] = 'aws-sdk-signer'
941
- context[:gem_version] = '1.19.0'
955
+ context[:gem_version] = '1.20.0'
942
956
  Seahorse::Client::Request.new(handlers, context)
943
957
  end
944
958
 
@@ -1004,9 +1018,9 @@ module Aws::Signer
1004
1018
  # The following table lists the valid waiter names, the operations they call,
1005
1019
  # and the default `:delay` and `:max_attempts` values.
1006
1020
  #
1007
- # | waiter_name | params | :delay | :max_attempts |
1008
- # | ---------------------- | ----------------------- | -------- | ------------- |
1009
- # | successful_signing_job | {#describe_signing_job} | 20 | 25 |
1021
+ # | waiter_name | params | :delay | :max_attempts |
1022
+ # | ---------------------- | ----------------------------- | -------- | ------------- |
1023
+ # | successful_signing_job | {Client#describe_signing_job} | 20 | 25 |
1010
1024
  #
1011
1025
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
1012
1026
  # 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::Signer
9
- # This class provides a resource oriented interface for Signer.
10
- # To create a resource object:
11
- # resource = Aws::Signer::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::Signer::Client.new(region: 'us-west-2')
15
- # resource = Aws::Signer::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::Signer
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
+ # | successful_signing_job | {Client#describe_signing_job} | 20 | 25 |
71
+ #
11
72
  module Waiters
12
73
 
13
74
  class SuccessfulSigningJob
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-signer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
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-03-09 00:00:00.000000000 Z
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.5.2.3
85
+ rubygems_version: 2.7.6.2
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: AWS SDK for Ruby - signer