aws-sdk-signer 1.18.0 → 1.23.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 +5 -5
- data/lib/aws-sdk-signer.rb +3 -1
- data/lib/aws-sdk-signer/client.rb +76 -17
- data/lib/aws-sdk-signer/client_api.rb +2 -0
- data/lib/aws-sdk-signer/errors.rb +6 -15
- data/lib/aws-sdk-signer/resource.rb +3 -7
- data/lib/aws-sdk-signer/types.rb +46 -0
- data/lib/aws-sdk-signer/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: d32c28a46f7842d6d512089f2a97526cccb6bdffb1f009181ec7962fc24a31a4
|
4
|
+
data.tar.gz: de4ae6498718c5e3aaa53b268c0981a0f67f069af25553184fa37284974df9e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b71e6dc1d9b8d485ce938ad2a101f7d7ff59ff2b22540c457c37aeea5dc5941ec6eded514156901d1ab94efa35190ba0731c44708d0013cf9dd3165a1dc0083d
|
7
|
+
data.tar.gz: 461a760a9660f4d0aba80b0a2e8cb66c2b87adf55dc1433ed2a9363c0e9ed000d5e805104e8bd48b388ff29b84b4a132cab45f16349143619fcf3e6265953bca
|
data/lib/aws-sdk-signer.rb
CHANGED
@@ -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:
|
@@ -46,6 +48,6 @@ require_relative 'aws-sdk-signer/customizations'
|
|
46
48
|
# @service
|
47
49
|
module Aws::Signer
|
48
50
|
|
49
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.23.0'
|
50
52
|
|
51
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,20 +26,23 @@ 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(:signer)
|
31
34
|
|
32
35
|
module Aws::Signer
|
33
|
-
# An API client for Signer. To construct a client, you need to configure a
|
36
|
+
# An API client for Signer. To construct a client, you need to configure a `:region` and `:credentials`.
|
37
|
+
#
|
34
38
|
# client = Aws::Signer::Client.new(
|
35
39
|
# region: region_name,
|
36
40
|
# credentials: credentials,
|
37
41
|
# # ...
|
38
42
|
# )
|
43
|
+
#
|
39
44
|
# For details on configuring region and credentials see
|
40
|
-
# the
|
45
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
41
46
|
#
|
42
47
|
# See {#initialize} for a full list of supported configuration options.
|
43
48
|
class Client < Seahorse::Client::Base
|
@@ -67,6 +72,7 @@ module Aws::Signer
|
|
67
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
68
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
69
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
70
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
71
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
72
78
|
|
@@ -103,7 +109,7 @@ module Aws::Signer
|
|
103
109
|
# @option options [required, String] :region
|
104
110
|
# The AWS region to connect to. The configured `:region` is
|
105
111
|
# used to determine the service `:endpoint`. When not passed,
|
106
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
107
113
|
#
|
108
114
|
# * `Aws.config[:region]`
|
109
115
|
# * `ENV['AWS_REGION']`
|
@@ -118,6 +124,12 @@ module Aws::Signer
|
|
118
124
|
# When set to `true`, a thread polling for endpoints will be running in
|
119
125
|
# the background every 60 secs (default). Defaults to `false`.
|
120
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
|
+
#
|
121
133
|
# @option options [Boolean] :client_side_monitoring (false)
|
122
134
|
# When `true`, client-side metrics will be collected for all API requests from
|
123
135
|
# this client.
|
@@ -142,6 +154,10 @@ module Aws::Signer
|
|
142
154
|
# When `true`, an attempt is made to coerce request parameters into
|
143
155
|
# the required types.
|
144
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
|
+
#
|
145
161
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
146
162
|
# Set to true to disable SDK automatically adding host prefix
|
147
163
|
# to default service endpoint when available.
|
@@ -149,7 +165,7 @@ module Aws::Signer
|
|
149
165
|
# @option options [String] :endpoint
|
150
166
|
# The client endpoint is normally constructed from the `:region`
|
151
167
|
# option. You should only configure an `:endpoint` when connecting
|
152
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
153
169
|
#
|
154
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
155
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -164,7 +180,7 @@ module Aws::Signer
|
|
164
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
165
181
|
#
|
166
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
167
|
-
# 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.
|
168
184
|
#
|
169
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
170
186
|
# The log formatter.
|
@@ -176,15 +192,29 @@ module Aws::Signer
|
|
176
192
|
# The Logger instance to send log messages to. If this option
|
177
193
|
# is not set, logging will be disabled.
|
178
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
|
+
#
|
179
201
|
# @option options [String] :profile ("default")
|
180
202
|
# Used when loading credentials from the shared credentials file
|
181
203
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
182
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
|
+
#
|
183
209
|
# @option options [Float] :retry_base_delay (0.3)
|
184
|
-
# 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.
|
185
212
|
#
|
186
213
|
# @option options [Symbol] :retry_jitter (:none)
|
187
|
-
# 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.
|
188
218
|
#
|
189
219
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
190
220
|
#
|
@@ -192,11 +222,30 @@ module Aws::Signer
|
|
192
222
|
# The maximum number of times to retry failed requests. Only
|
193
223
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
194
224
|
# are retried. Generally, these are throttling errors, data
|
195
|
-
# checksum errors, networking errors, timeout errors
|
196
|
-
# 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.
|
197
228
|
#
|
198
229
|
# @option options [Integer] :retry_max_delay (0)
|
199
|
-
# 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
|
+
#
|
200
249
|
#
|
201
250
|
# @option options [String] :secret_access_key
|
202
251
|
#
|
@@ -224,8 +273,7 @@ module Aws::Signer
|
|
224
273
|
#
|
225
274
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
275
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yielded by {#session_for}.
|
276
|
+
# safely be set per-request on the session.
|
229
277
|
#
|
230
278
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
279
|
# seconds a connection is allowed to sit idle before it is
|
@@ -237,7 +285,7 @@ module Aws::Signer
|
|
237
285
|
# request body. This option has no effect unless the request has
|
238
286
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
287
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
288
|
+
# request on the session.
|
241
289
|
#
|
242
290
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
291
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -340,6 +388,11 @@ module Aws::Signer
|
|
340
388
|
# resp.signed_object.s3.bucket_name #=> String
|
341
389
|
# resp.signed_object.s3.key #=> String
|
342
390
|
#
|
391
|
+
#
|
392
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
393
|
+
#
|
394
|
+
# * successful_signing_job
|
395
|
+
#
|
343
396
|
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/DescribeSigningJob AWS API Documentation
|
344
397
|
#
|
345
398
|
# @overload describe_signing_job(params = {})
|
@@ -481,6 +534,8 @@ module Aws::Signer
|
|
481
534
|
# * {Types::ListSigningJobsResponse#jobs #jobs} => Array<Types::SigningJob>
|
482
535
|
# * {Types::ListSigningJobsResponse#next_token #next_token} => String
|
483
536
|
#
|
537
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
538
|
+
#
|
484
539
|
# @example Request syntax with placeholder values
|
485
540
|
#
|
486
541
|
# resp = client.list_signing_jobs({
|
@@ -545,6 +600,8 @@ module Aws::Signer
|
|
545
600
|
# * {Types::ListSigningPlatformsResponse#platforms #platforms} => Array<Types::SigningPlatform>
|
546
601
|
# * {Types::ListSigningPlatformsResponse#next_token #next_token} => String
|
547
602
|
#
|
603
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
604
|
+
#
|
548
605
|
# @example Request syntax with placeholder values
|
549
606
|
#
|
550
607
|
# resp = client.list_signing_platforms({
|
@@ -610,6 +667,8 @@ module Aws::Signer
|
|
610
667
|
# * {Types::ListSigningProfilesResponse#profiles #profiles} => Array<Types::SigningProfile>
|
611
668
|
# * {Types::ListSigningProfilesResponse#next_token #next_token} => String
|
612
669
|
#
|
670
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
671
|
+
#
|
613
672
|
# @example Request syntax with placeholder values
|
614
673
|
#
|
615
674
|
# resp = client.list_signing_profiles({
|
@@ -897,7 +956,7 @@ module Aws::Signer
|
|
897
956
|
params: params,
|
898
957
|
config: config)
|
899
958
|
context[:gem_name] = 'aws-sdk-signer'
|
900
|
-
context[:gem_version] = '1.
|
959
|
+
context[:gem_version] = '1.23.0'
|
901
960
|
Seahorse::Client::Request.new(handlers, context)
|
902
961
|
end
|
903
962
|
|
@@ -963,9 +1022,9 @@ module Aws::Signer
|
|
963
1022
|
# The following table lists the valid waiter names, the operations they call,
|
964
1023
|
# and the default `:delay` and `:max_attempts` values.
|
965
1024
|
#
|
966
|
-
# | waiter_name | params
|
967
|
-
# | ---------------------- |
|
968
|
-
# | successful_signing_job | {#describe_signing_job} | 20 | 25 |
|
1025
|
+
# | waiter_name | params | :delay | :max_attempts |
|
1026
|
+
# | ---------------------- | ----------------------------- | -------- | ------------- |
|
1027
|
+
# | successful_signing_job | {Client#describe_signing_job} | 20 | 25 |
|
969
1028
|
#
|
970
1029
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
971
1030
|
# 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:
|
@@ -11,22 +13,17 @@ module Aws::Signer
|
|
11
13
|
# These errors all extend Aws::Signer::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
14
|
#
|
13
15
|
# You can rescue all Signer errors using ServiceError:
|
16
|
+
#
|
14
17
|
# begin
|
15
18
|
# # do stuff
|
16
19
|
# rescue Aws::Signer::Errors::ServiceError
|
17
20
|
# # rescues all Signer API errors
|
18
21
|
# end
|
19
22
|
#
|
23
|
+
#
|
20
24
|
# ## Request Context
|
21
25
|
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
22
|
-
# information about the request that generated the error
|
23
|
-
# *
|
24
|
-
# * #params - The request params
|
25
|
-
# * #operation_name - Name of the API operation invoked
|
26
|
-
# * #http_request
|
27
|
-
# * #http_response
|
28
|
-
# * etc ...
|
29
|
-
#
|
26
|
+
# information about the request that generated the error.
|
30
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
31
28
|
#
|
32
29
|
# ## Error Classes
|
@@ -37,6 +34,7 @@ module Aws::Signer
|
|
37
34
|
# * {ResourceNotFoundException}
|
38
35
|
# * {ThrottlingException}
|
39
36
|
# * {ValidationException}
|
37
|
+
#
|
40
38
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
41
39
|
# if they are not defined above.
|
42
40
|
module Errors
|
@@ -56,7 +54,6 @@ module Aws::Signer
|
|
56
54
|
def message
|
57
55
|
@message || @data[:message]
|
58
56
|
end
|
59
|
-
|
60
57
|
end
|
61
58
|
|
62
59
|
class BadRequestException < ServiceError
|
@@ -72,7 +69,6 @@ module Aws::Signer
|
|
72
69
|
def message
|
73
70
|
@message || @data[:message]
|
74
71
|
end
|
75
|
-
|
76
72
|
end
|
77
73
|
|
78
74
|
class InternalServiceErrorException < ServiceError
|
@@ -88,7 +84,6 @@ module Aws::Signer
|
|
88
84
|
def message
|
89
85
|
@message || @data[:message]
|
90
86
|
end
|
91
|
-
|
92
87
|
end
|
93
88
|
|
94
89
|
class NotFoundException < ServiceError
|
@@ -104,7 +99,6 @@ module Aws::Signer
|
|
104
99
|
def message
|
105
100
|
@message || @data[:message]
|
106
101
|
end
|
107
|
-
|
108
102
|
end
|
109
103
|
|
110
104
|
class ResourceNotFoundException < ServiceError
|
@@ -120,7 +114,6 @@ module Aws::Signer
|
|
120
114
|
def message
|
121
115
|
@message || @data[:message]
|
122
116
|
end
|
123
|
-
|
124
117
|
end
|
125
118
|
|
126
119
|
class ThrottlingException < ServiceError
|
@@ -136,7 +129,6 @@ module Aws::Signer
|
|
136
129
|
def message
|
137
130
|
@message || @data[:message]
|
138
131
|
end
|
139
|
-
|
140
132
|
end
|
141
133
|
|
142
134
|
class ValidationException < ServiceError
|
@@ -152,7 +144,6 @@ module Aws::Signer
|
|
152
144
|
def message
|
153
145
|
@message || @data[:message]
|
154
146
|
end
|
155
|
-
|
156
147
|
end
|
157
148
|
|
158
149
|
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,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::Signer
|
9
|
-
|
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)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
data/lib/aws-sdk-signer/types.rb
CHANGED
@@ -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:
|
@@ -17,6 +19,7 @@ module Aws::Signer
|
|
17
19
|
#
|
18
20
|
class AccessDeniedException < Struct.new(
|
19
21
|
:message)
|
22
|
+
SENSITIVE = []
|
20
23
|
include Aws::Structure
|
21
24
|
end
|
22
25
|
|
@@ -31,6 +34,7 @@ module Aws::Signer
|
|
31
34
|
#
|
32
35
|
class BadRequestException < Struct.new(
|
33
36
|
:message)
|
37
|
+
SENSITIVE = []
|
34
38
|
include Aws::Structure
|
35
39
|
end
|
36
40
|
|
@@ -49,6 +53,7 @@ module Aws::Signer
|
|
49
53
|
#
|
50
54
|
class CancelSigningProfileRequest < Struct.new(
|
51
55
|
:profile_name)
|
56
|
+
SENSITIVE = []
|
52
57
|
include Aws::Structure
|
53
58
|
end
|
54
59
|
|
@@ -67,6 +72,7 @@ module Aws::Signer
|
|
67
72
|
#
|
68
73
|
class DescribeSigningJobRequest < Struct.new(
|
69
74
|
:job_id)
|
75
|
+
SENSITIVE = []
|
70
76
|
include Aws::Structure
|
71
77
|
end
|
72
78
|
|
@@ -143,6 +149,7 @@ module Aws::Signer
|
|
143
149
|
:status,
|
144
150
|
:status_reason,
|
145
151
|
:signed_object)
|
152
|
+
SENSITIVE = []
|
146
153
|
include Aws::Structure
|
147
154
|
end
|
148
155
|
|
@@ -167,6 +174,7 @@ module Aws::Signer
|
|
167
174
|
#
|
168
175
|
class Destination < Struct.new(
|
169
176
|
:s3)
|
177
|
+
SENSITIVE = []
|
170
178
|
include Aws::Structure
|
171
179
|
end
|
172
180
|
|
@@ -187,6 +195,7 @@ module Aws::Signer
|
|
187
195
|
class EncryptionAlgorithmOptions < Struct.new(
|
188
196
|
:allowed_values,
|
189
197
|
:default_value)
|
198
|
+
SENSITIVE = []
|
190
199
|
include Aws::Structure
|
191
200
|
end
|
192
201
|
|
@@ -205,6 +214,7 @@ module Aws::Signer
|
|
205
214
|
#
|
206
215
|
class GetSigningPlatformRequest < Struct.new(
|
207
216
|
:platform_id)
|
217
|
+
SENSITIVE = []
|
208
218
|
include Aws::Structure
|
209
219
|
end
|
210
220
|
|
@@ -252,6 +262,7 @@ module Aws::Signer
|
|
252
262
|
:signing_configuration,
|
253
263
|
:signing_image_format,
|
254
264
|
:max_size_in_mb)
|
265
|
+
SENSITIVE = []
|
255
266
|
include Aws::Structure
|
256
267
|
end
|
257
268
|
|
@@ -270,6 +281,7 @@ module Aws::Signer
|
|
270
281
|
#
|
271
282
|
class GetSigningProfileRequest < Struct.new(
|
272
283
|
:profile_name)
|
284
|
+
SENSITIVE = []
|
273
285
|
include Aws::Structure
|
274
286
|
end
|
275
287
|
|
@@ -319,6 +331,7 @@ module Aws::Signer
|
|
319
331
|
:status,
|
320
332
|
:arn,
|
321
333
|
:tags)
|
334
|
+
SENSITIVE = []
|
322
335
|
include Aws::Structure
|
323
336
|
end
|
324
337
|
|
@@ -337,6 +350,7 @@ module Aws::Signer
|
|
337
350
|
class HashAlgorithmOptions < Struct.new(
|
338
351
|
:allowed_values,
|
339
352
|
:default_value)
|
353
|
+
SENSITIVE = []
|
340
354
|
include Aws::Structure
|
341
355
|
end
|
342
356
|
|
@@ -349,6 +363,7 @@ module Aws::Signer
|
|
349
363
|
#
|
350
364
|
class InternalServiceErrorException < Struct.new(
|
351
365
|
:message)
|
366
|
+
SENSITIVE = []
|
352
367
|
include Aws::Structure
|
353
368
|
end
|
354
369
|
|
@@ -399,6 +414,7 @@ module Aws::Signer
|
|
399
414
|
:requested_by,
|
400
415
|
:max_results,
|
401
416
|
:next_token)
|
417
|
+
SENSITIVE = []
|
402
418
|
include Aws::Structure
|
403
419
|
end
|
404
420
|
|
@@ -415,6 +431,7 @@ module Aws::Signer
|
|
415
431
|
class ListSigningJobsResponse < Struct.new(
|
416
432
|
:jobs,
|
417
433
|
:next_token)
|
434
|
+
SENSITIVE = []
|
418
435
|
include Aws::Structure
|
419
436
|
end
|
420
437
|
|
@@ -460,6 +477,7 @@ module Aws::Signer
|
|
460
477
|
:target,
|
461
478
|
:max_results,
|
462
479
|
:next_token)
|
480
|
+
SENSITIVE = []
|
463
481
|
include Aws::Structure
|
464
482
|
end
|
465
483
|
|
@@ -476,6 +494,7 @@ module Aws::Signer
|
|
476
494
|
class ListSigningPlatformsResponse < Struct.new(
|
477
495
|
:platforms,
|
478
496
|
:next_token)
|
497
|
+
SENSITIVE = []
|
479
498
|
include Aws::Structure
|
480
499
|
end
|
481
500
|
|
@@ -510,6 +529,7 @@ module Aws::Signer
|
|
510
529
|
:include_canceled,
|
511
530
|
:max_results,
|
512
531
|
:next_token)
|
532
|
+
SENSITIVE = []
|
513
533
|
include Aws::Structure
|
514
534
|
end
|
515
535
|
|
@@ -528,6 +548,7 @@ module Aws::Signer
|
|
528
548
|
class ListSigningProfilesResponse < Struct.new(
|
529
549
|
:profiles,
|
530
550
|
:next_token)
|
551
|
+
SENSITIVE = []
|
531
552
|
include Aws::Structure
|
532
553
|
end
|
533
554
|
|
@@ -546,6 +567,7 @@ module Aws::Signer
|
|
546
567
|
#
|
547
568
|
class ListTagsForResourceRequest < Struct.new(
|
548
569
|
:resource_arn)
|
570
|
+
SENSITIVE = []
|
549
571
|
include Aws::Structure
|
550
572
|
end
|
551
573
|
|
@@ -557,6 +579,7 @@ module Aws::Signer
|
|
557
579
|
#
|
558
580
|
class ListTagsForResourceResponse < Struct.new(
|
559
581
|
:tags)
|
582
|
+
SENSITIVE = []
|
560
583
|
include Aws::Structure
|
561
584
|
end
|
562
585
|
|
@@ -569,6 +592,7 @@ module Aws::Signer
|
|
569
592
|
#
|
570
593
|
class NotFoundException < Struct.new(
|
571
594
|
:message)
|
595
|
+
SENSITIVE = []
|
572
596
|
include Aws::Structure
|
573
597
|
end
|
574
598
|
|
@@ -634,6 +658,7 @@ module Aws::Signer
|
|
634
658
|
:overrides,
|
635
659
|
:signing_parameters,
|
636
660
|
:tags)
|
661
|
+
SENSITIVE = []
|
637
662
|
include Aws::Structure
|
638
663
|
end
|
639
664
|
|
@@ -645,6 +670,7 @@ module Aws::Signer
|
|
645
670
|
#
|
646
671
|
class PutSigningProfileResponse < Struct.new(
|
647
672
|
:arn)
|
673
|
+
SENSITIVE = []
|
648
674
|
include Aws::Structure
|
649
675
|
end
|
650
676
|
|
@@ -657,6 +683,7 @@ module Aws::Signer
|
|
657
683
|
#
|
658
684
|
class ResourceNotFoundException < Struct.new(
|
659
685
|
:message)
|
686
|
+
SENSITIVE = []
|
660
687
|
include Aws::Structure
|
661
688
|
end
|
662
689
|
|
@@ -685,6 +712,7 @@ module Aws::Signer
|
|
685
712
|
class S3Destination < Struct.new(
|
686
713
|
:bucket_name,
|
687
714
|
:prefix)
|
715
|
+
SENSITIVE = []
|
688
716
|
include Aws::Structure
|
689
717
|
end
|
690
718
|
|
@@ -705,6 +733,7 @@ module Aws::Signer
|
|
705
733
|
class S3SignedObject < Struct.new(
|
706
734
|
:bucket_name,
|
707
735
|
:key)
|
736
|
+
SENSITIVE = []
|
708
737
|
include Aws::Structure
|
709
738
|
end
|
710
739
|
|
@@ -737,6 +766,7 @@ module Aws::Signer
|
|
737
766
|
:bucket_name,
|
738
767
|
:key,
|
739
768
|
:version)
|
769
|
+
SENSITIVE = []
|
740
770
|
include Aws::Structure
|
741
771
|
end
|
742
772
|
|
@@ -751,6 +781,7 @@ module Aws::Signer
|
|
751
781
|
#
|
752
782
|
class SignedObject < Struct.new(
|
753
783
|
:s3)
|
784
|
+
SENSITIVE = []
|
754
785
|
include Aws::Structure
|
755
786
|
end
|
756
787
|
|
@@ -771,6 +802,7 @@ module Aws::Signer
|
|
771
802
|
class SigningConfiguration < Struct.new(
|
772
803
|
:encryption_algorithm_options,
|
773
804
|
:hash_algorithm_options)
|
805
|
+
SENSITIVE = []
|
774
806
|
include Aws::Structure
|
775
807
|
end
|
776
808
|
|
@@ -800,6 +832,7 @@ module Aws::Signer
|
|
800
832
|
class SigningConfigurationOverrides < Struct.new(
|
801
833
|
:encryption_algorithm,
|
802
834
|
:hash_algorithm)
|
835
|
+
SENSITIVE = []
|
803
836
|
include Aws::Structure
|
804
837
|
end
|
805
838
|
|
@@ -818,6 +851,7 @@ module Aws::Signer
|
|
818
851
|
class SigningImageFormat < Struct.new(
|
819
852
|
:supported_formats,
|
820
853
|
:default_format)
|
854
|
+
SENSITIVE = []
|
821
855
|
include Aws::Structure
|
822
856
|
end
|
823
857
|
|
@@ -859,6 +893,7 @@ module Aws::Signer
|
|
859
893
|
:signing_material,
|
860
894
|
:created_at,
|
861
895
|
:status)
|
896
|
+
SENSITIVE = []
|
862
897
|
include Aws::Structure
|
863
898
|
end
|
864
899
|
|
@@ -880,6 +915,7 @@ module Aws::Signer
|
|
880
915
|
#
|
881
916
|
class SigningMaterial < Struct.new(
|
882
917
|
:certificate_arn)
|
918
|
+
SENSITIVE = []
|
883
919
|
include Aws::Structure
|
884
920
|
end
|
885
921
|
|
@@ -932,6 +968,7 @@ module Aws::Signer
|
|
932
968
|
:signing_configuration,
|
933
969
|
:signing_image_format,
|
934
970
|
:max_size_in_mb)
|
971
|
+
SENSITIVE = []
|
935
972
|
include Aws::Structure
|
936
973
|
end
|
937
974
|
|
@@ -968,6 +1005,7 @@ module Aws::Signer
|
|
968
1005
|
class SigningPlatformOverrides < Struct.new(
|
969
1006
|
:signing_configuration,
|
970
1007
|
:signing_image_format)
|
1008
|
+
SENSITIVE = []
|
971
1009
|
include Aws::Structure
|
972
1010
|
end
|
973
1011
|
|
@@ -1013,6 +1051,7 @@ module Aws::Signer
|
|
1013
1051
|
:status,
|
1014
1052
|
:arn,
|
1015
1053
|
:tags)
|
1054
|
+
SENSITIVE = []
|
1016
1055
|
include Aws::Structure
|
1017
1056
|
end
|
1018
1057
|
|
@@ -1038,6 +1077,7 @@ module Aws::Signer
|
|
1038
1077
|
#
|
1039
1078
|
class Source < Struct.new(
|
1040
1079
|
:s3)
|
1080
|
+
SENSITIVE = []
|
1041
1081
|
include Aws::Structure
|
1042
1082
|
end
|
1043
1083
|
|
@@ -1092,6 +1132,7 @@ module Aws::Signer
|
|
1092
1132
|
:destination,
|
1093
1133
|
:profile_name,
|
1094
1134
|
:client_request_token)
|
1135
|
+
SENSITIVE = []
|
1095
1136
|
include Aws::Structure
|
1096
1137
|
end
|
1097
1138
|
|
@@ -1103,6 +1144,7 @@ module Aws::Signer
|
|
1103
1144
|
#
|
1104
1145
|
class StartSigningJobResponse < Struct.new(
|
1105
1146
|
:job_id)
|
1147
|
+
SENSITIVE = []
|
1106
1148
|
include Aws::Structure
|
1107
1149
|
end
|
1108
1150
|
|
@@ -1129,6 +1171,7 @@ module Aws::Signer
|
|
1129
1171
|
class TagResourceRequest < Struct.new(
|
1130
1172
|
:resource_arn,
|
1131
1173
|
:tags)
|
1174
|
+
SENSITIVE = []
|
1132
1175
|
include Aws::Structure
|
1133
1176
|
end
|
1134
1177
|
|
@@ -1145,6 +1188,7 @@ module Aws::Signer
|
|
1145
1188
|
#
|
1146
1189
|
class ThrottlingException < Struct.new(
|
1147
1190
|
:message)
|
1191
|
+
SENSITIVE = []
|
1148
1192
|
include Aws::Structure
|
1149
1193
|
end
|
1150
1194
|
|
@@ -1169,6 +1213,7 @@ module Aws::Signer
|
|
1169
1213
|
class UntagResourceRequest < Struct.new(
|
1170
1214
|
:resource_arn,
|
1171
1215
|
:tag_keys)
|
1216
|
+
SENSITIVE = []
|
1172
1217
|
include Aws::Structure
|
1173
1218
|
end
|
1174
1219
|
|
@@ -1185,6 +1230,7 @@ module Aws::Signer
|
|
1185
1230
|
#
|
1186
1231
|
class ValidationException < Struct.new(
|
1187
1232
|
:message)
|
1233
|
+
SENSITIVE = []
|
1188
1234
|
include Aws::Structure
|
1189
1235
|
end
|
1190
1236
|
|
@@ -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::Signer
|
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
|
+
# | successful_signing_job | {Client#describe_signing_job} | 20 | 25 |
|
73
|
+
#
|
11
74
|
module Waiters
|
12
75
|
|
13
76
|
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.
|
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: 2020-
|
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 - signer
|