aws-sdk-acm 1.38.0 → 1.42.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.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.42.0
data/lib/aws-sdk-acm.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-acm/customizations'
49
49
  # @!group service
50
50
  module Aws::ACM
51
51
 
52
- GEM_VERSION = '1.38.0'
52
+ GEM_VERSION = '1.42.0'
53
53
 
54
54
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -338,10 +338,10 @@ module Aws::ACM
338
338
  # @!group API Operations
339
339
 
340
340
  # Adds one or more tags to an ACM certificate. Tags are labels that you
341
- # can use to identify and organize your AWS resources. Each tag consists
342
- # of a `key` and an optional `value`. You specify the certificate on
343
- # input by its Amazon Resource Name (ARN). You specify the tag by using
344
- # a key-value pair.
341
+ # can use to identify and organize your Amazon Web Services resources.
342
+ # Each tag consists of a `key` and an optional `value`. You specify the
343
+ # certificate on input by its Amazon Resource Name (ARN). You specify
344
+ # the tag by using a key-value pair.
345
345
  #
346
346
  # You can apply a tag to just one certificate if you want to identify a
347
347
  # specific characteristic of that certificate, or you can apply the same
@@ -367,8 +367,8 @@ module Aws::ACM
367
367
  #
368
368
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
369
369
  #
370
- # For more information about ARNs, see [Amazon Resource Names (ARNs) and
371
- # AWS Service Namespaces][1].
370
+ # For more information about ARNs, see [Amazon Resource Names
371
+ # (ARNs)][1].
372
372
  #
373
373
  #
374
374
  #
@@ -404,11 +404,11 @@ module Aws::ACM
404
404
  # succeeds, the certificate no longer appears in the list that can be
405
405
  # displayed by calling the ListCertificates action or be retrieved by
406
406
  # calling the GetCertificate action. The certificate will not be
407
- # available for use by AWS services integrated with ACM.
407
+ # available for use by Amazon Web Services services integrated with ACM.
408
408
  #
409
- # <note markdown="1"> You cannot delete an ACM certificate that is being used by another AWS
410
- # service. To delete a certificate that is in use, the certificate
411
- # association must first be removed.
409
+ # <note markdown="1"> You cannot delete an ACM certificate that is being used by another
410
+ # Amazon Web Services service. To delete a certificate that is in use,
411
+ # the certificate association must first be removed.
412
412
  #
413
413
  # </note>
414
414
  #
@@ -418,8 +418,8 @@ module Aws::ACM
418
418
  #
419
419
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
420
420
  #
421
- # For more information about ARNs, see [Amazon Resource Names (ARNs) and
422
- # AWS Service Namespaces][1].
421
+ # For more information about ARNs, see [Amazon Resource Names
422
+ # (ARNs)][1].
423
423
  #
424
424
  #
425
425
  #
@@ -450,8 +450,8 @@ module Aws::ACM
450
450
  #
451
451
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
452
452
  #
453
- # For more information about ARNs, see [Amazon Resource Names (ARNs) and
454
- # AWS Service Namespaces][1].
453
+ # For more information about ARNs, see [Amazon Resource Names
454
+ # (ARNs)][1].
455
455
  #
456
456
  #
457
457
  #
@@ -494,7 +494,7 @@ module Aws::ACM
494
494
  # resp.certificate.revocation_reason #=> String, one of "UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERCEDED", "CESSATION_OF_OPERATION", "CERTIFICATE_HOLD", "REMOVE_FROM_CRL", "PRIVILEGE_WITHDRAWN", "A_A_COMPROMISE"
495
495
  # resp.certificate.not_before #=> Time
496
496
  # resp.certificate.not_after #=> Time
