aws-sdk-acmpca 1.54.0 → 1.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-acmpca/client.rb +15 -11
- data/lib/aws-sdk-acmpca/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-acmpca/endpoint_provider.rb +29 -26
- data/lib/aws-sdk-acmpca/types.rb +14 -10
- data/lib/aws-sdk-acmpca.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29a8c31bf94981bd67cc85a878c4fb93bdf999b2a662d78cbc2c5df68c8680b3
|
4
|
+
data.tar.gz: bba43113622380d993c3a6229ef665b5f0abe1bf19b680c8a9f0527fdbbaad88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4b8689f469bc128d1844199716ab7966af5752dbbaf7e1c53b6420405a0e8991cdc6257dd5d978bc85164bf8fc63a22da4284972ec12cc65e52360d8b85aded
|
7
|
+
data.tar.gz: 1e2f7647ad6e1d9e52b6fe5422d2464910eefe16d9b9d58bce5b2422c846868e2a88823128be6548d33f9599e803f22f51ef92770f4423eda0e183cf757824e2
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.55.0
|
@@ -473,20 +473,24 @@ module Aws::ACMPCA
|
|
473
473
|
#
|
474
474
|
# Default: FIPS\_140\_2\_LEVEL\_3\_OR\_HIGHER
|
475
475
|
#
|
476
|
-
#
|
477
|
-
#
|
478
|
-
#
|
479
|
-
# * ap-northeast-3
|
480
|
-
#
|
481
|
-
# * ap-southeast-3
|
482
|
-
#
|
483
|
-
# When creating a CA in these Regions, you must provide
|
476
|
+
# <note markdown="1"> Some Amazon Web Services Regions do not support the default. When
|
477
|
+
# creating a CA in these Regions, you must provide
|
484
478
|
# `FIPS_140_2_LEVEL_2_OR_HIGHER` as the argument for
|
485
479
|
# `KeyStorageSecurityStandard`. Failure to do this results in an
|
486
480
|
# `InvalidArgsException` with the message, "A certificate authority
|
487
481
|
# cannot be created in this region with the specified security
|
488
482
|
# standard."
|
489
483
|
#
|
484
|
+
# For information about security standard support in various Regions,
|
485
|
+
# see [Storage and security compliance of Amazon Web Services Private CA
|
486
|
+
# private keys][1].
|
487
|
+
#
|
488
|
+
# </note>
|
489
|
+
#
|
490
|
+
#
|
491
|
+
#
|
492
|
+
# [1]: https://docs.aws.amazon.com/privateca/latest/userguide/data-protection.html#private-keys
|
493
|
+
#
|
490
494
|
# @option params [Array<Types::Tag>] :tags
|
491
495
|
# Key-value pairs that will be attached to the new private CA. You can
|
492
496
|
# associate up to 50 tags with a private CA. For information using tags
|
@@ -1629,7 +1633,7 @@ module Aws::ACMPCA
|
|
1629
1633
|
# parameter used to sign a CSR in the `CreateCertificateAuthority`
|
1630
1634
|
# action.
|
1631
1635
|
#
|
1632
|
-
# <note markdown="1"> The specified signing algorithm family (RSA or ECDSA)
|
1636
|
+
# <note markdown="1"> The specified signing algorithm family (RSA or ECDSA) must match the
|
1633
1637
|
# algorithm family of the CA's secret key.
|
1634
1638
|
#
|
1635
1639
|
# </note>
|
@@ -1697,7 +1701,7 @@ module Aws::ACMPCA
|
|
1697
1701
|
#
|
1698
1702
|
#
|
1699
1703
|
#
|
1700
|
-
# [1]: https://docs.aws.amazon.com/
|
1704
|
+
# [1]: https://docs.aws.amazon.com/privateca/latest/APIReference/API_Validity.html
|
1701
1705
|
# [2]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.5
|
1702
1706
|
#
|
1703
1707
|
# @option params [String] :idempotency_token
|
@@ -2567,7 +2571,7 @@ module Aws::ACMPCA
|
|
2567
2571
|
params: params,
|
2568
2572
|
config: config)
|
2569
2573
|
context[:gem_name] = 'aws-sdk-acmpca'
|
2570
|
-
context[:gem_version] = '1.
|
2574
|
+
context[:gem_version] = '1.55.0'
|
2571
2575
|
Seahorse::Client::Request.new(handlers, context)
|
2572
2576
|
end
|
2573
2577
|
|
@@ -50,9 +50,6 @@ module Aws::ACMPCA
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,39 +14,42 @@ module Aws::ACMPCA
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.
|
19
|
-
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
26
20
|
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
28
|
-
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://acm-pca-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
32
23
|
end
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://acm-pca-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
37
31
|
end
|
38
|
-
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
39
33
|
end
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://acm-pca.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
|
+
end
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://acm-pca-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
40
|
+
end
|
41
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
42
|
+
end
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
44
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://acm-pca.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
48
|
end
|
46
|
-
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://acm-pca.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
50
|
end
|
48
|
-
return Aws::Endpoints::Endpoint.new(url: "https://acm-pca.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
49
51
|
end
|
52
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
50
53
|
raise ArgumentError, 'No endpoint could be resolved'
|
51
54
|
|
52
55
|
end
|
data/lib/aws-sdk-acmpca/types.rb
CHANGED
@@ -523,19 +523,23 @@ module Aws::ACMPCA
|
|
523
523
|
#
|
524
524
|
# Default: FIPS\_140\_2\_LEVEL\_3\_OR\_HIGHER
|
525
525
|
#
|
526
|
-
#
|
527
|
-
#
|
528
|
-
#
|
529
|
-
# * ap-northeast-3
|
530
|
-
#
|
531
|
-
# * ap-southeast-3
|
532
|
-
#
|
533
|
-
# When creating a CA in these Regions, you must provide
|
526
|
+
# <note markdown="1"> Some Amazon Web Services Regions do not support the default. When
|
527
|
+
# creating a CA in these Regions, you must provide
|
534
528
|
# `FIPS_140_2_LEVEL_2_OR_HIGHER` as the argument for
|
535
529
|
# `KeyStorageSecurityStandard`. Failure to do this results in an
|
536
530
|
# `InvalidArgsException` with the message, "A certificate authority
|
537
531
|
# cannot be created in this region with the specified security
|
538
532
|
# standard."
|
533
|
+
#
|
534
|
+
# For information about security standard support in various Regions,
|
535
|
+
# see [Storage and security compliance of Amazon Web Services Private
|
536
|
+
# CA private keys][1].
|
537
|
+
#
|
538
|
+
# </note>
|
539
|
+
#
|
540
|
+
#
|
541
|
+
#
|
542
|
+
# [1]: https://docs.aws.amazon.com/privateca/latest/userguide/data-protection.html#private-keys
|
539
543
|
# @return [String]
|
540
544
|
#
|
541
545
|
# @!attribute [rw] tags
|
@@ -1581,7 +1585,7 @@ module Aws::ACMPCA
|
|
1581
1585
|
# parameter used to sign a CSR in the `CreateCertificateAuthority`
|
1582
1586
|
# action.
|
1583
1587
|
#
|
1584
|
-
# <note markdown="1"> The specified signing algorithm family (RSA or ECDSA)
|
1588
|
+
# <note markdown="1"> The specified signing algorithm family (RSA or ECDSA) must match the
|
1585
1589
|
# algorithm family of the CA's secret key.
|
1586
1590
|
#
|
1587
1591
|
# </note>
|
@@ -1652,7 +1656,7 @@ module Aws::ACMPCA
|
|
1652
1656
|
#
|
1653
1657
|
#
|
1654
1658
|
#
|
1655
|
-
# [1]: https://docs.aws.amazon.com/
|
1659
|
+
# [1]: https://docs.aws.amazon.com/privateca/latest/APIReference/API_Validity.html
|
1656
1660
|
# [2]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.5
|
1657
1661
|
# @return [Types::Validity]
|
1658
1662
|
#
|
data/lib/aws-sdk-acmpca.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-acmpca
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.55.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: 2023-
|
11
|
+
date: 2023-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|