aws-sdk-acm 1.53.0 → 1.55.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d40f231cc976aae38e21848b5e67991e6ea65b358eb032d99d7b87a0b246ce65
4
- data.tar.gz: df1771e3a3e00edf015c00c3043e3ef9810b3ad01674414868d40c3d88067657
3
+ metadata.gz: cd9d366c9f5850d41d06d2cc61c7e5e0cf43b60261e86216d5d7afd774f09611
4
+ data.tar.gz: 71fd6bb0003dfba1cf5a8b87091a8259b4cf2cdaa68aece2a84cce9c184bf9fd
5
5
  SHA512:
6
- metadata.gz: e0e1788365a14476e749d8a5a5df200237ccf97b1d8c9a892fb913fad5ab4a5ae6c521c64fc939a46a8218c65e67ccdc98742cc40a7760819ba30746e38e2cc1
7
- data.tar.gz: c27445af49d323b48952579b1db87a2bd5f4f10c791d1a2531228e40cde7c01bb6a2d87426fa2ffa46ba7dd0868befd0416a64eeb793e21e100b4cda5f0b4df9
6
+ metadata.gz: e1c52cbe80df1c2e15ecd45fa433762ed9be99cb1bbea0bd348ca6cb05b9805a0b0d5061cc493a3390096e5d5f224db831f6d3aae9d6b003b1f1b78c325ba00c
7
+ data.tar.gz: 5bcdeb4c2c814be4558a29573d15f95b26e1bea83e661817fd4dc9d8bcdbe5b8a8fb3adfd824c96d6525a4984cf23f88feeb849b2295a0fe7f360eb149b92dc7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.55.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.54.0 (2022-11-08)
12
+ ------------------
13
+
14
+ * Feature - Support added for requesting elliptic curve certificate key algorithm types P-256 (EC_prime256v1) and P-384 (EC_secp384r1).
15
+
4
16
  1.53.0 (2022-10-25)
5
17
  ------------------
6
18
 
@@ -335,4 +347,4 @@ Unreleased Changes
335
347
  1.0.0.rc1 (2016-12-05)
336
348
  ------------------
337
349
 
338
- * Feature - Initial preview release of the `aws-sdk-acm` gem.
350
+ * Feature - Initial preview release of the `aws-sdk-acm` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.0
1
+ 1.55.0
@@ -1058,13 +1058,14 @@ module Aws::ACM
1058
1058
 
1059
1059
  # Renews an eligible ACM certificate. At this time, only exported
1060
1060
  # private certificates can be renewed with this operation. In order to
1061
- # renew your ACM Private CA certificates with ACM, you must first [grant
1062
- # the ACM service principal permission to do so][1]. For more
1063
- # information, see [Testing Managed Renewal][2] in the ACM User Guide.
1061
+ # renew your Amazon Web Services Private CA certificates with ACM, you
1062
+ # must first [grant the ACM service principal permission to do so][1].
1063
+ # For more information, see [Testing Managed Renewal][2] in the ACM User
1064
+ # Guide.
1064
1065
  #
1065
1066
  #
1066
1067
  #
1067
- # [1]: https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaPermissions.html
1068
+ # [1]: https://docs.aws.amazon.com/privateca/latest/userguide/PcaPermissions.html
1068
1069
  # [2]: https://docs.aws.amazon.com/acm/latest/userguide/manual-renewal.html
1069
1070
  #
1070
1071
  # @option params [required, String] :certificate_arn
@@ -1214,18 +1215,32 @@ module Aws::ACM
1214
1215
  # (CA) that will be used to issue the certificate. If you do not provide
1215
1216
  # an ARN and you are trying to request a private certificate, ACM will
1216
1217
  # attempt to issue a public certificate. For more information about
1217
- # private CAs, see the [Certificate Manager Private Certificate
1218
+ # private CAs, see the [Amazon Web Services Private Certificate
1218
1219
  # Authority][1] user guide. The ARN must have the following form:
1219
1220
  #
1220
1221
  # `arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012`
1221
1222
  #
1222
1223
  #
1223
1224
  #
1224
- # [1]: https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaWelcome.html
1225
+ # [1]: https://docs.aws.amazon.com/privateca/latest/userguide/PcaWelcome.html
1225
1226
  #
1226
1227
  # @option params [Array<Types::Tag>] :tags
