aws-sdk-acm 1.108.0 → 1.109.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-acm/client.rb +85 -11
- data/lib/aws-sdk-acm/client_api.rb +81 -0
- data/lib/aws-sdk-acm/endpoints.rb +11 -0
- data/lib/aws-sdk-acm/types.rb +291 -10
- data/lib/aws-sdk-acm.rb +1 -1
- data/sig/client.rbs +17 -2
- data/sig/types.rbs +69 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe08ca5c9a2ce8b86a8c7ba8d770a44692d2e048f3633870903acc188bcbacd9
|
|
4
|
+
data.tar.gz: 80c9ae4e22e4065cff9006928129b65e6462d6193311c49250f669b44be8f5b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf92a895b1b1063f36f9366aff1b38abbd026f7d3e43e5dc80ada0352b0fa2de158f8f220b2bac6553589744107a5e638eed8c7caae8c8b35671cb349d5cf8c8
|
|
7
|
+
data.tar.gz: bb58412aac0fb227dbca9a13aa19ca613bdf94a1c84a25f2b25e2db407ff75b7db42ff1525f9d15a93df1775234f382d5fab63e94c92ba6ed14fb0e483a86c7c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.109.0 (2026-08-13)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This change allows customers to update their existing email-validated certificates to use the DNS validation method.
|
|
8
|
+
|
|
4
9
|
1.108.0 (2026-07-09)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.109.0
|
data/lib/aws-sdk-acm/client.rb
CHANGED
|
@@ -1156,6 +1156,13 @@ module Aws::ACM
|
|
|
1156
1156
|
# resp.certificate.renewal_eligibility #=> String, one of "ELIGIBLE", "INELIGIBLE"
|
|
1157
1157
|
# resp.certificate.options.certificate_transparency_logging_preference #=> String, one of "ENABLED", "DISABLED"
|
|
1158
1158
|
# resp.certificate.options.export #=> String, one of "ENABLED", "DISABLED"
|
|
1159
|
+
# resp.certificate.options.validation_method #=> String, one of "EMAIL", "DNS", "HTTP"
|
|
1160
|
+
# resp.certificate.update_summary.status #=> String, one of "PENDING_DOMAIN_VALIDATION", "SUCCESS", "FAILED"
|
|
1161
|
+
# resp.certificate.update_summary.type #=> String, one of "DOMAIN_VALIDATION_METHOD"
|
|
1162
|
+
# resp.certificate.update_summary.domain_validation_method_update_summary.from #=> String, one of "EMAIL", "DNS", "HTTP"
|
|
1163
|
+
# resp.certificate.update_summary.domain_validation_method_update_summary.to #=> String, one of "EMAIL", "DNS", "HTTP"
|
|
1164
|
+
# resp.certificate.update_summary.requested_at #=> Time
|
|
1165
|
+
# resp.certificate.update_summary.updated_at #=> Time
|
|
1159
1166
|
# resp.certificate.certificate_key_pair_origin #=> String, one of "AWS_MANAGED", "ACME", "CUSTOMER_PROVIDED"
|
|
1160
1167
|
# resp.certificate.acme_endpoint_arn #=> String
|
|
1161
1168
|
# resp.certificate.acme_account_id #=> String
|
|
@@ -1668,6 +1675,72 @@ module Aws::ACM
|
|
|
1668
1675
|
req.send_request(options)
|
|
1669
1676
|
end
|
|
1670
1677
|
|
|
1678
|
+
# Returns per-domain validation summaries for an ACM certificate. Each
|
|
1679
|
+
# summary includes the domain name, the active validation configuration,
|
|
1680
|
+
# and the requested validation configuration when a validation method
|
|
1681
|
+
# migration is in progress. You can use the results to monitor the
|
|
1682
|
+
# progress of an email-to-DNS validation migration and to retrieve the
|
|
1683
|
+
# CNAME records required for DNS validation.
|
|
1684
|
+
#
|
|
1685
|
+
# @option params [required, String] :certificate_arn
|
|
1686
|
+
# The Amazon Resource Name (ARN) of the certificate for which to list
|
|
1687
|
+
# domain validation summaries.
|
|
1688
|
+
#
|
|
1689
|
+
# @option params [String] :next_token
|
|
1690
|
+
# A token returned by a previous call to
|
|
1691
|
+
# `ListCertificateDomainValidations`. If the number of results exceeds
|
|
1692
|
+
# `MaxItems`, use this token to retrieve the next page of results.
|
|
1693
|
+
#
|
|
1694
|
+
# @option params [Integer] :max_items
|
|
1695
|
+
# The maximum number of domain validation summaries to return. If you
|
|
1696
|
+
# don't specify a value, the default is 1000.
|
|
1697
|
+
#
|
|
1698
|
+
# @return [Types::ListCertificateDomainValidationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1699
|
+
#
|
|
1700
|
+
# * {Types::ListCertificateDomainValidationsResponse#domain_validation_summary_list #domain_validation_summary_list} => Array<Types::DomainValidationSummary>
|
|
1701
|
+
# * {Types::ListCertificateDomainValidationsResponse#next_token #next_token} => String
|
|
1702
|
+
#
|
|
1703
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1704
|
+
#
|
|
1705
|
+
# @example Request syntax with placeholder values
|
|
1706
|
+
#
|
|
1707
|
+
# resp = client.list_certificate_domain_validations({
|
|
1708
|
+
# certificate_arn: "CertificateArn", # required
|
|
1709
|
+
# next_token: "NextToken",
|
|
1710
|
+
# max_items: 1,
|
|
1711
|
+
# })
|
|
1712
|
+
#
|
|
1713
|
+
# @example Response structure
|
|
1714
|
+
#
|
|
1715
|
+
# resp.domain_validation_summary_list #=> Array
|
|
1716
|
+
# resp.domain_validation_summary_list[0].domain_name #=> String
|
|
1717
|
+
# resp.domain_validation_summary_list[0].active_validation_configuration.validation_method #=> String, one of "EMAIL", "DNS", "HTTP"
|
|
1718
|
+
# resp.domain_validation_summary_list[0].active_validation_configuration.validation_challenge.email_validation_challenge.validation_emails #=> Array
|
|
1719
|
+
# resp.domain_validation_summary_list[0].active_validation_configuration.validation_challenge.email_validation_challenge.validation_emails[0] #=> String
|
|
1720
|
+
# resp.domain_validation_summary_list[0].active_validation_configuration.validation_challenge.email_validation_challenge.validation_domain #=> String
|
|
1721
|
+
# resp.domain_validation_summary_list[0].active_validation_configuration.validation_challenge.dns_validation_challenge.resource_record.name #=> String
|
|
1722
|
+
# resp.domain_validation_summary_list[0].active_validation_configuration.validation_challenge.dns_validation_challenge.resource_record.type #=> String, one of "CNAME"
|
|
1723
|
+
# resp.domain_validation_summary_list[0].active_validation_configuration.validation_challenge.dns_validation_challenge.resource_record.value #=> String
|
|
1724
|
+
# resp.domain_validation_summary_list[0].active_validation_configuration.validation_status #=> String, one of "PENDING_VALIDATION", "SUCCESS", "FAILED"
|
|
1725
|
+
# resp.domain_validation_summary_list[0].requested_validation_configuration.validation_method #=> String, one of "EMAIL", "DNS", "HTTP"
|
|
1726
|
+
# resp.domain_validation_summary_list[0].requested_validation_configuration.validation_challenge.email_validation_challenge.validation_emails #=> Array
|
|
1727
|
+
# resp.domain_validation_summary_list[0].requested_validation_configuration.validation_challenge.email_validation_challenge.validation_emails[0] #=> String
|
|
1728
|
+
# resp.domain_validation_summary_list[0].requested_validation_configuration.validation_challenge.email_validation_challenge.validation_domain #=> String
|
|
1729
|
+
# resp.domain_validation_summary_list[0].requested_validation_configuration.validation_challenge.dns_validation_challenge.resource_record.name #=> String
|
|
1730
|
+
# resp.domain_validation_summary_list[0].requested_validation_configuration.validation_challenge.dns_validation_challenge.resource_record.type #=> String, one of "CNAME"
|
|
1731
|
+
# resp.domain_validation_summary_list[0].requested_validation_configuration.validation_challenge.dns_validation_challenge.resource_record.value #=> String
|
|
1732
|
+
# resp.domain_validation_summary_list[0].requested_validation_configuration.validation_status #=> String, one of "PENDING_VALIDATION", "SUCCESS", "FAILED"
|
|
1733
|
+
# resp.next_token #=> String
|
|
1734
|
+
#
|
|
1735
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificateDomainValidations AWS API Documentation
|
|
1736
|
+
#
|
|
1737
|
+
# @overload list_certificate_domain_validations(params = {})
|
|
1738
|
+
# @param [Hash] params ({})
|
|
1739
|
+
def list_certificate_domain_validations(params = {}, options = {})
|
|
1740
|
+
req = build_request(:list_certificate_domain_validations, params)
|
|
1741
|
+
req.send_request(options)
|
|
1742
|
+
end
|
|
1743
|
+
|
|
1671
1744
|
# Retrieves a list of certificate ARNs and domain names. You can request
|
|
1672
1745
|
# that only certificates that match a specific status be listed. You can
|
|
1673
1746
|
# also filter by specific attributes of the certificate. Default
|
|
@@ -2192,6 +2265,7 @@ module Aws::ACM
|
|
|
2192
2265
|
# options: {
|
|
2193
2266
|
# certificate_transparency_logging_preference: "ENABLED", # accepts ENABLED, DISABLED
|
|
2194
2267
|
# export: "ENABLED", # accepts ENABLED, DISABLED
|
|
2268
|
+
# validation_method: "EMAIL", # accepts EMAIL, DNS, HTTP
|
|
2195
2269
|
# },
|
|
2196
2270
|
# certificate_authority_arn: "PcaArn",
|
|
2197
2271
|
# tags: [
|
|
@@ -2742,15 +2816,15 @@ module Aws::ACM
|
|
|
2742
2816
|
req.send_request(options)
|
|
2743
2817
|
end
|
|
2744
2818
|
|
|
2745
|
-
# Updates
|
|
2746
|
-
#
|
|
2747
|
-
#
|
|
2748
|
-
#
|
|
2819
|
+
# Updates certificate options. You can use this operation to change the
|
|
2820
|
+
# domain validation method or specify whether to export your
|
|
2821
|
+
# certificate. For more information, see [Migrate from email to DNS
|
|
2822
|
+
# validation][1] and [Certificate Manager Exportable Managed
|
|
2749
2823
|
# Certificates][2].
|
|
2750
2824
|
#
|
|
2751
2825
|
#
|
|
2752
2826
|
#
|
|
2753
|
-
# [1]: https://docs.aws.amazon.com/acm/latest/userguide/
|
|
2827
|
+
# [1]: https://docs.aws.amazon.com/acm/latest/userguide/email-to-dns-migration.html
|
|
2754
2828
|
# [2]: https://docs.aws.amazon.com/acm/latest/userguide/acm-exportable-certificates.html
|
|
2755
2829
|
#
|
|
2756
2830
|
# @option params [required, String] :certificate_arn
|
|
@@ -2761,14 +2835,13 @@ module Aws::ACM
|
|
|
2761
2835
|
#
|
|
2762
2836
|
# @option params [required, Types::CertificateOptions] :options
|
|
2763
2837
|
# Use to update the options for your certificate. Currently, you can
|
|
2764
|
-
# specify whether to export your
|
|
2765
|
-
#
|
|
2766
|
-
#
|
|
2767
|
-
# [Certificate Transparency Logging][1].
|
|
2838
|
+
# change the domain validation method or specify whether to export your
|
|
2839
|
+
# certificate. For more information about migrating from email to DNS
|
|
2840
|
+
# validation, see [Migrate from email to DNS validation][1].
|
|
2768
2841
|
#
|
|
2769
2842
|
#
|
|
2770
2843
|
#
|
|
2771
|
-
# [1]: https://docs.aws.amazon.com/acm/latest/userguide/
|
|
2844
|
+
# [1]: https://docs.aws.amazon.com/acm/latest/userguide/email-to-dns-migration.html
|
|
2772
2845
|
#
|
|
2773
2846
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2774
2847
|
#
|
|
@@ -2779,6 +2852,7 @@ module Aws::ACM
|
|
|
2779
2852
|
# options: { # required
|
|
2780
2853
|
# certificate_transparency_logging_preference: "ENABLED", # accepts ENABLED, DISABLED
|
|
2781
2854
|
# export: "ENABLED", # accepts ENABLED, DISABLED
|
|
2855
|
+
# validation_method: "EMAIL", # accepts EMAIL, DNS, HTTP
|
|
2782
2856
|
# },
|
|
2783
2857
|
# })
|
|
2784
2858
|
#
|
|
@@ -2809,7 +2883,7 @@ module Aws::ACM
|
|
|
2809
2883
|
tracer: tracer
|
|
2810
2884
|
)
|
|
2811
2885
|
context[:gem_name] = 'aws-sdk-acm'
|
|
2812
|
-
context[:gem_version] = '1.
|
|
2886
|
+
context[:gem_version] = '1.109.0'
|
|
2813
2887
|
Seahorse::Client::Request.new(handlers, context)
|
|
2814
2888
|
end
|
|
2815
2889
|
|
|
@@ -42,6 +42,7 @@ module Aws::ACM
|
|
|
42
42
|
AddTagsToCertificateRequest = Shapes::StructureShape.new(name: 'AddTagsToCertificateRequest')
|
|
43
43
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
|
44
44
|
AvailabilityErrorMessage = Shapes::StringShape.new(name: 'AvailabilityErrorMessage')
|
|
45
|
+
CertificateArn = Shapes::StringShape.new(name: 'CertificateArn')
|
|
45
46
|
CertificateAuthority = Shapes::UnionShape.new(name: 'CertificateAuthority')
|
|
46
47
|
CertificateBody = Shapes::StringShape.new(name: 'CertificateBody')
|
|
47
48
|
CertificateBodyBlob = Shapes::BlobShape.new(name: 'CertificateBodyBlob')
|
|
@@ -97,6 +98,7 @@ module Aws::ACM
|
|
|
97
98
|
DnsNameFilter = Shapes::StructureShape.new(name: 'DnsNameFilter')
|
|
98
99
|
DnsPrevalidationDetails = Shapes::StructureShape.new(name: 'DnsPrevalidationDetails')
|
|
99
100
|
DnsPrevalidationOptions = Shapes::StructureShape.new(name: 'DnsPrevalidationOptions')
|
|
101
|
+
DnsValidationChallenge = Shapes::StructureShape.new(name: 'DnsValidationChallenge')
|
|
100
102
|
DomainComponentList = Shapes::ListShape.new(name: 'DomainComponentList')
|
|
101
103
|
DomainList = Shapes::ListShape.new(name: 'DomainList')
|
|
102
104
|
DomainName = Shapes::StringShape.new(name: 'DomainName')
|
|
@@ -106,8 +108,12 @@ module Aws::ACM
|
|
|
106
108
|
DomainStatus = Shapes::StringShape.new(name: 'DomainStatus')
|
|
107
109
|
DomainValidation = Shapes::StructureShape.new(name: 'DomainValidation')
|
|
108
110
|
DomainValidationList = Shapes::ListShape.new(name: 'DomainValidationList')
|
|
111
|
+
DomainValidationMethodUpdateSummary = Shapes::StructureShape.new(name: 'DomainValidationMethodUpdateSummary')
|
|
109
112
|
DomainValidationOption = Shapes::StructureShape.new(name: 'DomainValidationOption')
|
|
110
113
|
DomainValidationOptionList = Shapes::ListShape.new(name: 'DomainValidationOptionList')
|
|
114
|
+
DomainValidationSummary = Shapes::StructureShape.new(name: 'DomainValidationSummary')
|
|
115
|
+
DomainValidationSummaryList = Shapes::ListShape.new(name: 'DomainValidationSummaryList')
|
|
116
|
+
EmailValidationChallenge = Shapes::StructureShape.new(name: 'EmailValidationChallenge')
|
|
111
117
|
Expiration = Shapes::StructureShape.new(name: 'Expiration')
|
|
112
118
|
ExpirationValueLong = Shapes::IntegerShape.new(name: 'ExpirationValueLong')
|
|
113
119
|
ExpiryEventsConfiguration = Shapes::StructureShape.new(name: 'ExpiryEventsConfiguration')
|
|
@@ -162,6 +168,8 @@ module Aws::ACM
|
|
|
162
168
|
ListAcmeExternalAccountBindingsRequest = Shapes::StructureShape.new(name: 'ListAcmeExternalAccountBindingsRequest')
|
|
163
169
|
ListAcmeExternalAccountBindingsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListAcmeExternalAccountBindingsRequestMaxResultsInteger')
|
|
164
170
|
ListAcmeExternalAccountBindingsResponse = Shapes::StructureShape.new(name: 'ListAcmeExternalAccountBindingsResponse')
|
|
171
|
+
ListCertificateDomainValidationsRequest = Shapes::StructureShape.new(name: 'ListCertificateDomainValidationsRequest')
|
|
172
|
+
ListCertificateDomainValidationsResponse = Shapes::StructureShape.new(name: 'ListCertificateDomainValidationsResponse')
|
|
165
173
|
ListCertificatesRequest = Shapes::StructureShape.new(name: 'ListCertificatesRequest')
|
|
166
174
|
ListCertificatesResponse = Shapes::StructureShape.new(name: 'ListCertificatesResponse')
|
|
167
175
|
ListTagsForCertificateRequest = Shapes::StructureShape.new(name: 'ListTagsForCertificateRequest')
|
|
@@ -236,6 +244,11 @@ module Aws::ACM
|
|
|
236
244
|
UpdateAcmeDomainValidationRequest = Shapes::StructureShape.new(name: 'UpdateAcmeDomainValidationRequest')
|
|
237
245
|
UpdateAcmeEndpointRequest = Shapes::StructureShape.new(name: 'UpdateAcmeEndpointRequest')
|
|
238
246
|
UpdateCertificateOptionsRequest = Shapes::StructureShape.new(name: 'UpdateCertificateOptionsRequest')
|
|
247
|
+
UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
|
|
248
|
+
UpdateSummary = Shapes::StructureShape.new(name: 'UpdateSummary')
|
|
249
|
+
UpdateType = Shapes::StringShape.new(name: 'UpdateType')
|
|
250
|
+
ValidationChallenge = Shapes::UnionShape.new(name: 'ValidationChallenge')
|
|
251
|
+
ValidationConfiguration = Shapes::StructureShape.new(name: 'ValidationConfiguration')
|
|
239
252
|
ValidationEmailList = Shapes::ListShape.new(name: 'ValidationEmailList')
|
|
240
253
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
241
254
|
ValidationExceptionMessage = Shapes::StringShape.new(name: 'ValidationExceptionMessage')
|
|
@@ -417,6 +430,7 @@ module Aws::ACM
|
|
|
417
430
|
CertificateDetail.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateAuthorityArn"))
|
|
418
431
|
CertificateDetail.add_member(:renewal_eligibility, Shapes::ShapeRef.new(shape: RenewalEligibility, location_name: "RenewalEligibility"))
|
|
419
432
|
CertificateDetail.add_member(:options, Shapes::ShapeRef.new(shape: CertificateOptions, location_name: "Options"))
|
|
433
|
+
CertificateDetail.add_member(:update_summary, Shapes::ShapeRef.new(shape: UpdateSummary, location_name: "UpdateSummary"))
|
|
420
434
|
CertificateDetail.add_member(:certificate_key_pair_origin, Shapes::ShapeRef.new(shape: CertificateKeyPairOrigin, location_name: "CertificateKeyPairOrigin"))
|
|
421
435
|
CertificateDetail.add_member(:acme_endpoint_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AcmeEndpointArn"))
|
|
422
436
|
CertificateDetail.add_member(:acme_account_id, Shapes::ShapeRef.new(shape: AcmeAccountId, location_name: "AcmeAccountId"))
|
|
@@ -456,6 +470,7 @@ module Aws::ACM
|
|
|
456
470
|
|
|
457
471
|
CertificateOptions.add_member(:certificate_transparency_logging_preference, Shapes::ShapeRef.new(shape: CertificateTransparencyLoggingPreference, deprecated: true, location_name: "CertificateTransparencyLoggingPreference", metadata: {"deprecatedMessage" => "Certificate transparency logging opt-out is no longer available.", "deprecatedSince" => "12th June 2026"}))
|
|
458
472
|
CertificateOptions.add_member(:export, Shapes::ShapeRef.new(shape: CertificateExport, location_name: "Export"))
|
|
473
|
+
CertificateOptions.add_member(:validation_method, Shapes::ShapeRef.new(shape: ValidationMethod, location_name: "ValidationMethod"))
|
|
459
474
|
CertificateOptions.struct_class = Types::CertificateOptions
|
|
460
475
|
|
|
461
476
|
CertificateSearchResult.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateArn"))
|
|
@@ -612,6 +627,9 @@ module Aws::ACM
|
|
|
612
627
|
DnsPrevalidationOptions.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: HostedZoneId, location_name: "HostedZoneId"))
|
|
613
628
|
DnsPrevalidationOptions.struct_class = Types::DnsPrevalidationOptions
|
|
614
629
|
|
|
630
|
+
DnsValidationChallenge.add_member(:resource_record, Shapes::ShapeRef.new(shape: ResourceRecord, location_name: "ResourceRecord"))
|
|
631
|
+
DnsValidationChallenge.struct_class = Types::DnsValidationChallenge
|
|
632
|
+
|
|
615
633
|
DomainComponentList.member = Shapes::ShapeRef.new(shape: String)
|
|
616
634
|
|
|
617
635
|
DomainList.member = Shapes::ShapeRef.new(shape: DomainNameString)
|
|
@@ -632,12 +650,27 @@ module Aws::ACM
|
|
|
632
650
|
|
|
633
651
|
DomainValidationList.member = Shapes::ShapeRef.new(shape: DomainValidation)
|
|
634
652
|
|
|
653
|
+
DomainValidationMethodUpdateSummary.add_member(:from, Shapes::ShapeRef.new(shape: ValidationMethod, location_name: "From"))
|
|
654
|
+
DomainValidationMethodUpdateSummary.add_member(:to, Shapes::ShapeRef.new(shape: ValidationMethod, location_name: "To"))
|
|
655
|
+
DomainValidationMethodUpdateSummary.struct_class = Types::DomainValidationMethodUpdateSummary
|
|
656
|
+
|
|
635
657
|
DomainValidationOption.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainNameString, required: true, location_name: "DomainName"))
|
|
636
658
|
DomainValidationOption.add_member(:validation_domain, Shapes::ShapeRef.new(shape: DomainNameString, required: true, location_name: "ValidationDomain"))
|
|
637
659
|
DomainValidationOption.struct_class = Types::DomainValidationOption
|
|
638
660
|
|
|
639
661
|
DomainValidationOptionList.member = Shapes::ShapeRef.new(shape: DomainValidationOption)
|
|
640
662
|
|
|
663
|
+
DomainValidationSummary.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainNameString, required: true, location_name: "DomainName"))
|
|
664
|
+
DomainValidationSummary.add_member(:active_validation_configuration, Shapes::ShapeRef.new(shape: ValidationConfiguration, location_name: "ActiveValidationConfiguration"))
|
|
665
|
+
DomainValidationSummary.add_member(:requested_validation_configuration, Shapes::ShapeRef.new(shape: ValidationConfiguration, location_name: "RequestedValidationConfiguration"))
|
|
666
|
+
DomainValidationSummary.struct_class = Types::DomainValidationSummary
|
|
667
|
+
|
|
668
|
+
DomainValidationSummaryList.member = Shapes::ShapeRef.new(shape: DomainValidationSummary)
|
|
669
|
+
|
|
670
|
+
EmailValidationChallenge.add_member(:validation_emails, Shapes::ShapeRef.new(shape: ValidationEmailList, location_name: "ValidationEmails"))
|
|
671
|
+
EmailValidationChallenge.add_member(:validation_domain, Shapes::ShapeRef.new(shape: DomainNameString, location_name: "ValidationDomain"))
|
|
672
|
+
EmailValidationChallenge.struct_class = Types::EmailValidationChallenge
|
|
673
|
+
|
|
641
674
|
Expiration.add_member(:value, Shapes::ShapeRef.new(shape: ExpirationValueLong, required: true, location_name: "Value"))
|
|
642
675
|
Expiration.add_member(:type, Shapes::ShapeRef.new(shape: TimeType, required: true, location_name: "Type"))
|
|
643
676
|
Expiration.struct_class = Types::Expiration
|
|
@@ -798,6 +831,15 @@ module Aws::ACM
|
|
|
798
831
|
ListAcmeExternalAccountBindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
|
799
832
|
ListAcmeExternalAccountBindingsResponse.struct_class = Types::ListAcmeExternalAccountBindingsResponse
|
|
800
833
|
|
|
834
|
+
ListCertificateDomainValidationsRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, required: true, location_name: "CertificateArn"))
|
|
835
|
+
ListCertificateDomainValidationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
836
|
+
ListCertificateDomainValidationsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location_name: "MaxItems"))
|
|
837
|
+
ListCertificateDomainValidationsRequest.struct_class = Types::ListCertificateDomainValidationsRequest
|
|
838
|
+
|
|
839
|
+
ListCertificateDomainValidationsResponse.add_member(:domain_validation_summary_list, Shapes::ShapeRef.new(shape: DomainValidationSummaryList, location_name: "DomainValidationSummaryList"))
|
|
840
|
+
ListCertificateDomainValidationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
841
|
+
ListCertificateDomainValidationsResponse.struct_class = Types::ListCertificateDomainValidationsResponse
|
|
842
|
+
|
|
801
843
|
ListCertificatesRequest.add_member(:certificate_statuses, Shapes::ShapeRef.new(shape: CertificateStatuses, location_name: "CertificateStatuses"))
|
|
802
844
|
ListCertificatesRequest.add_member(:certificate_key_pair_origins, Shapes::ShapeRef.new(shape: CertificateKeyPairOrigins, location_name: "CertificateKeyPairOrigins"))
|
|
803
845
|
ListCertificatesRequest.add_member(:includes, Shapes::ShapeRef.new(shape: Filters, location_name: "Includes"))
|
|
@@ -985,6 +1027,26 @@ module Aws::ACM
|
|
|
985
1027
|
UpdateCertificateOptionsRequest.add_member(:options, Shapes::ShapeRef.new(shape: CertificateOptions, required: true, location_name: "Options"))
|
|
986
1028
|
UpdateCertificateOptionsRequest.struct_class = Types::UpdateCertificateOptionsRequest
|
|
987
1029
|
|
|
1030
|
+
UpdateSummary.add_member(:status, Shapes::ShapeRef.new(shape: UpdateStatus, location_name: "Status"))
|
|
1031
|
+
UpdateSummary.add_member(:type, Shapes::ShapeRef.new(shape: UpdateType, location_name: "Type"))
|
|
1032
|
+
UpdateSummary.add_member(:domain_validation_method_update_summary, Shapes::ShapeRef.new(shape: DomainValidationMethodUpdateSummary, location_name: "DomainValidationMethodUpdateSummary"))
|
|
1033
|
+
UpdateSummary.add_member(:requested_at, Shapes::ShapeRef.new(shape: TStamp, location_name: "RequestedAt"))
|
|
1034
|
+
UpdateSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: TStamp, location_name: "UpdatedAt"))
|
|
1035
|
+
UpdateSummary.struct_class = Types::UpdateSummary
|
|
1036
|
+
|
|
1037
|
+
ValidationChallenge.add_member(:email_validation_challenge, Shapes::ShapeRef.new(shape: EmailValidationChallenge, location_name: "EmailValidationChallenge"))
|
|
1038
|
+
ValidationChallenge.add_member(:dns_validation_challenge, Shapes::ShapeRef.new(shape: DnsValidationChallenge, location_name: "DnsValidationChallenge"))
|
|
1039
|
+
ValidationChallenge.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1040
|
+
ValidationChallenge.add_member_subclass(:email_validation_challenge, Types::ValidationChallenge::EmailValidationChallenge)
|
|
1041
|
+
ValidationChallenge.add_member_subclass(:dns_validation_challenge, Types::ValidationChallenge::DnsValidationChallenge)
|
|
1042
|
+
ValidationChallenge.add_member_subclass(:unknown, Types::ValidationChallenge::Unknown)
|
|
1043
|
+
ValidationChallenge.struct_class = Types::ValidationChallenge
|
|
1044
|
+
|
|
1045
|
+
ValidationConfiguration.add_member(:validation_method, Shapes::ShapeRef.new(shape: ValidationMethod, location_name: "ValidationMethod"))
|
|
1046
|
+
ValidationConfiguration.add_member(:validation_challenge, Shapes::ShapeRef.new(shape: ValidationChallenge, location_name: "ValidationChallenge"))
|
|
1047
|
+
ValidationConfiguration.add_member(:validation_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "ValidationStatus"))
|
|
1048
|
+
ValidationConfiguration.struct_class = Types::ValidationConfiguration
|
|
1049
|
+
|
|
988
1050
|
ValidationEmailList.member = Shapes::ShapeRef.new(shape: String)
|
|
989
1051
|
|
|
990
1052
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ValidationExceptionMessage, location_name: "message"))
|
|
@@ -1359,6 +1421,24 @@ module Aws::ACM
|
|
|
1359
1421
|
)
|
|
1360
1422
|
end)
|
|
1361
1423
|
|
|
1424
|
+
api.add_operation(:list_certificate_domain_validations, Seahorse::Model::Operation.new.tap do |o|
|
|
1425
|
+
o.name = "ListCertificateDomainValidations"
|
|
1426
|
+
o.http_method = "POST"
|
|
1427
|
+
o.http_request_uri = "/"
|
|
1428
|
+
o.input = Shapes::ShapeRef.new(shape: ListCertificateDomainValidationsRequest)
|
|
1429
|
+
o.output = Shapes::ShapeRef.new(shape: ListCertificateDomainValidationsResponse)
|
|
1430
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
|
|
1431
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1432
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1433
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
1434
|
+
o[:pager] = Aws::Pager.new(
|
|
1435
|
+
limit_key: "max_items",
|
|
1436
|
+
tokens: {
|
|
1437
|
+
"next_token" => "next_token"
|
|
1438
|
+
}
|
|
1439
|
+
)
|
|
1440
|
+
end)
|
|
1441
|
+
|
|
1362
1442
|
api.add_operation(:list_certificates, Seahorse::Model::Operation.new.tap do |o|
|
|
1363
1443
|
o.name = "ListCertificates"
|
|
1364
1444
|
o.http_method = "POST"
|
|
@@ -1579,6 +1659,7 @@ module Aws::ACM
|
|
|
1579
1659
|
o.input = Shapes::ShapeRef.new(shape: UpdateCertificateOptionsRequest)
|
|
1580
1660
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
1581
1661
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
|
1662
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1582
1663
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
1583
1664
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1584
1665
|
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
|
@@ -210,6 +210,15 @@ module Aws::ACM
|
|
|
210
210
|
end
|
|
211
211
|
end
|
|
212
212
|
|
|
213
|
+
class ListCertificateDomainValidations
|
|
214
|
+
def self.build(context)
|
|
215
|
+
Aws::ACM::EndpointParameters.create(
|
|
216
|
+
context.config,
|
|
217
|
+
service_type: "ACM",
|
|
218
|
+
)
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
|
|
213
222
|
class ListCertificates
|
|
214
223
|
def self.build(context)
|
|
215
224
|
Aws::ACM::EndpointParameters.create(
|
|
@@ -410,6 +419,8 @@ module Aws::ACM
|
|
|
410
419
|
ListAcmeEndpoints.build(context)
|
|
411
420
|
when :list_acme_external_account_bindings
|
|
412
421
|
ListAcmeExternalAccountBindings.build(context)
|
|
422
|
+
when :list_certificate_domain_validations
|
|
423
|
+
ListCertificateDomainValidations.build(context)
|
|
413
424
|
when :list_certificates
|
|
414
425
|
ListCertificates.build(context)
|
|
415
426
|
when :list_tags_for_certificate
|
data/lib/aws-sdk-acm/types.rb
CHANGED
|
@@ -869,6 +869,12 @@ module Aws::ACM
|
|
|
869
869
|
# in a certificate transparency log.
|
|
870
870
|
# @return [Types::CertificateOptions]
|
|
871
871
|
#
|
|
872
|
+
# @!attribute [rw] update_summary
|
|
873
|
+
# Contains information about the most recent update to the
|
|
874
|
+
# certificate. This field exists only when the certificate type is
|
|
875
|
+
# `AMAZON_ISSUED` and a certificate update has been requested.
|
|
876
|
+
# @return [Types::UpdateSummary]
|
|
877
|
+
#
|
|
872
878
|
# @!attribute [rw] certificate_key_pair_origin
|
|
873
879
|
# The origin of the certificate's key pair.
|
|
874
880
|
# @return [String]
|
|
@@ -911,6 +917,7 @@ module Aws::ACM
|
|
|
911
917
|
:certificate_authority_arn,
|
|
912
918
|
:renewal_eligibility,
|
|
913
919
|
:options,
|
|
920
|
+
:update_summary,
|
|
914
921
|
:certificate_key_pair_origin,
|
|
915
922
|
:acme_endpoint_arn,
|
|
916
923
|
:acme_account_id)
|
|
@@ -1015,11 +1022,12 @@ module Aws::ACM
|
|
|
1015
1022
|
end
|
|
1016
1023
|
|
|
1017
1024
|
# Structure that contains options for your certificate. You can use this
|
|
1018
|
-
# structure to specify whether to
|
|
1025
|
+
# structure to change the domain validation method or specify whether to
|
|
1026
|
+
# export your certificate.
|
|
1019
1027
|
#
|
|
1020
|
-
#
|
|
1021
|
-
#
|
|
1022
|
-
#
|
|
1028
|
+
# All public certificates are recorded in a certificate transparency
|
|
1029
|
+
# log. For general information, see [Certificate Transparency
|
|
1030
|
+
# Logging][1].
|
|
1023
1031
|
#
|
|
1024
1032
|
# You can export public ACM certificates to use with Amazon Web Services
|
|
1025
1033
|
# services as well as outside Amazon Web Services Cloud. For more
|
|
@@ -1043,11 +1051,17 @@ module Aws::ACM
|
|
|
1043
1051
|
# the the certificate is created.
|
|
1044
1052
|
# @return [String]
|
|
1045
1053
|
#
|
|
1054
|
+
# @!attribute [rw] validation_method
|
|
1055
|
+
# The domain validation method for the certificate. To migrate from
|
|
1056
|
+
# email to DNS validation, specify `DNS`.
|
|
1057
|
+
# @return [String]
|
|
1058
|
+
#
|
|
1046
1059
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/CertificateOptions AWS API Documentation
|
|
1047
1060
|
#
|
|
1048
1061
|
class CertificateOptions < Struct.new(
|
|
1049
1062
|
:certificate_transparency_logging_preference,
|
|
1050
|
-
:export
|
|
1063
|
+
:export,
|
|
1064
|
+
:validation_method)
|
|
1051
1065
|
SENSITIVE = []
|
|
1052
1066
|
include Aws::Structure
|
|
1053
1067
|
end
|
|
@@ -1823,6 +1837,23 @@ module Aws::ACM
|
|
|
1823
1837
|
include Aws::Structure
|
|
1824
1838
|
end
|
|
1825
1839
|
|
|
1840
|
+
# Contains the CNAME record that you must add to your DNS configuration
|
|
1841
|
+
# to validate domain ownership using DNS validation.
|
|
1842
|
+
#
|
|
1843
|
+
# @!attribute [rw] resource_record
|
|
1844
|
+
# The CNAME record that ACM creates for DNS validation. Add this
|
|
1845
|
+
# record to your DNS configuration to prove that you own or control
|
|
1846
|
+
# the domain.
|
|
1847
|
+
# @return [Types::ResourceRecord]
|
|
1848
|
+
#
|
|
1849
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DnsValidationChallenge AWS API Documentation
|
|
1850
|
+
#
|
|
1851
|
+
class DnsValidationChallenge < Struct.new(
|
|
1852
|
+
:resource_record)
|
|
1853
|
+
SENSITIVE = []
|
|
1854
|
+
include Aws::Structure
|
|
1855
|
+
end
|
|
1856
|
+
|
|
1826
1857
|
# Specifies the scope of domain validation.
|
|
1827
1858
|
#
|
|
1828
1859
|
# @!attribute [rw] exact_domain
|
|
@@ -1918,6 +1949,28 @@ module Aws::ACM
|
|
|
1918
1949
|
include Aws::Structure
|
|
1919
1950
|
end
|
|
1920
1951
|
|
|
1952
|
+
# Contains information about a domain validation method migration,
|
|
1953
|
+
# including the previous validation method and the target validation
|
|
1954
|
+
# method.
|
|
1955
|
+
#
|
|
1956
|
+
# @!attribute [rw] from
|
|
1957
|
+
# The validation method that the certificate was using before the
|
|
1958
|
+
# update.
|
|
1959
|
+
# @return [String]
|
|
1960
|
+
#
|
|
1961
|
+
# @!attribute [rw] to
|
|
1962
|
+
# The target validation method for the update.
|
|
1963
|
+
# @return [String]
|
|
1964
|
+
#
|
|
1965
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DomainValidationMethodUpdateSummary AWS API Documentation
|
|
1966
|
+
#
|
|
1967
|
+
class DomainValidationMethodUpdateSummary < Struct.new(
|
|
1968
|
+
:from,
|
|
1969
|
+
:to)
|
|
1970
|
+
SENSITIVE = []
|
|
1971
|
+
include Aws::Structure
|
|
1972
|
+
end
|
|
1973
|
+
|
|
1921
1974
|
# Contains information about the domain names that you want ACM to use
|
|
1922
1975
|
# to send you emails that enable you to validate domain ownership.
|
|
1923
1976
|
#
|
|
@@ -1954,6 +2007,60 @@ module Aws::ACM
|
|
|
1954
2007
|
include Aws::Structure
|
|
1955
2008
|
end
|
|
1956
2009
|
|
|
2010
|
+
# Contains per-domain validation information for a certificate. This
|
|
2011
|
+
# structure is returned as a member of the
|
|
2012
|
+
# ListCertificateDomainValidations response.
|
|
2013
|
+
#
|
|
2014
|
+
# @!attribute [rw] domain_name
|
|
2015
|
+
# The fully qualified domain name (FQDN) in the certificate for which
|
|
2016
|
+
# this validation summary applies.
|
|
2017
|
+
# @return [String]
|
|
2018
|
+
#
|
|
2019
|
+
# @!attribute [rw] active_validation_configuration
|
|
2020
|
+
# The validation configuration currently in effect for this domain.
|
|
2021
|
+
# This reflects the validation method that ACM is currently using to
|
|
2022
|
+
# validate domain ownership (for example, email or DNS).
|
|
2023
|
+
# @return [Types::ValidationConfiguration]
|
|
2024
|
+
#
|
|
2025
|
+
# @!attribute [rw] requested_validation_configuration
|
|
2026
|
+
# The validation configuration for a pending validation method
|
|
2027
|
+
# migration. This field is present only when a migration is in
|
|
2028
|
+
# progress (for example, from email to DNS validation). It contains
|
|
2029
|
+
# the target validation method, the current validation status, and the
|
|
2030
|
+
# validation challenge details (such as the CNAME record to add to
|
|
2031
|
+
# your DNS configuration).
|
|
2032
|
+
# @return [Types::ValidationConfiguration]
|
|
2033
|
+
#
|
|
2034
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DomainValidationSummary AWS API Documentation
|
|
2035
|
+
#
|
|
2036
|
+
class DomainValidationSummary < Struct.new(
|
|
2037
|
+
:domain_name,
|
|
2038
|
+
:active_validation_configuration,
|
|
2039
|
+
:requested_validation_configuration)
|
|
2040
|
+
SENSITIVE = []
|
|
2041
|
+
include Aws::Structure
|
|
2042
|
+
end
|
|
2043
|
+
|
|
2044
|
+
# Contains the email addresses used for email-based domain validation.
|
|
2045
|
+
#
|
|
2046
|
+
# @!attribute [rw] validation_emails
|
|
2047
|
+
# A list of email addresses that ACM uses to send domain validation
|
|
2048
|
+
# emails.
|
|
2049
|
+
# @return [Array<String>]
|
|
2050
|
+
#
|
|
2051
|
+
# @!attribute [rw] validation_domain
|
|
2052
|
+
# The domain name that ACM uses to send validation emails.
|
|
2053
|
+
# @return [String]
|
|
2054
|
+
#
|
|
2055
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/EmailValidationChallenge AWS API Documentation
|
|
2056
|
+
#
|
|
2057
|
+
class EmailValidationChallenge < Struct.new(
|
|
2058
|
+
:validation_emails,
|
|
2059
|
+
:validation_domain)
|
|
2060
|
+
SENSITIVE = []
|
|
2061
|
+
include Aws::Structure
|
|
2062
|
+
end
|
|
2063
|
+
|
|
1957
2064
|
# Specifies an expiration configuration.
|
|
1958
2065
|
#
|
|
1959
2066
|
# @!attribute [rw] value
|
|
@@ -2664,6 +2771,54 @@ module Aws::ACM
|
|
|
2664
2771
|
include Aws::Structure
|
|
2665
2772
|
end
|
|
2666
2773
|
|
|
2774
|
+
# @!attribute [rw] certificate_arn
|
|
2775
|
+
# The Amazon Resource Name (ARN) of the certificate for which to list
|
|
2776
|
+
# domain validation summaries.
|
|
2777
|
+
# @return [String]
|
|
2778
|
+
#
|
|
2779
|
+
# @!attribute [rw] next_token
|
|
2780
|
+
# A token returned by a previous call to
|
|
2781
|
+
# `ListCertificateDomainValidations`. If the number of results exceeds
|
|
2782
|
+
# `MaxItems`, use this token to retrieve the next page of results.
|
|
2783
|
+
# @return [String]
|
|
2784
|
+
#
|
|
2785
|
+
# @!attribute [rw] max_items
|
|
2786
|
+
# The maximum number of domain validation summaries to return. If you
|
|
2787
|
+
# don't specify a value, the default is 1000.
|
|
2788
|
+
# @return [Integer]
|
|
2789
|
+
#
|
|
2790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificateDomainValidationsRequest AWS API Documentation
|
|
2791
|
+
#
|
|
2792
|
+
class ListCertificateDomainValidationsRequest < Struct.new(
|
|
2793
|
+
:certificate_arn,
|
|
2794
|
+
:next_token,
|
|
2795
|
+
:max_items)
|
|
2796
|
+
SENSITIVE = []
|
|
2797
|
+
include Aws::Structure
|
|
2798
|
+
end
|
|
2799
|
+
|
|
2800
|
+
# @!attribute [rw] domain_validation_summary_list
|
|
2801
|
+
# A list of DomainValidationSummary objects, one for each domain on
|
|
2802
|
+
# the certificate. Each object contains the domain name and its active
|
|
2803
|
+
# and requested validation configurations.
|
|
2804
|
+
# @return [Array<Types::DomainValidationSummary>]
|
|
2805
|
+
#
|
|
2806
|
+
# @!attribute [rw] next_token
|
|
2807
|
+
# If the number of results exceeds `MaxItems`, this token is included
|
|
2808
|
+
# in the response. Use this token in a subsequent
|
|
2809
|
+
# `ListCertificateDomainValidations` request to retrieve the next page
|
|
2810
|
+
# of results.
|
|
2811
|
+
# @return [String]
|
|
2812
|
+
#
|
|
2813
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificateDomainValidationsResponse AWS API Documentation
|
|
2814
|
+
#
|
|
2815
|
+
class ListCertificateDomainValidationsResponse < Struct.new(
|
|
2816
|
+
:domain_validation_summary_list,
|
|
2817
|
+
:next_token)
|
|
2818
|
+
SENSITIVE = []
|
|
2819
|
+
include Aws::Structure
|
|
2820
|
+
end
|
|
2821
|
+
|
|
2667
2822
|
# @!attribute [rw] certificate_statuses
|
|
2668
2823
|
# Filter the certificate list by status value.
|
|
2669
2824
|
# @return [Array<String>]
|
|
@@ -3675,14 +3830,13 @@ module Aws::ACM
|
|
|
3675
3830
|
#
|
|
3676
3831
|
# @!attribute [rw] options
|
|
3677
3832
|
# Use to update the options for your certificate. Currently, you can
|
|
3678
|
-
# specify whether to export
|
|
3679
|
-
#
|
|
3680
|
-
#
|
|
3681
|
-
# see [Certificate Transparency Logging][1].
|
|
3833
|
+
# change the domain validation method or specify whether to export
|
|
3834
|
+
# your certificate. For more information about migrating from email to
|
|
3835
|
+
# DNS validation, see [Migrate from email to DNS validation][1].
|
|
3682
3836
|
#
|
|
3683
3837
|
#
|
|
3684
3838
|
#
|
|
3685
|
-
# [1]: https://docs.aws.amazon.com/acm/latest/userguide/
|
|
3839
|
+
# [1]: https://docs.aws.amazon.com/acm/latest/userguide/email-to-dns-migration.html
|
|
3686
3840
|
# @return [Types::CertificateOptions]
|
|
3687
3841
|
#
|
|
3688
3842
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/UpdateCertificateOptionsRequest AWS API Documentation
|
|
@@ -3694,6 +3848,133 @@ module Aws::ACM
|
|
|
3694
3848
|
include Aws::Structure
|
|
3695
3849
|
end
|
|
3696
3850
|
|
|
3851
|
+
# Contains information about the most recent certificate update, such as
|
|
3852
|
+
# a domain validation method migration. This structure is returned as
|
|
3853
|
+
# part of the CertificateDetail response from DescribeCertificate.
|
|
3854
|
+
#
|
|
3855
|
+
# @!attribute [rw] status
|
|
3856
|
+
# The status of the certificate update. The following are valid
|
|
3857
|
+
# values:
|
|
3858
|
+
#
|
|
3859
|
+
# * `PENDING_DOMAIN_VALIDATION` – The certificate update is waiting
|
|
3860
|
+
# for domain ownership validation to complete.
|
|
3861
|
+
#
|
|
3862
|
+
# * `SUCCESS` – The certificate was updated successfully.
|
|
3863
|
+
#
|
|
3864
|
+
# * `FAILED` – The certificate update failed.
|
|
3865
|
+
# @return [String]
|
|
3866
|
+
#
|
|
3867
|
+
# @!attribute [rw] type
|
|
3868
|
+
# The type of update that was requested for the certificate. The
|
|
3869
|
+
# following are valid values:
|
|
3870
|
+
#
|
|
3871
|
+
# * `DOMAIN_VALIDATION_METHOD` – The update changes the domain
|
|
3872
|
+
# validation method for the certificate.
|
|
3873
|
+
#
|
|
3874
|
+
# ^
|
|
3875
|
+
# @return [String]
|
|
3876
|
+
#
|
|
3877
|
+
# @!attribute [rw] domain_validation_method_update_summary
|
|
3878
|
+
# Contains information about a domain validation method migration,
|
|
3879
|
+
# including the previous and target validation methods.
|
|
3880
|
+
# @return [Types::DomainValidationMethodUpdateSummary]
|
|
3881
|
+
#
|
|
3882
|
+
# @!attribute [rw] requested_at
|
|
3883
|
+
# The time at which the certificate update was requested.
|
|
3884
|
+
# @return [Time]
|
|
3885
|
+
#
|
|
3886
|
+
# @!attribute [rw] updated_at
|
|
3887
|
+
# The time at which the certificate update status was last changed.
|
|
3888
|
+
# @return [Time]
|
|
3889
|
+
#
|
|
3890
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/UpdateSummary AWS API Documentation
|
|
3891
|
+
#
|
|
3892
|
+
class UpdateSummary < Struct.new(
|
|
3893
|
+
:status,
|
|
3894
|
+
:type,
|
|
3895
|
+
:domain_validation_method_update_summary,
|
|
3896
|
+
:requested_at,
|
|
3897
|
+
:updated_at)
|
|
3898
|
+
SENSITIVE = []
|
|
3899
|
+
include Aws::Structure
|
|
3900
|
+
end
|
|
3901
|
+
|
|
3902
|
+
# Contains the challenge details that you use to prove domain ownership.
|
|
3903
|
+
# Only one member is set, depending on the validation method.
|
|
3904
|
+
#
|
|
3905
|
+
# @note ValidationChallenge is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ValidationChallenge corresponding to the set member.
|
|
3906
|
+
#
|
|
3907
|
+
# @!attribute [rw] email_validation_challenge
|
|
3908
|
+
# Contains the email addresses used for email-based domain validation.
|
|
3909
|
+
# @return [Types::EmailValidationChallenge]
|
|
3910
|
+
#
|
|
3911
|
+
# @!attribute [rw] dns_validation_challenge
|
|
3912
|
+
# Contains the CNAME record that you must add to your DNS
|
|
3913
|
+
# configuration to validate domain ownership using DNS validation.
|
|
3914
|
+
# @return [Types::DnsValidationChallenge]
|
|
3915
|
+
#
|
|
3916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ValidationChallenge AWS API Documentation
|
|
3917
|
+
#
|
|
3918
|
+
class ValidationChallenge < Struct.new(
|
|
3919
|
+
:email_validation_challenge,
|
|
3920
|
+
:dns_validation_challenge,
|
|
3921
|
+
:unknown)
|
|
3922
|
+
SENSITIVE = []
|
|
3923
|
+
include Aws::Structure
|
|
3924
|
+
include Aws::Structure::Union
|
|
3925
|
+
|
|
3926
|
+
class EmailValidationChallenge < ValidationChallenge; end
|
|
3927
|
+
class DnsValidationChallenge < ValidationChallenge; end
|
|
3928
|
+
class Unknown < ValidationChallenge; end
|
|
3929
|
+
end
|
|
3930
|
+
|
|
3931
|
+
# Contains the validation method, validation status, and validation
|
|
3932
|
+
# challenge details for a domain. This structure appears in
|
|
3933
|
+
# DomainValidationSummary as both the active and requested validation
|
|
3934
|
+
# configuration.
|
|
3935
|
+
#
|
|
3936
|
+
# @!attribute [rw] validation_method
|
|
3937
|
+
# The validation method for this configuration. Valid values:
|
|
3938
|
+
#
|
|
3939
|
+
# * `DNS` – Validation using a CNAME record added to your DNS
|
|
3940
|
+
# configuration.
|
|
3941
|
+
#
|
|
3942
|
+
# * `EMAIL` – Validation using an approval email sent to domain
|
|
3943
|
+
# contacts.
|
|
3944
|
+
#
|
|
3945
|
+
# * `HTTP` – Validation using an HTTP resource placed on your web
|
|
3946
|
+
# server.
|
|
3947
|
+
# @return [String]
|
|
3948
|
+
#
|
|
3949
|
+
# @!attribute [rw] validation_challenge
|
|
3950
|
+
# The validation challenge details for this configuration. The
|
|
3951
|
+
# structure varies by validation method: for DNS validation, contains
|
|
3952
|
+
# a `DnsValidationChallenge` with the CNAME record to add; for email
|
|
3953
|
+
# validation, contains an `EmailValidationChallenge` with the
|
|
3954
|
+
# validation email addresses.
|
|
3955
|
+
# @return [Types::ValidationChallenge]
|
|
3956
|
+
#
|
|
3957
|
+
# @!attribute [rw] validation_status
|
|
3958
|
+
# The validation status for this domain. Valid values:
|
|
3959
|
+
#
|
|
3960
|
+
# * `PENDING_VALIDATION` – The domain is waiting for validation to
|
|
3961
|
+
# complete.
|
|
3962
|
+
#
|
|
3963
|
+
# * `SUCCESS` – Validation completed successfully.
|
|
3964
|
+
#
|
|
3965
|
+
# * `FAILED` – Validation failed.
|
|
3966
|
+
# @return [String]
|
|
3967
|
+
#
|
|
3968
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ValidationConfiguration AWS API Documentation
|
|
3969
|
+
#
|
|
3970
|
+
class ValidationConfiguration < Struct.new(
|
|
3971
|
+
:validation_method,
|
|
3972
|
+
:validation_challenge,
|
|
3973
|
+
:validation_status)
|
|
3974
|
+
SENSITIVE = []
|
|
3975
|
+
include Aws::Structure
|
|
3976
|
+
end
|
|
3977
|
+
|
|
3697
3978
|
# The supplied input failed to satisfy constraints of an Amazon Web
|
|
3698
3979
|
# Services service.
|
|
3699
3980
|
#
|
data/lib/aws-sdk-acm.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -350,6 +350,19 @@ module Aws
|
|
|
350
350
|
) -> _ListAcmeExternalAccountBindingsResponseSuccess
|
|
351
351
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAcmeExternalAccountBindingsResponseSuccess
|
|
352
352
|
|
|
353
|
+
interface _ListCertificateDomainValidationsResponseSuccess
|
|
354
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCertificateDomainValidationsResponse]
|
|
355
|
+
def domain_validation_summary_list: () -> ::Array[Types::DomainValidationSummary]
|
|
356
|
+
def next_token: () -> ::String
|
|
357
|
+
end
|
|
358
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACM/Client.html#list_certificate_domain_validations-instance_method
|
|
359
|
+
def list_certificate_domain_validations: (
|
|
360
|
+
certificate_arn: ::String,
|
|
361
|
+
?next_token: ::String,
|
|
362
|
+
?max_items: ::Integer
|
|
363
|
+
) -> _ListCertificateDomainValidationsResponseSuccess
|
|
364
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCertificateDomainValidationsResponseSuccess
|
|
365
|
+
|
|
353
366
|
interface _ListCertificatesResponseSuccess
|
|
354
367
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListCertificatesResponse]
|
|
355
368
|
def next_token: () -> ::String
|
|
@@ -438,7 +451,8 @@ module Aws
|
|
|
438
451
|
],
|
|
439
452
|
?options: {
|
|
440
453
|
certificate_transparency_logging_preference: ("ENABLED" | "DISABLED")?,
|
|
441
|
-
export: ("ENABLED" | "DISABLED")
|
|
454
|
+
export: ("ENABLED" | "DISABLED")?,
|
|
455
|
+
validation_method: ("EMAIL" | "DNS" | "HTTP")?
|
|
442
456
|
},
|
|
443
457
|
?certificate_authority_arn: ::String,
|
|
444
458
|
?tags: Array[
|
|
@@ -543,7 +557,8 @@ module Aws
|
|
|
543
557
|
certificate_arn: ::String,
|
|
544
558
|
options: {
|
|
545
559
|
certificate_transparency_logging_preference: ("ENABLED" | "DISABLED")?,
|
|
546
|
-
export: ("ENABLED" | "DISABLED")
|
|
560
|
+
export: ("ENABLED" | "DISABLED")?,
|
|
561
|
+
validation_method: ("EMAIL" | "DNS" | "HTTP")?
|
|
547
562
|
}
|
|
548
563
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
549
564
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
data/sig/types.rbs
CHANGED
|
@@ -217,6 +217,7 @@ module Aws::ACM
|
|
|
217
217
|
attr_accessor certificate_authority_arn: ::String
|
|
218
218
|
attr_accessor renewal_eligibility: ("ELIGIBLE" | "INELIGIBLE")
|
|
219
219
|
attr_accessor options: Types::CertificateOptions
|
|
220
|
+
attr_accessor update_summary: Types::UpdateSummary
|
|
220
221
|
attr_accessor certificate_key_pair_origin: ("AWS_MANAGED" | "ACME" | "CUSTOMER_PROVIDED")
|
|
221
222
|
attr_accessor acme_endpoint_arn: ::String
|
|
222
223
|
attr_accessor acme_account_id: ::String
|
|
@@ -274,6 +275,7 @@ module Aws::ACM
|
|
|
274
275
|
class CertificateOptions
|
|
275
276
|
attr_accessor certificate_transparency_logging_preference: ("ENABLED" | "DISABLED")
|
|
276
277
|
attr_accessor export: ("ENABLED" | "DISABLED")
|
|
278
|
+
attr_accessor validation_method: ("EMAIL" | "DNS" | "HTTP")
|
|
277
279
|
SENSITIVE: []
|
|
278
280
|
end
|
|
279
281
|
|
|
@@ -479,6 +481,11 @@ module Aws::ACM
|
|
|
479
481
|
SENSITIVE: []
|
|
480
482
|
end
|
|
481
483
|
|
|
484
|
+
class DnsValidationChallenge
|
|
485
|
+
attr_accessor resource_record: Types::ResourceRecord
|
|
486
|
+
SENSITIVE: []
|
|
487
|
+
end
|
|
488
|
+
|
|
482
489
|
class DomainScope
|
|
483
490
|
attr_accessor exact_domain: ("ENABLED" | "DISABLED")
|
|
484
491
|
attr_accessor subdomains: ("ENABLED" | "DISABLED")
|
|
@@ -497,12 +504,31 @@ module Aws::ACM
|
|
|
497
504
|
SENSITIVE: []
|
|
498
505
|
end
|
|
499
506
|
|
|
507
|
+
class DomainValidationMethodUpdateSummary
|
|
508
|
+
attr_accessor from: ("EMAIL" | "DNS" | "HTTP")
|
|
509
|
+
attr_accessor to: ("EMAIL" | "DNS" | "HTTP")
|
|
510
|
+
SENSITIVE: []
|
|
511
|
+
end
|
|
512
|
+
|
|
500
513
|
class DomainValidationOption
|
|
501
514
|
attr_accessor domain_name: ::String
|
|
502
515
|
attr_accessor validation_domain: ::String
|
|
503
516
|
SENSITIVE: []
|
|
504
517
|
end
|
|
505
518
|
|
|
519
|
+
class DomainValidationSummary
|
|
520
|
+
attr_accessor domain_name: ::String
|
|
521
|
+
attr_accessor active_validation_configuration: Types::ValidationConfiguration
|
|
522
|
+
attr_accessor requested_validation_configuration: Types::ValidationConfiguration
|
|
523
|
+
SENSITIVE: []
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
class EmailValidationChallenge
|
|
527
|
+
attr_accessor validation_emails: ::Array[::String]
|
|
528
|
+
attr_accessor validation_domain: ::String
|
|
529
|
+
SENSITIVE: []
|
|
530
|
+
end
|
|
531
|
+
|
|
506
532
|
class Expiration
|
|
507
533
|
attr_accessor value: ::Integer
|
|
508
534
|
attr_accessor type: ("MINUTES" | "HOURS" | "DAYS")
|
|
@@ -720,6 +746,19 @@ module Aws::ACM
|
|
|
720
746
|
SENSITIVE: []
|
|
721
747
|
end
|
|
722
748
|
|
|
749
|
+
class ListCertificateDomainValidationsRequest
|
|
750
|
+
attr_accessor certificate_arn: ::String
|
|
751
|
+
attr_accessor next_token: ::String
|
|
752
|
+
attr_accessor max_items: ::Integer
|
|
753
|
+
SENSITIVE: []
|
|
754
|
+
end
|
|
755
|
+
|
|
756
|
+
class ListCertificateDomainValidationsResponse
|
|
757
|
+
attr_accessor domain_validation_summary_list: ::Array[Types::DomainValidationSummary]
|
|
758
|
+
attr_accessor next_token: ::String
|
|
759
|
+
SENSITIVE: []
|
|
760
|
+
end
|
|
761
|
+
|
|
723
762
|
class ListCertificatesRequest
|
|
724
763
|
attr_accessor certificate_statuses: ::Array[("PENDING_VALIDATION" | "ISSUED" | "INACTIVE" | "EXPIRED" | "VALIDATION_TIMED_OUT" | "REVOKED" | "FAILED")]
|
|
725
764
|
attr_accessor certificate_key_pair_origins: ::Array[("AWS_MANAGED" | "ACME" | "CUSTOMER_PROVIDED")]
|
|
@@ -993,6 +1032,36 @@ module Aws::ACM
|
|
|
993
1032
|
SENSITIVE: []
|
|
994
1033
|
end
|
|
995
1034
|
|
|
1035
|
+
class UpdateSummary
|
|
1036
|
+
attr_accessor status: ("PENDING_DOMAIN_VALIDATION" | "SUCCESS" | "FAILED")
|
|
1037
|
+
attr_accessor type: ("DOMAIN_VALIDATION_METHOD")
|
|
1038
|
+
attr_accessor domain_validation_method_update_summary: Types::DomainValidationMethodUpdateSummary
|
|
1039
|
+
attr_accessor requested_at: ::Time
|
|
1040
|
+
attr_accessor updated_at: ::Time
|
|
1041
|
+
SENSITIVE: []
|
|
1042
|
+
end
|
|
1043
|
+
|
|
1044
|
+
class ValidationChallenge
|
|
1045
|
+
attr_accessor email_validation_challenge: Types::EmailValidationChallenge
|
|
1046
|
+
attr_accessor dns_validation_challenge: Types::DnsValidationChallenge
|
|
1047
|
+
attr_accessor unknown: untyped
|
|
1048
|
+
SENSITIVE: []
|
|
1049
|
+
|
|
1050
|
+
class EmailValidationChallenge < ValidationChallenge
|
|
1051
|
+
end
|
|
1052
|
+
class DnsValidationChallenge < ValidationChallenge
|
|
1053
|
+
end
|
|
1054
|
+
class Unknown < ValidationChallenge
|
|
1055
|
+
end
|
|
1056
|
+
end
|
|
1057
|
+
|
|
1058
|
+
class ValidationConfiguration
|
|
1059
|
+
attr_accessor validation_method: ("EMAIL" | "DNS" | "HTTP")
|
|
1060
|
+
attr_accessor validation_challenge: Types::ValidationChallenge
|
|
1061
|
+
attr_accessor validation_status: ("PENDING_VALIDATION" | "SUCCESS" | "FAILED")
|
|
1062
|
+
SENSITIVE: []
|
|
1063
|
+
end
|
|
1064
|
+
|
|
996
1065
|
class ValidationException
|
|
997
1066
|
attr_accessor message: ::String
|
|
998
1067
|
SENSITIVE: []
|