aws-sdk-acm 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,23 +1,14 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module ACM
10
- module Errors
8
+ module Aws::ACM
9
+ module Errors
11
10
 
12
- extend Aws::Errors::DynamicErrors
11
+ extend Aws::Errors::DynamicErrors
13
12
 
14
- # Raised when calling #load or #data on a resource class that can not be
15
- # loaded. This can happen when:
16
- #
17
- # * A resource class has identifiers, but no data attributes.
18
- # * Resource data is only available when making an API call that
19
- # enumerates all resources of that type.
20
- class ResourceNotLoadable < RuntimeError; end
21
- end
22
13
  end
23
14
  end
@@ -1,25 +1,23 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module ACM
10
- class Resource
8
+ module Aws::ACM
9
+ class Resource
11
10
 
12
- # @param options ({})
13
- # @option options [Client] :client
14
- def initialize(options = {})
15
- @client = options[:client] || Client.new(options)
16
- end
17
-
18
- # @return [Client]
19
- def client
20
- @client
21
- end
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
22
16
 
17
+ # @return [Client]
18
+ def client
19
+ @client
23
20
  end
21
+
24
22
  end
25
23
  end
@@ -1,709 +1,776 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module ACM
10
- module Types
8
+ module Aws::ACM
9
+ module Types
11
10
 
12
- # @note When making an API call, pass AddTagsToCertificateRequest
13
- # data as a hash:
14
- #
15
- # {
16
- # certificate_arn: "Arn", # required
17
- # tags: [ # required
18
- # {
19
- # key: "TagKey", # required
20
- # value: "TagValue",
21
- # },
22
- # ],
23
- # }
24
- # @!attribute [rw] certificate_arn
25
- # String that contains the ARN of the ACM Certificate to which the tag
26
- # is to be applied. This must be of the form:
27
- #
28
- # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
29
- #
30
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
31
- # and AWS Service Namespaces][1].
32
- #
33
- #
34
- #
35
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
36
- # @return [String]
37
- #
38
- # @!attribute [rw] tags
39
- # The key-value pair that defines the tag. The tag value is optional.
40
- # @return [Array<Types::Tag>]
41
- class AddTagsToCertificateRequest < Struct.new(
42
- :certificate_arn,
43
- :tags)
44
- include Aws::Structure
45
- end
11
+ # @note When making an API call, you may pass AddTagsToCertificateRequest
12
+ # data as a hash:
13
+ #
14
+ # {
15
+ # certificate_arn: "Arn", # required
16
+ # tags: [ # required
17
+ # {
18
+ # key: "TagKey", # required
19
+ # value: "TagValue",
20
+ # },
21
+ # ],
22
+ # }
23
+ #
24
+ # @!attribute [rw] certificate_arn
25
+ # String that contains the ARN of the ACM Certificate to which the tag
26
+ # is to be applied. This must be of the form:
27
+ #
28
+ # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
29
+ #
30
+ # For more information about ARNs, see [Amazon Resource Names (ARNs)
31
+ # and AWS Service Namespaces][1].
32
+ #
33
+ #
34
+ #
35
+ # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
36
+ # @return [String]
37
+ #
38
+ # @!attribute [rw] tags
39
+ # The key-value pair that defines the tag. The tag value is optional.
40
+ # @return [Array<Types::Tag>]
41
+ #
42
+ class AddTagsToCertificateRequest < Struct.new(
43
+ :certificate_arn,
44
+ :tags)
45
+ include Aws::Structure
46
+ end
46
47
 
