aws-sdk-acmpca 1.63.0 → 1.65.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3020abde437c5bb3d473197d6b45c58a99a74612d2b54031cdef3cf8a459dc96
4
- data.tar.gz: cb7e96e1a028f8b92ef988114c476cc015e7fe954f28c84562c22a0dcdf6ffb7
3
+ metadata.gz: b087b91142625b77393011af4588747185ffd41f1ea1733ac86a0d8bbd5b03a0
4
+ data.tar.gz: e36fcbf95cc7e33206373ee01d62164faa9670f0a504a6a650de582e158d61ac
5
5
  SHA512:
6
- metadata.gz: f567b97dd308ee0dc023745625511e3cbdbe3c87f20c51c39eb61ce7c877699849f6eb27b1cda7ee6c603c87d050f671a01d957a50473ac919cdc32793220a50
7
- data.tar.gz: 48693a8ab8a6e5a7c6c90c619c3fd6c68bec6645015c83c75ce4ea3cb7bbe9294604b6fdb1b92137c84573c1a1b6ffdb916586fd9a420e8f89ef5c8908851f30
6
+ metadata.gz: 411945a528943f41d027f42bfa4ff887ba05694c3cbf4622e4fbeb9540f8a0a75d91bf75625ea27c7a17334b4e469263497eceb1153d97e556dd769989c1e82c
7
+ data.tar.gz: 6a336f7c0d98e91c2642d24def58917fc9193c257db2df2692480ef51638bad1134843ca91cae607ea231904867b2d7aa02d5e6549b2f81c21abae470ca402a3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.65.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.64.0 (2024-01-25)
10
+ ------------------
11
+
12
+ * Feature - AWS Private CA now supports an option to omit the CDP extension from issued certificates, when CRL revocation is enabled.
13
+
4
14
  1.63.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.63.0
1
+ 1.65.0
@@ -622,6 +622,9 @@ module Aws::ACMPCA
622
622
  # custom_cname: "CnameString",
623
623
  # s3_bucket_name: "S3BucketName3To255",
624
624
  # s3_object_acl: "PUBLIC_READ", # accepts PUBLIC_READ, BUCKET_OWNER_FULL_CONTROL
625
+ # crl_distribution_point_extension_configuration: {
626
+ # omit_extension: false, # required
627
+ # },
625
628
  # },
626
629
  # ocsp_configuration: {
627
630
  # enabled: false, # required
@@ -1138,6 +1141,7 @@ module Aws::ACMPCA
1138
1141
  # resp.certificate_authority.revocation_configuration.crl_configuration.custom_cname #=> String
1139
1142
  # resp.certificate_authority.revocation_configuration.crl_configuration.s3_bucket_name #=> String
1140
1143
  # resp.certificate_authority.revocation_configuration.crl_configuration.s3_object_acl #=> String, one of "PUBLIC_READ", "BUCKET_OWNER_FULL_CONTROL"
1144
+ # resp.certificate_authority.revocation_configuration.crl_configuration.crl_distribution_point_extension_configuration.omit_extension #=> Boolean
1141
1145
  # resp.certificate_authority.revocation_configuration.ocsp_configuration.enabled #=> Boolean
1142
1146
  # resp.certificate_authority.revocation_configuration.ocsp_configuration.ocsp_custom_cname #=> String
1143
1147
  # resp.certificate_authority.restorable_until #=> Time
@@ -1886,6 +1890,9 @@ module Aws::ACMPCA
1886
1890
  # sent in the response. Use this `NextToken` value in a subsequent
1887
1891
  # request to retrieve additional items.
1888
1892
  #
1893
+ # Although the maximum value is 1000, the action only returns a maximum
1894
+ # of 100 items.
1895
+ #
1889
1896
  # @option params [String] :resource_owner
1890
1897
  # Use this parameter to filter the returned set of certificate
1891
1898
  # authorities based on their owner. The default is SELF.
@@ -1980,6 +1987,7 @@ module Aws::ACMPCA
1980
1987
  # resp.certificate_authorities[0].revocation_configuration.crl_configuration.custom_cname #=> String
1981
1988
  # resp.certificate_authorities[0].revocation_configuration.crl_configuration.s3_bucket_name #=> String
1982
1989
  # resp.certificate_authorities[0].revocation_configuration.crl_configuration.s3_object_acl #=> String, one of "PUBLIC_READ", "BUCKET_OWNER_FULL_CONTROL"
1990
+ # resp.certificate_authorities[0].revocation_configuration.crl_configuration.crl_distribution_point_extension_configuration.omit_extension #=> Boolean
1983
1991
  # resp.certificate_authorities[0].revocation_configuration.ocsp_configuration.enabled #=> Boolean
1984
1992
  # resp.certificate_authorities[0].revocation_configuration.ocsp_configuration.ocsp_custom_cname #=> String
1985
1993
  # resp.certificate_authorities[0].restorable_until #=> Time
@@ -2555,6 +2563,9 @@ module Aws::ACMPCA
2555
2563
  # custom_cname: "CnameString",
