aws-sdk-acm 1.36.0 → 1.41.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.41.0
data/lib/aws-sdk-acm.rb CHANGED
@@ -3,10 +3,11 @@
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
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -48,6 +49,6 @@ require_relative 'aws-sdk-acm/customizations'
48
49
  # @!group service
49
50
  module Aws::ACM
50
51
 
51
- GEM_VERSION = '1.36.0'
52
+ GEM_VERSION = '1.41.0'
52
53
 
53
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
 
@@ -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
  #
@@ -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
  #
@@ -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 AWS
596
+ # 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
  #
@@ -661,6 +681,8 @@ module Aws::ACM
661
681
  # * The private key must be unencrypted. You cannot import a private key
662
682
  # that is protected by a password or a passphrase.
663
683
  #
684
+ # * The private key must be no larger than 5 KB (5,120 bytes).
685
+ #
664
686
  # * If the certificate you are importing is not self-signed, you must
665
687
  # enter its certificate chain.
666
688
  #
@@ -679,13 +701,13 @@ module Aws::ACM
679
701
  #
680
702
  # * To import a new certificate, omit the `CertificateArn` argument.
681
703
  # Include this argument only when you want to replace a previously
682
- # imported certifica
704
+ # imported certificate.
683
705
  #
684
706
  # * When you import a certificate by using the CLI, you must specify the
685
707
  # certificate, the certificate chain, and the private key by their
686
- # file names preceded by `file://`. For example, you can specify a
708
+ # file names preceded by `fileb://`. For example, you can specify a
687
709
  # certificate saved in the `C:\temp` folder as
688
- # `file://C:\temp\certificate_to_import.pem`. If you are making an
710
+ # `fileb://C:\temp\certificate_to_import.pem`. If you are making an
689
711
  # HTTP or HTTPS Query request, include these arguments as BLOBs.
690
712
  #
691
713
  # * When you import a certificate by using an SDK, you must specify the
@@ -833,8 +855,8 @@ module Aws::ACM
833
855
  #
834
856
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
835
857
  #
836
- # For more information about ARNs, see [Amazon Resource Names (ARNs) and
837
- # AWS Service Namespaces][1].
858
+ # For more information about ARNs, see [Amazon Resource Names
859
+ # (ARNs)][1].
838
860
  #
839
861
  #
840
862
  #
@@ -865,6 +887,45 @@ module Aws::ACM
865
887
  req.send_request(options)
866
888
  end
867
889
 
890
+ # Adds or modifies account-level configurations in ACM.
891
+ #
892
+ # The supported configuration option is `DaysBeforeExpiry`. This option
893
+ # specifies the number of days prior to certificate expiration when ACM
894
+ # starts generating `EventBridge` events. ACM sends one event per day
895
+ # per certificate until the certificate expires. By default, accounts
896
+ # receive events starting 45 days before certificate expiration.
897
+ #
898
+ # @option params [Types::ExpiryEventsConfiguration] :expiry_events
899
+ # Specifies expiration events associated with an account.
900
+ #
901
+ # @option params [required, String] :idempotency_token
902
+ # Customer-chosen string used to distinguish between calls to
903
+ # `PutAccountConfiguration`. Idempotency tokens time out after one hour.
904
+ # If you call `PutAccountConfiguration` multiple times with the same
905
+ # unexpired idempotency token, ACM treats it as the same request and
906
+ # returns the original result. If you change the idempotency token for
907
+ # each call, ACM treats each call as a new request.
908
+ #
909
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
910
+ #
911
+ # @example Request syntax with placeholder values
912
+ #
913
+ # resp = client.put_account_configuration({
914
+ # expiry_events: {
915
+ # days_before_expiry: 1,
916
+ # },
917
+ # idempotency_token: "IdempotencyToken", # required
918
+ # })
919
+ #
920
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PutAccountConfiguration AWS API Documentation
921
+ #
922
+ # @overload put_account_configuration(params = {})
923
+ # @param [Hash] params ({})
924
+ def put_account_configuration(params = {}, options = {})
925
+ req = build_request(:put_account_configuration, params)
926
+ req.send_request(options)
927
+ end
928
+
868
929
  # Remove one or more tags from an ACM certificate. A tag consists of a
869
930
  # key-value pair. If you do not specify the value portion of the tag
870
931
  # when calling this function, the tag will be removed regardless of
@@ -881,8 +942,8 @@ module Aws::ACM
881
942
  #
882
943
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
883
944
  #
884
- # For more information about ARNs, see [Amazon Resource Names (ARNs) and
885
- # AWS Service Namespaces][1].
945
+ # For more information about ARNs, see [Amazon Resource Names
946
+ # (ARNs)][1].
886
947
  #
887
948
  #
888
949
  #
@@ -914,7 +975,7 @@ module Aws::ACM
914
975
  req.send_request(options)
915
976
  end
916
977
 
917
- # Renews an eligable ACM certificate. At this time, only exported
978
+ # Renews an eligible ACM certificate. At this time, only exported
918
979
  # private certificates can be renewed with this operation. In order to
919
980
  # renew your ACM PCA certificates with ACM, you must first [grant the
920
981
  # ACM service principal permission to do so][1]. For more information,
@@ -931,8 +992,8 @@ module Aws::ACM
931
992
  #
932
993
  # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
933
994
  #
934
- # For more information about ARNs, see [Amazon Resource Names (ARNs) and
935
- # AWS Service Namespaces][1].
995
+ # For more information about ARNs, see [Amazon Resource Names
996
+ # (ARNs)][1].
936
997
  #
937
998
  #
938
999
  #
@@ -1233,7 +1294,7 @@ module Aws::ACM
1233
1294
  params: params,
1234
1295
  config: config)
1235
1296
  context[:gem_name] = 'aws-sdk-acm'
1236
- context[:gem_version] = '1.36.0'
1297
+ context[:gem_version] = '1.41.0'
1237
1298
  Seahorse::Client::Request.new(handlers, context)
1238
1299
  end
1239
1300
 
@@ -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|
@@ -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