47
- # Contains detailed metadata about an ACM Certificate. This structure is
48
- # returned in the response to a DescribeCertificate request.
49
- # @!attribute [rw] certificate_arn
50
- # The Amazon Resource Name (ARN) of the certificate. For more
51
- # information about ARNs, see [Amazon Resource Names (ARNs) and AWS
52
- # Service Namespaces][1] in the *AWS General Reference*.
53
- #
54
- #
55
- #
56
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
57
- # @return [String]
58
- #
59
- # @!attribute [rw] domain_name
60
- # The fully qualified domain name for the certificate, such as
61
- # www.example.com or example.com.
62
- # @return [String]
63
- #
64
- # @!attribute [rw] subject_alternative_names
65
- # One or more domain names (subject alternative names) included in the
66
- # certificate. This list contains the domain names that are bound to
67
- # the public key that is contained in the certificate. The subject
68
- # alternative names include the canonical domain name (CN) of the
69
- # certificate and additional domain names that can be used to connect
70
- # to the website.
71
- # @return [Array<String>]
72
- #
73
- # @!attribute [rw] domain_validation_options
74
- # Contains information about the email address or addresses used for
75
- # domain validation. This field exists only when the certificate type
76
- # is `AMAZON_ISSUED`.
77
- # @return [Array<Types::DomainValidation>]
78
- #
79
- # @!attribute [rw] serial
80
- # The serial number of the certificate.
81
- # @return [String]
82
- #
83
- # @!attribute [rw] subject
84
- # The name of the entity that is associated with the public key
85
- # contained in the certificate.
86
- # @return [String]
87
- #
88
- # @!attribute [rw] issuer
89
- # The name of the certificate authority that issued and signed the
90
- # certificate.
91
- # @return [String]
92
- #
93
- # @!attribute [rw] created_at
94
- # The time at which the certificate was requested. This value exists
95
- # only when the certificate type is `AMAZON_ISSUED`.
96
- # @return [Time]
97
- #
98
- # @!attribute [rw] issued_at
99
- # The time at which the certificate was issued. This value exists only
100
- # when the certificate type is `AMAZON_ISSUED`.
101
- # @return [Time]
102
- #
103
- # @!attribute [rw] imported_at
104
- # The date and time at which the certificate was imported. This value
105
- # exists only when the certificate type is `IMPORTED`.
106
- # @return [Time]
107
- #
108
- # @!attribute [rw] status
109
- # The status of the certificate.
110
- # @return [String]
111
- #
112
- # @!attribute [rw] revoked_at
113
- # The time at which the certificate was revoked. This value exists
114
- # only when the certificate status is `REVOKED`.
115
- # @return [Time]
116
- #
117
- # @!attribute [rw] revocation_reason
118
- # The reason the certificate was revoked. This value exists only when
119
- # the certificate status is `REVOKED`.
120
- # @return [String]
121
- #
122
- # @!attribute [rw] not_before
123
- # The time before which the certificate is not valid.
124
- # @return [Time]
125
- #
126
- # @!attribute [rw] not_after
127
- # The time after which the certificate is not valid.
128
- # @return [Time]
129
- #
130
- # @!attribute [rw] key_algorithm
131
- # The algorithm that was used to generate the key pair (the public and
132
- # private key).
133
- # @return [String]
134
- #
135
- # @!attribute [rw] signature_algorithm
136
- # The algorithm that was used to sign the certificate.
137
- # @return [String]
138
- #
139
- # @!attribute [rw] in_use_by
140
- # A list of ARNs for the AWS resources that are using the certificate.
141
- # A certificate can be used by multiple AWS resources.
142
- # @return [Array<String>]
143
- #
144
- # @!attribute [rw] failure_reason
145
- # The reason the certificate request failed. This value exists only
146
- # when the certificate status is `FAILED`. For more information, see
147
- # [Certificate Request Failed][1] in the *AWS Certificate Manager User
148
- # Guide*.
149
- #
150
- #
151
- #
152
- # [1]: http://docs.aws.amazon.com/acm/latest/userguide/troubleshooting.html#troubleshooting-failed
153
- # @return [String]
154
- #
155
- # @!attribute [rw] type
156
- # The source of the certificate. For certificates provided by ACM,
157
- # this value is `AMAZON_ISSUED`. For certificates that you imported
158
- # with ImportCertificate, this value is `IMPORTED`. ACM does not
159
- # provide [managed renewal][1] for imported certificates. For more
160
- # information about the differences between certificates that you
161
- # import and those that ACM provides, see [Importing Certificates][2]
162
- # in the *AWS Certificate Manager User Guide*.
163
- #
164
- #
165
- #
166
- # [1]: http://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html
167
- # [2]: http://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html
168
- # @return [String]
169
- class CertificateDetail < Struct.new(
170
- :certificate_arn,
171
- :domain_name,
172
- :subject_alternative_names,
173
- :domain_validation_options,
174
- :serial,
175
- :subject,
176
- :issuer,
177
- :created_at,
178
- :issued_at,
179
- :imported_at,
180
- :status,
181
- :revoked_at,
182
- :revocation_reason,
183
- :not_before,
184
- :not_after,
185
- :key_algorithm,
186
- :signature_algorithm,
187
- :in_use_by,
188
- :failure_reason,
189
- :type)
190
- include Aws::Structure
191
- end
48
+ # Contains metadata about an ACM certificate. This structure is returned
49
+ # in the response to a DescribeCertificate request.
50
+ #
51
+ # @!attribute [rw] certificate_arn
52
+ # The Amazon Resource Name (ARN) of the certificate. For more
53
+ # information about ARNs, see [Amazon Resource Names (ARNs) and AWS
54
+ # Service Namespaces][1] in the *AWS General Reference*.
55
+ #
56
+ #
57
+ #
58
+ # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
59
+ # @return [String]
60
+ #
61
+ # @!attribute [rw] domain_name
62
+ # The fully qualified domain name for the certificate, such as
63
+ # www.example.com or example.com.
64
+ # @return [String]
65
+ #
66
+ # @!attribute [rw] subject_alternative_names
67
+ # One or more domain names (subject alternative names) included in the
68
+ # certificate. This list contains the domain names that are bound to
69
+ # the public key that is contained in the certificate. The subject
70
+ # alternative names include the canonical domain name (CN) of the
71
+ # certificate and additional domain names that can be used to connect
72
+ # to the website.
73
+ # @return [Array<String>]
74
+ #
75
+ # @!attribute [rw] domain_validation_options
76
+ # Contains information about the initial validation of each domain
77
+ # name that occurs as a result of the RequestCertificate request. This
78
+ # field exists only when the certificate type is `AMAZON_ISSUED`.
79
+ # @return [Array<Types::DomainValidation>]
80
+ #
81
+ # @!attribute [rw] serial
82
+ # The serial number of the certificate.
83
+ # @return [String]
84
+ #
85
+ # @!attribute [rw] subject
86
+ # The name of the entity that is associated with the public key
87
+ # contained in the certificate.
88
+ # @return [String]
89
+ #
90
+ # @!attribute [rw] issuer
91
+ # The name of the certificate authority that issued and signed the
92
+ # certificate.
93
+ # @return [String]
94
+ #
95
+ # @!attribute [rw] created_at
96
+ # The time at which the certificate was requested. This value exists
97
+ # only when the certificate type is `AMAZON_ISSUED`.
98
+ # @return [Time]
99
+ #
100
+ # @!attribute [rw] issued_at
101
+ # The time at which the certificate was issued. This value exists only
102
+ # when the certificate type is `AMAZON_ISSUED`.
103
+ # @return [Time]
104
+ #
105
+ # @!attribute [rw] imported_at
106
+ # The date and time at which the certificate was imported. This value
107
+ # exists only when the certificate type is `IMPORTED`.
108
+ # @return [Time]
109
+ #
110
+ # @!attribute [rw] status
111
+ # The status of the certificate.
112
+ # @return [String]
113
+ #
114
+ # @!attribute [rw] revoked_at
115
+ # The time at which the certificate was revoked. This value exists
116
+ # only when the certificate status is `REVOKED`.
117
+ # @return [Time]
118
+ #
119
+ # @!attribute [rw] revocation_reason
120
+ # The reason the certificate was revoked. This value exists only when
121
+ # the certificate status is `REVOKED`.
122
+ # @return [String]
123
+ #
124
+ # @!attribute [rw] not_before
125
+ # The time before which the certificate is not valid.
126
+ # @return [Time]
127
+ #
128
+ # @!attribute [rw] not_after
129
+ # The time after which the certificate is not valid.
130
+ # @return [Time]
131
+ #
132
+ # @!attribute [rw] key_algorithm
133
+ # The algorithm that was used to generate the key pair (the public and
134
+ # private key).
135
+ # @return [String]
136
+ #
137
+ # @!attribute [rw] signature_algorithm
138
+ # The algorithm that was used to sign the certificate.
139
+ # @return [String]
140
+ #
141
+ # @!attribute [rw] in_use_by
142
+ # A list of ARNs for the AWS resources that are using the certificate.
143
+ # A certificate can be used by multiple AWS resources.
144
+ # @return [Array<String>]
145
+ #
146
+ # @!attribute [rw] failure_reason
147
+ # The reason the certificate request failed. This value exists only
148
+ # when the certificate status is `FAILED`. For more information, see
149
+ # [Certificate Request Failed][1] in the *AWS Certificate Manager User
150
+ # Guide*.
151
+ #
152
+ #
153
+ #
154
+ # [1]: http://docs.aws.amazon.com/acm/latest/userguide/troubleshooting.html#troubleshooting-failed
155
+ # @return [String]
156
+ #
157
+ # @!attribute [rw] type
158
+ # The source of the certificate. For certificates provided by ACM,
159
+ # this value is `AMAZON_ISSUED`. For certificates that you imported
160
+ # with ImportCertificate, this value is `IMPORTED`. ACM does not
161
+ # provide [managed renewal][1] for imported certificates. For more
162
+ # information about the differences between certificates that you
163
+ # import and those that ACM provides, see [Importing Certificates][2]
164
+ # in the *AWS Certificate Manager User Guide*.
165
+ #
166
+ #
167
+ #
168
+ # [1]: http://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html
169
+ # [2]: http://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html
170
+ # @return [String]
171
+ #
172
+ # @!attribute [rw] renewal_summary
173
+ # Contains information about the status of ACM's [managed renewal][1]
174
+ # for the certificate. This field exists only when the certificate
175
+ # type is `AMAZON_ISSUED`.
176
+ #
177
+ #
178
+ #
179
+ # [1]: http://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html
180
+ # @return [Types::RenewalSummary]
181
+ #
182
+ class CertificateDetail < Struct.new(
183
+ :certificate_arn,
184
+ :domain_name,
185
+ :subject_alternative_names,
186
+ :domain_validation_options,
187
+ :serial,
188
+ :subject,
189
+ :issuer,
190
+ :created_at,
191
+ :issued_at,
192
+ :imported_at,
193
+ :status,
194
+ :revoked_at,
195
+ :revocation_reason,
196
+ :not_before,
197
+ :not_after,
198
+ :key_algorithm,
199
+ :signature_algorithm,
200
+ :in_use_by,
201
+ :failure_reason,
202
+ :type,
203
+ :renewal_summary)
204
+ include Aws::Structure
205
+ end
192
206
 
