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.
@@ -2,7 +2,7 @@
2
2
  # WARNING ABOUT GENERATED CODE
3
3
  #
4
4
  # This file is generated. See the contributing for info on making contributions:
5
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
6
6
  #
7
7
  # WARNING ABOUT GENERATED CODE
8
8
 
@@ -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
 
@@ -27,6 +27,8 @@ module Aws::ACM
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccessDeniedException}
31
+ # * {ConflictException}
30
32
  # * {InvalidArgsException}
31
33
  # * {InvalidArnException}
32
34
  # * {InvalidDomainValidationOptionsException}
@@ -38,7 +40,9 @@ module Aws::ACM
38
40
  # * {ResourceInUseException}
39
41
  # * {ResourceNotFoundException}
40
42
  # * {TagPolicyException}
43
+ # * {ThrottlingException}
41
44
  # * {TooManyTagsException}
45
+ # * {ValidationException}
42
46
  #
43
47
  # Additionally, error classes are dynamically generated for service errors based on the error code
44
48
  # if they are not defined above.
@@ -46,6 +50,36 @@ module Aws::ACM
46
50
 
47
51
  extend Aws::Errors::DynamicErrors
48
52
 
53
+ class AccessDeniedException < ServiceError
54
+
55
+ # @param [Seahorse::Client::RequestContext] context
56
+ # @param [String] message
57
+ # @param [Aws::ACM::Types::AccessDeniedException] data
58
+ def initialize(context, message, data = Aws::EmptyStructure.new)
59
+ super(context, message, data)
60
+ end
61
+
62
+ # @return [String]
63
+ def message
64
+ @message || @data[:message]
65
+ end
66
+ end
67
+
68
+ class ConflictException < ServiceError
69
+
70
+ # @param [Seahorse::Client::RequestContext] context
71
+ # @param [String] message
72
+ # @param [Aws::ACM::Types::ConflictException] data
73
+ def initialize(context, message, data = Aws::EmptyStructure.new)
74
+ super(context, message, data)
75
+ end
76
+
77
+ # @return [String]
78
+ def message
79
+ @message || @data[:message]
80
+ end
81
+ end
82
+
49
83
  class InvalidArgsException < ServiceError
50
84
 
51
85
  # @param [Seahorse::Client::RequestContext] context
@@ -211,6 +245,21 @@ module Aws::ACM
211
245
  end
212
246
  end
213
247
 
248
+ class ThrottlingException < ServiceError
249
+
250
+ # @param [Seahorse::Client::RequestContext] context
251
+ # @param [String] message
252
+ # @param [Aws::ACM::Types::ThrottlingException] data
253
+ def initialize(context, message, data = Aws::EmptyStructure.new)
254
+ super(context, message, data)
255
+ end
256
+
257
+ # @return [String]
258
+ def message
259
+ @message || @data[:message]
260
+ end
261
+ end
262
+
214
263
  class TooManyTagsException < ServiceError
215
264
 
216
265
  # @param [Seahorse::Client::RequestContext] context
@@ -226,5 +275,20 @@ module Aws::ACM
226
275
  end
227
276
  end
228
277
 
278
+ class ValidationException < ServiceError
279
+
280
+ # @param [Seahorse::Client::RequestContext] context
281
+ # @param [String] message
282
+ # @param [Aws::ACM::Types::ValidationException] data
283
+ def initialize(context, message, data = Aws::EmptyStructure.new)
284
+ super(context, message, data)
285
+ end
286
+
287
+ # @return [String]
288
+ def message
289
+ @message || @data[:message]
290
+ end
291
+ end
292
+
229
293
  end
230
294
  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
 
@@ -3,13 +3,26 @@
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
 
10
10
  module Aws::ACM
11
11
  module Types
12
12
 
13
+ # You do not have access required to perform this action.
14
+ #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
18
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AccessDeniedException AWS API Documentation
19
+ #
20
+ class AccessDeniedException < Struct.new(
21
+ :message)
22
+ SENSITIVE = []
23
+ include Aws::Structure
24
+ end
25
+
13
26
  # @note When making an API call, you may pass AddTagsToCertificateRequest
14
27
  # data as a hash:
15
28
  #
@@ -29,8 +42,8 @@ module Aws::ACM
29
42
  #
30
43
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
31
44
  #
32
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
33
- # and AWS Service Namespaces][1].
45
+ # For more information about ARNs, see [Amazon Resource Names
46
+ # (ARNs)][1].
34
47
  #
35
48
  #
36
49
  #
@@ -55,8 +68,8 @@ module Aws::ACM
55
68
  #