1227
1228
  # One or more resource tags to associate with the certificate.
1228
1229
  #
1230
+ # @option params [String] :key_algorithm
1231
+ # Specifies the algorithm of the public and private key pair that your
1232
+ # certificate uses to encrypt data. RSA is the default key algorithm for
1233
+ # ACM certificates. Elliptic Curve Digital Signature Algorithm (ECDSA)
1234
+ # keys are smaller, offering security comparable to RSA keys but with
1235
+ # greater computing efficiency. However, ECDSA is not supported by all
1236
+ # network clients. Some AWS services may require RSA keys, or only
1237
+ # support ECDSA keys of a particular size, while others allow the use of
1238
+ # either RSA and ECDSA keys to ensure that compatibility is not broken.
1239
+ # Check the requirements for the AWS service where you plan to deploy
1240
+ # your certificate.
1241
+ #
1242
+ # Default: RSA\_2048
1243
+ #
1229
1244
  # @return [Types::RequestCertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1230
1245
  #
1231
1246
  # * {Types::RequestCertificateResponse#certificate_arn #certificate_arn} => String
@@ -1246,13 +1261,14 @@ module Aws::ACM
1246
1261
  # options: {
1247
1262
  # certificate_transparency_logging_preference: "ENABLED", # accepts ENABLED, DISABLED
1248
1263
  # },
1249
- # certificate_authority_arn: "Arn",
1264
+ # certificate_authority_arn: "PcaArn",
1250
1265
  # tags: [
1251
1266
  # {
1252
1267
  # key: "TagKey", # required
1253
1268
  # value: "TagValue",
1254
1269
  # },
1255
1270
  # ],
1271
+ # key_algorithm: "RSA_1024", # accepts RSA_1024, RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1
1256
1272
  # })
1257
1273
  #
1258
1274
  # @example Response structure
@@ -1393,7 +1409,7 @@ module Aws::ACM
1393
1409
  params: params,
1394
1410
  config: config)
1395
1411
  context[:gem_name] = 'aws-sdk-acm'
1396
- context[:gem_version] = '1.53.0'
1412
+ context[:gem_version] = '1.55.0'
1397
1413
  Seahorse::Client::Request.new(handlers, context)
1398
1414
  end
1399
1415
 
@@ -79,6 +79,7 @@ module Aws::ACM
79
79
  NextToken = Shapes::StringShape.new(name: 'NextToken')
80
80
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
81
81
  PassphraseBlob = Shapes::BlobShape.new(name: 'PassphraseBlob')
82
+ PcaArn = Shapes::StringShape.new(name: 'PcaArn')
82
83
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
83
84
  PrivateKey = Shapes::StringShape.new(name: 'PrivateKey')
84
85
  PrivateKeyBlob = Shapes::BlobShape.new(name: 'PrivateKeyBlob')
@@ -329,8 +330,9 @@ module Aws::ACM
329
330
  RequestCertificateRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "IdempotencyToken"))
330
331
  RequestCertificateRequest.add_member(:domain_validation_options, Shapes::ShapeRef.new(shape: DomainValidationOptionList, location_name: "DomainValidationOptions"))
331
332
  RequestCertificateRequest.add_member(:options, Shapes::ShapeRef.new(shape: CertificateOptions, location_name: "Options"))
332
- RequestCertificateRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateAuthorityArn"))
333
+ RequestCertificateRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: PcaArn, location_name: "CertificateAuthorityArn"))
333
334
  RequestCertificateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
335
+ RequestCertificateRequest.add_member(:key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, location_name: "KeyAlgorithm"))
334
336
  RequestCertificateRequest.struct_class = Types::RequestCertificateRequest
335
337
 
336
338
  RequestCertificateResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateArn"))
@@ -421,6 +423,9 @@ module Aws::ACM
421
423
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
422
424
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
423
425
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
426
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
427
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
428
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
424
429
  o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
425
430
  end)
426
431
 
@@ -488,6 +493,7 @@ module Aws::ACM
488
493
  o.input = Shapes::ShapeRef.new(shape: ListCertificatesRequest)
489
494
  o.output = Shapes::ShapeRef.new(shape: ListCertificatesResponse)