193
- # This structure is returned in the response object of ListCertificates
194
- # action.
195
- # @!attribute [rw] certificate_arn
196
- # Amazon Resource Name (ARN) of the certificate. This is of the form:
197
- #
198
- # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
199
- #
200
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
201
- # and AWS Service Namespaces][1].
202
- #
203
- #
204
- #
205
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
206
- # @return [String]
207
- #
208
- # @!attribute [rw] domain_name
209
- # Fully qualified domain name (FQDN), such as www.example.com or
210
- # example.com, for the certificate.
211
- # @return [String]
212
- class CertificateSummary < Struct.new(
213
- :certificate_arn,
214
- :domain_name)
215
- include Aws::Structure
216
- end
207
+ # This structure is returned in the response object of ListCertificates
208
+ # action.
209
+ #
210
+ # @!attribute [rw] certificate_arn
211
+ # Amazon Resource Name (ARN) of the certificate. This is of the form:
212
+ #
213
+ # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
214
+ #
215
+ # For more information about ARNs, see [Amazon Resource Names (ARNs)
216
+ # and AWS Service Namespaces][1].
217
+ #
218
+ #
219
+ #
220
+ # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
221
+ # @return [String]
222
+ #
223
+ # @!attribute [rw] domain_name
224
+ # Fully qualified domain name (FQDN), such as www.example.com or
225
+ # example.com, for the certificate.
226
+ # @return [String]
227
+ #
228
+ class CertificateSummary < Struct.new(
229
+ :certificate_arn,
230
+ :domain_name)
231
+ include Aws::Structure
232
+ end
217
233
 
218
- # @note When making an API call, pass DeleteCertificateRequest
219
- # data as a hash:
220
- #
221
- # {
222
- # certificate_arn: "Arn", # required
223
- # }
224
- # @!attribute [rw] certificate_arn
225
- # String that contains the ARN of the ACM Certificate to be deleted.
226
- # This must be of the form:
227
- #
228
- # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
229
- #
230
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
231
- # and AWS Service Namespaces][1].
232
- #
233
- #
234
- #
235
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
236
- # @return [String]
237
- class DeleteCertificateRequest < Struct.new(
238
- :certificate_arn)
239
- include Aws::Structure
240
- end
234
+ # @note When making an API call, you may pass DeleteCertificateRequest
235
+ # data as a hash:
236
+ #
237
+ # {
238
+ # certificate_arn: "Arn", # required
239
+ # }
240
+ #
241
+ # @!attribute [rw] certificate_arn
242
+ # String that contains the ARN of the ACM Certificate to be deleted.
243
+ # This must be of the form:
244
+ #
245
+ # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
246
+ #
247
+ # For more information about ARNs, see [Amazon Resource Names (ARNs)
248
+ # and AWS Service Namespaces][1].
249
+ #
250
+ #
251
+ #
252
+ # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
253
+ # @return [String]
254
+ #
255
+ class DeleteCertificateRequest < Struct.new(
256
+ :certificate_arn)
257
+ include Aws::Structure
258
+ end
241
259
 
242
- # @note When making an API call, pass DescribeCertificateRequest
243
- # data as a hash:
244
- #
245
- # {
246
- # certificate_arn: "Arn", # required
247
- # }
248
- # @!attribute [rw] certificate_arn
249
- # String that contains an ACM Certificate ARN. The ARN must be of the
250
- # form:
251
- #
252
- # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
253
- #
254
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
255
- # and AWS Service Namespaces][1].
256
- #
257
- #
258
- #
259
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
260
- # @return [String]
261
- class DescribeCertificateRequest < Struct.new(
262
- :certificate_arn)
263
- include Aws::Structure
264
- end
260
+ # @note When making an API call, you may pass DescribeCertificateRequest
261
+ # data as a hash:
262
+ #
263
+ # {
264
+ # certificate_arn: "Arn", # required
265
+ # }
266
+ #
267
+ # @!attribute [rw] certificate_arn
268
+ # The Amazon Resource Name (ARN) of the ACM Certificate. The ARN must
269
+ # have the following form:
270
+ #
271
+ # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
272
+ #
273
+ # For more information about ARNs, see [Amazon Resource Names (ARNs)
274
+ # and AWS Service Namespaces][1].
275
+ #
276
+ #
277
+ #
278
+ # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
279
+ # @return [String]
280
+ #
281
+ class DescribeCertificateRequest < Struct.new(
282
+ :certificate_arn)
283
+ include Aws::Structure
284
+ end
265
285
 