56
69
  # @!attribute [rw] certificate_arn
57
70
  # The Amazon Resource Name (ARN) of the certificate. For more
58
- # information about ARNs, see [Amazon Resource Names (ARNs) and AWS
59
- # Service Namespaces][1] in the *AWS General Reference*.
71
+ # information about ARNs, see [Amazon Resource Names (ARNs)][1] in the
72
+ # *Amazon Web Services General Reference*.
60
73
  #
61
74
  #
62
75
  #
@@ -98,8 +111,7 @@ module Aws::ACM
98
111
  # @return [String]
99
112
  #
100
113
  # @!attribute [rw] created_at
101
- # The time at which the certificate was requested. This value exists
102
- # only when the certificate type is `AMAZON_ISSUED`.
114
+ # The time at which the certificate was requested.
103
115
  # @return [Time]
104
116
  #
105
117
  # @!attribute [rw] issued_at
@@ -143,15 +155,16 @@ module Aws::ACM
143
155
  # @return [String]
144
156
  #
145
157
  # @!attribute [rw] in_use_by
146
- # A list of ARNs for the AWS resources that are using the certificate.
147
- # A certificate can be used by multiple AWS resources.
158
+ # A list of ARNs for the Amazon Web Services resources that are using
159
+ # the certificate. A certificate can be used by multiple Amazon Web
160
+ # Services resources.
148
161
  # @return [Array<String>]
149
162
  #
150
163
  # @!attribute [rw] failure_reason
151
164
  # The reason the certificate request failed. This value exists only
152
165
  # when the certificate status is `FAILED`. For more information, see
153
- # [Certificate Request Failed][1] in the *AWS Certificate Manager User
154
- # Guide*.
166
+ # [Certificate Request Failed][1] in the *Amazon Web Services
167
+ # Certificate Manager User Guide*.
155
168
  #
156
169
  #
157
170
  #
@@ -165,7 +178,7 @@ module Aws::ACM
165
178
  # provide [managed renewal][1] for imported certificates. For more
166
179
  # information about the differences between certificates that you
167
180
  # import and those that ACM provides, see [Importing Certificates][2]
168
- # in the *AWS Certificate Manager User Guide*.
181
+ # in the *Amazon Web Services Certificate Manager User Guide*.
169
182
  #
170
183
  #
171
184
  #
@@ -293,8 +306,8 @@ module Aws::ACM
293
306
  #
294
307
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
295
308
  #
296
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
297
- # and AWS Service Namespaces][1].
309
+ # For more information about ARNs, see [Amazon Resource Names
310
+ # (ARNs)][1].
298
311
  #
299
312
  #
300
313
  #
@@ -315,6 +328,21 @@ module Aws::ACM
315
328
  include Aws::Structure
316
329
  end
317
330
 
331
+ # You are trying to update a resource or configuration that is already
332
+ # being created or updated. Wait for the previous operation to finish
333
+ # and try again.
334
+ #
335
+ # @!attribute [rw] message
336
+ # @return [String]
337
+ #
338
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ConflictException AWS API Documentation
339
+ #
340
+ class ConflictException < Struct.new(
341
+ :message)
342
+ SENSITIVE = []
343
+ include Aws::Structure
344
+ end
345
+
318
346
  # @note When making an API call, you may pass DeleteCertificateRequest
319
347
  # data as a hash:
320
348
  #
@@ -328,8 +356,8 @@ module Aws::ACM
328
356
  #
329
357
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
330
358
  #
331
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
332
- # and AWS Service Namespaces][1].
359
+ # For more information about ARNs, see [Amazon Resource Names
360
+ # (ARNs)][1].
333
361
  #
334
362
  #
335
363
  #
@@ -357,8 +385,8 @@ module Aws::ACM
357
385
  #
358
386
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
359
387
  #
360
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
361
- # and AWS Service Namespaces][1].
388
+ # For more information about ARNs, see [Amazon Resource Names
389
+ # (ARNs)][1].
362
390
  #
363
391
  #
364
392
  #
@@ -490,6 +518,32 @@ module Aws::ACM
490
518
  include Aws::Structure
491
519
  end
492
520
 