497
- # resp.certificate.key_algorithm #=> String, one of "RSA_2048", "RSA_1024", "RSA_4096", "EC_prime256v1", "EC_secp384r1", "EC_secp521r1"
497
+ # resp.certificate.key_algorithm #=> String, one of "RSA_1024", "RSA_2048", "RSA_3072", "RSA_4096", "EC_prime256v1", "EC_secp384r1", "EC_secp521r1"
498
498
  # resp.certificate.signature_algorithm #=> String
499
499
  # resp.certificate.in_use_by #=> Array
500
500
  # resp.certificate.in_use_by[0] #=> String
@@ -592,6 +592,26 @@ module Aws::ACM
592
592
  req.send_request(options)
593
593
  end
594
594
 
595
+ # Returns the account configuration options associated with an Amazon
596
+ # Web Services account.
597
+ #
598
+ # @return [Types::GetAccountConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
599
+ #
600
+ # * {Types::GetAccountConfigurationResponse#expiry_events #expiry_events} => Types::ExpiryEventsConfiguration
601
+ #
602
+ # @example Response structure
603
+ #
604
+ # resp.expiry_events.days_before_expiry #=> Integer
605
+ #
606
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetAccountConfiguration AWS API Documentation
607
+ #
608
+ # @overload get_account_configuration(params = {})
609
+ # @param [Hash] params ({})
610
+ def get_account_configuration(params = {}, options = {})
611
+ req = build_request(:get_account_configuration, params)
612
+ req.send_request(options)
613
+ end
614
+
595
615
  # Retrieves an Amazon-issued certificate and its certificate chain. The
596
616
  # chain consists of the certificate of the issuing CA and the
597
617
  # intermediate certificates of any other subordinate CAs. All of the
@@ -607,8 +627,8 @@ module Aws::ACM
607
627
  #
608
628
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
609
629
  #
610
- # For more information about ARNs, see [Amazon Resource Names (ARNs) and
611
- # AWS Service Namespaces][1].
630
+ # For more information about ARNs, see [Amazon Resource Names
631
+ # (ARNs)][1].
612
632
  #
613
633
  #
614
634
  #
@@ -639,14 +659,15 @@ module Aws::ACM
639
659
  req.send_request(options)
640
660
  end
641
661
 
642
- # Imports a certificate into AWS Certificate Manager (ACM) to use with
643
- # services that are integrated with ACM. Note that [integrated
644
- # services][1] allow only certificate types and keys they support to be
645
- # associated with their resources. Further, their support differs
646
- # depending on whether the certificate is imported into IAM or into ACM.
647
- # For more information, see the documentation for each service. For more
648
- # information about importing certificates into ACM, see [Importing
649
- # Certificates][2] in the *AWS Certificate Manager User Guide*.
662
+ # Imports a certificate into Amazon Web Services Certificate Manager
663
+ # (ACM) to use with services that are integrated with ACM. Note that
664
+ # [integrated services][1] allow only certificate types and keys they
665
+ # support to be associated with their resources. Further, their support
666
+ # differs depending on whether the certificate is imported into IAM or
667
+ # into ACM. For more information, see the documentation for each
668
+ # service. For more information about importing certificates into ACM,
669
+ # see [Importing Certificates][2] in the *Amazon Web Services
670
+ # Certificate Manager User Guide*.
650
671
  #
651
672
  # <note markdown="1"> ACM does not provide [managed renewal][3] for certificates that you
652
673
  # import.
@@ -661,6 +682,8 @@ module Aws::ACM
661
682
  # * The private key must be unencrypted. You cannot import a private key
662
683
  # that is protected by a password or a passphrase.
663
684
  #
685
+ # * The private key must be no larger than 5 KB (5,120 bytes).
686
+ #
664
687
  # * If the certificate you are importing is not self-signed, you must
665
688
  # enter its certificate chain.
666
689
  #
@@ -679,13 +702,13 @@ module Aws::ACM
679
702
  #
680
703
  # * To import a new certificate, omit the `CertificateArn` argument.
681
704
  # Include this argument only when you want to replace a previously
682
- # imported certifica
705
+ # imported certificate.
683
706
  #