266
- # @!attribute [rw] certificate
267
- # Contains a CertificateDetail structure that lists the fields of an
268
- # ACM Certificate.
269
- # @return [Types::CertificateDetail]
270
- class DescribeCertificateResponse < Struct.new(
271
- :certificate)
272
- include Aws::Structure
273
- end
286
+ # @!attribute [rw] certificate
287
+ # Metadata about an ACM certificate.
288
+ # @return [Types::CertificateDetail]
289
+ #
290
+ class DescribeCertificateResponse < Struct.new(
291
+ :certificate)
292
+ include Aws::Structure
293
+ end
274
294
 
275
- # Structure that contains the domain name, the base validation domain to
276
- # which validation email is sent, and the email addresses used to
277
- # validate the domain identity.
278
- # @!attribute [rw] domain_name
279
- # Fully Qualified Domain Name (FQDN) of the form `www.example.com or `
280
- # `example.com`.
281
- # @return [String]
282
- #
283
- # @!attribute [rw] validation_emails
284
- # A list of contact address for the domain registrant.
285
- # @return [Array<String>]
286
- #
287
- # @!attribute [rw] validation_domain
288
- # The base validation domain that acts as the suffix of the email
289
- # addresses that are used to send the emails.
290
- # @return [String]
291
- class DomainValidation < Struct.new(
292
- :domain_name,
293
- :validation_emails,
294
- :validation_domain)
295
- include Aws::Structure
296
- end
295
+ # Contains information about the validation of each domain name in the
296
+ # certificate.
297
+ #
298
+ # @!attribute [rw] domain_name
299
+ # A fully qualified domain name (FQDN) in the certificate. For
300
+ # example, `www.example.com` or `example.com`.
301
+ # @return [String]
302
+ #
303
+ # @!attribute [rw] validation_emails
304
+ # A list of email addresses that ACM used to send domain validation
305
+ # emails.
306
+ # @return [Array<String>]
307
+ #
308
+ # @!attribute [rw] validation_domain
309
+ # The domain name that ACM used to send domain validation emails.
310
+ # @return [String]
311
+ #
312
+ # @!attribute [rw] validation_status
313
+ # The validation status of the domain name.
314
+ # @return [String]
315
+ #
316
+ class DomainValidation < Struct.new(
317
+ :domain_name,
318
+ :validation_emails,
319
+ :validation_domain,
320
+ :validation_status)
321
+ include Aws::Structure
322
+ end
297
323
 
298
- # This structure is used in the request object of the RequestCertificate
299
- # action.
300
- # @note When making an API call, pass DomainValidationOption
301
- # data as a hash:
302
- #
303
- # {
304
- # domain_name: "DomainNameString", # required
305
- # validation_domain: "DomainNameString", # required
306
- # }
307
- # @!attribute [rw] domain_name
308
- # Fully Qualified Domain Name (FQDN) of the certificate being
309
- # requested.
310
- # @return [String]
311
- #
312
- # @!attribute [rw] validation_domain
313
- # The domain to which validation email is sent. This is the base
314
- # validation domain that will act as the suffix of the email
315
- # addresses. This must be the same as the `DomainName` value or a
316
- # superdomain of the `DomainName` value. For example, if you requested
317
- # a certificate for `site.subdomain.example.com` and specify a
318
- # **ValidationDomain** of `subdomain.example.com`, ACM sends email to
319
- # the domain registrant, technical contact, and administrative contact
320
- # in WHOIS for the base domain and the following five addresses:
321
- #
322
- # * admin@subdomain.example.com
323
- #
324
- # * administrator@subdomain.example.com
325
- #
326
- # * hostmaster@subdomain.example.com
327
- #
328
- # * postmaster@subdomain.example.com
329
- #
330
- # * webmaster@subdomain.example.com
331
- # @return [String]
332
- class DomainValidationOption < Struct.new(
333
- :domain_name,
334
- :validation_domain)
335
- include Aws::Structure
336
- end
324
+ # Contains information about the domain names that you want ACM to use
325
+ # to send you emails to validate your ownership of the domain.
326
+ #
327
+ # @note When making an API call, you may pass DomainValidationOption
328
+ # data as a hash:
329
+ #
330
+ # {
331
+ # domain_name: "DomainNameString", # required
332
+ # validation_domain: "DomainNameString", # required
333
+ # }
334
+ #
335
+ # @!attribute [rw] domain_name
336
+ # A fully qualified domain name (FQDN) in the certificate request.
337
+ # @return [String]
338
+ #
339
+ # @!attribute [rw] validation_domain
340
+ # The domain name that you want ACM to use to send you validation
341
+ # emails. This domain name is the suffix of the email addresses that
342
+ # you want ACM to use. This must be the same as the `DomainName` value
343
+ # or a superdomain of the `DomainName` value. For example, if you
344
+ # request a certificate for `testing.example.com`, you can specify
345
+ # `example.com` for this value. In that case, ACM sends domain
346
+ # validation emails to the following five addresses:
347
+ #
348
+ # * admin@example.com
349
+ #
350
+ # * administrator@example.com
351
+ #
352
+ # * hostmaster@example.com
353
+ #
354
+ # * postmaster@example.com
355
+ #
356
+ # * webmaster@example.com
357
+ # @return [String]
358
+ #
359
+ class DomainValidationOption < Struct.new(
360
+ :domain_name,
361
+ :validation_domain)
362
+ include Aws::Structure
363
+ end
337
364
 
338
- # @note When making an API call, pass GetCertificateRequest
339
- # data as a hash:
340
- #
341
- # {
342
- # certificate_arn: "Arn", # required
343
- # }
344
- # @!attribute [rw] certificate_arn
345
- # String that contains a certificate ARN in the following format:
346
- #
347
- # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
348
- #
349
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
350
- # and AWS Service Namespaces][1].
351
- #
352
- #
353
- #
354
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
355
- # @return [String]
356
- class GetCertificateRequest < Struct.new(
357
- :certificate_arn)
358
- include Aws::Structure
359
- end
365
+ # @note When making an API call, you may pass GetCertificateRequest
366
+ # data as a hash:
367
+ #
368
+ # {
369
+ # certificate_arn: "Arn", # required
370
+ # }
371
+ #
372
+ # @!attribute [rw] certificate_arn
373
+ # String that contains a certificate ARN in the following format:
374
+ #
375
+ # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
376
+ #
377
+ # For more information about ARNs, see [Amazon Resource Names (ARNs)
378
+ # and AWS Service Namespaces][1].
379
+ #
380
+ #
381
+ #
382
+ # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
383
+ # @return [String]
384
+ #
385
+ class GetCertificateRequest < Struct.new(
386
+ :certificate_arn)
387
+ include Aws::Structure
388
+ end
360
389
 
