aws-sdk-signer 1.16.0 → 1.21.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 +7 -4
- data/lib/aws-sdk-signer/client.rb +216 -46
- data/lib/aws-sdk-signer/client_api.rb +80 -0
- data/lib/aws-sdk-signer/errors.rb +57 -3
- data/lib/aws-sdk-signer/resource.rb +1 -0
- data/lib/aws-sdk-signer/types.rb +200 -44
- data/lib/aws-sdk-signer/waiters.rb +61 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9c717353ccd2fde993e13d0f1e87de2d23485a7bf629c1eed3a7c4dd7bb39894
|
4
|
+
data.tar.gz: 69fa0c28bd7512b49d3ae97c772d94f577b1e6941ddbef59e109feaa23a4be13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 065e6a5e8e7633189177a89e0ed401e627f1156215bfaae8529353f2e48559f9730c639378ca3d2bca937922e6f7ee2cf7303e2dc250e43faf2dc8e53c5bf2e5
|
7
|
+
data.tar.gz: fc5b61de69a50b2d396fb4ee3b2c7a08cdbbb9fb385338fb2d51c74dae50c1a3104846225f840bf022fe34b4c4b0806091b0767f75b926849cf3858414361ae7
|
data/lib/aws-sdk-signer.rb
CHANGED
@@ -25,17 +25,20 @@ require_relative 'aws-sdk-signer/customizations'
|
|
25
25
|
# methods each accept a hash of request parameters and return a response
|
26
26
|
# structure.
|
27
27
|
#
|
28
|
+
# signer = Aws::Signer::Client.new
|
29
|
+
# resp = signer.cancel_signing_profile(params)
|
30
|
+
#
|
28
31
|
# See {Client} for more information.
|
29
32
|
#
|
30
33
|
# # Errors
|
31
34
|
#
|
32
|
-
# Errors returned from AWS Signer
|
33
|
-
# extend {Errors::ServiceError}.
|
35
|
+
# Errors returned from AWS Signer are defined in the
|
36
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
34
37
|
#
|
35
38
|
# begin
|
36
39
|
# # do stuff
|
37
40
|
# rescue Aws::Signer::Errors::ServiceError
|
38
|
-
# # rescues all
|
41
|
+
# # rescues all AWS Signer API errors
|
39
42
|
# end
|
40
43
|
#
|
41
44
|
# See {Errors} for more information.
|
@@ -43,6 +46,6 @@ require_relative 'aws-sdk-signer/customizations'
|
|
43
46
|
# @service
|
44
47
|
module Aws::Signer
|
45
48
|
|
46
|
-
GEM_VERSION = '1.
|
49
|
+
GEM_VERSION = '1.21.0'
|
47
50
|
|
48
51
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:signer)
|
31
31
|
|
32
32
|
module Aws::Signer
|
33
|
+
# An API client for Signer. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::Signer::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::Signer
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::Signer
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::Signer
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::Signer
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::Signer
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::Signer
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::Signer
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
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
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -209,16 +264,15 @@ module Aws::Signer
|
|
209
264
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
265
|
#
|
211
266
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
267
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
268
|
# `Timeout::Error`.
|
214
269
|
#
|
215
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
271
|
# 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}.
|
272
|
+
# safely be set per-request on the session.
|
219
273
|
#
|
220
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
275
|
+
# seconds a connection is allowed to sit idle before it is
|
222
276
|
# considered stale. Stale connections are closed and removed
|
223
277
|
# from the pool before making a request.
|
224
278
|
#
|
@@ -227,7 +281,7 @@ module Aws::Signer
|
|
227
281
|
# request body. This option has no effect unless the request has
|
228
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
283
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
284
|
+
# request on the session.
|
231
285
|
#
|
232
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -319,6 +373,7 @@ module Aws::Signer
|
|
319
373
|
# resp.profile_name #=> String
|
320
374
|
# resp.overrides.signing_configuration.encryption_algorithm #=> String, one of "RSA", "ECDSA"
|
321
375
|
# resp.overrides.signing_configuration.hash_algorithm #=> String, one of "SHA1", "SHA256"
|
376
|
+
# resp.overrides.signing_image_format #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
|
322
377
|
# resp.signing_parameters #=> Hash
|
323
378
|
# resp.signing_parameters["SigningParameterKey"] #=> String
|
324
379
|
# resp.created_at #=> Time
|
@@ -329,6 +384,11 @@ module Aws::Signer
|
|
329
384
|
# resp.signed_object.s3.bucket_name #=> String
|
330
385
|
# resp.signed_object.s3.key #=> String
|
331
386
|
#
|
387
|
+
#
|
388
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
389
|
+
#
|
390
|
+
# * successful_signing_job
|
391
|
+
#
|
332
392
|
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/DescribeSigningJob AWS API Documentation
|
333
393
|
#
|
334
394
|
# @overload describe_signing_job(params = {})
|
@@ -374,8 +434,8 @@ module Aws::Signer
|
|
374
434
|
# resp.signing_configuration.hash_algorithm_options.allowed_values[0] #=> String, one of "SHA1", "SHA256"
|
375
435
|
# resp.signing_configuration.hash_algorithm_options.default_value #=> String, one of "SHA1", "SHA256"
|
376
436
|
# resp.signing_image_format.supported_formats #=> Array
|
377
|
-
# resp.signing_image_format.supported_formats[0] #=> String, one of "JSON"
|
378
|
-
# resp.signing_image_format.default_format #=> String, one of "JSON"
|
437
|
+
# resp.signing_image_format.supported_formats[0] #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
|
438
|
+
# resp.signing_image_format.default_format #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
|
379
439
|
# resp.max_size_in_mb #=> Integer
|
380
440
|
#
|
381
441
|
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningPlatform AWS API Documentation
|
@@ -400,6 +460,8 @@ module Aws::Signer
|
|
400
460
|
# * {Types::GetSigningProfileResponse#overrides #overrides} => Types::SigningPlatformOverrides
|
401
461
|
# * {Types::GetSigningProfileResponse#signing_parameters #signing_parameters} => Hash<String,String>
|
402
462
|
# * {Types::GetSigningProfileResponse#status #status} => String
|
463
|
+
# * {Types::GetSigningProfileResponse#arn #arn} => String
|
464
|
+
# * {Types::GetSigningProfileResponse#tags #tags} => Hash<String,String>
|
403
465
|
#
|
404
466
|
# @example Request syntax with placeholder values
|
405
467
|
#
|
@@ -414,9 +476,13 @@ module Aws::Signer
|
|
414
476
|
# resp.platform_id #=> String
|
415
477
|
# resp.overrides.signing_configuration.encryption_algorithm #=> String, one of "RSA", "ECDSA"
|
416
478
|
# resp.overrides.signing_configuration.hash_algorithm #=> String, one of "SHA1", "SHA256"
|
479
|
+
# resp.overrides.signing_image_format #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
|
417
480
|
# resp.signing_parameters #=> Hash
|
418
481
|
# resp.signing_parameters["SigningParameterKey"] #=> String
|
419
482
|
# resp.status #=> String, one of "Active", "Canceled"
|
483
|
+
# resp.arn #=> String
|
484
|
+
# resp.tags #=> Hash
|
485
|
+
# resp.tags["TagKey"] #=> String
|
420
486
|
#
|
421
487
|
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningProfile AWS API Documentation
|
422
488
|
#
|
@@ -429,12 +495,12 @@ module Aws::Signer
|
|
429
495
|
|
430
496
|
# Lists all your signing jobs. You can use the `maxResults` parameter to
|
431
497
|
# limit the number of signing jobs that are returned in the response. If
|
432
|
-
# additional jobs remain to be listed,
|
433
|
-
# value. Use this value in subsequent calls to
|
434
|
-
# fetch the remaining values. You can continue
|
435
|
-
# with your `maxResults` parameter and with
|
436
|
-
# returns in the `nextToken` parameter
|
437
|
-
# have been returned.
|
498
|
+
# additional jobs remain to be listed, code signing returns a
|
499
|
+
# `nextToken` value. Use this value in subsequent calls to
|
500
|
+
# `ListSigningJobs` to fetch the remaining values. You can continue
|
501
|
+
# calling `ListSigningJobs` with your `maxResults` parameter and with
|
502
|
+
# new values that code signing returns in the `nextToken` parameter
|
503
|
+
# until all of your signing jobs have been returned.
|
438
504
|
#
|
439
505
|
# @option params [String] :status
|
440
506
|
# A status value with which to filter your results.
|
@@ -464,6 +530,8 @@ module Aws::Signer
|
|
464
530
|
# * {Types::ListSigningJobsResponse#jobs #jobs} => Array<Types::SigningJob>
|
465
531
|
# * {Types::ListSigningJobsResponse#next_token #next_token} => String
|
466
532
|
#
|
533
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
534
|
+
#
|
467
535
|
# @example Request syntax with placeholder values
|
468
536
|
#
|
469
537
|
# resp = client.list_signing_jobs({
|
@@ -497,13 +565,13 @@ module Aws::Signer
|
|
497
565
|
req.send_request(options)
|
498
566
|
end
|
499
567
|
|
500
|
-
# Lists all signing platforms available in
|
501
|
-
# request parameters. If additional jobs remain to be listed,
|
502
|
-
# returns a `nextToken` value. Use this value in subsequent
|
503
|
-
# `ListSigningJobs` to fetch the remaining values. You can
|
504
|
-
# calling `ListSigningJobs` with your `maxResults` parameter
|
505
|
-
# new values that
|
506
|
-
# all of your signing jobs have been returned.
|
568
|
+
# Lists all signing platforms available in code signing that match the
|
569
|
+
# request parameters. If additional jobs remain to be listed, code
|
570
|
+
# signing returns a `nextToken` value. Use this value in subsequent
|
571
|
+
# calls to `ListSigningJobs` to fetch the remaining values. You can
|
572
|
+
# continue calling `ListSigningJobs` with your `maxResults` parameter
|
573
|
+
# and with new values that code signing returns in the `nextToken`
|
574
|
+
# parameter until all of your signing jobs have been returned.
|
507
575
|
#
|
508
576
|
# @option params [String] :category
|
509
577
|
# The category type of a signing platform.
|
@@ -528,6 +596,8 @@ module Aws::Signer
|
|
528
596
|
# * {Types::ListSigningPlatformsResponse#platforms #platforms} => Array<Types::SigningPlatform>
|
529
597
|
# * {Types::ListSigningPlatformsResponse#next_token #next_token} => String
|
530
598
|
#
|
599
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
600
|
+
#
|
531
601
|
# @example Request syntax with placeholder values
|
532
602
|
#
|
533
603
|
# resp = client.list_signing_platforms({
|
@@ -553,8 +623,8 @@ module Aws::Signer
|
|
553
623
|
# resp.platforms[0].signing_configuration.hash_algorithm_options.allowed_values[0] #=> String, one of "SHA1", "SHA256"
|
554
624
|
# resp.platforms[0].signing_configuration.hash_algorithm_options.default_value #=> String, one of "SHA1", "SHA256"
|
555
625
|
# resp.platforms[0].signing_image_format.supported_formats #=> Array
|
556
|
-
# resp.platforms[0].signing_image_format.supported_formats[0] #=> String, one of "JSON"
|
557
|
-
# resp.platforms[0].signing_image_format.default_format #=> String, one of "JSON"
|
626
|
+
# resp.platforms[0].signing_image_format.supported_formats[0] #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
|
627
|
+
# resp.platforms[0].signing_image_format.default_format #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
|
558
628
|
# resp.platforms[0].max_size_in_mb #=> Integer
|
559
629
|
# resp.next_token #=> String
|
560
630
|
#
|
@@ -569,12 +639,12 @@ module Aws::Signer
|
|
569
639
|
|
570
640
|
# Lists all available signing profiles in your AWS account. Returns only
|
571
641
|
# profiles with an `ACTIVE` status unless the `includeCanceled` request
|
572
|
-
# field is set to `true`. If additional jobs remain to be listed,
|
573
|
-
#
|
574
|
-
# to `ListSigningJobs` to fetch the remaining values. You can
|
575
|
-
# calling `ListSigningJobs` with your `maxResults` parameter
|
576
|
-
# new values that
|
577
|
-
# all of your signing jobs have been returned.
|
642
|
+
# field is set to `true`. If additional jobs remain to be listed, code
|
643
|
+
# signing returns a `nextToken` value. Use this value in subsequent
|
644
|
+
# calls to `ListSigningJobs` to fetch the remaining values. You can
|
645
|
+
# continue calling `ListSigningJobs` with your `maxResults` parameter
|
646
|
+
# and with new values that code signing returns in the `nextToken`
|
647
|
+
# parameter until all of your signing jobs have been returned.
|
578
648
|
#
|
579
649
|
# @option params [Boolean] :include_canceled
|
580
650
|
# Designates whether to include profiles with the status of `CANCELED`.
|
@@ -593,6 +663,8 @@ module Aws::Signer
|
|
593
663
|
# * {Types::ListSigningProfilesResponse#profiles #profiles} => Array<Types::SigningProfile>
|
594
664
|
# * {Types::ListSigningProfilesResponse#next_token #next_token} => String
|
595
665
|
#
|
666
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
667
|
+
#
|
596
668
|
# @example Request syntax with placeholder values
|
597
669
|
#
|
598
670
|
# resp = client.list_signing_profiles({
|
@@ -610,6 +682,9 @@ module Aws::Signer
|
|
610
682
|
# resp.profiles[0].signing_parameters #=> Hash
|
611
683
|
# resp.profiles[0].signing_parameters["SigningParameterKey"] #=> String
|
612
684
|
# resp.profiles[0].status #=> String, one of "Active", "Canceled"
|
685
|
+
# resp.profiles[0].arn #=> String
|
686
|
+
# resp.profiles[0].tags #=> Hash
|
687
|
+
# resp.profiles[0].tags["TagKey"] #=> String
|
613
688
|
# resp.next_token #=> String
|
614
689
|
#
|
615
690
|
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningProfiles AWS API Documentation
|
@@ -621,9 +696,38 @@ module Aws::Signer
|
|
621
696
|
req.send_request(options)
|
622
697
|
end
|
623
698
|
|
624
|
-
#
|
625
|
-
#
|
626
|
-
#
|
699
|
+
# Returns a list of the tags associated with a signing profile resource.
|
700
|
+
#
|
701
|
+
# @option params [required, String] :resource_arn
|
702
|
+
# The Amazon Resource Name (ARN) for the signing profile.
|
703
|
+
#
|
704
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
705
|
+
#
|
706
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
707
|
+
#
|
708
|
+
# @example Request syntax with placeholder values
|
709
|
+
#
|
710
|
+
# resp = client.list_tags_for_resource({
|
711
|
+
# resource_arn: "String", # required
|
712
|
+
# })
|
713
|
+
#
|
714
|
+
# @example Response structure
|
715
|
+
#
|
716
|
+
# resp.tags #=> Hash
|
717
|
+
# resp.tags["TagKey"] #=> String
|
718
|
+
#
|
719
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListTagsForResource AWS API Documentation
|
720
|
+
#
|
721
|
+
# @overload list_tags_for_resource(params = {})
|
722
|
+
# @param [Hash] params ({})
|
723
|
+
def list_tags_for_resource(params = {}, options = {})
|
724
|
+
req = build_request(:list_tags_for_resource, params)
|
725
|
+
req.send_request(options)
|
726
|
+
end
|
727
|
+
|
728
|
+
# Creates a signing profile. A signing profile is a code signing
|
729
|
+
# template that can be used to carry out a pre-defined signing job. For
|
730
|
+
# more information, see
|
627
731
|
# [http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html][1]
|
628
732
|
#
|
629
733
|
#
|
@@ -638,7 +742,7 @@ module Aws::Signer
|
|
638
742
|
# with the new signing profile.
|
639
743
|
#
|
640
744
|
# @option params [required, String] :platform_id
|
641
|
-
# The ID of the signing
|
745
|
+
# The ID of the signing platform to be created.
|
642
746
|
#
|
643
747
|
# @option params [Types::SigningPlatformOverrides] :overrides
|
644
748
|
# A subfield of `platform`. This specifies any different configuration
|
@@ -649,6 +753,9 @@ module Aws::Signer
|
|
649
753
|
# Map of key-value pairs for signing. These can include any information
|
650
754
|
# that you want to use during signing.
|
651
755
|
#
|
756
|
+
# @option params [Hash<String,String>] :tags
|
757
|
+
# Tags to be associated with the signing profile that is being created.
|
758
|
+
#
|
652
759
|
# @return [Types::PutSigningProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
653
760
|
#
|
654
761
|
# * {Types::PutSigningProfileResponse#arn #arn} => String
|
@@ -666,10 +773,14 @@ module Aws::Signer
|
|
666
773
|
# encryption_algorithm: "RSA", # accepts RSA, ECDSA
|
667
774
|
# hash_algorithm: "SHA1", # accepts SHA1, SHA256
|
668
775
|
# },
|
776
|
+
# signing_image_format: "JSON", # accepts JSON, JSONEmbedded, JSONDetached
|
669
777
|
# },
|
670
778
|
# signing_parameters: {
|
671
779
|
# "SigningParameterKey" => "SigningParameterValue",
|
672
780
|
# },
|
781
|
+
# tags: {
|
782
|
+
# "TagKey" => "TagValue",
|
783
|
+
# },
|
673
784
|
# })
|
674
785
|
#
|
675
786
|
# @example Response structure
|
@@ -694,14 +805,14 @@ module Aws::Signer
|
|
694
805
|
#
|
695
806
|
# * Your S3 source bucket must be version enabled.
|
696
807
|
#
|
697
|
-
# * You must create an S3 destination bucket.
|
808
|
+
# * You must create an S3 destination bucket. Code signing uses your S3
|
698
809
|
# destination bucket to write your signed code.
|
699
810
|
#
|
700
811
|
# * You specify the name of the source and destination buckets when
|
701
812
|
# calling the `StartSigningJob` operation.
|
702
813
|
#
|
703
814
|
# * You must also specify a request token that identifies your request
|
704
|
-
# to
|
815
|
+
# to code signing.
|
705
816
|
#
|
706
817
|
# You can call the DescribeSigningJob and the ListSigningJobs actions
|
707
818
|
# after you call `StartSigningJob`.
|
@@ -769,6 +880,65 @@ module Aws::Signer
|
|
769
880
|
req.send_request(options)
|
770
881
|
end
|
771
882
|
|
883
|
+
# Adds one or more tags to a signing profile. Tags are labels that you
|
884
|
+
# can use to identify and organize your AWS resources. Each tag consists
|
885
|
+
# of a key and an optional value. To specify the signing profile, use
|
886
|
+
# its Amazon Resource Name (ARN). To specify the tag, use a key-value
|
887
|
+
# pair.
|
888
|
+
#
|
889
|
+
# @option params [required, String] :resource_arn
|
890
|
+
# The Amazon Resource Name (ARN) for the signing profile.
|
891
|
+
#
|
892
|
+
# @option params [required, Hash<String,String>] :tags
|
893
|
+
# One or more tags to be associated with the signing profile.
|
894
|
+
#
|
895
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
896
|
+
#
|
897
|
+
# @example Request syntax with placeholder values
|
898
|
+
#
|
899
|
+
# resp = client.tag_resource({
|
900
|
+
# resource_arn: "String", # required
|
901
|
+
# tags: { # required
|
902
|
+
# "TagKey" => "TagValue",
|
903
|
+
# },
|
904
|
+
# })
|
905
|
+
#
|
906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/TagResource AWS API Documentation
|
907
|
+
#
|
908
|
+
# @overload tag_resource(params = {})
|
909
|
+
# @param [Hash] params ({})
|
910
|
+
def tag_resource(params = {}, options = {})
|
911
|
+
req = build_request(:tag_resource, params)
|
912
|
+
req.send_request(options)
|
913
|
+
end
|
914
|
+
|
915
|
+
# Removes one or more tags from a signing profile. To remove the tags,
|
916
|
+
# specify a list of tag keys.
|
917
|
+
#
|
918
|
+
# @option params [required, String] :resource_arn
|
919
|
+
# The Amazon Resource Name (ARN) for the signing profile.
|
920
|
+
#
|
921
|
+
# @option params [required, Array<String>] :tag_keys
|
922
|
+
# A list of tag keys to be removed from the signing profile.
|
923
|
+
#
|
924
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
925
|
+
#
|
926
|
+
# @example Request syntax with placeholder values
|
927
|
+
#
|
928
|
+
# resp = client.untag_resource({
|
929
|
+
# resource_arn: "String", # required
|
930
|
+
# tag_keys: ["TagKey"], # required
|
931
|
+
# })
|
932
|
+
#
|
933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/UntagResource AWS API Documentation
|
934
|
+
#
|
935
|
+
# @overload untag_resource(params = {})
|
936
|
+
# @param [Hash] params ({})
|
937
|
+
def untag_resource(params = {}, options = {})
|
938
|
+
req = build_request(:untag_resource, params)
|
939
|
+
req.send_request(options)
|
940
|
+
end
|
941
|
+
|
772
942
|
# @!endgroup
|
773
943
|
|
774
944
|
# @param params ({})
|
@@ -782,7 +952,7 @@ module Aws::Signer
|
|
782
952
|
params: params,
|
783
953
|
config: config)
|
784
954
|
context[:gem_name] = 'aws-sdk-signer'
|
785
|
-
context[:gem_version] = '1.
|
955
|
+
context[:gem_version] = '1.21.0'
|
786
956
|
Seahorse::Client::Request.new(handlers, context)
|
787
957
|
end
|
788
958
|
|
@@ -848,9 +1018,9 @@ module Aws::Signer
|
|
848
1018
|
# The following table lists the valid waiter names, the operations they call,
|
849
1019
|
# and the default `:delay` and `:max_attempts` values.
|
850
1020
|
#
|
851
|
-
# | waiter_name | params
|
852
|
-
# | ---------------------- |
|
853
|
-
# | 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 |
|
854
1024
|
#
|
855
1025
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
856
1026
|
# because the waiter has entered a state that it will not transition
|