521
+ # Object containing expiration events options associated with an Amazon
522
+ # Web Services account.
523
+ #
524
+ # @note When making an API call, you may pass ExpiryEventsConfiguration
525
+ # data as a hash:
526
+ #
527
+ # {
528
+ # days_before_expiry: 1,
529
+ # }
530
+ #
531
+ # @!attribute [rw] days_before_expiry
532
+ # Specifies the number of days prior to certificate expiration when
533
+ # ACM starts generating `EventBridge` events. ACM sends one event per
534
+ # day per certificate until the certificate expires. By default,
535
+ # accounts receive events starting 45 days before certificate
536
+ # expiration.
537
+ # @return [Integer]
538
+ #
539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ExpiryEventsConfiguration AWS API Documentation
540
+ #
541
+ class ExpiryEventsConfiguration < Struct.new(
542
+ :days_before_expiry)
543
+ SENSITIVE = []
544
+ include Aws::Structure
545
+ end
546
+
493
547
  # @note When making an API call, you may pass ExportCertificateRequest
494
548
  # data as a hash:
495
549
  #
@@ -598,7 +652,7 @@ module Aws::ACM
598
652
  # {
599
653
  # 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
600
654
  # 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
601
- # key_types: ["RSA_2048"], # accepts RSA_2048, RSA_1024, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1
655
+ # key_types: ["RSA_1024"], # accepts RSA_1024, RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1
602
656
  # }
603
657
  #
604
658
  # @!attribute [rw] extended_key_usage
@@ -613,8 +667,9 @@ module Aws::ACM
613
667
  # Specify one or more algorithms that can be used to generate key
614
668
  # pairs.
615
669
  #
616
- # Default filtering returns only `RSA_2048` certificates. To return
617
- # other certificate types, provide the desired type signatures in a
670
+ # Default filtering returns only `RSA_1024` and `RSA_2048`
671
+ # certificates that have at least one domain. To return other
672
+ # certificate types, provide the desired type signatures in a
618
673
  # comma-separated list. For example, `"keyTypes":
619
674
  # ["RSA_2048,RSA_4096"]` returns both `RSA_2048` and `RSA_4096`
620
675
  # certificates.
@@ -630,6 +685,19 @@ module Aws::ACM
630
685
  include Aws::Structure
631
686
  end
632
687
 
688
+ # @!attribute [rw] expiry_events
689
+ # Expiration events configuration options associated with the Amazon
690
+ # Web Services account.
691
+ # @return [Types::ExpiryEventsConfiguration]
692
+ #
693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetAccountConfigurationResponse AWS API Documentation
694
+ #
695
+ class GetAccountConfigurationResponse < Struct.new(
696
+ :expiry_events)
697
+ SENSITIVE = []
698
+ include Aws::Structure
699
+ end
700
+
633
701
  # @note When making an API call, you may pass GetCertificateRequest
634
702
  # data as a hash:
635
703
  #
@@ -642,8 +710,8 @@ module Aws::ACM
642
710
  #
643
711
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
644
712
  #
645
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
646
- # and AWS Service Namespaces][1].
713
+ # For more information about ARNs, see [Amazon Resource Names
714
+ # (ARNs)][1].
647
715
  #
648
716
  #
649
717
  #
@@ -868,7 +936,7 @@ module Aws::ACM
868
936
  # includes: {
869
937
  # 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
870
938
  # 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
871
- # key_types: ["RSA_2048"], # accepts RSA_2048, RSA_1024, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1
939
+ # key_types: ["RSA_1024"], # accepts RSA_1024, RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1
872
940
  # },
873
941
  # next_token: "NextToken",
874
942
  # max_items: 1,
@@ -941,8 +1009,8 @@ module Aws::ACM
941
1009
  #
942
1010
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
943
1011
  #
944
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
945
- # and AWS Service Namespaces][1].
1012
+ # For more information about ARNs, see [Amazon Resource Names
1013
+ # (ARNs)][1].
946
1014
  #
947
1015
  #
948
1016
  #
@@ -969,6 +1037,38 @@ module Aws::ACM
969
1037
  include Aws::Structure
970
1038
  end
971
1039
 
1040
+ # @note When making an API call, you may pass PutAccountConfigurationRequest
1041
+ # data as a hash:
1042
+ #
1043
+ # {
1044
+ # expiry_events: {
1045
+ # days_before_expiry: 1,
1046
+ # },
1047
+ # idempotency_token: "IdempotencyToken", # required
1048
+ # }
1049
+ #
1050
+ # @!attribute [rw] expiry_events
1051
+ # Specifies expiration events associated with an account.
1052
+ # @return [Types::ExpiryEventsConfiguration]
1053
+ #
1054
+ # @!attribute [rw] idempotency_token
1055
+ # Customer-chosen string used to distinguish between calls to
1056
+ # `PutAccountConfiguration`. Idempotency tokens time out after one
1057
+ # hour. If you call `PutAccountConfiguration` multiple times with the
1058
+ # same unexpired idempotency token, ACM treats it as the same request
1059
+ # and returns the original result. If you change the idempotency token
1060
+ # for each call, ACM treats each call as a new request.
1061
+ # @return [String]
1062
+ #
1063
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PutAccountConfigurationRequest AWS API Documentation
1064
+ #
1065
+ class PutAccountConfigurationRequest < Struct.new(
1066
+ :expiry_events,
1067
+ :idempotency_token)
1068
+ SENSITIVE = []
1069
+ include Aws::Structure
1070
+ end
1071
+
972
1072
  # @note When making an API call, you may pass RemoveTagsFromCertificateRequest