361
- # @!attribute [rw] certificate
362
- # String that contains the ACM Certificate represented by the ARN
363
- # specified at input.
364
- # @return [String]
365
- #
366
- # @!attribute [rw] certificate_chain
367
- # The certificate chain that contains the root certificate issued by
368
- # the certificate authority (CA).
369
- # @return [String]
370
- class GetCertificateResponse < Struct.new(
371
- :certificate,
372
- :certificate_chain)
373
- include Aws::Structure
374
- end
390
+ # @!attribute [rw] certificate
391
+ # String that contains the ACM Certificate represented by the ARN
392
+ # specified at input.
393
+ # @return [String]
394
+ #
395
+ # @!attribute [rw] certificate_chain
396
+ # The certificate chain that contains the root certificate issued by
397
+ # the certificate authority (CA).
398
+ # @return [String]
399
+ #
400
+ class GetCertificateResponse < Struct.new(
401
+ :certificate,
402
+ :certificate_chain)
403
+ include Aws::Structure
404
+ end
375
405
 
376
- # @note When making an API call, pass ImportCertificateRequest
377
- # data as a hash:
378
- #
379
- # {
380
- # certificate_arn: "Arn",
381
- # certificate: "data", # required
382
- # private_key: "data", # required
383
- # certificate_chain: "data",
384
- # }
385
- # @!attribute [rw] certificate_arn
386
- # The [Amazon Resource Name (ARN)][1] of an imported certificate to
387
- # replace. To import a new certificate, omit this field.
388
- #
389
- #
390
- #
391
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
392
- # @return [String]
393
- #
394
- # @!attribute [rw] certificate
395
- # The certificate to import. It must meet the following requirements:
396
- #
397
- # * Must be PEM-encoded.
398
- #
399
- # * Must contain a 1024-bit or 2048-bit RSA public key.
400
- #
401
- # * Must be valid at the time of import. You cannot import a
402
- # certificate before its validity period begins (the certificate's
403
- # `NotBefore` date) or after it expires (the certificate's
404
- # `NotAfter` date).
405
- # @return [String]
406
- #
407
- # @!attribute [rw] private_key
408
- # The private key that matches the public key in the certificate. It
409
- # must meet the following requirements:
410
- #
411
- # * Must be PEM-encoded.
412
- #
413
- # * Must be unencrypted. You cannot import a private key that is
414
- # protected by a password or passphrase.
415
- # @return [String]
416
- #
417
- # @!attribute [rw] certificate_chain
418
- # The certificate chain. It must be PEM-encoded.
419
- # @return [String]
420
- class ImportCertificateRequest < Struct.new(
421
- :certificate_arn,
422
- :certificate,
423
- :private_key,
424
- :certificate_chain)
425
- include Aws::Structure
426
- end
406
+ # @note When making an API call, you may pass ImportCertificateRequest
407
+ # data as a hash:
408
+ #
409
+ # {
410
+ # certificate_arn: "Arn",
411
+ # certificate: "data", # required
412
+ # private_key: "data", # required
413
+ # certificate_chain: "data",
414
+ # }
415
+ #
416
+ # @!attribute [rw] certificate_arn
417
+ # The [Amazon Resource Name (ARN)][1] of an imported certificate to
418
+ # replace. To import a new certificate, omit this field.
419
+ #
420
+ #
421
+ #
422
+ # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
423
+ # @return [String]
424
+ #
425
+ # @!attribute [rw] certificate
426
+ # The certificate to import. It must meet the following requirements:
427
+ #
428
+ # * Must be PEM-encoded.
429
+ #
430
+ # * Must contain a 1024-bit or 2048-bit RSA public key.
431
+ #
432
+ # * Must be valid at the time of import. You cannot import a
433
+ # certificate before its validity period begins (the certificate's
434
+ # `NotBefore` date) or after it expires (the certificate's
435
+ # `NotAfter` date).
436
+ # @return [String]
437
+ #
438
+ # @!attribute [rw] private_key
439
+ # The private key that matches the public key in the certificate. It
440
+ # must meet the following requirements:
441
+ #
442
+ # * Must be PEM-encoded.
443
+ #
444
+ # * Must be unencrypted. You cannot import a private key that is
445
+ # protected by a password or passphrase.
446
+ # @return [String]
447
+ #
448
+ # @!attribute [rw] certificate_chain
449
+ # The certificate chain. It must be PEM-encoded.
450
+ # @return [String]
451
+ #
452
+ class ImportCertificateRequest < Struct.new(
453
+ :certificate_arn,
454
+ :certificate,
455
+ :private_key,
456
+ :certificate_chain)
457
+ include Aws::Structure
458
+ end
427
459
 
428
- # @!attribute [rw] certificate_arn
429
- # The [Amazon Resource Name (ARN)][1] of the imported certificate.
430
- #
431
- #
432
- #
433
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
434
- # @return [String]
435
- class ImportCertificateResponse < Struct.new(
436
- :certificate_arn)
437
- include Aws::Structure
438
- end
460
+ # @!attribute [rw] certificate_arn
461
+ # The [Amazon Resource Name (ARN)][1] of the imported certificate.
462
+ #
463
+ #
464
+ #
465
+ # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
466
+ # @return [String]
467
+ #
468
+ class ImportCertificateResponse < Struct.new(
469
+ :certificate_arn)
470
+ include Aws::Structure
471
+ end
439
472
 
