aws-sdk-signer 1.51.0 → 1.53.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-signer/client.rb +94 -47
- data/lib/aws-sdk-signer/client_api.rb +1 -0
- data/lib/aws-sdk-signer/types.rb +21 -2
- data/lib/aws-sdk-signer.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b70a1404c9d02c38eade3ceae84ca14b120023577091f3c082525532e6d7b513
|
4
|
+
data.tar.gz: 3132a245c93f39761c03ad700783fd689c88e0a87ccaeef6bb1e3910370b199a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d95cdc7b26c8d4a91ce80df88f6ba4d1ddff1ffcd4b1a46abb98693ebf828bbad77e3627079777a0ce10439282fba2deca5fce158acebb441f60d7749229a9f6
|
7
|
+
data.tar.gz: 1be9f9b43b01943ccfdd40ed43ac42cea40f367483157861c41b8bc56d732c6e2ff8f5111c3e90cb99f59abb721ac786ad9d0d4538aab11316d68bb17cfd4f6c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.53.0 (2024-04-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for AWS Signer. Adds cross-account signing constraint and definitions for cross-account actions.
|
8
|
+
|
9
|
+
1.52.0 (2024-04-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.51.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.53.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::Signer
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::Signer
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::Signer
|
|
337
346
|
# @option options [Aws::Signer::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Signer::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
368
399
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
372
402
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
378
405
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -397,7 +421,27 @@ module Aws::Signer
|
|
397
421
|
# The version of the signing profile.
|
398
422
|
#
|
399
423
|
# @option params [required, String] :action
|
400
|
-
#
|
424
|
+
# For cross-account signing. Grant a designated account permission to
|
425
|
+
# perform one or more of the following actions. Each action is
|
426
|
+
# associated with a specific API's operations. For more information
|
427
|
+
# about cross-account signing, see [Using cross-account signing with
|
428
|
+
# signing profiles][1] in the *AWS Signer Developer Guide*.
|
429
|
+
#
|
430
|
+
# You can designate the following actions to an account.
|
431
|
+
#
|
432
|
+
# * `signer:StartSigningJob`. This action isn't supported for container
|
433
|
+
# image workflows. For details, see StartSigningJob.
|
434
|
+
#
|
435
|
+
# * `signer:SignPayload`. This action isn't supported for AWS Lambda
|
436
|
+
# workflows. For details, see SignPayload
|
437
|
+
#
|
438
|
+
# * `signer:GetSigningProfile`. For details, see GetSigningProfile.
|
439
|
+
#
|
440
|
+
# * `signer:RevokeSignature`. For details, see RevokeSignature.
|
441
|
+
#
|
442
|
+
#
|
443
|
+
#
|
444
|
+
# [1]: https://docs.aws.amazon.com/signer/latest/developerguide/signing-profile-cross-account.html
|
401
445
|
#
|
402
446
|
# @option params [required, String] :principal
|
403
447
|
# The AWS principal receiving cross-account permissions. This may be an
|
@@ -1286,6 +1330,9 @@ module Aws::Signer
|
|
1286
1330
|
# * You specify the name of the source and destination buckets when
|
1287
1331
|
# calling the `StartSigningJob` operation.
|
1288
1332
|
#
|
1333
|
+
# * You must ensure the S3 buckets are from the same Region as the
|
1334
|
+
# signing profile. Cross-Region signing isn't supported.
|
1335
|
+
#
|
1289
1336
|
# * You must also specify a request token that identifies your request
|
1290
1337
|
# to Signer.
|
1291
1338
|
#
|
@@ -1433,7 +1480,7 @@ module Aws::Signer
|
|
1433
1480
|
params: params,
|
1434
1481
|
config: config)
|
1435
1482
|
context[:gem_name] = 'aws-sdk-signer'
|
1436
|
-
context[:gem_version] = '1.
|
1483
|
+
context[:gem_version] = '1.53.0'
|
1437
1484
|
Seahorse::Client::Request.new(handlers, context)
|
1438
1485
|
end
|
1439
1486
|
|
data/lib/aws-sdk-signer/types.rb
CHANGED
@@ -36,8 +36,27 @@ module Aws::Signer
|
|
36
36
|
# @return [String]
|
37
37
|
#
|
38
38
|
# @!attribute [rw] action
|
39
|
-
#
|
40
|
-
#
|
39
|
+
# For cross-account signing. Grant a designated account permission to
|
40
|
+
# perform one or more of the following actions. Each action is
|
41
|
+
# associated with a specific API's operations. For more information
|
42
|
+
# about cross-account signing, see [Using cross-account signing with
|
43
|
+
# signing profiles][1] in the *AWS Signer Developer Guide*.
|
44
|
+
#
|
45
|
+
# You can designate the following actions to an account.
|
46
|
+
#
|
47
|
+
# * `signer:StartSigningJob`. This action isn't supported for
|
48
|
+
# container image workflows. For details, see StartSigningJob.
|
49
|
+
#
|
50
|
+
# * `signer:SignPayload`. This action isn't supported for AWS Lambda
|
51
|
+
# workflows. For details, see SignPayload
|
52
|
+
#
|
53
|
+
# * `signer:GetSigningProfile`. For details, see GetSigningProfile.
|
54
|
+
#
|
55
|
+
# * `signer:RevokeSignature`. For details, see RevokeSignature.
|
56
|
+
#
|
57
|
+
#
|
58
|
+
#
|
59
|
+
# [1]: https://docs.aws.amazon.com/signer/latest/developerguide/signing-profile-cross-account.html
|
41
60
|
# @return [String]
|
42
61
|
#
|
43
62
|
# @!attribute [rw] principal
|
data/lib/aws-sdk-signer.rb
CHANGED
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.53.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: 2024-
|
11
|
+
date: 2024-04-30 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.193.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.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|