684
707
  # * When you import a certificate by using the CLI, you must specify the
685
708
  # certificate, the certificate chain, and the private key by their
686
- # file names preceded by `file://`. For example, you can specify a
709
+ # file names preceded by `fileb://`. For example, you can specify a
687
710
  # certificate saved in the `C:\temp` folder as
688
- # `file://C:\temp\certificate_to_import.pem`. If you are making an
711
+ # `fileb://C:\temp\certificate_to_import.pem`. If you are making an
689
712
  # HTTP or HTTPS Query request, include these arguments as BLOBs.
690
713
  #
691
714
  # * When you import a certificate by using an SDK, you must specify the
@@ -800,7 +823,7 @@ module Aws::ACM
800
823
  # includes: {
801
824
  # 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
802
825
  # 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
803
- # key_types: ["RSA_2048"], # accepts RSA_2048, RSA_1024, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1
826
+ # key_types: ["RSA_1024"], # accepts RSA_1024, RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1
804
827
  # },
805
828
  # next_token: "NextToken",
806
829
  # max_items: 1,
@@ -833,8 +856,8 @@ module Aws::ACM
833
856
  #
834
857
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
835
858
  #
836
- # For more information about ARNs, see [Amazon Resource Names (ARNs) and
837
- # AWS Service Namespaces][1].
859
+ # For more information about ARNs, see [Amazon Resource Names
860
+ # (ARNs)][1].
838
861
  #
839
862
  #
840
863
  #
@@ -865,6 +888,45 @@ module Aws::ACM
865
888
  req.send_request(options)
866
889
  end
867
890
 
891
+ # Adds or modifies account-level configurations in ACM.
892
+ #
893
+ # The supported configuration option is `DaysBeforeExpiry`. This option
894
+ # specifies the number of days prior to certificate expiration when ACM
895
+ # starts generating `EventBridge` events. ACM sends one event per day
896
+ # per certificate until the certificate expires. By default, accounts
897
+ # receive events starting 45 days before certificate expiration.
898
+ #
899
+ # @option params [Types::ExpiryEventsConfiguration] :expiry_events
900
+ # Specifies expiration events associated with an account.
901
+ #
902
+ # @option params [required, String] :idempotency_token
903
+ # Customer-chosen string used to distinguish between calls to
904
+ # `PutAccountConfiguration`. Idempotency tokens time out after one hour.
905
+ # If you call `PutAccountConfiguration` multiple times with the same
906
+ # unexpired idempotency token, ACM treats it as the same request and
907
+ # returns the original result. If you change the idempotency token for
908
+ # each call, ACM treats each call as a new request.
909
+ #
910
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
911
+ #
912
+ # @example Request syntax with placeholder values
913
+ #
914
+ # resp = client.put_account_configuration({
915
+ # expiry_events: {
916
+ # days_before_expiry: 1,
917
+ # },
918
+ # idempotency_token: "IdempotencyToken", # required
919
+ # })
920
+ #
921
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PutAccountConfiguration AWS API Documentation
922
+ #
923
+ # @overload put_account_configuration(params = {})
924
+ # @param [Hash] params ({})
925
+ def put_account_configuration(params = {}, options = {})
926
+ req = build_request(:put_account_configuration, params)
927
+ req.send_request(options)
928
+ end
929
+
868
930
  # Remove one or more tags from an ACM certificate. A tag consists of a
869
931
  # key-value pair. If you do not specify the value portion of the tag
870
932
  # when calling this function, the tag will be removed regardless of
@@ -881,8 +943,8 @@ module Aws::ACM
881
943
  #
882
944
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
883
945
  #
884
- # For more information about ARNs, see [Amazon Resource Names (ARNs) and
885
- # AWS Service Namespaces][1].
946
+ # For more information about ARNs, see [Amazon Resource Names
947
+ # (ARNs)][1].
886
948
  #