440
- # @note When making an API call, pass ListCertificatesRequest
441
- # data as a hash:
442
- #
443
- # {
444
- # certificate_statuses: ["PENDING_VALIDATION"], # accepts PENDING_VALIDATION, ISSUED, INACTIVE, EXPIRED, VALIDATION_TIMED_OUT, REVOKED, FAILED
445
- # next_token: "NextToken",
446
- # max_items: 1,
447
- # }
448
- # @!attribute [rw] certificate_statuses
449
- # The status or statuses on which to filter the list of ACM
450
- # Certificates.
451
- # @return [Array<String>]
452
- #
453
- # @!attribute [rw] next_token
454
- # Use this parameter only when paginating results and only in a
455
- # subsequent request after you receive a response with truncated
456
- # results. Set it to the value of `NextToken` from the response you
457
- # just received.
458
- # @return [String]
459
- #
460
- # @!attribute [rw] max_items
461
- # Use this parameter when paginating results to specify the maximum
462
- # number of items to return in the response. If additional items exist
463
- # beyond the number you specify, the `NextToken` element is sent in
464
- # the response. Use this `NextToken` value in a subsequent request to
465
- # retrieve additional items.
466
- # @return [Integer]
467
- class ListCertificatesRequest < Struct.new(
468
- :certificate_statuses,
469
- :next_token,
470
- :max_items)
471
- include Aws::Structure
472
- end
473
+ # @note When making an API call, you may pass ListCertificatesRequest
474
+ # data as a hash:
475
+ #
476
+ # {
477
+ # certificate_statuses: ["PENDING_VALIDATION"], # accepts PENDING_VALIDATION, ISSUED, INACTIVE, EXPIRED, VALIDATION_TIMED_OUT, REVOKED, FAILED
478
+ # next_token: "NextToken",
479
+ # max_items: 1,
480
+ # }
481
+ #
482
+ # @!attribute [rw] certificate_statuses
483
+ # The status or statuses on which to filter the list of ACM
484
+ # Certificates.
485
+ # @return [Array<String>]
486
+ #
487
+ # @!attribute [rw] next_token
488
+ # Use this parameter only when paginating results and only in a
489
+ # subsequent request after you receive a response with truncated
490
+ # results. Set it to the value of `NextToken` from the response you
491
+ # just received.
492
+ # @return [String]
493
+ #
494
+ # @!attribute [rw] max_items
495
+ # Use this parameter when paginating results to specify the maximum
496
+ # number of items to return in the response. If additional items exist
497
+ # beyond the number you specify, the `NextToken` element is sent in
498
+ # the response. Use this `NextToken` value in a subsequent request to
499
+ # retrieve additional items.
500
+ # @return [Integer]
501
+ #
502
+ class ListCertificatesRequest < Struct.new(
503
+ :certificate_statuses,
504
+ :next_token,
505
+ :max_items)
506
+ include Aws::Structure
507
+ end
473
508
 
474
- # @!attribute [rw] next_token
475
- # When the list is truncated, this value is present and contains the
476
- # value to use for the `NextToken` parameter in a subsequent
477
- # pagination request.
478
- # @return [String]
479
- #
480
- # @!attribute [rw] certificate_summary_list
481
- # A list of ACM Certificates.
482
- # @return [Array<Types::CertificateSummary>]
483
- class ListCertificatesResponse < Struct.new(
484
- :next_token,
485
- :certificate_summary_list)
486
- include Aws::Structure
487
- end
509
+ # @!attribute [rw] next_token
510
+ # When the list is truncated, this value is present and contains the
511
+ # value to use for the `NextToken` parameter in a subsequent
512
+ # pagination request.
513
+ # @return [String]
514
+ #
515
+ # @!attribute [rw] certificate_summary_list
516
+ # A list of ACM Certificates.
517
+ # @return [Array<Types::CertificateSummary>]
518
+ #
519
+ class ListCertificatesResponse < Struct.new(
520
+ :next_token,
521
+ :certificate_summary_list)
522
+ include Aws::Structure
523
+ end
488
524
 
489
- # @note When making an API call, pass ListTagsForCertificateRequest
490
- # data as a hash:
491
- #
492
- # {
493
- # certificate_arn: "Arn", # required
494
- # }
495
- # @!attribute [rw] certificate_arn
496
- # String that contains the ARN of the ACM Certificate for which you
497
- # want to list the tags. This must be of the form:
498
- #
499
- # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
500
- #
501
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
502
- # and AWS Service Namespaces][1].
503
- #
504
- #
505
- #
506
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
507
- # @return [String]
508
- class ListTagsForCertificateRequest < Struct.new(
509
- :certificate_arn)
510
- include Aws::Structure
511
- end
525
+ # @note When making an API call, you may pass ListTagsForCertificateRequest
526
+ # data as a hash:
527
+ #
528
+ # {
529
+ # certificate_arn: "Arn", # required
530
+ # }
531
+ #
532
+ # @!attribute [rw] certificate_arn
533
+ # String that contains the ARN of the ACM Certificate for which you
534
+ # want to list the tags. This has the following form:
535
+ #
536
+ # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
537
+ #
538
+ # For more information about ARNs, see [Amazon Resource Names (ARNs)
539
+ # and AWS Service Namespaces][1].
540
+ #
541
+ #
542
+ #
543
+ # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
544
+ # @return [String]
545
+ #
546
+ class ListTagsForCertificateRequest < Struct.new(
547
+ :certificate_arn)
548
+ include Aws::Structure
549
+ end
512
550
 
513
- # @!attribute [rw] tags
514
- # The key-value pairs that define the applied tags.
515
- # @return [Array<Types::Tag>]
516
- class ListTagsForCertificateResponse < Struct.new(
517
- :tags)
518
- include Aws::Structure
519
- end
551
+ # @!attribute [rw] tags
552
+ # The key-value pairs that define the applied tags.
553
+ # @return [Array<Types::Tag>]
554
+ #
555
+ class ListTagsForCertificateResponse < Struct.new(
556
+ :tags)
557
+ include Aws::Structure
558
+ end
520
559
 
521
- # @note When making an API call, pass RemoveTagsFromCertificateRequest
522
- # data as a hash:
523
- #
524
- # {
525
- # certificate_arn: "Arn", # required
526
- # tags: [ # required
527
- # {
528
- # key: "TagKey", # required
529
- # value: "TagValue",
530
- # },
531
- # ],
532
- # }
533
- # @!attribute [rw] certificate_arn
534
- # String that contains the ARN of the ACM Certificate with one or more
535
- # tags that you want to remove. This must be of the form:
536
- #
537
- # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
538
- #
539
- # For more information about ARNs, see [Amazon Resource Names (ARNs)
540
- # and AWS Service Namespaces][1].
541
- #
542
- #
543
- #
544
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
545
- # @return [String]
546
- #
547
- # @!attribute [rw] tags
548
- # The key-value pair that defines the tag to remove.
549
- # @return [Array<Types::Tag>]
550
- class RemoveTagsFromCertificateRequest < Struct.new(
551
- :certificate_arn,
552
- :tags)
553
- include Aws::Structure
554
- end
560
+ # @note When making an API call, you may pass RemoveTagsFromCertificateRequest
561
+ # data as a hash:
562
+ #
563
+ # {
564
+ # certificate_arn: "Arn", # required
565
+ # tags: [ # required
566
+ # {
567
+ # key: "TagKey", # required
568
+ # value: "TagValue",
569
+ # },
570
+ # ],
571
+ # }
572
+ #
573
+ # @!attribute [rw] certificate_arn
574
+ # String that contains the ARN of the ACM Certificate with one or more
575
+ # tags that you want to remove. This must be of the form:
576
+ #
577
+ # `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
578
+ #
579
+ # For more information about ARNs, see [Amazon Resource Names (ARNs)
580
+ # and AWS Service Namespaces][1].
581
+ #
582
+ #
583
+ #
584
+ # [1]: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
585
+ # @return [String]
586
+ #
587
+ # @!attribute [rw] tags
588
+ # The key-value pair that defines the tag to remove.
589
+ # @return [Array<Types::Tag>]
590
+ #
591
+ class RemoveTagsFromCertificateRequest < Struct.new(
592
+ :certificate_arn,
593
+ :tags)
594
+ include Aws::Structure
595
+ end
555
596
 