2556
2564
  # s3_bucket_name: "S3BucketName3To255",
2557
2565
  # s3_object_acl: "PUBLIC_READ", # accepts PUBLIC_READ, BUCKET_OWNER_FULL_CONTROL
2566
+ # crl_distribution_point_extension_configuration: {
2567
+ # omit_extension: false, # required
2568
+ # },
2558
2569
  # },
2559
2570
  # ocsp_configuration: {
2560
2571
  # enabled: false, # required
@@ -2586,7 +2597,7 @@ module Aws::ACMPCA
2586
2597
  params: params,
2587
2598
  config: config)
2588
2599
  context[:gem_name] = 'aws-sdk-acmpca'
2589
- context[:gem_version] = '1.63.0'
2600
+ context[:gem_version] = '1.65.0'
2590
2601
  Seahorse::Client::Request.new(handlers, context)
2591
2602
  end
2592
2603
 
@@ -2656,7 +2667,7 @@ module Aws::ACMPCA
2656
2667
  # | --------------------------------- | ---------------------------------------------------- | -------- | ------------- |
2657
2668
  # | audit_report_created | {Client#describe_certificate_authority_audit_report} | 3 | 60 |
2658
2669
  # | certificate_authority_csr_created | {Client#get_certificate_authority_csr} | 3 | 60 |
2659
- # | certificate_issued | {Client#get_certificate} | 3 | 60 |
2670
+ # | certificate_issued | {Client#get_certificate} | 1 | 60 |
2660
2671
  #
2661
2672
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
2662
2673
  # because the waiter has entered a state that it will not transition
@@ -51,6 +51,7 @@ module Aws::ACMPCA
51
51
  CreateCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'CreateCertificateAuthorityResponse')
52
52
  CreatePermissionRequest = Shapes::StructureShape.new(name: 'CreatePermissionRequest')
53
53
  CrlConfiguration = Shapes::StructureShape.new(name: 'CrlConfiguration')
54
+ CrlDistributionPointExtensionConfiguration = Shapes::StructureShape.new(name: 'CrlDistributionPointExtensionConfiguration')
54
55
  CsrBlob = Shapes::BlobShape.new(name: 'CsrBlob')
55
56
  CsrBody = Shapes::StringShape.new(name: 'CsrBody')
56
57
  CsrExtensions = Shapes::StructureShape.new(name: 'CsrExtensions')
@@ -258,8 +259,12 @@ module Aws::ACMPCA
258
259
  CrlConfiguration.add_member(:custom_cname, Shapes::ShapeRef.new(shape: CnameString, location_name: "CustomCname"))
259
260
  CrlConfiguration.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName3To255, location_name: "S3BucketName"))
260
261
  CrlConfiguration.add_member(:s3_object_acl, Shapes::ShapeRef.new(shape: S3ObjectAcl, location_name: "S3ObjectAcl"))
262
+ CrlConfiguration.add_member(:crl_distribution_point_extension_configuration, Shapes::ShapeRef.new(shape: CrlDistributionPointExtensionConfiguration, location_name: "CrlDistributionPointExtensionConfiguration"))
261
263
  CrlConfiguration.struct_class = Types::CrlConfiguration
262
264
 
265
+ CrlDistributionPointExtensionConfiguration.add_member(:omit_extension, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "OmitExtension", metadata: {"box"=>true}))
266
+ CrlDistributionPointExtensionConfiguration.struct_class = Types::CrlDistributionPointExtensionConfiguration
267
+
263
268
  CsrExtensions.add_member(:key_usage, Shapes::ShapeRef.new(shape: KeyUsage, location_name: "KeyUsage"))
264
269
  CsrExtensions.add_member(:subject_information_access, Shapes::ShapeRef.new(shape: AccessDescriptionList, location_name: "SubjectInformationAccess"))
265
270
  CsrExtensions.struct_class = Types::CsrExtensions
@@ -32,8 +32,8 @@ module Aws::ACMPCA
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
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"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
37
37
  return Aws::Endpoints::Endpoint.new(url: "https://acm-pca.#{region}.amazonaws.com", headers: {}, properties: {})
38
38
  end
