aws-sdk-acm 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-acm.rb +1 -1
- data/lib/aws-sdk-acm/client.rb +74 -21
- data/lib/aws-sdk-acm/client_api.rb +25 -0
- data/lib/aws-sdk-acm/types.rb +98 -10
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 631bbe3082e540429022315530cbf1395ed733e0
|
4
|
+
data.tar.gz: ec1efda2548797e9f571e8647de5146f6ea28a32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9194e438e04e029ad93800f52c47cbab0640cc86d0302f58d043ef6381c5e351e2bf2febf4e6ed3064452cf710fd0017fc99fdfa8151ba3b840600d3a81ade0a
|
7
|
+
data.tar.gz: 41d59d2181ea7c942279d75d90965a24b18f52b489bedc153f0404fc391a040a426905f0ace32bfb2c0e06ee7329fd8d966da53c8fa2c77bf8c20fc3894d04c5
|
data/lib/aws-sdk-acm.rb
CHANGED
data/lib/aws-sdk-acm/client.rb
CHANGED
@@ -155,7 +155,7 @@ module Aws::ACM
|
|
155
155
|
|
156
156
|
# @!group API Operations
|
157
157
|
|
158
|
-
# Adds one or more tags to an ACM
|
158
|
+
# Adds one or more tags to an ACM certificate. Tags are labels that you
|
159
159
|
# can use to identify and organize your AWS resources. Each tag consists
|
160
160
|
# of a `key` and an optional `value`. You specify the certificate on
|
161
161
|
# input by its Amazon Resource Name (ARN). You specify the tag by using
|
@@ -167,9 +167,9 @@ module Aws::ACM
|
|
167
167
|
# relationship among those certificates. Similarly, you can apply the
|
168
168
|
# same tag to multiple resources if you want to specify a relationship
|
169
169
|
# among those resources. For example, you can add the same tag to an ACM
|
170
|
-
#
|
170
|
+
# certificate and an Elastic Load Balancing load balancer to indicate
|
171
171
|
# that they are both used by the same website. For more information, see
|
172
|
-
# [Tagging ACM
|
172
|
+
# [Tagging ACM certificates][1].
|
173
173
|
#
|
174
174
|
# To remove one or more tags, use the RemoveTagsFromCertificate action.
|
175
175
|
# To view all of the tags that have been applied to the certificate, use
|
@@ -180,7 +180,7 @@ module Aws::ACM
|
|
180
180
|
# [1]: http://docs.aws.amazon.com/acm/latest/userguide/tags.html
|
181
181
|
#
|
182
182
|
# @option params [required, String] :certificate_arn
|
183
|
-
# String that contains the ARN of the ACM
|
183
|
+
# String that contains the ARN of the ACM certificate to which the tag
|
184
184
|
# is to be applied. This must be of the form:
|
185
185
|
#
|
186
186
|
# `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
|
@@ -224,14 +224,14 @@ module Aws::ACM
|
|
224
224
|
# calling the GetCertificate action. The certificate will not be
|
225
225
|
# available for use by AWS services integrated with ACM.
|
226
226
|
#
|
227
|
-
# <note markdown="1"> You cannot delete an ACM
|
227
|
+
# <note markdown="1"> You cannot delete an ACM certificate that is being used by another AWS
|
228
228
|
# service. To delete a certificate that is in use, the certificate
|
229
229
|
# association must first be removed.
|
230
230
|
#
|
231
231
|
# </note>
|
232
232
|
#
|
233
233
|
# @option params [required, String] :certificate_arn
|
234
|
-
# String that contains the ARN of the ACM
|
234
|
+
# String that contains the ARN of the ACM certificate to be deleted.
|
235
235
|
# This must be of the form:
|
236
236
|
#
|
237
237
|
# `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
|
@@ -260,10 +260,10 @@ module Aws::ACM
|
|
260
260
|
req.send_request(options)
|
261
261
|
end
|
262
262
|
|
263
|
-
# Returns detailed metadata about the specified ACM
|
263
|
+
# Returns detailed metadata about the specified ACM certificate.
|
264
264
|
#
|
265
265
|
# @option params [required, String] :certificate_arn
|
266
|
-
# The Amazon Resource Name (ARN) of the ACM
|
266
|
+
# The Amazon Resource Name (ARN) of the ACM certificate. The ARN must
|
267
267
|
# have the following form:
|
268
268
|
#
|
269
269
|
# `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
|
@@ -334,6 +334,7 @@ module Aws::ACM
|
|
334
334
|
# resp.certificate.extended_key_usages #=> Array
|
335
335
|
# resp.certificate.extended_key_usages[0].name #=> String, one of "TLS_WEB_SERVER_AUTHENTICATION", "TLS_WEB_CLIENT_AUTHENTICATION", "CODE_SIGNING", "EMAIL_PROTECTION", "TIME_STAMPING", "OCSP_SIGNING", "IPSEC_END_SYSTEM", "IPSEC_TUNNEL", "IPSEC_USER", "ANY", "NONE", "CUSTOM"
|
336
336
|
# resp.certificate.extended_key_usages[0].oid #=> String
|
337
|
+
# resp.certificate.options.certificate_transparency_logging_preference #=> String, one of "ENABLED", "DISABLED"
|
337
338
|
#
|
338
339
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificate AWS API Documentation
|
339
340
|
#
|
@@ -548,13 +549,13 @@ module Aws::ACM
|
|
548
549
|
req.send_request(options)
|
549
550
|
end
|
550
551
|
|
551
|
-
# Lists the tags that have been applied to the ACM
|
552
|
+
# Lists the tags that have been applied to the ACM certificate. Use the
|
552
553
|
# certificate's Amazon Resource Name (ARN) to specify the certificate.
|
553
|
-
# To add a tag to an ACM
|
554
|
+
# To add a tag to an ACM certificate, use the AddTagsToCertificate
|
554
555
|
# action. To delete a tag, use the RemoveTagsFromCertificate action.
|
555
556
|
#
|
556
557
|
# @option params [required, String] :certificate_arn
|
557
|
-
# String that contains the ARN of the ACM
|
558
|
+
# String that contains the ARN of the ACM certificate for which you want
|
558
559
|
# to list the tags. This must have the following form:
|
559
560
|
#
|
560
561
|
# `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
|
@@ -591,7 +592,7 @@ module Aws::ACM
|
|
591
592
|
req.send_request(options)
|
592
593
|
end
|
593
594
|
|
594
|
-
# Remove one or more tags from an ACM
|
595
|
+
# Remove one or more tags from an ACM certificate. A tag consists of a
|
595
596
|
# key-value pair. If you do not specify the value portion of the tag
|
596
597
|
# when calling this function, the tag will be removed regardless of
|
597
598
|
# value. If you specify a value, the tag is removed only if it is
|
@@ -599,7 +600,7 @@ module Aws::ACM
|
|
599
600
|
#
|
600
601
|
# To add tags to a certificate, use the AddTagsToCertificate action. To
|
601
602
|
# view all of the tags that have been applied to a specific ACM
|
602
|
-
#
|
603
|
+
# certificate, use the ListTagsForCertificate action.
|
603
604
|
#
|
604
605
|
# @option params [required, String] :certificate_arn
|
605
606
|
# String that contains the ARN of the ACM Certificate with one or more
|
@@ -640,8 +641,8 @@ module Aws::ACM
|
|
640
641
|
req.send_request(options)
|
641
642
|
end
|
642
643
|
|
643
|
-
# Requests an ACM
|
644
|
-
# request an ACM
|
644
|
+
# Requests an ACM certificate for use with other AWS services. To
|
645
|
+
# request an ACM certificate, you must specify the fully qualified
|
645
646
|
# domain name (FQDN) for your site in the `DomainName` parameter. You
|
646
647
|
# can also specify additional FQDNs in the `SubjectAlternativeNames`
|
647
648
|
# parameter if users can reach your site by using other names.
|
@@ -653,7 +654,7 @@ module Aws::ACM
|
|
653
654
|
# or the optional `ValidationDomain` parameter. For more information,
|
654
655
|
# see [Validate Domain Ownership][1].
|
655
656
|
#
|
656
|
-
# After receiving approval from the domain owner, the ACM
|
657
|
+
# After receiving approval from the domain owner, the ACM certificate is
|
657
658
|
# issued. For more information, see the [AWS Certificate Manager User
|
658
659
|
# Guide][2].
|
659
660
|
#
|
@@ -678,10 +679,10 @@ module Aws::ACM
|
|
678
679
|
#
|
679
680
|
# @option params [Array<String>] :subject_alternative_names
|
680
681
|
# Additional FQDNs to be included in the Subject Alternative Name
|
681
|
-
# extension of the ACM
|
682
|
+
# extension of the ACM certificate. For example, add the name
|
682
683
|
# www.example.net to a certificate for which the `DomainName` field is
|
683
684
|
# www.example.com if users can reach your site by using either name. The
|
684
|
-
# maximum number of domain names that you can add to an ACM
|
685
|
+
# maximum number of domain names that you can add to an ACM certificate
|
685
686
|
# is 100. However, the initial limit is 10 domain names. If you need
|
686
687
|
# more than 10 names, you must request a limit increase. For more
|
687
688
|
# information, see [Limits][1].
|
@@ -719,6 +720,15 @@ module Aws::ACM
|
|
719
720
|
# The domain name that you want ACM to use to send you emails so that
|
720
721
|
# you can validate domain ownership.
|
721
722
|
#
|
723
|
+
# @option params [Types::CertificateOptions] :options
|
724
|
+
# Currently, you can use this parameter to specify whether to add the
|
725
|
+
# certificate to a certificate transparency log. Certificate
|
726
|
+
# transparency makes it possible to detect SSL/TLS certificates that
|
727
|
+
# have been mistakenly or maliciously issued. Certificates that have not
|
728
|
+
# been logged typically produce an error message in a browser. For more
|
729
|
+
# information, see [ Opting Out of Certificate Transparency
|
730
|
+
# Logging](acm/latest/userguide/acm-bestpractices.html#best-practices-transparency).
|
731
|
+
#
|
722
732
|
# @return [Types::RequestCertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
723
733
|
#
|
724
734
|
# * {Types::RequestCertificateResponse#certificate_arn #certificate_arn} => String
|
@@ -736,6 +746,9 @@ module Aws::ACM
|
|
736
746
|
# validation_domain: "DomainNameString", # required
|
737
747
|
# },
|
738
748
|
# ],
|
749
|
+
# options: {
|
750
|
+
# certificate_transparency_logging_preference: "ENABLED", # accepts ENABLED, DISABLED
|
751
|
+
# },
|
739
752
|
# })
|
740
753
|
#
|
741
754
|
# @example Response structure
|
@@ -753,12 +766,12 @@ module Aws::ACM
|
|
753
766
|
|
754
767
|
# Resends the email that requests domain ownership validation. The
|
755
768
|
# domain owner or an authorized representative must approve the ACM
|
756
|
-
#
|
769
|
+
# certificate before it can be issued. The certificate can be approved
|
757
770
|
# by clicking a link in the mail to navigate to the Amazon certificate
|
758
771
|
# approval website and then clicking **I Approve**. However, the
|
759
772
|
# validation email can be blocked by spam filters. Therefore, if you do
|
760
773
|
# not receive the original mail, you can request that the mail be resent
|
761
|
-
# within 72 hours of requesting the ACM
|
774
|
+
# within 72 hours of requesting the ACM certificate. If more than 72
|
762
775
|
# hours have elapsed since your original request or since your last
|
763
776
|
# attempt to resend validation mail, you must request a new certificate.
|
764
777
|
# For more information about setting up your contact email addresses,
|
@@ -820,6 +833,46 @@ module Aws::ACM
|
|
820
833
|
req.send_request(options)
|
821
834
|
end
|
822
835
|
|
836
|
+
# Updates a certificate. Currently, you can use this function to specify
|
837
|
+
# whether to opt in to or out of recording your certificate in a
|
838
|
+
# certificate transparency log. For more information, see [ Opting Out
|
839
|
+
# of Certificate Transparency
|
840
|
+
# Logging](acm/latest/userguide/acm-bestpractices.html#best-practices-transparency).
|
841
|
+
#
|
842
|
+
# @option params [required, String] :certificate_arn
|
843
|
+
# ARN of the requested certificate to update. This must be of the form:
|
844
|
+
#
|
845
|
+
# `arn:aws:acm:us-east-1:account:certificate/12345678-1234-1234-1234-123456789012
|
846
|
+
# `
|
847
|
+
#
|
848
|
+
# @option params [required, Types::CertificateOptions] :options
|
849
|
+
# Use to update the options for your certificate. Currently, you can
|
850
|
+
# specify whether to add your certificate to a transparency log.
|
851
|
+
# Certificate transparency makes it possible to detect SSL/TLS
|
852
|
+
# certificates that have been mistakenly or maliciously issued.
|
853
|
+
# Certificates that have not been logged typically produce an error
|
854
|
+
# message in a browser.
|
855
|
+
#
|
856
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
857
|
+
#
|
858
|
+
# @example Request syntax with placeholder values
|
859
|
+
#
|
860
|
+
# resp = client.update_certificate_options({
|
861
|
+
# certificate_arn: "Arn", # required
|
862
|
+
# options: { # required
|
863
|
+
# certificate_transparency_logging_preference: "ENABLED", # accepts ENABLED, DISABLED
|
864
|
+
# },
|
865
|
+
# })
|
866
|
+
#
|
867
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/UpdateCertificateOptions AWS API Documentation
|
868
|
+
#
|
869
|
+
# @overload update_certificate_options(params = {})
|
870
|
+
# @param [Hash] params ({})
|
871
|
+
def update_certificate_options(params = {}, options = {})
|
872
|
+
req = build_request(:update_certificate_options, params)
|
873
|
+
req.send_request(options)
|
874
|
+
end
|
875
|
+
|
823
876
|
# @!endgroup
|
824
877
|
|
825
878
|
# @param params ({})
|
@@ -833,7 +886,7 @@ module Aws::ACM
|
|
833
886
|
params: params,
|
834
887
|
config: config)
|
835
888
|
context[:gem_name] = 'aws-sdk-acm'
|
836
|
-
context[:gem_version] = '1.
|
889
|
+
context[:gem_version] = '1.4.0'
|
837
890
|
Seahorse::Client::Request.new(handlers, context)
|
838
891
|
end
|
839
892
|
|
@@ -18,10 +18,12 @@ module Aws::ACM
|
|
18
18
|
CertificateChain = Shapes::StringShape.new(name: 'CertificateChain')
|
19
19
|
CertificateChainBlob = Shapes::BlobShape.new(name: 'CertificateChainBlob')
|
20
20
|
CertificateDetail = Shapes::StructureShape.new(name: 'CertificateDetail')
|
21
|
+
CertificateOptions = Shapes::StructureShape.new(name: 'CertificateOptions')
|
21
22
|
CertificateStatus = Shapes::StringShape.new(name: 'CertificateStatus')
|
22
23
|
CertificateStatuses = Shapes::ListShape.new(name: 'CertificateStatuses')
|
23
24
|
CertificateSummary = Shapes::StructureShape.new(name: 'CertificateSummary')
|
24
25
|
CertificateSummaryList = Shapes::ListShape.new(name: 'CertificateSummaryList')
|
26
|
+
CertificateTransparencyLoggingPreference = Shapes::StringShape.new(name: 'CertificateTransparencyLoggingPreference')
|
25
27
|
CertificateType = Shapes::StringShape.new(name: 'CertificateType')
|
26
28
|
DeleteCertificateRequest = Shapes::StructureShape.new(name: 'DeleteCertificateRequest')
|
27
29
|
DescribeCertificateRequest = Shapes::StructureShape.new(name: 'DescribeCertificateRequest')
|
@@ -82,6 +84,7 @@ module Aws::ACM
|
|
82
84
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
83
85
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
84
86
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
87
|
+
UpdateCertificateOptionsRequest = Shapes::StructureShape.new(name: 'UpdateCertificateOptionsRequest')
|
85
88
|
ValidationEmailList = Shapes::ListShape.new(name: 'ValidationEmailList')
|
86
89
|
ValidationMethod = Shapes::StringShape.new(name: 'ValidationMethod')
|
87
90
|
|
@@ -112,8 +115,12 @@ module Aws::ACM
|
|
112
115
|
CertificateDetail.add_member(:renewal_summary, Shapes::ShapeRef.new(shape: RenewalSummary, location_name: "RenewalSummary"))
|
113
116
|
CertificateDetail.add_member(:key_usages, Shapes::ShapeRef.new(shape: KeyUsageList, location_name: "KeyUsages"))
|
114
117
|
CertificateDetail.add_member(:extended_key_usages, Shapes::ShapeRef.new(shape: ExtendedKeyUsageList, location_name: "ExtendedKeyUsages"))
|
118
|
+
CertificateDetail.add_member(:options, Shapes::ShapeRef.new(shape: CertificateOptions, location_name: "Options"))
|
115
119
|
CertificateDetail.struct_class = Types::CertificateDetail
|
116
120
|
|
121
|
+
CertificateOptions.add_member(:certificate_transparency_logging_preference, Shapes::ShapeRef.new(shape: CertificateTransparencyLoggingPreference, location_name: "CertificateTransparencyLoggingPreference"))
|
122
|
+
CertificateOptions.struct_class = Types::CertificateOptions
|
123
|
+
|
117
124
|
CertificateStatuses.member = Shapes::ShapeRef.new(shape: CertificateStatus)
|
118
125
|
|
119
126
|
CertificateSummary.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateArn"))
|
@@ -218,6 +225,7 @@ module Aws::ACM
|
|
218
225
|
RequestCertificateRequest.add_member(:subject_alternative_names, Shapes::ShapeRef.new(shape: DomainList, location_name: "SubjectAlternativeNames"))
|
219
226
|
RequestCertificateRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "IdempotencyToken"))
|
220
227
|
RequestCertificateRequest.add_member(:domain_validation_options, Shapes::ShapeRef.new(shape: DomainValidationOptionList, location_name: "DomainValidationOptions"))
|
228
|
+
RequestCertificateRequest.add_member(:options, Shapes::ShapeRef.new(shape: CertificateOptions, location_name: "Options"))
|
221
229
|
RequestCertificateRequest.struct_class = Types::RequestCertificateRequest
|
222
230
|
|
223
231
|
RequestCertificateResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateArn"))
|
@@ -239,6 +247,10 @@ module Aws::ACM
|
|
239
247
|
|
240
248
|
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
241
249
|
|
250
|
+
UpdateCertificateOptionsRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
|
251
|
+
UpdateCertificateOptionsRequest.add_member(:options, Shapes::ShapeRef.new(shape: CertificateOptions, required: true, location_name: "Options"))
|
252
|
+
UpdateCertificateOptionsRequest.struct_class = Types::UpdateCertificateOptionsRequest
|
253
|
+
|
242
254
|
ValidationEmailList.member = Shapes::ShapeRef.new(shape: String)
|
243
255
|
|
244
256
|
|
@@ -366,6 +378,19 @@ module Aws::ACM
|
|
366
378
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
367
379
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDomainValidationOptionsException)
|
368
380
|
end)
|
381
|
+
|
382
|
+
api.add_operation(:update_certificate_options, Seahorse::Model::Operation.new.tap do |o|
|
383
|
+
o.name = "UpdateCertificateOptions"
|
384
|
+
o.http_method = "POST"
|
385
|
+
o.http_request_uri = "/"
|
386
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateCertificateOptionsRequest)
|
387
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
388
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
389
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
392
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
393
|
+
end)
|
369
394
|
end
|
370
395
|
|
371
396
|
end
|
data/lib/aws-sdk-acm/types.rb
CHANGED
@@ -22,7 +22,7 @@ module Aws::ACM
|
|
22
22
|
# }
|
23
23
|
#
|
24
24
|
# @!attribute [rw] certificate_arn
|
25
|
-
# String that contains the ARN of the ACM
|
25
|
+
# String that contains the ARN of the ACM certificate to which the tag
|
26
26
|
# is to be applied. This must be of the form:
|
27
27
|
#
|
28
28
|
# `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
|
@@ -193,6 +193,15 @@ module Aws::ACM
|
|
193
193
|
# can be used and consists of a name and an object identifier (OID).
|
194
194
|
# @return [Array<Types::ExtendedKeyUsage>]
|
195
195
|
#
|
196
|
+
# @!attribute [rw] options
|
197
|
+
# Value that specifies whether to add the certificate to a
|
198
|
+
# transparency log. Certificate transparency makes it possible to
|
199
|
+
# detect SSL certificates that have been mistakenly or maliciously
|
200
|
+
# issued. A browser might respond to certificate that has not been
|
201
|
+
# logged by showing an error message. The logs are cryptographicaly
|
202
|
+
# secure.
|
203
|
+
# @return [Types::CertificateOptions]
|
204
|
+
#
|
196
205
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/CertificateDetail AWS API Documentation
|
197
206
|
#
|
198
207
|
class CertificateDetail < Struct.new(
|
@@ -218,7 +227,37 @@ module Aws::ACM
|
|
218
227
|
:type,
|
219
228
|
:renewal_summary,
|
220
229
|
:key_usages,
|
221
|
-
:extended_key_usages
|
230
|
+
:extended_key_usages,
|
231
|
+
:options)
|
232
|
+
include Aws::Structure
|
233
|
+
end
|
234
|
+
|
235
|
+
# Structure that contains options for your certificate. Currently, you
|
236
|
+
# can use this only to specify whether to opt in to or out of
|
237
|
+
# certificate transparency logging. Some browsers require that public
|
238
|
+
# certificates issued for your domain be recorded in a log. Certificates
|
239
|
+
# that are not logged typically generate a browser error. Transparency
|
240
|
+
# makes it possible for you to detect SSL/TLS certificates that have
|
241
|
+
# been mistakenly or maliciously issued for your domain. For general
|
242
|
+
# information, see [ACM
|
243
|
+
# Concepts](acm/latest/userguide/acm-concepts.html).
|
244
|
+
#
|
245
|
+
# @note When making an API call, you may pass CertificateOptions
|
246
|
+
# data as a hash:
|
247
|
+
#
|
248
|
+
# {
|
249
|
+
# certificate_transparency_logging_preference: "ENABLED", # accepts ENABLED, DISABLED
|
250
|
+
# }
|
251
|
+
#
|
252
|
+
# @!attribute [rw] certificate_transparency_logging_preference
|
253
|
+
# You can opt out of certificate transparency logging by specifying
|
254
|
+
# the `DISABLED` option. Opt in by specifying `ENABLED`.
|
255
|
+
# @return [String]
|
256
|
+
#
|
257
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/CertificateOptions AWS API Documentation
|
258
|
+
#
|
259
|
+
class CertificateOptions < Struct.new(
|
260
|
+
:certificate_transparency_logging_preference)
|
222
261
|
include Aws::Structure
|
223
262
|
end
|
224
263
|
|
@@ -259,7 +298,7 @@ module Aws::ACM
|
|
259
298
|
# }
|
260
299
|
#
|
261
300
|
# @!attribute [rw] certificate_arn
|
262
|
-
# String that contains the ARN of the ACM
|
301
|
+
# String that contains the ARN of the ACM certificate to be deleted.
|
263
302
|
# This must be of the form:
|
264
303
|
#
|
265
304
|
# `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
|
@@ -287,7 +326,7 @@ module Aws::ACM
|
|
287
326
|
# }
|
288
327
|
#
|
289
328
|
# @!attribute [rw] certificate_arn
|
290
|
-
# The Amazon Resource Name (ARN) of the ACM
|
329
|
+
# The Amazon Resource Name (ARN) of the ACM certificate. The ARN must
|
291
330
|
# have the following form:
|
292
331
|
#
|
293
332
|
# `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
|
@@ -517,7 +556,7 @@ module Aws::ACM
|
|
517
556
|
end
|
518
557
|
|
519
558
|
# @!attribute [rw] certificate
|
520
|
-
# String that contains the ACM
|
559
|
+
# String that contains the ACM certificate represented by the ARN
|
521
560
|
# specified at input.
|
522
561
|
# @return [String]
|
523
562
|
#
|
@@ -659,7 +698,7 @@ module Aws::ACM
|
|
659
698
|
# @return [String]
|
660
699
|
#
|
661
700
|
# @!attribute [rw] certificate_summary_list
|
662
|
-
# A list of ACM
|
701
|
+
# A list of ACM certificates.
|
663
702
|
# @return [Array<Types::CertificateSummary>]
|
664
703
|
#
|
665
704
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificatesResponse AWS API Documentation
|
@@ -678,7 +717,7 @@ module Aws::ACM
|
|
678
717
|
# }
|
679
718
|
#
|
680
719
|
# @!attribute [rw] certificate_arn
|
681
|
-
# String that contains the ARN of the ACM
|
720
|
+
# String that contains the ARN of the ACM certificate for which you
|
682
721
|
# want to list the tags. This must have the following form:
|
683
722
|
#
|
684
723
|
# `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
|
@@ -798,6 +837,9 @@ module Aws::ACM
|
|
798
837
|
# validation_domain: "DomainNameString", # required
|
799
838
|
# },
|
800
839
|
# ],
|
840
|
+
# options: {
|
841
|
+
# certificate_transparency_logging_preference: "ENABLED", # accepts ENABLED, DISABLED
|
842
|
+
# },
|
801
843
|
# }
|
802
844
|
#
|
803
845
|
# @!attribute [rw] domain_name
|
@@ -818,11 +860,11 @@ module Aws::ACM
|
|
818
860
|
#
|
819
861
|
# @!attribute [rw] subject_alternative_names
|
820
862
|
# Additional FQDNs to be included in the Subject Alternative Name
|
821
|
-
# extension of the ACM
|
863
|
+
# extension of the ACM certificate. For example, add the name
|
822
864
|
# www.example.net to a certificate for which the `DomainName` field is
|
823
865
|
# www.example.com if users can reach your site by using either name.
|
824
866
|
# The maximum number of domain names that you can add to an ACM
|
825
|
-
#
|
867
|
+
# certificate is 100. However, the initial limit is 10 domain names.
|
826
868
|
# If you need more than 10 names, you must request a limit increase.
|
827
869
|
# For more information, see [Limits][1].
|
828
870
|
#
|
@@ -862,6 +904,16 @@ module Aws::ACM
|
|
862
904
|
# you can validate domain ownership.
|
863
905
|
# @return [Array<Types::DomainValidationOption>]
|
864
906
|
#
|
907
|
+
# @!attribute [rw] options
|
908
|
+
# Currently, you can use this parameter to specify whether to add the
|
909
|
+
# certificate to a certificate transparency log. Certificate
|
910
|
+
# transparency makes it possible to detect SSL/TLS certificates that
|
911
|
+
# have been mistakenly or maliciously issued. Certificates that have
|
912
|
+
# not been logged typically produce an error message in a browser. For
|
913
|
+
# more information, see [ Opting Out of Certificate Transparency
|
914
|
+
# Logging](acm/latest/userguide/acm-bestpractices.html#best-practices-transparency).
|
915
|
+
# @return [Types::CertificateOptions]
|
916
|
+
#
|
865
917
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificateRequest AWS API Documentation
|
866
918
|
#
|
867
919
|
class RequestCertificateRequest < Struct.new(
|
@@ -869,7 +921,8 @@ module Aws::ACM
|
|
869
921
|
:validation_method,
|
870
922
|
:subject_alternative_names,
|
871
923
|
:idempotency_token,
|
872
|
-
:domain_validation_options
|
924
|
+
:domain_validation_options,
|
925
|
+
:options)
|
873
926
|
include Aws::Structure
|
874
927
|
end
|
875
928
|
|
@@ -995,5 +1048,40 @@ module Aws::ACM
|
|
995
1048
|
include Aws::Structure
|
996
1049
|
end
|
997
1050
|
|
1051
|
+
# @note When making an API call, you may pass UpdateCertificateOptionsRequest
|
1052
|
+
# data as a hash:
|
1053
|
+
#
|
1054
|
+
# {
|
1055
|
+
# certificate_arn: "Arn", # required
|
1056
|
+
# options: { # required
|
1057
|
+
# certificate_transparency_logging_preference: "ENABLED", # accepts ENABLED, DISABLED
|
1058
|
+
# },
|
1059
|
+
# }
|
1060
|
+
#
|
1061
|
+
# @!attribute [rw] certificate_arn
|
1062
|
+
# ARN of the requested certificate to update. This must be of the
|
1063
|
+
# form:
|
1064
|
+
#
|
1065
|
+
# `arn:aws:acm:us-east-1:account:certificate/12345678-1234-1234-1234-123456789012
|
1066
|
+
# `
|
1067
|
+
# @return [String]
|
1068
|
+
#
|
1069
|
+
# @!attribute [rw] options
|
1070
|
+
# Use to update the options for your certificate. Currently, you can
|
1071
|
+
# specify whether to add your certificate to a transparency log.
|
1072
|
+
# Certificate transparency makes it possible to detect SSL/TLS
|
1073
|
+
# certificates that have been mistakenly or maliciously issued.
|
1074
|
+
# Certificates that have not been logged typically produce an error
|
1075
|
+
# message in a browser.
|
1076
|
+
# @return [Types::CertificateOptions]
|
1077
|
+
#
|
1078
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/UpdateCertificateOptionsRequest AWS API Documentation
|
1079
|
+
#
|
1080
|
+
class UpdateCertificateOptionsRequest < Struct.new(
|
1081
|
+
:certificate_arn,
|
1082
|
+
:options)
|
1083
|
+
include Aws::Structure
|
1084
|
+
end
|
1085
|
+
|
998
1086
|
end
|
999
1087
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-acm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.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: 2018-
|
11
|
+
date: 2018-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.5.
|
78
|
+
rubygems_version: 2.5.2.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: AWS SDK for Ruby - ACM
|