490
495
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
496
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
491
497
  o[:pager] = Aws::Pager.new(
492
498
  limit_key: "max_items",
493
499
  tokens: {
@@ -9,108 +9,46 @@
9
9
 
10
10
  module Aws::ACM
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://acm-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://acm.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ return Aws::Endpoints::Endpoint.new(url: "https://acm-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
39
+ end
40
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
41
+ end
42
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
43
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
44
+ return Aws::Endpoints::Endpoint.new(url: "https://acm.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
45
+ end
46
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
47
+ end
48
+ return Aws::Endpoints::Endpoint.new(url: "https://acm.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
49
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
40
- OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
41
- UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
42
- dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
43
- UFMtY29tcGxpYW50IHJlZ2lvbmFsIGVuZHBvaW50LiBJZiB0aGUgY29uZmln
44
- dXJlZCBlbmRwb2ludCBkb2VzIG5vdCBoYXZlIGEgRklQUyBjb21wbGlhbnQg
45
- ZW5kc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BlcnRpZXMiOnt9LCJo
112
- ZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
113
-
114
- JSON
115
53
  end
116
54
  end
@@ -23,19 +23,6 @@ module Aws::ACM
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
- # @note When making an API call, you may pass AddTagsToCertificateRequest
27
- # data as a hash:
28
- #
29
- # {
30
- # certificate_arn: "Arn", # required
31
- # tags: [ # required
32
- # {
33
- # key: "TagKey", # required
34
- # value: "TagValue",
35
- # },
36
- # ],
37
- # }
38
- #
39
26
  # @!attribute [rw] certificate_arn
40
27
  # String that contains the ARN of the ACM certificate to which the tag
41
28
  # is to be applied. This must be of the form:
@@ -292,13 +279,6 @@ module Aws::ACM
292
279
  #
293
280
  # [1]: https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency
294
281
  #
295
- # @note When making an API call, you may pass CertificateOptions
296
- # data as a hash:
297
- #
298
- # {
299
- # certificate_transparency_logging_preference: "ENABLED", # accepts ENABLED, DISABLED
300
- # }
301
- #
302
282
  # @!attribute [rw] certificate_transparency_logging_preference
303
283
  # You can opt out of certificate transparency logging by specifying
304
284
  # the `DISABLED` option. Opt in by specifying `ENABLED`.
@@ -501,13 +481,6 @@ module Aws::ACM
501
481
  include Aws::Structure
502
482
  end
503
483
 
504
- # @note When making an API call, you may pass DeleteCertificateRequest
505
- # data as a hash:
506
- #
507
- # {
508
- # certificate_arn: "Arn", # required
509
- # }
510
- #
511
484
  # @!attribute [rw] certificate_arn
512
485
  # String that contains the ARN of the ACM certificate to be deleted.
513
486
  # This must be of the form:
@@ -530,13 +503,6 @@ module Aws::ACM
530
503
  include Aws::Structure
531
504
  end
532
505
 
533
- # @note When making an API call, you may pass DescribeCertificateRequest
534
- # data as a hash:
535
- #
536
- # {
537
- # certificate_arn: "Arn", # required
538
- # }
539
- #
540
506
  # @!attribute [rw] certificate_arn
541
507
  # The Amazon Resource Name (ARN) of the ACM certificate. The ARN must
542
508
  # have the following form:
@@ -635,14 +601,6 @@ module Aws::ACM
635
601
  # Contains information about the domain names that you want ACM to use
636
602
  # to send you emails that enable you to validate domain ownership.
637
603
  #
638
- # @note When making an API call, you may pass DomainValidationOption
639
- # data as a hash:
640
- #
641
- # {
642
- # domain_name: "DomainNameString", # required
643
- # validation_domain: "DomainNameString", # required
644
- # }
645
- #
646
604
  # @!attribute [rw] domain_name
647
605
  # A fully qualified domain name (FQDN) in the certificate request.
648
606
  # @return [String]
@@ -679,13 +637,6 @@ module Aws::ACM
679
637
  # Object containing expiration events options associated with an Amazon
680
638
  # Web Services account.
681
639
  #
682
- # @note When making an API call, you may pass ExpiryEventsConfiguration
683
- # data as a hash:
684
- #
685
- # {
686
- # days_before_expiry: 1,
687
- # }
688
- #
689
640
  # @!attribute [rw] days_before_expiry
690
641
  # Specifies the number of days prior to certificate expiration when
691
642
  # ACM starts generating `EventBridge` events. ACM sends one event per
@@ -702,14 +653,6 @@ module Aws::ACM
702
653
  include Aws::Structure
703
654
  end
704
655
 
705
- # @note When making an API call, you may pass ExportCertificateRequest
706
- # data as a hash:
707
- #
708
- # {
709
- # certificate_arn: "Arn", # required
710
- # passphrase: "data", # required
711
- # }
712
- #
713
656
  # @!attribute [rw] certificate_arn
714
657
  # An Amazon Resource Name (ARN) of the issued certificate. This must
715
658
  # be of the form:
@@ -811,15 +754,6 @@ module Aws::ACM
811
754
  # This structure can be used in the ListCertificates action to filter
812
755
  # the output of the certificate list.
813
756
  #
814
- # @note When making an API call, you may pass Filters
815
- # data as a hash:
816
- #
817
- # {
818
- # extended_key_usage: ["TLS_WEB_SERVER_AUTHENTICATION"], # accepts 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
819
- # key_usage: ["DIGITAL_SIGNATURE"], # accepts DIGITAL_SIGNATURE, NON_REPUDIATION, KEY_ENCIPHERMENT, DATA_ENCIPHERMENT, KEY_AGREEMENT, CERTIFICATE_SIGNING, CRL_SIGNING, ENCIPHER_ONLY, DECIPHER_ONLY, ANY, CUSTOM
820
- # key_types: ["RSA_1024"], # accepts RSA_1024, RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1
821
- # }
822
- #
823
757
  # @!attribute [rw] extended_key_usage
824
758
  # Specify one or more ExtendedKeyUsage extension values.
825
759
  # @return [Array<String>]
@@ -863,13 +797,6 @@ module Aws::ACM
863
797
  include Aws::Structure
864
798
  end
865
799
 
866
- # @note When making an API call, you may pass GetCertificateRequest
867
- # data as a hash:
868
- #
869
- # {
870
- # certificate_arn: "Arn", # required
871
- # }
872
- #
873
800
  # @!attribute [rw] certificate_arn
874
801
  # String that contains a certificate ARN in the following format:
875
802
  #
@@ -911,22 +838,6 @@ module Aws::ACM
911
838
  include Aws::Structure
912
839
  end
913
840
 
914
- # @note When making an API call, you may pass ImportCertificateRequest
915
- # data as a hash:
916
- #
917
- # {
918
- # certificate_arn: "Arn",
919
- # certificate: "data", # required
920
- # private_key: "data", # required
921
- # certificate_chain: "data",
922
- # tags: [
923
- # {
924
- # key: "TagKey", # required
925
- # value: "TagValue",
926
- # },
927
- # ],
928
- # }
929
- #
930
841
  # @!attribute [rw] certificate_arn
931
842
  # The [Amazon Resource Name (ARN)][1] of an imported certificate to
932
843
  # replace. To import a new certificate, omit this field.
@@ -1093,22 +1004,6 @@ module Aws::ACM
1093
1004
  include Aws::Structure
1094
1005
  end
1095
1006
 
1096
- # @note When making an API call, you may pass ListCertificatesRequest
1097
- # data as a hash:
1098
- #
1099
- # {
1100
- # certificate_statuses: ["PENDING_VALIDATION"], # accepts PENDING_VALIDATION, ISSUED, INACTIVE, EXPIRED, VALIDATION_TIMED_OUT, REVOKED, FAILED
1101
- # includes: {
1102
- # extended_key_usage: ["TLS_WEB_SERVER_AUTHENTICATION"], # accepts 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
1103
- # key_usage: ["DIGITAL_SIGNATURE"], # accepts DIGITAL_SIGNATURE, NON_REPUDIATION, KEY_ENCIPHERMENT, DATA_ENCIPHERMENT, KEY_AGREEMENT, CERTIFICATE_SIGNING, CRL_SIGNING, ENCIPHER_ONLY, DECIPHER_ONLY, ANY, CUSTOM
1104
- # key_types: ["RSA_1024"], # accepts RSA_1024, RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1
1105
- # },
1106
- # next_token: "NextToken",
1107
- # max_items: 1,
1108
- # sort_by: "CREATED_AT", # accepts CREATED_AT
1109
- # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
1110
- # }
1111
- #
1112
1007
  # @!attribute [rw] certificate_statuses
1113
1008
  # Filter the certificate list by status value.
1114
1009
  # @return [Array<String>]
@@ -1175,13 +1070,6 @@ module Aws::ACM
1175
1070
  include Aws::Structure
1176
1071
  end
1177
1072
 
1178
- # @note When making an API call, you may pass ListTagsForCertificateRequest
1179
- # data as a hash:
1180
- #
1181
- # {
1182
- # certificate_arn: "Arn", # required
1183
- # }
1184
- #
1185
1073
  # @!attribute [rw] certificate_arn
1186
1074
  # String that contains the ARN of the ACM certificate for which you
1187
1075
  # want to list the tags. This must have the following form:
@@ -1216,16 +1104,6 @@ module Aws::ACM
1216
1104
  include Aws::Structure
1217
1105
  end
1218
1106
 
1219
- # @note When making an API call, you may pass PutAccountConfigurationRequest
1220
- # data as a hash:
1221
- #
1222
- # {
1223
- # expiry_events: {
1224
- # days_before_expiry: 1,
1225
- # },
1226
- # idempotency_token: "IdempotencyToken", # required
1227
- # }
1228
- #
1229
1107
  # @!attribute [rw] expiry_events
1230
1108
  # Specifies expiration events associated with an account.
1231
1109
  # @return [Types::ExpiryEventsConfiguration]
@@ -1248,19 +1126,6 @@ module Aws::ACM
1248
1126
  include Aws::Structure
1249
1127
  end
1250
1128
 
1251
- # @note When making an API call, you may pass RemoveTagsFromCertificateRequest
1252
- # data as a hash:
1253
- #
1254
- # {
1255
- # certificate_arn: "Arn", # required
1256
- # tags: [ # required
1257
- # {
1258
- # key: "TagKey", # required
1259
- # value: "TagValue",
1260
- # },
1261
- # ],
1262
- # }
1263
- #
1264
1129
  # @!attribute [rw] certificate_arn
1265
1130
  # String that contains the ARN of the ACM Certificate with one or more
1266
1131
  # tags that you want to remove. This must be of the form:
@@ -1288,13 +1153,6 @@ module Aws::ACM
1288
1153
  include Aws::Structure
1289
1154
  end
1290
1155
 
1291
- # @note When making an API call, you may pass RenewCertificateRequest
1292
- # data as a hash:
1293
- #
1294
- # {
1295
- # certificate_arn: "Arn", # required
1296
- # }
1297
- #
1298
1156
  # @!attribute [rw] certificate_arn
1299
1157
  # String that contains the ARN of the ACM certificate to be renewed.
1300
1158
  # This must be of the form:
@@ -1364,32 +1222,6 @@ module Aws::ACM
1364
1222
  include Aws::Structure
1365
1223
  end
1366
1224
 
1367
- # @note When making an API call, you may pass RequestCertificateRequest
1368
- # data as a hash:
1369
- #
1370
- # {
1371
- # domain_name: "DomainNameString", # required
1372
- # validation_method: "EMAIL", # accepts EMAIL, DNS
1373
- # subject_alternative_names: ["DomainNameString"],
1374
- # idempotency_token: "IdempotencyToken",
1375
- # domain_validation_options: [
1376
- # {
1377
- # domain_name: "DomainNameString", # required
1378
- # validation_domain: "DomainNameString", # required
1379
- # },
1380
- # ],
1381
- # options: {
1382
- # certificate_transparency_logging_preference: "ENABLED", # accepts ENABLED, DISABLED
1383
- # },
1384
- # certificate_authority_arn: "Arn",
1385
- # tags: [
1386
- # {
1387
- # key: "TagKey", # required
1388
- # value: "TagValue",
1389
- # },
1390
- # ],
1391
- # }
1392
- #
1393
1225
  # @!attribute [rw] domain_name
1394
1226
  # Fully qualified domain name (FQDN), such as www.example.com, that
1395
1227
  # you want to secure with an ACM certificate. Use an asterisk (*) to
@@ -1485,20 +1317,35 @@ module Aws::ACM
1485
1317
  # (CA) that will be used to issue the certificate. If you do not
1486
1318
  # provide an ARN and you are trying to request a private certificate,
1487
1319
  # ACM will attempt to issue a public certificate. For more information
1488
- # about private CAs, see the [Certificate Manager Private Certificate
1320
+ # about private CAs, see the [Amazon Web Services Private Certificate
1489
1321
  # Authority][1] user guide. The ARN must have the following form:
1490
1322
  #
1491
1323
  # `arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012`
1492
1324
  #
1493
1325
  #
1494
1326
  #
1495
- # [1]: https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaWelcome.html
1327
+ # [1]: https://docs.aws.amazon.com/privateca/latest/userguide/PcaWelcome.html
1496
1328
  # @return [String]
1497
1329
  #
1498
1330
  # @!attribute [rw] tags
1499
1331
  # One or more resource tags to associate with the certificate.
1500
1332
  # @return [Array<Types::Tag>]
1501
1333
  #
1334
+ # @!attribute [rw] key_algorithm
1335
+ # Specifies the algorithm of the public and private key pair that your
1336
+ # certificate uses to encrypt data. RSA is the default key algorithm
1337
+ # for ACM certificates. Elliptic Curve Digital Signature Algorithm
1338
+ # (ECDSA) keys are smaller, offering security comparable to RSA keys
1339
+ # but with greater computing efficiency. However, ECDSA is not
1340
+ # supported by all network clients. Some AWS services may require RSA
1341
+ # keys, or only support ECDSA keys of a particular size, while others
1342
+ # allow the use of either RSA and ECDSA keys to ensure that
1343
+ # compatibility is not broken. Check the requirements for the AWS
1344
+ # service where you plan to deploy your certificate.
1345
+ #
1346
+ # Default: RSA\_2048
1347
+ # @return [String]
1348
+ #
1502
1349
  # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificateRequest AWS API Documentation
1503
1350
  #
1504
1351
  class RequestCertificateRequest < Struct.new(
@@ -1509,7 +1356,8 @@ module Aws::ACM
1509
1356
  :domain_validation_options,
1510
1357
  :options,
1511
1358
  :certificate_authority_arn,
1512
- :tags)
1359
+ :tags,
1360
+ :key_algorithm)
1513
1361
  SENSITIVE = []
1514
1362
  include Aws::Structure
1515
1363
  end
@@ -1543,15 +1391,6 @@ module Aws::ACM
1543
1391
  include Aws::Structure
1544
1392
  end
1545
1393
 
1546
- # @note When making an API call, you may pass ResendValidationEmailRequest
1547
- # data as a hash:
1548
- #
1549
- # {
1550
- # certificate_arn: "Arn", # required
1551
- # domain: "DomainNameString", # required
1552
- # validation_domain: "DomainNameString", # required
1553
- # }
1554
- #
1555
1394
  # @!attribute [rw] certificate_arn
1556
1395
  # String that contains the ARN of the requested certificate. The
1557
1396
  # certificate ARN is generated and returned by the RequestCertificate
@@ -1656,14 +1495,6 @@ module Aws::ACM
1656
1495
  # A key-value pair that identifies or specifies metadata about an ACM
1657
1496
  # resource.
1658
1497
  #
1659
- # @note When making an API call, you may pass Tag
1660
- # data as a hash:
1661
- #
1662
- # {
1663
- # key: "TagKey", # required
1664
- # value: "TagValue",
1665
- # }
1666
- #
1667
1498
  # @!attribute [rw] key
1668
1499
  # The key of the tag.
1669
1500
  # @return [String]
@@ -1722,16 +1553,6 @@ module Aws::ACM
1722
1553
  include Aws::Structure
1723
1554
  end
1724
1555
 
1725
- # @note When making an API call, you may pass UpdateCertificateOptionsRequest
1726
- # data as a hash:
1727
- #
1728
- # {
1729
- # certificate_arn: "Arn", # required
1730
- # options: { # required
1731
- # certificate_transparency_logging_preference: "ENABLED", # accepts ENABLED, DISABLED
1732
- # },
1733
- # }
1734
- #
1735
1556
  # @!attribute [rw] certificate_arn
1736
1557
  # ARN of the requested certificate to update. This must be of the
1737
1558
  # form:
data/lib/aws-sdk-acm.rb CHANGED
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-acm/customizations'
53
53
  # @!group service
54
54
  module Aws::ACM
55
55
 
56
- GEM_VERSION = '1.53.0'
56
+ GEM_VERSION = '1.55.0'
57
57
 
58
58
  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.53.0
4
+ version: 1.55.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core