556
- # @note When making an API call, pass RequestCertificateRequest
557
- # data as a hash:
558
- #
559
- # {
560
- # domain_name: "DomainNameString", # required
561
- # subject_alternative_names: ["DomainNameString"],
562
- # idempotency_token: "IdempotencyToken",
563
- # domain_validation_options: [
564
- # {
565
- # domain_name: "DomainNameString", # required
566
- # validation_domain: "DomainNameString", # required
567
- # },
568
- # ],
569
- # }
570
- # @!attribute [rw] domain_name
571
- # Fully qualified domain name (FQDN), such as www.example.com, of the
572
- # site you want to secure with an ACM Certificate. Use an asterisk
573
- # (*) to create a wildcard certificate that protects several sites in
574
- # the same domain. For example, *.example.com protects
575
- # www.example.com, site.example.com, and images.example.com.
576
- # @return [String]
577
- #
578
- # @!attribute [rw] subject_alternative_names
579
- # Additional FQDNs to be included in the Subject Alternative Name
580
- # extension of the ACM Certificate. For example, add the name
581
- # www.example.net to a certificate for which the `DomainName` field is
582
- # www.example.com if users can reach your site by using either name.
583
- # @return [Array<String>]
584
- #
585
- # @!attribute [rw] idempotency_token
586
- # Customer chosen string that can be used to distinguish between calls
587
- # to `RequestCertificate`. Idempotency tokens time out after one hour.
588
- # Therefore, if you call `RequestCertificate` multiple times with the
589
- # same idempotency token within one hour, ACM recognizes that you are
590
- # requesting only one certificate and will issue only one. If you
591
- # change the idempotency token for each call, ACM recognizes that you
592
- # are requesting multiple certificates.
593
- # @return [String]
594
- #
595
- # @!attribute [rw] domain_validation_options
596
- # The base validation domain that will act as the suffix of the email
597
- # addresses that are used to send the emails. This must be the same as
598
- # the `Domain` value or a superdomain of the `Domain` value. For
599
- # example, if you requested a certificate for `test.example.com` and
600
- # specify **DomainValidationOptions** of `example.com`, ACM sends
601
- # email to the domain registrant, technical contact, and
602
- # administrative contact in WHOIS and the following five addresses:
603
- #
604
- # * admin@example.com
605
- #
606
- # * administrator@example.com
607
- #
608
- # * hostmaster@example.com
609
- #
610
- # * postmaster@example.com
611
- #
612
- # * webmaster@example.com
613
- # @return [Array<Types::DomainValidationOption>]
614
- class RequestCertificateRequest < Struct.new(
615
- :domain_name,
616
- :subject_alternative_names,
617
- :idempotency_token,
618
- :domain_validation_options)
619
- include Aws::Structure
620
- end
597
+ # Contains information about the status of ACM's [managed renewal][1]
598
+ # for the certificate. This structure exists only when the certificate
599
+ # type is `AMAZON_ISSUED`.
600
+ #
601
+ #
602
+ #
603
+ # [1]: http://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html
604
+ #
605
+ # @!attribute [rw] renewal_status
606
+ # The status of ACM's [managed renewal][1] of the certificate.
607
+ #
608
+ #
609
+ #
610
+ # [1]: http://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html
611
+ # @return [String]
612
+ #
613
+ # @!attribute [rw] domain_validation_options
614
+ # Contains information about the validation of each domain name in the
615
+ # certificate, as it pertains to ACM's [managed renewal][1]. This is
616
+ # different from the initial validation that occurs as a result of the
617
+ # RequestCertificate request. This field exists only when the
618
+ # certificate type is `AMAZON_ISSUED`.
619
+ #
620
+ #
621
+ #
622
+ # [1]: http://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html
623
+ # @return [Array<Types::DomainValidation>]
624
+ #
625
+ class RenewalSummary < Struct.new(
626
+ :renewal_status,
627
+ :domain_validation_options)
628
+ include Aws::Structure
629
+ end
621
630
 
622
- # @!attribute [rw] certificate_arn
623
- # String that contains the ARN of the issued certificate. This must be
624
- # of the form:
625
- #
626
- # `arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012`
627
- # @return [String]
628
- class RequestCertificateResponse < Struct.new(
629
- :certificate_arn)
630
- include Aws::Structure
631
- end
631
+ # @note When making an API call, you may pass RequestCertificateRequest
632
+ # data as a hash:
633
+ #
634
+ # {
635
+ # domain_name: "DomainNameString", # required
636
+ # subject_alternative_names: ["DomainNameString"],
637
+ # idempotency_token: "IdempotencyToken",
638
+ # domain_validation_options: [
639
+ # {
640
+ # domain_name: "DomainNameString", # required
641
+ # validation_domain: "DomainNameString", # required
642
+ # },
643
+ # ],
644
+ # }
645
+ #
646
+ # @!attribute [rw] domain_name
647
+ # Fully qualified domain name (FQDN), such as www.example.com, of the
648
+ # site that you want to secure with an ACM Certificate. Use an
649
+ # asterisk (*) to create a wildcard certificate that protects several
650
+ # sites in the same domain. For example, *.example.com protects
651
+ # www.example.com, site.example.com, and images.example.com.
652
+ # @return [String]
653
+ #
654
+ # @!attribute [rw] subject_alternative_names
655
+ # Additional FQDNs to be included in the Subject Alternative Name
656
+ # extension of the ACM Certificate. For example, add the name
657
+ # www.example.net to a certificate for which the `DomainName` field is
658
+ # www.example.com if users can reach your site by using either name.
659
+ # @return [Array<String>]
660
+ #
661
+ # @!attribute [rw] idempotency_token
662
+ # Customer chosen string that can be used to distinguish between calls
663
+ # to `RequestCertificate`. Idempotency tokens time out after one hour.
664
+ # Therefore, if you call `RequestCertificate` multiple times with the
665
+ # same idempotency token within one hour, ACM recognizes that you are
666
+ # requesting only one certificate and will issue only one. If you
667
+ # change the idempotency token for each call, ACM recognizes that you
668
+ # are requesting multiple certificates.
669
+ # @return [String]
670
+ #
671
+ # @!attribute [rw] domain_validation_options
672
+ # The domain name that you want ACM to use to send you emails to
673
+ # validate your ownership of the domain.
674
+ # @return [Array<Types::DomainValidationOption>]
675
+ #
676
+ class RequestCertificateRequest < Struct.new(
677
+ :domain_name,
678
+ :subject_alternative_names,
679
+ :idempotency_token,
680
+ :domain_validation_options)
681
+ include Aws::Structure
682
+ end
632
683
 