973
1073
  # data as a hash:
974
1074
  #
@@ -988,8 +1088,8 @@ module Aws::ACM
988
1088
  #
989
1089
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
990
1090
  #
991
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
992
- # and AWS Service Namespaces][1].
1091
+ # For more information about ARNs, see [Amazon Resource Names
1092
+ # (ARNs)][1].
993
1093
  #
994
1094
  #
995
1095
  #
@@ -1022,8 +1122,8 @@ module Aws::ACM
1022
1122
  #
1023
1123
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
1024
1124
  #
1025
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
1026
- # and AWS Service Namespaces][1].
1125
+ # For more information about ARNs, see [Amazon Resource Names
1126
+ # (ARNs)][1].
1027
1127
  #
1028
1128
  #
1029
1129
  #
@@ -1200,9 +1300,9 @@ module Aws::ACM
1200
1300
  # (CA) that will be used to issue the certificate. If you do not
1201
1301
  # provide an ARN and you are trying to request a private certificate,
1202
1302
  # ACM will attempt to issue a public certificate. For more information
1203
- # about private CAs, see the [AWS Certificate Manager Private
1204
- # Certificate Authority (PCA)][1] user guide. The ARN must have the
1205
- # following form:
1303
+ # about private CAs, see the [Amazon Web Services Certificate Manager
1304
+ # Private Certificate Authority (PCA)][1] user guide. The ARN must
1305
+ # have the following form:
1206
1306
  #
1207
1307
  # `arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012`
1208
1308
  #
@@ -1314,8 +1414,8 @@ module Aws::ACM
1314
1414
  include Aws::Structure
1315
1415
  end
1316
1416
 
1317
- # The certificate is in use by another AWS service in the caller's
1318
- # account. Remove the association and try again.
1417
+ # The certificate is in use by another Amazon Web Services service in
1418
+ # the caller's account. Remove the association and try again.
1319
1419
  #
1320
1420
  # @!attribute [rw] message
1321
1421
  # @return [String]
@@ -1342,9 +1442,8 @@ module Aws::ACM
1342
1442
  include Aws::Structure
1343
1443
  end
1344
1444
 
1345
- # Contains a DNS record value that you can use to can use to validate
1346
- # ownership or control of a domain. This is used by the
1347
- # DescribeCertificate action.
1445
+ # Contains a DNS record value that you can use to validate ownership or
1446
+ # control of a domain. This is used by the DescribeCertificate action.
1348
1447
  #
1349
1448
  # @!attribute [rw] name
1350
1449
  # The name of the DNS record to create in your domain. This is
@@ -1412,6 +1511,19 @@ module Aws::ACM
1412
1511
  include Aws::Structure
1413
1512
  end
1414
1513
 
1514
+ # The request was denied because it exceeded a quota.
1515
+ #
1516
+ # @!attribute [rw] message
1517
+ # @return [String]
1518
+ #
1519
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ThrottlingException AWS API Documentation
1520
+ #
1521
+ class ThrottlingException < Struct.new(
1522
+ :message)
1523
+ SENSITIVE = []
1524
+ include Aws::Structure
1525
+ end
1526
+
1415
1527
  # The request contains too many tags. Try the request again with fewer
1416
1528
  # tags.
1417
1529
  #
@@ -1462,5 +1574,19 @@ module Aws::ACM
1462
1574
  include Aws::Structure
1463
1575
  end
1464
1576
 
1577
+ # The supplied input failed to satisfy constraints of an Amazon Web
1578
+ # Services service.
1579
+ #
1580
+ # @!attribute [rw] message
1581
+ # @return [String]
1582
+ #
1583
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ValidationException AWS API Documentation
1584
+ #
1585
+ class ValidationException < Struct.new(
1586
+ :message)
1587
+ SENSITIVE = []
1588
+ include Aws::Structure
1589
+ end
1590
+
1465
1591
  end
1466
1592
  end