887
949
  #
888
950
  #
@@ -914,7 +976,7 @@ module Aws::ACM
914
976
  req.send_request(options)
915
977
  end
916
978
 
917
- # Renews an eligable ACM certificate. At this time, only exported
979
+ # Renews an eligible ACM certificate. At this time, only exported
918
980
  # private certificates can be renewed with this operation. In order to
919
981
  # renew your ACM PCA certificates with ACM, you must first [grant the
920
982
  # ACM service principal permission to do so][1]. For more information,
@@ -931,8 +993,8 @@ module Aws::ACM
931
993
  #
932
994
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
933
995
  #
934
- # For more information about ARNs, see [Amazon Resource Names (ARNs) and
935
- # AWS Service Namespaces][1].
996
+ # For more information about ARNs, see [Amazon Resource Names
997
+ # (ARNs)][1].
936
998
  #
937
999
  #
938
1000
  #
@@ -955,10 +1017,11 @@ module Aws::ACM
955
1017
  req.send_request(options)
956
1018
  end
957
1019
 
958
- # Requests an ACM certificate for use with other AWS services. To
959
- # request an ACM certificate, you must specify a fully qualified domain
960
- # name (FQDN) in the `DomainName` parameter. You can also specify
961
- # additional FQDNs in the `SubjectAlternativeNames` parameter.
1020
+ # Requests an ACM certificate for use with other Amazon Web Services
1021
+ # services. To request an ACM certificate, you must specify a fully
1022
+ # qualified domain name (FQDN) in the `DomainName` parameter. You can
1023
+ # also specify additional FQDNs in the `SubjectAlternativeNames`
1024
+ # parameter.
962
1025
  #
963
1026
  # If you are requesting a private certificate, domain validation is not
964
1027
  # required. If you are requesting a public certificate, each domain name
@@ -967,10 +1030,19 @@ module Aws::ACM
967
1030
  # We recommend that you use DNS validation. ACM issues public
968
1031
  # certificates after receiving approval from the domain owner.
969
1032
  #
1033
+ # <note markdown="1"> ACM behavior differs from the
1034
+ # [https://tools.ietf.org/html/rfc6125#appendix-B.2][3]RFC 6125
1035
+ # specification of the certificate validation process. first checks for
1036
+ # a subject alternative name, and, if it finds one, ignores the common
1037
+ # name (CN)
1038
+ #
1039
+ # </note>
1040
+ #
970
1041
  #
971
1042
  #
972
1043
  # [1]: https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html
973
1044
  # [2]: https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-email.html
1045
+ # [3]: https://tools.ietf.org/html/rfc6125#appendix-B.2
974
1046
  #
975
1047
  # @option params [required, String] :domain_name
976
1048
  # Fully qualified domain name (FQDN), such as www.example.com, that you
@@ -1054,8 +1126,9 @@ module Aws::ACM
1054
1126
  # (CA) that will be used to issue the certificate. If you do not provide
1055
1127
  # an ARN and you are trying to request a private certificate, ACM will
1056
1128
  # attempt to issue a public certificate. For more information about
1057
- # private CAs, see the [AWS Certificate Manager Private Certificate
1058
- # Authority (PCA)][1] user guide. The ARN must have the following form:
1129
+ # private CAs, see the [Amazon Web Services Certificate Manager Private
1130
+ # Certificate Authority (PCA)][1] user guide. The ARN must have the
1131
+ # following form:
1059
1132
  #
1060
1133
  # `arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012`
1061
1134
  #
@@ -1233,7 +1306,7 @@ module Aws::ACM
1233
1306
  params: params,
1234
1307
  config: config)
1235
1308
  context[:gem_name] = 'aws-sdk-acm'
1236
- context[:gem_version] = '1.38.0'
1309
+ context[:gem_version] = '1.42.0'
1237
1310
  Seahorse::Client::Request.new(handlers, context)
1238
1311
  end
