aws-sdk-acm 1.28.0 → 1.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-acm.rb +1 -1
- data/lib/aws-sdk-acm/client.rb +38 -24
- data/lib/aws-sdk-acm/resource.rb +1 -7
- data/lib/aws-sdk-acm/types.rb +15 -8
- data/lib/aws-sdk-acm/waiters.rb +61 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2b3cc636daf52772dd4db4ef8343de958b2c91f
|
4
|
+
data.tar.gz: fd322aa15ff5d70b7a82bf88f7ef420161c90a12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d379f6b11c985dd20b8083b4518d5325ad7b46bc19e63628b56c5974432ad724bc0eff9ec32aa5b8c30ebb9cd8cb0817602848c54bf26f71d0dbf7f90069ece
|
7
|
+
data.tar.gz: d0e63cbc8ea64ee8792fc67ac39383db900714e4a98f17bd620baa7d0f442e913c9354154637db26fd8e988cfaeee56125bf429cfa583547e9692c5a559a4874
|
data/lib/aws-sdk-acm.rb
CHANGED
data/lib/aws-sdk-acm/client.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:acm)
|
|
32
32
|
module Aws::ACM
|
33
33
|
# An API client for ACM. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::ACM::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -229,15 +229,19 @@ module Aws::ACM
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -500,6 +504,11 @@ module Aws::ACM
|
|
500
504
|
# resp.certificate.renewal_eligibility #=> String, one of "ELIGIBLE", "INELIGIBLE"
|
501
505
|
# resp.certificate.options.certificate_transparency_logging_preference #=> String, one of "ENABLED", "DISABLED"
|
502
506
|
#
|
507
|
+
#
|
508
|
+
# The following waiters are defined for this operation (see {Client#wait_for} for detailed usage):
|
509
|
+
#
|
510
|
+
# * certificate_validated
|
511
|
+
#
|
503
512
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificate AWS API Documentation
|
504
513
|
#
|
505
514
|
# @overload describe_certificate(params = {})
|
@@ -565,12 +574,15 @@ module Aws::ACM
|
|
565
574
|
req.send_request(options)
|
566
575
|
end
|
567
576
|
|
568
|
-
# Retrieves
|
569
|
-
#
|
570
|
-
#
|
571
|
-
#
|
572
|
-
#
|
573
|
-
#
|
577
|
+
# Retrieves an Amazon-issued certificate and its certificate chain. The
|
578
|
+
# chain consists of the certificate of the issuing CA and the
|
579
|
+
# intermediate certificates of any other subordinate CAs. All of the
|
580
|
+
# certificates are base64 encoded. You can use [OpenSSL][1] to decode
|
581
|
+
# the certificates and inspect individual fields.
|
582
|
+
#
|
583
|
+
#
|
584
|
+
#
|
585
|
+
# [1]: https://wiki.openssl.org/index.php/Command_Line_Utilities
|
574
586
|
#
|
575
587
|
# @option params [required, String] :certificate_arn
|
576
588
|
# String that contains a certificate ARN in the following format:
|
@@ -761,6 +773,8 @@ module Aws::ACM
|
|
761
773
|
# * {Types::ListCertificatesResponse#next_token #next_token} => String
|
762
774
|
# * {Types::ListCertificatesResponse#certificate_summary_list #certificate_summary_list} => Array<Types::CertificateSummary>
|
763
775
|
#
|
776
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
777
|
+
#
|
764
778
|
# @example Request syntax with placeholder values
|
765
779
|
#
|
766
780
|
# resp = client.list_certificates({
|
@@ -968,9 +982,9 @@ module Aws::ACM
|
|
968
982
|
# www.example.net to a certificate for which the `DomainName` field is
|
969
983
|
# www.example.com if users can reach your site by using either name. The
|
970
984
|
# maximum number of domain names that you can add to an ACM certificate
|
971
|
-
# is 100. However, the initial
|
972
|
-
# more than 10 names, you must request a
|
973
|
-
# information, see [
|
985
|
+
# is 100. However, the initial quota is 10 domain names. If you need
|
986
|
+
# more than 10 names, you must request a quota increase. For more
|
987
|
+
# information, see [Quotas][1].
|
974
988
|
#
|
975
989
|
# The maximum length of a SAN DNS name is 253 octets. The name is made
|
976
990
|
# up of multiple labels separated by periods. No label can be longer
|
@@ -1201,7 +1215,7 @@ module Aws::ACM
|
|
1201
1215
|
params: params,
|
1202
1216
|
config: config)
|
1203
1217
|
context[:gem_name] = 'aws-sdk-acm'
|
1204
|
-
context[:gem_version] = '1.
|
1218
|
+
context[:gem_version] = '1.29.0'
|
1205
1219
|
Seahorse::Client::Request.new(handlers, context)
|
1206
1220
|
end
|
1207
1221
|
|
data/lib/aws-sdk-acm/resource.rb
CHANGED
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::ACM
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::ACM::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::ACM::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::ACM::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
data/lib/aws-sdk-acm/types.rb
CHANGED
@@ -409,6 +409,12 @@ module Aws::ACM
|
|
409
409
|
# domain validation. For more information, see [Use DNS to Validate
|
410
410
|
# Domain Ownership][1].
|
411
411
|
#
|
412
|
+
# Note: The CNAME information that you need does not include the name
|
413
|
+
# of your domain. If you include
your domain name in the DNS database
|
414
|
+
# CNAME record, validation fails.
For example, if the name is
|
415
|
+
# "\_a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com", only
|
416
|
+
# "\_a79865eb4cd1a6ab990a45779b4e0b96" must be used.
|
417
|
+
#
|
412
418
|
#
|
413
419
|
#
|
414
420
|
# [1]: https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html
|
@@ -637,13 +643,14 @@ module Aws::ACM
|
|
637
643
|
end
|
638
644
|
|
639
645
|
# @!attribute [rw] certificate
|
640
|
-
#
|
641
|
-
#
|
646
|
+
# The ACM-issued certificate corresponding to the ARN specified as
|
647
|
+
# input.
|
642
648
|
# @return [String]
|
643
649
|
#
|
644
650
|
# @!attribute [rw] certificate_chain
|
645
|
-
#
|
646
|
-
# the certificate
|
651
|
+
# Certificates forming the requested certificate's chain of trust.
|
652
|
+
# The chain consists of the certificate of the issuing CA and the
|
653
|
+
# intermediate certificates of any other subordinate CAs.
|
647
654
|
# @return [String]
|
648
655
|
#
|
649
656
|
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificateResponse AWS API Documentation
|
@@ -814,7 +821,7 @@ module Aws::ACM
|
|
814
821
|
include Aws::Structure
|
815
822
|
end
|
816
823
|
|
817
|
-
# An ACM
|
824
|
+
# An ACM quota has been exceeded.
|
818
825
|
#
|
819
826
|
# @!attribute [rw] message
|
820
827
|
# @return [String]
|
@@ -1100,9 +1107,9 @@ module Aws::ACM
|
|
1100
1107
|
# www.example.net to a certificate for which the `DomainName` field is
|
1101
1108
|
# www.example.com if users can reach your site by using either name.
|
1102
1109
|
# The maximum number of domain names that you can add to an ACM
|
1103
|
-
# certificate is 100. However, the initial
|
1104
|
-
# If you need more than 10 names, you must request a
|
1105
|
-
# For more information, see [
|
1110
|
+
# certificate is 100. However, the initial quota is 10 domain names.
|
1111
|
+
# If you need more than 10 names, you must request a quota increase.
|
1112
|
+
# For more information, see [Quotas][1].
|
1106
1113
|
#
|
1107
1114
|
# The maximum length of a SAN DNS name is 253 octets. The name is made
|
1108
1115
|
# up of multiple labels separated by periods. No label can be longer
|
data/lib/aws-sdk-acm/waiters.rb
CHANGED
@@ -8,6 +8,67 @@
|
|
8
8
|
require 'aws-sdk-core/waiters'
|
9
9
|
|
10
10
|
module Aws::ACM
|
11
|
+
# Waiters are utility methods that poll for a particular state to occur
|
12
|
+
# on a client. Waiters can fail after a number of attempts at a polling
|
13
|
+
# interval defined for the service client.
|
14
|
+
#
|
15
|
+
# For a list of operations that can be waited for and the
|
16
|
+
# client methods called for each operation, see the table below or the
|
17
|
+
# {Client#wait_until} field documentation for the {Client}.
|
18
|
+
#
|
19
|
+
# # Invoking a Waiter
|
20
|
+
# To invoke a waiter, call #wait_until on a {Client}. The first parameter
|
21
|
+
# is the waiter name, which is specific to the service client and indicates
|
22
|
+
# which operation is being waited for. The second parameter is a hash of
|
23
|
+
# parameters that are passed to the client method called by the waiter,
|
24
|
+
# which varies according to the waiter name.
|
25
|
+
#
|
26
|
+
# # Wait Failures
|
27
|
+
# To catch errors in a waiter, use WaiterFailed,
|
28
|
+
# as shown in the following example.
|
29
|
+
#
|
30
|
+
# rescue rescue Aws::Waiters::Errors::WaiterFailed => error
|
31
|
+
# puts "failed waiting for instance running: #{error.message}
|
32
|
+
# end
|
33
|
+
#
|
34
|
+
# # Configuring a Waiter
|
35
|
+
# Each waiter has a default polling interval and a maximum number of
|
36
|
+
# attempts it will make before returning control to your program.
|
37
|
+
# To set these values, use the `max_attempts` and `delay` parameters
|
38
|
+
# in your `#wait_until` call.
|
39
|
+
# The following example waits for up to 25 seconds, polling every five seconds.
|
40
|
+
#
|
41
|
+
# client.wait_until(...) do |w|
|
42
|
+
# w.max_attempts = 5
|
43
|
+
# w.delay = 5
|
44
|
+
# end
|
45
|
+
#
|
46
|
+
# To disable wait failures, set the value of either of these parameters
|
47
|
+
# to `nil`.
|
48
|
+
#
|
49
|
+
# # Extending a Waiter
|
50
|
+
# To modify the behavior of waiters, you can register callbacks that are
|
51
|
+
# triggered before each polling attempt and before waiting.
|
52
|
+
#
|
53
|
+
# The following example implements an exponential backoff in a waiter
|
54
|
+
# by doubling the amount of time to wait on every attempt.
|
55
|
+
#
|
56
|
+
# client.wait_until(...) do |w|
|
57
|
+
# w.interval = 0 # disable normal sleep
|
58
|
+
# w.before_wait do |n, resp|
|
59
|
+
# sleep(n ** 2)
|
60
|
+
# end
|
61
|
+
# end
|
62
|
+
#
|
63
|
+
# # Available Waiters
|
64
|
+
#
|
65
|
+
# The following table lists the valid waiter names, the operations they call,
|
66
|
+
# and the default `:delay` and `:max_attempts` values.
|
67
|
+
#
|
68
|
+
# | waiter_name | params | :delay | :max_attempts |
|
69
|
+
# | --------------------- | ----------------------- | -------- | ------------- |
|
70
|
+
# | certificate_validated | {#describe_certificate} | 60 | 40 |
|
71
|
+
#
|
11
72
|
module Waiters
|
12
73
|
|
13
74
|
class CertificateValidated
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-acm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.29.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: 2020-03-
|
11
|
+
date: 2020-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|