633
- # @note When making an API call, pass ResendValidationEmailRequest
634
- # data as a hash:
635
- #
636
- # {
637
- # certificate_arn: "Arn", # required
638
- # domain: "DomainNameString", # required
639
- # validation_domain: "DomainNameString", # required
640
- # }
641
- # @!attribute [rw] certificate_arn
642
- # String that contains the ARN of the requested certificate. The
643
- # certificate ARN is generated and returned by the RequestCertificate
644
- # action as soon as the request is made. By default, using this
645
- # parameter causes email to be sent to all top-level domains you
646
- # specified in the certificate request.
647
- #
648
- # The ARN must be of the form:
649
- #
650
- # `arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012`
651
- # @return [String]
652
- #
653
- # @!attribute [rw] domain
654
- # The Fully Qualified Domain Name (FQDN) of the certificate that needs
655
- # to be validated.
656
- # @return [String]
657
- #
658
- # @!attribute [rw] validation_domain
659
- # The base validation domain that will act as the suffix of the email
660
- # addresses that are used to send the emails. This must be the same as
661
- # the `Domain` value or a superdomain of the `Domain` value. For
662
- # example, if you requested a certificate for
663
- # `site.subdomain.example.com` and specify a **ValidationDomain** of
664
- # `subdomain.example.com`, ACM sends email to the domain registrant,
665
- # technical contact, and administrative contact in WHOIS and the
666
- # following five addresses:
667
- #
668
- # * admin@subdomain.example.com
669
- #
670
- # * administrator@subdomain.example.com
671
- #
672
- # * hostmaster@subdomain.example.com
673
- #
674
- # * postmaster@subdomain.example.com
675
- #
676
- # * webmaster@subdomain.example.com
677
- # @return [String]
678
- class ResendValidationEmailRequest < Struct.new(
679
- :certificate_arn,
680
- :domain,
681
- :validation_domain)
682
- include Aws::Structure
683
- end
684
+ # @!attribute [rw] certificate_arn
685
+ # String that contains the ARN of the issued certificate. This must be
686
+ # of the form:
687
+ #
688
+ # `arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012`
689
+ # @return [String]
690
+ #
691
+ class RequestCertificateResponse < Struct.new(
692
+ :certificate_arn)
693
+ include Aws::Structure
694
+ end
684
695
 
685
- # A key-value pair that identifies or specifies metadata about an ACM
686
- # resource.
687
- # @note When making an API call, pass Tag
688
- # data as a hash:
689
- #
690
- # {
691
- # key: "TagKey", # required
692
- # value: "TagValue",
693
- # }
694
- # @!attribute [rw] key
695
- # The key of the tag.
696
- # @return [String]
697
- #
698
- # @!attribute [rw] value
699
- # The value of the tag.
700
- # @return [String]
701
- class Tag < Struct.new(
702
- :key,
703
- :value)
704
- include Aws::Structure
705
- end
696
+ # @note When making an API call, you may pass ResendValidationEmailRequest
697
+ # data as a hash:
698
+ #
699
+ # {
700
+ # certificate_arn: "Arn", # required
701
+ # domain: "DomainNameString", # required
702
+ # validation_domain: "DomainNameString", # required
703
+ # }
704
+ #
705
+ # @!attribute [rw] certificate_arn
706
+ # String that contains the ARN of the requested certificate. The
707
+ # certificate ARN is generated and returned by the RequestCertificate
708
+ # action as soon as the request is made. By default, using this
709
+ # parameter causes email to be sent to all top-level domains you
710
+ # specified in the certificate request.
711
+ #
712
+ # The ARN must be of the form:
713
+ #
714
+ # `arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012`
715
+ # @return [String]
716
+ #
717
+ # @!attribute [rw] domain
718
+ # The fully qualified domain name (FQDN) of the certificate that needs
719
+ # to be validated.
720
+ # @return [String]
721
+ #
722
+ # @!attribute [rw] validation_domain
723
+ # The base validation domain that will act as the suffix of the email
724
+ # addresses that are used to send the emails. This must be the same as
725
+ # the `Domain` value or a superdomain of the `Domain` value. For
726
+ # example, if you requested a certificate for
727
+ # `site.subdomain.example.com` and specify a **ValidationDomain** of
728
+ # `subdomain.example.com`, ACM sends email to the domain registrant,
729
+ # technical contact, and administrative contact in WHOIS and the
730
+ # following five addresses:
731
+ #
732
+ # * admin@subdomain.example.com
733
+ #
734
+ # * administrator@subdomain.example.com
735
+ #
736
+ # * hostmaster@subdomain.example.com
737
+ #
738
+ # * postmaster@subdomain.example.com
739
+ #
740
+ # * webmaster@subdomain.example.com
741
+ # @return [String]
742
+ #
743
+ class ResendValidationEmailRequest < Struct.new(
744
+ :certificate_arn,
745
+ :domain,
746
+ :validation_domain)
747
+ include Aws::Structure
748
+ end
706
749
 
750
+ # A key-value pair that identifies or specifies metadata about an ACM
751
+ # resource.
752
+ #
753
+ # @note When making an API call, you may pass Tag
754
+ # data as a hash:
755
+ #
756
+ # {
757
+ # key: "TagKey", # required
758
+ # value: "TagValue",
759
+ # }
760
+ #
761
+ # @!attribute [rw] key
762
+ # The key of the tag.
763
+ # @return [String]
764
+ #
765
+ # @!attribute [rw] value
766
+ # The value of the tag.
767
+ # @return [String]
768
+ #
769
+ class Tag < Struct.new(
770
+ :key,
771
+ :value)
772
+ include Aws::Structure
707
773
  end
774
+
708
775
  end
709
776
  end