39
39
  return Aws::Endpoints::Endpoint.new(url: "https://acm-pca-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
@@ -14,6 +14,7 @@ module Aws::ACMPCA
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::ACMPCA::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -640,9 +640,12 @@ module Aws::ACMPCA
640
640
  # Your private CA writes CRLs to an S3 bucket that you specify in the
641
641
  # **S3BucketName** parameter. You can hide the name of your bucket by
642
642
  # specifying a value for the **CustomCname** parameter. Your private CA
643
- # copies the CNAME or the S3 bucket name to the **CRL Distribution
644
- # Points** extension of each certificate it issues. Your S3 bucket
645
- # policy must give write permission to Amazon Web Services Private CA.
643
+ # by default copies the CNAME or the S3 bucket name to the **CRL
644
+ # Distribution Points** extension of each certificate it issues. If you
645
+ # want to configure this default behavior to be something different, you
646
+ # can set the **CrlDistributionPointExtensionConfiguration** parameter.
647
+ # Your S3 bucket policy must give write permission to Amazon Web
648
+ # Services Private CA.
646
649
  #
647
650
  # Amazon Web Services Private CA assets that are stored in Amazon S3 can
648
651
  # be protected with encryption. For more information, see [Encrypting
@@ -798,6 +801,13 @@ module Aws::ACMPCA
798
801
  # [1]: https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#s3-bpa
799
802
  # @return [String]
800
803
  #
804
+ # @!attribute [rw] crl_distribution_point_extension_configuration
805
+ # Configures the behavior of the CRL Distribution Point extension for
806
+ # certificates issued by your certificate authority. If this field is
807
+ # not provided, then the CRl Distribution Point Extension will be
808
+ # present and contain the default CRL URL.
809
+ # @return [Types::CrlDistributionPointExtensionConfiguration]
810
+ #
801
811
  # @see http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/CrlConfiguration AWS API Documentation
802
812
  #
803
813
  class CrlConfiguration < Struct.new(
@@ -805,7 +815,38 @@ module Aws::ACMPCA
805
815
  :expiration_in_days,
806
816
  :custom_cname,
807
817
  :s3_bucket_name,
808
- :s3_object_acl)
818
+ :s3_object_acl,
819
+ :crl_distribution_point_extension_configuration)
820
+ SENSITIVE = []
821
+ include Aws::Structure
822
+ end
823
+
824
+ # Contains configuration information for the default behavior of the CRL
825
+ # Distribution Point (CDP) extension in certificates issued by your CA.
826
+ # This extension contains a link to download the CRL, so you can check
827
+ # whether a certificate has been revoked. To choose whether you want
828
+ # this extension omitted or not in certificates issued by your CA, you
829
+ # can set the **OmitExtension** parameter.
830
+ #
831
+ # @!attribute [rw] omit_extension
832
+ # Configures whether the CRL Distribution Point extension should be
833
+ # populated with the default URL to the CRL. If set to `true`, then
834
+ # the CDP extension will not be present in any certificates issued by
835
+ # that CA unless otherwise specified through CSR or API passthrough.
836
+ #
837
+ # <note markdown="1"> Only set this if you have another way to distribute the CRL
838
+ # Distribution Points ffor certificates issued by your CA, such as the
839
+ # Matter Distributed Compliance Ledger
840
+ #
841
+ # This configuration cannot be enabled with a custom CNAME set.
842
+ #
843
+ # </note>
844
+ # @return [Boolean]
845
+ #
846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/CrlDistributionPointExtensionConfiguration AWS API Documentation
847
+ #
848
+ class CrlDistributionPointExtensionConfiguration < Struct.new(
849
+ :omit_extension)
809
850
  SENSITIVE = []
810
851
  include Aws::Structure
811
852
  end
@@ -1785,6 +1826,9 @@ module Aws::ACMPCA
1785
1826
  # additional items exist beyond the number you specify, the
1786
1827
  # `NextToken` element is sent in the response. Use this `NextToken`
1787
1828
  # value in a subsequent request to retrieve additional items.
1829
+ #
1830
+ # Although the maximum value is 1000, the action only returns a
1831
+ # maximum of 100 items.
1788
1832
  # @return [Integer]
1789
1833
  #
1790
1834
  # @!attribute [rw] resource_owner
@@ -71,7 +71,7 @@ module Aws::ACMPCA
71
71
  # | --------------------------------- | ---------------------------------------------------- | -------- | ------------- |
72
72
  # | audit_report_created | {Client#describe_certificate_authority_audit_report} | 3 | 60 |
73
73
  # | certificate_authority_csr_created | {Client#get_certificate_authority_csr} | 3 | 60 |
74
- # | certificate_issued | {Client#get_certificate} | 3 | 60 |
74
+ # | certificate_issued | {Client#get_certificate} | 1 | 60 |
75
75
  #
76
76
  module Waiters
77
77
 
@@ -169,14 +169,14 @@ module Aws::ACMPCA
169
169
  # @param [Hash] options
170
170
  # @option options [required, Client] :client
171
171
  # @option options [Integer] :max_attempts (60)
172
- # @option options [Integer] :delay (3)
172
+ # @option options [Integer] :delay (1)
173
173
  # @option options [Proc] :before_attempt
174
174
  # @option options [Proc] :before_wait
175
175
  def initialize(options)
176
176
  @client = options.fetch(:client)
177
177
  @waiter = Aws::Waiters::Waiter.new({
178
178
  max_attempts: 60,
179
- delay: 3,
179
+ delay: 1,
180
180
  poller: Aws::Waiters::Poller.new(
181
181
  operation_name: :get_certificate,
182
182
  acceptors: [
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-acmpca/customizations'
53
53
  # @!group service
54
54
  module Aws::ACMPCA
55
55
 
56
- GEM_VERSION = '1.63.0'
56
+ GEM_VERSION = '1.65.0'
57
57
 
58
58
  end