1239
1312
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -13,8 +13,10 @@ module Aws::ACM
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
16
17
  AddTagsToCertificateRequest = Shapes::StructureShape.new(name: 'AddTagsToCertificateRequest')
17
18
  Arn = Shapes::StringShape.new(name: 'Arn')
19
+ AvailabilityErrorMessage = Shapes::StringShape.new(name: 'AvailabilityErrorMessage')
18
20
  CertificateBody = Shapes::StringShape.new(name: 'CertificateBody')
19
21
  CertificateBodyBlob = Shapes::BlobShape.new(name: 'CertificateBodyBlob')
20
22
  CertificateChain = Shapes::StringShape.new(name: 'CertificateChain')
@@ -27,6 +29,7 @@ module Aws::ACM
27
29
  CertificateSummaryList = Shapes::ListShape.new(name: 'CertificateSummaryList')
28
30
  CertificateTransparencyLoggingPreference = Shapes::StringShape.new(name: 'CertificateTransparencyLoggingPreference')
29
31
  CertificateType = Shapes::StringShape.new(name: 'CertificateType')
32
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
30
33
  DeleteCertificateRequest = Shapes::StructureShape.new(name: 'DeleteCertificateRequest')
31
34
  DescribeCertificateRequest = Shapes::StructureShape.new(name: 'DescribeCertificateRequest')
32
35
  DescribeCertificateResponse = Shapes::StructureShape.new(name: 'DescribeCertificateResponse')
@@ -37,6 +40,7 @@ module Aws::ACM
37
40
  DomainValidationList = Shapes::ListShape.new(name: 'DomainValidationList')
38
41
  DomainValidationOption = Shapes::StructureShape.new(name: 'DomainValidationOption')
39
42
  DomainValidationOptionList = Shapes::ListShape.new(name: 'DomainValidationOptionList')
43
+ ExpiryEventsConfiguration = Shapes::StructureShape.new(name: 'ExpiryEventsConfiguration')
40
44
  ExportCertificateRequest = Shapes::StructureShape.new(name: 'ExportCertificateRequest')
41
45
  ExportCertificateResponse = Shapes::StructureShape.new(name: 'ExportCertificateResponse')
42
46
  ExtendedKeyUsage = Shapes::StructureShape.new(name: 'ExtendedKeyUsage')
@@ -45,6 +49,7 @@ module Aws::ACM
45
49
  ExtendedKeyUsageName = Shapes::StringShape.new(name: 'ExtendedKeyUsageName')
46
50
  FailureReason = Shapes::StringShape.new(name: 'FailureReason')
47
51
  Filters = Shapes::StructureShape.new(name: 'Filters')
52
+ GetAccountConfigurationResponse = Shapes::StructureShape.new(name: 'GetAccountConfigurationResponse')
48
53
  GetCertificateRequest = Shapes::StructureShape.new(name: 'GetCertificateRequest')
49
54
  GetCertificateResponse = Shapes::StructureShape.new(name: 'GetCertificateResponse')
50
55
  IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
@@ -71,8 +76,10 @@ module Aws::ACM
71
76
  MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
72
77
  NextToken = Shapes::StringShape.new(name: 'NextToken')
73
78
  PassphraseBlob = Shapes::BlobShape.new(name: 'PassphraseBlob')
79
+ PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
74
80
  PrivateKey = Shapes::StringShape.new(name: 'PrivateKey')
75
81
  PrivateKeyBlob = Shapes::BlobShape.new(name: 'PrivateKeyBlob')
82
+ PutAccountConfigurationRequest = Shapes::StructureShape.new(name: 'PutAccountConfigurationRequest')
76
83
  RecordType = Shapes::StringShape.new(name: 'RecordType')
77
84
  RemoveTagsFromCertificateRequest = Shapes::StructureShape.new(name: 'RemoveTagsFromCertificateRequest')
