aws-sdk-acm 1.5.0 → 1.6.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 +83 -15
- data/lib/aws-sdk-acm/client_api.rb +29 -1
- data/lib/aws-sdk-acm/types.rb +99 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc567d5eb818ef1f4cba9faabfd44c0169176987
|
4
|
+
data.tar.gz: 1f3ba818a819aa0478177180df0a773aa9813470
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1dc5a26af66c17c4900b36f35f5a6e3d4544e5312f90e5683b0e436573d907a301cfeecd4378bd36bcf3a287a9c4dbcb17ddc19598137d5035acfb69267e9e7
|
7
|
+
data.tar.gz: 2e0037beb949b7c9f7a96fd7164347fe5560e90c98690125b36d3743e5cc0841b5ebf3746ec59c0adbf2b9c1bf50e4cabadf80f7cff0288839c06fd635398d42
|
data/lib/aws-sdk-acm.rb
CHANGED
data/lib/aws-sdk-acm/client.rb
CHANGED
@@ -177,7 +177,7 @@ module Aws::ACM
|
|
177
177
|
#
|
178
178
|
#
|
179
179
|
#
|
180
|
-
# [1]: http://docs.aws.amazon.com/
|
180
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/tags.html
|
181
181
|
#
|
182
182
|
# @option params [required, String] :certificate_arn
|
183
183
|
# String that contains the ARN of the ACM certificate to which the tag
|
@@ -316,8 +316,8 @@ module Aws::ACM
|
|
316
316
|
# resp.certificate.signature_algorithm #=> String
|
317
317
|
# resp.certificate.in_use_by #=> Array
|
318
318
|
# resp.certificate.in_use_by[0] #=> String
|
319
|
-
# resp.certificate.failure_reason #=> String, one of "NO_AVAILABLE_CONTACTS", "ADDITIONAL_VERIFICATION_REQUIRED", "DOMAIN_NOT_ALLOWED", "INVALID_PUBLIC_DOMAIN", "CAA_ERROR", "OTHER"
|
320
|
-
# resp.certificate.type #=> String, one of "IMPORTED", "AMAZON_ISSUED"
|
319
|
+
# resp.certificate.failure_reason #=> String, one of "NO_AVAILABLE_CONTACTS", "ADDITIONAL_VERIFICATION_REQUIRED", "DOMAIN_NOT_ALLOWED", "INVALID_PUBLIC_DOMAIN", "CAA_ERROR", "PCA_LIMIT_EXCEEDED", "PCA_INVALID_ARN", "PCA_INVALID_STATE", "PCA_REQUEST_FAILED", "PCA_RESOURCE_NOT_FOUND", "PCA_INVALID_ARGS", "OTHER"
|
320
|
+
# resp.certificate.type #=> String, one of "IMPORTED", "AMAZON_ISSUED", "PRIVATE"
|
321
321
|
# resp.certificate.renewal_summary.renewal_status #=> String, one of "PENDING_AUTO_RENEWAL", "PENDING_VALIDATION", "SUCCESS", "FAILED"
|
322
322
|
# resp.certificate.renewal_summary.domain_validation_options #=> Array
|
323
323
|
# resp.certificate.renewal_summary.domain_validation_options[0].domain_name #=> String
|
@@ -334,6 +334,8 @@ 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.certificate_authority_arn #=> String
|
338
|
+
# resp.certificate.renewal_eligibility #=> String, one of "ELIGIBLE", "INELIGIBLE"
|
337
339
|
# resp.certificate.options.certificate_transparency_logging_preference #=> String, one of "ENABLED", "DISABLED"
|
338
340
|
#
|
339
341
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificate AWS API Documentation
|
@@ -345,6 +347,58 @@ module Aws::ACM
|
|
345
347
|
req.send_request(options)
|
346
348
|
end
|
347
349
|
|
350
|
+
# Exports a certificate for use anywhere. You can export the
|
351
|
+
# certificate, the certificate chain, and the encrypted private key
|
352
|
+
# associated with the public key embedded in the certificate. You must
|
353
|
+
# store the private key securely. The private key is a 2048 bit RSA key.
|
354
|
+
# You must provide a passphrase for the private key when exporting it.
|
355
|
+
# You can use the following OpenSSL command to decrypt it later. Provide
|
356
|
+
# the passphrase when prompted.
|
357
|
+
#
|
358
|
+
# `openssl rsa -in encrypted_key.pem -out decrypted_key.pem`
|
359
|
+
#
|
360
|
+
# @option params [required, String] :certificate_arn
|
361
|
+
# An Amazon Resource Name (ARN) of the issued certificate. This must be
|
362
|
+
# of the form:
|
363
|
+
#
|
364
|
+
# `arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012`
|
365
|
+
#
|
366
|
+
# @option params [required, String, IO] :passphrase
|
367
|
+
# Passphrase to associate with the encrypted exported private key. If
|
368
|
+
# you want to later decrypt the private key, you must have the
|
369
|
+
# passphrase. You can use the following OpenSSL command to decrypt a
|
370
|
+
# private key:
|
371
|
+
#
|
372
|
+
# `openssl rsa -in encrypted_key.pem -out decrypted_key.pem`
|
373
|
+
#
|
374
|
+
# @return [Types::ExportCertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
375
|
+
#
|
376
|
+
# * {Types::ExportCertificateResponse#certificate #certificate} => String
|
377
|
+
# * {Types::ExportCertificateResponse#certificate_chain #certificate_chain} => String
|
378
|
+
# * {Types::ExportCertificateResponse#private_key #private_key} => String
|
379
|
+
#
|
380
|
+
# @example Request syntax with placeholder values
|
381
|
+
#
|
382
|
+
# resp = client.export_certificate({
|
383
|
+
# certificate_arn: "Arn", # required
|
384
|
+
# passphrase: "data", # required
|
385
|
+
# })
|
386
|
+
#
|
387
|
+
# @example Response structure
|
388
|
+
#
|
389
|
+
# resp.certificate #=> String
|
390
|
+
# resp.certificate_chain #=> String
|
391
|
+
# resp.private_key #=> String
|
392
|
+
#
|
393
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ExportCertificate AWS API Documentation
|
394
|
+
#
|
395
|
+
# @overload export_certificate(params = {})
|
396
|
+
# @param [Hash] params ({})
|
397
|
+
def export_certificate(params = {}, options = {})
|
398
|
+
req = build_request(:export_certificate, params)
|
399
|
+
req.send_request(options)
|
400
|
+
end
|
401
|
+
|
348
402
|
# Retrieves a certificate specified by an ARN and its certificate chain
|
349
403
|
# . The chain is an ordered list of certificates that contains the end
|
350
404
|
# entity certificate, intermediate certificates of subordinate CAs, and
|
@@ -443,9 +497,9 @@ module Aws::ACM
|
|
443
497
|
#
|
444
498
|
#
|
445
499
|
#
|
446
|
-
# [1]: http://docs.aws.amazon.com/
|
447
|
-
# [2]: http://docs.aws.amazon.com/
|
448
|
-
# [3]: http://docs.aws.amazon.com/
|
500
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-services.html
|
501
|
+
# [2]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/import-certificate.html
|
502
|
+
# [3]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-renewal.html
|
449
503
|
# [4]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
450
504
|
#
|
451
505
|
# @option params [String] :certificate_arn
|
@@ -663,8 +717,8 @@ module Aws::ACM
|
|
663
717
|
#
|
664
718
|
#
|
665
719
|
#
|
666
|
-
# [1]: http://docs.aws.amazon.com/
|
667
|
-
# [2]: http://docs.aws.amazon.com/
|
720
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/gs-acm-validate-dns.html
|
721
|
+
# [2]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/gs-acm-validate-email.html
|
668
722
|
#
|
669
723
|
# @option params [required, String] :domain_name
|
670
724
|
# Fully qualified domain name (FQDN), such as www.example.com, of the
|
@@ -684,8 +738,8 @@ module Aws::ACM
|
|
684
738
|
#
|
685
739
|
#
|
686
740
|
#
|
687
|
-
# [1]: http://docs.aws.amazon.com/
|
688
|
-
# [2]: http://docs.aws.amazon.com/
|
741
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/gs-acm-validate-dns.html
|
742
|
+
# [2]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/gs-acm-validate-email.html
|
689
743
|
#
|
690
744
|
# @option params [Array<String>] :subject_alternative_names
|
691
745
|
# Additional FQDNs to be included in the Subject Alternative Name
|
@@ -715,7 +769,7 @@ module Aws::ACM
|
|
715
769
|
#
|
716
770
|
#
|
717
771
|
#
|
718
|
-
# [1]: http://docs.aws.amazon.com/
|
772
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-limits.html
|
719
773
|
#
|
720
774
|
# @option params [String] :idempotency_token
|
721
775
|
# Customer chosen string that can be used to distinguish between calls
|
@@ -740,7 +794,20 @@ module Aws::ACM
|
|
740
794
|
#
|
741
795
|
#
|
742
796
|
#
|
743
|
-
# [1]: http://docs.aws.amazon.com/
|
797
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-bestpractices.html#best-practices-transparency
|
798
|
+
#
|
799
|
+
# @option params [String] :certificate_authority_arn
|
800
|
+
# The Amazon Resource Name (ARN) of the private certificate authority
|
801
|
+
# (CA) that will be used to issue the certificate. For more information
|
802
|
+
# about private CAs, see the [AWS Certificate Manager Private
|
803
|
+
# Certificate Authority (PCA)][1] user guide. The ARN must have the
|
804
|
+
# following form:
|
805
|
+
#
|
806
|
+
# `arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012`
|
807
|
+
#
|
808
|
+
#
|
809
|
+
#
|
810
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm-pca/latest/userguide/PcaWelcome.html
|
744
811
|
#
|
745
812
|
# @return [Types::RequestCertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
746
813
|
#
|
@@ -762,6 +829,7 @@ module Aws::ACM
|
|
762
829
|
# options: {
|
763
830
|
# certificate_transparency_logging_preference: "ENABLED", # accepts ENABLED, DISABLED
|
764
831
|
# },
|
832
|
+
# certificate_authority_arn: "Arn",
|
765
833
|
# })
|
766
834
|
#
|
767
835
|
# @example Response structure
|
@@ -792,7 +860,7 @@ module Aws::ACM
|
|
792
860
|
#
|
793
861
|
#
|
794
862
|
#
|
795
|
-
# [1]: http://docs.aws.amazon.com/
|
863
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/setup-email.html
|
796
864
|
#
|
797
865
|
# @option params [required, String] :certificate_arn
|
798
866
|
# String that contains the ARN of the requested certificate. The
|
@@ -853,7 +921,7 @@ module Aws::ACM
|
|
853
921
|
#
|
854
922
|
#
|
855
923
|
#
|
856
|
-
# [1]: http://docs.aws.amazon.com/
|
924
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-bestpractices.html#best-practices-transparency
|
857
925
|
#
|
858
926
|
# @option params [required, String] :certificate_arn
|
859
927
|
# ARN of the requested certificate to update. This must be of the form:
|
@@ -902,7 +970,7 @@ module Aws::ACM
|
|
902
970
|
params: params,
|
903
971
|
config: config)
|
904
972
|
context[:gem_name] = 'aws-sdk-acm'
|
905
|
-
context[:gem_version] = '1.
|
973
|
+
context[:gem_version] = '1.6.0'
|
906
974
|
Seahorse::Client::Request.new(handlers, context)
|
907
975
|
end
|
908
976
|
|
@@ -35,6 +35,8 @@ module Aws::ACM
|
|
35
35
|
DomainValidationList = Shapes::ListShape.new(name: 'DomainValidationList')
|
36
36
|
DomainValidationOption = Shapes::StructureShape.new(name: 'DomainValidationOption')
|
37
37
|
DomainValidationOptionList = Shapes::ListShape.new(name: 'DomainValidationOptionList')
|
38
|
+
ExportCertificateRequest = Shapes::StructureShape.new(name: 'ExportCertificateRequest')
|
39
|
+
ExportCertificateResponse = Shapes::StructureShape.new(name: 'ExportCertificateResponse')
|
38
40
|
ExtendedKeyUsage = Shapes::StructureShape.new(name: 'ExtendedKeyUsage')
|
39
41
|
ExtendedKeyUsageFilterList = Shapes::ListShape.new(name: 'ExtendedKeyUsageFilterList')
|
40
42
|
ExtendedKeyUsageList = Shapes::ListShape.new(name: 'ExtendedKeyUsageList')
|
@@ -64,9 +66,12 @@ module Aws::ACM
|
|
64
66
|
ListTagsForCertificateResponse = Shapes::StructureShape.new(name: 'ListTagsForCertificateResponse')
|
65
67
|
MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
|
66
68
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
69
|
+
PassphraseBlob = Shapes::BlobShape.new(name: 'PassphraseBlob')
|
70
|
+
PrivateKey = Shapes::StringShape.new(name: 'PrivateKey')
|
67
71
|
PrivateKeyBlob = Shapes::BlobShape.new(name: 'PrivateKeyBlob')
|
68
72
|
RecordType = Shapes::StringShape.new(name: 'RecordType')
|
69
73
|
RemoveTagsFromCertificateRequest = Shapes::StructureShape.new(name: 'RemoveTagsFromCertificateRequest')
|
74
|
+
RenewalEligibility = Shapes::StringShape.new(name: 'RenewalEligibility')
|
70
75
|
RenewalStatus = Shapes::StringShape.new(name: 'RenewalStatus')
|
71
76
|
RenewalSummary = Shapes::StructureShape.new(name: 'RenewalSummary')
|
72
77
|
RequestCertificateRequest = Shapes::StructureShape.new(name: 'RequestCertificateRequest')
|
@@ -115,6 +120,8 @@ module Aws::ACM
|
|
115
120
|
CertificateDetail.add_member(:renewal_summary, Shapes::ShapeRef.new(shape: RenewalSummary, location_name: "RenewalSummary"))
|
116
121
|
CertificateDetail.add_member(:key_usages, Shapes::ShapeRef.new(shape: KeyUsageList, location_name: "KeyUsages"))
|
117
122
|
CertificateDetail.add_member(:extended_key_usages, Shapes::ShapeRef.new(shape: ExtendedKeyUsageList, location_name: "ExtendedKeyUsages"))
|
123
|
+
CertificateDetail.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateAuthorityArn"))
|
124
|
+
CertificateDetail.add_member(:renewal_eligibility, Shapes::ShapeRef.new(shape: RenewalEligibility, location_name: "RenewalEligibility"))
|
118
125
|
CertificateDetail.add_member(:options, Shapes::ShapeRef.new(shape: CertificateOptions, location_name: "Options"))
|
119
126
|
CertificateDetail.struct_class = Types::CertificateDetail
|
120
127
|
|
@@ -156,6 +163,15 @@ module Aws::ACM
|
|
156
163
|
|
157
164
|
DomainValidationOptionList.member = Shapes::ShapeRef.new(shape: DomainValidationOption)
|
158
165
|
|
166
|
+
ExportCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
|
167
|
+
ExportCertificateRequest.add_member(:passphrase, Shapes::ShapeRef.new(shape: PassphraseBlob, required: true, location_name: "Passphrase"))
|
168
|
+
ExportCertificateRequest.struct_class = Types::ExportCertificateRequest
|
169
|
+
|
170
|
+
ExportCertificateResponse.add_member(:certificate, Shapes::ShapeRef.new(shape: CertificateBody, location_name: "Certificate"))
|
171
|
+
ExportCertificateResponse.add_member(:certificate_chain, Shapes::ShapeRef.new(shape: CertificateChain, location_name: "CertificateChain"))
|
172
|
+
ExportCertificateResponse.add_member(:private_key, Shapes::ShapeRef.new(shape: PrivateKey, location_name: "PrivateKey"))
|
173
|
+
ExportCertificateResponse.struct_class = Types::ExportCertificateResponse
|
174
|
+
|
159
175
|
ExtendedKeyUsage.add_member(:name, Shapes::ShapeRef.new(shape: ExtendedKeyUsageName, location_name: "Name"))
|
160
176
|
ExtendedKeyUsage.add_member(:oid, Shapes::ShapeRef.new(shape: String, location_name: "OID"))
|
161
177
|
ExtendedKeyUsage.struct_class = Types::ExtendedKeyUsage
|
@@ -226,6 +242,7 @@ module Aws::ACM
|
|
226
242
|
RequestCertificateRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "IdempotencyToken"))
|
227
243
|
RequestCertificateRequest.add_member(:domain_validation_options, Shapes::ShapeRef.new(shape: DomainValidationOptionList, location_name: "DomainValidationOptions"))
|
228
244
|
RequestCertificateRequest.add_member(:options, Shapes::ShapeRef.new(shape: CertificateOptions, location_name: "Options"))
|
245
|
+
RequestCertificateRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateAuthorityArn"))
|
229
246
|
RequestCertificateRequest.struct_class = Types::RequestCertificateRequest
|
230
247
|
|
231
248
|
RequestCertificateResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateArn"))
|
@@ -301,6 +318,17 @@ module Aws::ACM
|
|
301
318
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
302
319
|
end)
|
303
320
|
|
321
|
+
api.add_operation(:export_certificate, Seahorse::Model::Operation.new.tap do |o|
|
322
|
+
o.name = "ExportCertificate"
|
323
|
+
o.http_method = "POST"
|
324
|
+
o.http_request_uri = "/"
|
325
|
+
o.input = Shapes::ShapeRef.new(shape: ExportCertificateRequest)
|
326
|
+
o.output = Shapes::ShapeRef.new(shape: ExportCertificateResponse)
|
327
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
328
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
329
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
330
|
+
end)
|
331
|
+
|
304
332
|
api.add_operation(:get_certificate, Seahorse::Model::Operation.new.tap do |o|
|
305
333
|
o.name = "GetCertificate"
|
306
334
|
o.http_method = "POST"
|
@@ -365,6 +393,7 @@ module Aws::ACM
|
|
365
393
|
o.output = Shapes::ShapeRef.new(shape: RequestCertificateResponse)
|
366
394
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
367
395
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDomainValidationOptionsException)
|
396
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
368
397
|
end)
|
369
398
|
|
370
399
|
api.add_operation(:resend_validation_email, Seahorse::Model::Operation.new.tap do |o|
|
@@ -386,7 +415,6 @@ module Aws::ACM
|
|
386
415
|
o.input = Shapes::ShapeRef.new(shape: UpdateCertificateOptionsRequest)
|
387
416
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
388
417
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
389
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
390
418
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
391
419
|
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
392
420
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
data/lib/aws-sdk-acm/types.rb
CHANGED
@@ -152,7 +152,7 @@ module Aws::ACM
|
|
152
152
|
#
|
153
153
|
#
|
154
154
|
#
|
155
|
-
# [1]: http://docs.aws.amazon.com/
|
155
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/troubleshooting.html#troubleshooting-failed
|
156
156
|
# @return [String]
|
157
157
|
#
|
158
158
|
# @!attribute [rw] type
|
@@ -166,8 +166,8 @@ module Aws::ACM
|
|
166
166
|
#
|
167
167
|
#
|
168
168
|
#
|
169
|
-
# [1]: http://docs.aws.amazon.com/
|
170
|
-
# [2]: http://docs.aws.amazon.com/
|
169
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-renewal.html
|
170
|
+
# [2]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/import-certificate.html
|
171
171
|
# @return [String]
|
172
172
|
#
|
173
173
|
# @!attribute [rw] renewal_summary
|
@@ -177,7 +177,7 @@ module Aws::ACM
|
|
177
177
|
#
|
178
178
|
#
|
179
179
|
#
|
180
|
-
# [1]: http://docs.aws.amazon.com/
|
180
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-renewal.html
|
181
181
|
# @return [Types::RenewalSummary]
|
182
182
|
#
|
183
183
|
# @!attribute [rw] key_usages
|
@@ -193,6 +193,18 @@ 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] certificate_authority_arn
|
197
|
+
# The Amazon Resource Name (ARN) of the ACM PCA private certificate
|
198
|
+
# authority (CA) that issued the certificate. This has the following
|
199
|
+
# format:
|
200
|
+
#
|
201
|
+
# `arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012`
|
202
|
+
# @return [String]
|
203
|
+
#
|
204
|
+
# @!attribute [rw] renewal_eligibility
|
205
|
+
# Specifies whether the certificate is eligible for renewal.
|
206
|
+
# @return [String]
|
207
|
+
#
|
196
208
|
# @!attribute [rw] options
|
197
209
|
# Value that specifies whether to add the certificate to a
|
198
210
|
# transparency log. Certificate transparency makes it possible to
|
@@ -228,6 +240,8 @@ module Aws::ACM
|
|
228
240
|
:renewal_summary,
|
229
241
|
:key_usages,
|
230
242
|
:extended_key_usages,
|
243
|
+
:certificate_authority_arn,
|
244
|
+
:renewal_eligibility,
|
231
245
|
:options)
|
232
246
|
include Aws::Structure
|
233
247
|
end
|
@@ -243,7 +257,7 @@ module Aws::ACM
|
|
243
257
|
#
|
244
258
|
#
|
245
259
|
#
|
246
|
-
# [1]: http://docs.aws.amazon.com/
|
260
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-concepts.html#concept-transparency
|
247
261
|
#
|
248
262
|
# @note When making an API call, you may pass CertificateOptions
|
249
263
|
# data as a hash:
|
@@ -395,7 +409,7 @@ module Aws::ACM
|
|
395
409
|
#
|
396
410
|
#
|
397
411
|
#
|
398
|
-
# [1]: http://docs.aws.amazon.com/
|
412
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/gs-acm-validate-dns.html
|
399
413
|
# @return [Types::ResourceRecord]
|
400
414
|
#
|
401
415
|
# @!attribute [rw] validation_method
|
@@ -457,6 +471,61 @@ module Aws::ACM
|
|
457
471
|
include Aws::Structure
|
458
472
|
end
|
459
473
|
|
474
|
+
# @note When making an API call, you may pass ExportCertificateRequest
|
475
|
+
# data as a hash:
|
476
|
+
#
|
477
|
+
# {
|
478
|
+
# certificate_arn: "Arn", # required
|
479
|
+
# passphrase: "data", # required
|
480
|
+
# }
|
481
|
+
#
|
482
|
+
# @!attribute [rw] certificate_arn
|
483
|
+
# An Amazon Resource Name (ARN) of the issued certificate. This must
|
484
|
+
# be of the form:
|
485
|
+
#
|
486
|
+
# `arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012`
|
487
|
+
# @return [String]
|
488
|
+
#
|
489
|
+
# @!attribute [rw] passphrase
|
490
|
+
# Passphrase to associate with the encrypted exported private key. If
|
491
|
+
# you want to later decrypt the private key, you must have the
|
492
|
+
# passphrase. You can use the following OpenSSL command to decrypt a
|
493
|
+
# private key:
|
494
|
+
#
|
495
|
+
# `openssl rsa -in encrypted_key.pem -out decrypted_key.pem`
|
496
|
+
# @return [String]
|
497
|
+
#
|
498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ExportCertificateRequest AWS API Documentation
|
499
|
+
#
|
500
|
+
class ExportCertificateRequest < Struct.new(
|
501
|
+
:certificate_arn,
|
502
|
+
:passphrase)
|
503
|
+
include Aws::Structure
|
504
|
+
end
|
505
|
+
|
506
|
+
# @!attribute [rw] certificate
|
507
|
+
# The base64 PEM-encoded certificate.
|
508
|
+
# @return [String]
|
509
|
+
#
|
510
|
+
# @!attribute [rw] certificate_chain
|
511
|
+
# The base64 PEM-encoded certificate chain. This does not include the
|
512
|
+
# certificate that you are exporting.
|
513
|
+
# @return [String]
|
514
|
+
#
|
515
|
+
# @!attribute [rw] private_key
|
516
|
+
# The PEM-encoded private key associated with the public key in the
|
517
|
+
# certificate.
|
518
|
+
# @return [String]
|
519
|
+
#
|
520
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ExportCertificateResponse AWS API Documentation
|
521
|
+
#
|
522
|
+
class ExportCertificateResponse < Struct.new(
|
523
|
+
:certificate,
|
524
|
+
:certificate_chain,
|
525
|
+
:private_key)
|
526
|
+
include Aws::Structure
|
527
|
+
end
|
528
|
+
|
460
529
|
# The Extended Key Usage X.509 v3 extension defines one or more purposes
|
461
530
|
# for which the public key can be used. This is in addition to or in
|
462
531
|
# place of the basic purposes specified by the Key Usage extension.
|
@@ -796,14 +865,14 @@ module Aws::ACM
|
|
796
865
|
#
|
797
866
|
#
|
798
867
|
#
|
799
|
-
# [1]: http://docs.aws.amazon.com/
|
868
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-renewal.html
|
800
869
|
#
|
801
870
|
# @!attribute [rw] renewal_status
|
802
871
|
# The status of ACM's [managed renewal][1] of the certificate.
|
803
872
|
#
|
804
873
|
#
|
805
874
|
#
|
806
|
-
# [1]: http://docs.aws.amazon.com/
|
875
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-renewal.html
|
807
876
|
# @return [String]
|
808
877
|
#
|
809
878
|
# @!attribute [rw] domain_validation_options
|
@@ -815,7 +884,7 @@ module Aws::ACM
|
|
815
884
|
#
|
816
885
|
#
|
817
886
|
#
|
818
|
-
# [1]: http://docs.aws.amazon.com/
|
887
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-renewal.html
|
819
888
|
# @return [Array<Types::DomainValidation>]
|
820
889
|
#
|
821
890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RenewalSummary AWS API Documentation
|
@@ -843,6 +912,7 @@ module Aws::ACM
|
|
843
912
|
# options: {
|
844
913
|
# certificate_transparency_logging_preference: "ENABLED", # accepts ENABLED, DISABLED
|
845
914
|
# },
|
915
|
+
# certificate_authority_arn: "Arn",
|
846
916
|
# }
|
847
917
|
#
|
848
918
|
# @!attribute [rw] domain_name
|
@@ -864,8 +934,8 @@ module Aws::ACM
|
|
864
934
|
#
|
865
935
|
#
|
866
936
|
#
|
867
|
-
# [1]: http://docs.aws.amazon.com/
|
868
|
-
# [2]: http://docs.aws.amazon.com/
|
937
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/gs-acm-validate-dns.html
|
938
|
+
# [2]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/gs-acm-validate-email.html
|
869
939
|
# @return [String]
|
870
940
|
#
|
871
941
|
# @!attribute [rw] subject_alternative_names
|
@@ -896,7 +966,7 @@ module Aws::ACM
|
|
896
966
|
#
|
897
967
|
#
|
898
968
|
#
|
899
|
-
# [1]: http://docs.aws.amazon.com/
|
969
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-limits.html
|
900
970
|
# @return [Array<String>]
|
901
971
|
#
|
902
972
|
# @!attribute [rw] idempotency_token
|
@@ -925,9 +995,23 @@ module Aws::ACM
|
|
925
995
|
#
|
926
996
|
#
|
927
997
|
#
|
928
|
-
# [1]: http://docs.aws.amazon.com/
|
998
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-bestpractices.html#best-practices-transparency
|
929
999
|
# @return [Types::CertificateOptions]
|
930
1000
|
#
|
1001
|
+
# @!attribute [rw] certificate_authority_arn
|
1002
|
+
# The Amazon Resource Name (ARN) of the private certificate authority
|
1003
|
+
# (CA) that will be used to issue the certificate. For more
|
1004
|
+
# information about private CAs, see the [AWS Certificate Manager
|
1005
|
+
# Private Certificate Authority (PCA)][1] user guide. The ARN must
|
1006
|
+
# have the following form:
|
1007
|
+
#
|
1008
|
+
# `arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012`
|
1009
|
+
#
|
1010
|
+
#
|
1011
|
+
#
|
1012
|
+
# [1]: http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm-pca/latest/userguide/PcaWelcome.html
|
1013
|
+
# @return [String]
|
1014
|
+
#
|
931
1015
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificateRequest AWS API Documentation
|
932
1016
|
#
|
933
1017
|
class RequestCertificateRequest < Struct.new(
|
@@ -936,7 +1020,8 @@ module Aws::ACM
|
|
936
1020
|
:subject_alternative_names,
|
937
1021
|
:idempotency_token,
|
938
1022
|
:domain_validation_options,
|
939
|
-
:options
|
1023
|
+
:options,
|
1024
|
+
:certificate_authority_arn)
|
940
1025
|
include Aws::Structure
|
941
1026
|
end
|
942
1027
|
|
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.6.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-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|