78
85
  RenewCertificateRequest = Shapes::StructureShape.new(name: 'RenewCertificateRequest')
@@ -87,6 +94,7 @@ module Aws::ACM
87
94
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
88
95
  ResourceRecord = Shapes::StructureShape.new(name: 'ResourceRecord')
89
96
  RevocationReason = Shapes::StringShape.new(name: 'RevocationReason')
97
+ ServiceErrorMessage = Shapes::StringShape.new(name: 'ServiceErrorMessage')
90
98
  String = Shapes::StringShape.new(name: 'String')
91
99
  TStamp = Shapes::TimestampShape.new(name: 'TStamp')
92
100
  Tag = Shapes::StructureShape.new(name: 'Tag')
@@ -94,11 +102,17 @@ module Aws::ACM
94
102
  TagList = Shapes::ListShape.new(name: 'TagList')
95
103
  TagPolicyException = Shapes::StructureShape.new(name: 'TagPolicyException')
96
104
  TagValue = Shapes::StringShape.new(name: 'TagValue')
105
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
97
106
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
98
107
  UpdateCertificateOptionsRequest = Shapes::StructureShape.new(name: 'UpdateCertificateOptionsRequest')
99
108
  ValidationEmailList = Shapes::ListShape.new(name: 'ValidationEmailList')
109
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
110
+ ValidationExceptionMessage = Shapes::StringShape.new(name: 'ValidationExceptionMessage')
100
111
  ValidationMethod = Shapes::StringShape.new(name: 'ValidationMethod')
101
112
 
113
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ServiceErrorMessage, location_name: "Message"))
114
+ AccessDeniedException.struct_class = Types::AccessDeniedException
115
+
102
116
  AddTagsToCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
103
117
  AddTagsToCertificateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
104
118
  AddTagsToCertificateRequest.struct_class = Types::AddTagsToCertificateRequest
@@ -142,6 +156,9 @@ module Aws::ACM
142
156
 
143
157
  CertificateSummaryList.member = Shapes::ShapeRef.new(shape: CertificateSummary)
144
158
 
159
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
160
+ ConflictException.struct_class = Types::ConflictException
161
+
145
162
  DeleteCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
146
163
  DeleteCertificateRequest.struct_class = Types::DeleteCertificateRequest
147
164
 
@@ -169,6 +186,9 @@ module Aws::ACM
169
186
 
170
187
  DomainValidationOptionList.member = Shapes::ShapeRef.new(shape: DomainValidationOption)
171
188
 
189
+ ExpiryEventsConfiguration.add_member(:days_before_expiry, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "DaysBeforeExpiry"))
190
+ ExpiryEventsConfiguration.struct_class = Types::ExpiryEventsConfiguration
191
+
172
192
  ExportCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
173
193
  ExportCertificateRequest.add_member(:passphrase, Shapes::ShapeRef.new(shape: PassphraseBlob, required: true, location_name: "Passphrase"))
174
194
  ExportCertificateRequest.struct_class = Types::ExportCertificateRequest
@@ -191,6 +211,9 @@ module Aws::ACM
191
211
  Filters.add_member(:key_types, Shapes::ShapeRef.new(shape: KeyAlgorithmList, location_name: "keyTypes"))
192
212
  Filters.struct_class = Types::Filters
193
213
 
214
+ GetAccountConfigurationResponse.add_member(:expiry_events, Shapes::ShapeRef.new(shape: ExpiryEventsConfiguration, location_name: "ExpiryEvents"))
215
+ GetAccountConfigurationResponse.struct_class = Types::GetAccountConfigurationResponse
216
+
194
217
  GetCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
195
218
  GetCertificateRequest.struct_class = Types::GetCertificateRequest
196
219
 
@@ -256,6 +279,10 @@ module Aws::ACM
256
279
  ListTagsForCertificateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
257
280
  ListTagsForCertificateResponse.struct_class = Types::ListTagsForCertificateResponse
258
281
 
282
+ PutAccountConfigurationRequest.add_member(:expiry_events, Shapes::ShapeRef.new(shape: ExpiryEventsConfiguration, location_name: "ExpiryEvents"))
283
+ PutAccountConfigurationRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken"))
284
+ PutAccountConfigurationRequest.struct_class = Types::PutAccountConfigurationRequest
285
+
259
286
  RemoveTagsFromCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
260
287
  RemoveTagsFromCertificateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
261
288
  RemoveTagsFromCertificateRequest.struct_class = Types::RemoveTagsFromCertificateRequest
@@ -310,6 +337,9 @@ module Aws::ACM
310
337
  TagPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
311
338
  TagPolicyException.struct_class = Types::TagPolicyException
312
339
 
340
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: AvailabilityErrorMessage, location_name: "message"))
341
+ ThrottlingException.struct_class = Types::ThrottlingException
342
+
313
343
  TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
314
344
  TooManyTagsException.struct_class = Types::TooManyTagsException
315
345
 
@@ -319,6 +349,9 @@ module Aws::ACM
319
349
 
320
350
  ValidationEmailList.member = Shapes::ShapeRef.new(shape: String)
321
351
 
352
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ValidationExceptionMessage, location_name: "message"))
353
+ ValidationException.struct_class = Types::ValidationException
354
+
322
355
 
323
356
  # @api private
324
357
  API = Seahorse::Model::Api.new.tap do |api|
@@ -350,6 +383,7 @@ module Aws::ACM
350
383
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
351
384
  o.errors << Shapes::ShapeRef.new(shape: TagPolicyException)
352
385
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
386
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
353
387
  end)
354
388
 
355
389
  api.add_operation(:delete_certificate, Seahorse::Model::Operation.new.tap do |o|
@@ -384,6 +418,16 @@ module Aws::ACM
384
418
  o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
385
419
  end)
386
420
 
421
+ api.add_operation(:get_account_configuration, Seahorse::Model::Operation.new.tap do |o|
422
+ o.name = "GetAccountConfiguration"
423
+ o.http_method = "POST"
424
+ o.http_request_uri = "/"
425
+ o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
426
+ o.output = Shapes::ShapeRef.new(shape: GetAccountConfigurationResponse)
427
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
428
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
429
+ end)
430
+
387
431
  api.add_operation(:get_certificate, Seahorse::Model::Operation.new.tap do |o|
388
432
  o.name = "GetCertificate"
389
433
  o.http_method = "POST"
@@ -407,6 +451,7 @@ module Aws::ACM
407
451
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
408
452
  o.errors << Shapes::ShapeRef.new(shape: TagPolicyException)
409
453
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
454
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
410
455
  end)
411
456
 
412
457
  api.add_operation(:list_certificates, Seahorse::Model::Operation.new.tap do |o|
@@ -434,6 +479,18 @@ module Aws::ACM
434
479
  o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
435
480
  end)
436
481
 
482
+ api.add_operation(:put_account_configuration, Seahorse::Model::Operation.new.tap do |o|
483
+ o.name = "PutAccountConfiguration"
484
+ o.http_method = "POST"
485
+ o.http_request_uri = "/"
486
+ o.input = Shapes::ShapeRef.new(shape: PutAccountConfigurationRequest)
487
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
488
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
489
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
490
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
491
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
492
+ end)
493
+
437
494
  api.add_operation(:remove_tags_from_certificate, Seahorse::Model::Operation.new.tap do |o|
438
495
  o.name = "RemoveTagsFromCertificate"
439
496
  o.http_method = "POST"
@@ -445,6 +502,7 @@ module Aws::ACM
445
502
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagException)
446
503
  o.errors << Shapes::ShapeRef.new(shape: TagPolicyException)
447
504
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
505
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
448
506
  end)
449
507
 
450
508
  api.add_operation(:renew_certificate, Seahorse::Model::Operation.new.tap do |o|