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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-acm.rb +1 -1
- data/lib/aws-sdk-acm/client.rb +719 -660
- data/lib/aws-sdk-acm/client_api.rb +316 -309
- data/lib/aws-sdk-acm/errors.rb +4 -13
- data/lib/aws-sdk-acm/resource.rb +12 -14
- data/lib/aws-sdk-acm/types.rb +745 -678
- metadata +2 -2
@@ -1,319 +1,326 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
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
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
api.version = "2015-12-08"
|
195
|
-
|
196
|
-
api.metadata = {
|
197
|
-
"endpointPrefix" => "acm",
|
198
|
-
"jsonVersion" => "1.1",
|
199
|
-
"protocol" => "json",
|
200
|
-
"serviceFullName" => "AWS Certificate Manager",
|
201
|
-
"signatureVersion" => "v4",
|
202
|
-
"targetPrefix" => "CertificateManager",
|
203
|
-
}
|
204
|
-
|
205
|
-
api.add_operation(:add_tags_to_certificate, Seahorse::Model::Operation.new.tap do |o|
|
206
|
-
o.name = "AddTagsToCertificate"
|
207
|
-
o.http_method = "POST"
|
208
|
-
o.http_request_uri = "/"
|
209
|
-
o.input = Shapes::ShapeRef.new(shape: AddTagsToCertificateRequest)
|
210
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
211
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
212
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
213
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidTagException)
|
214
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
215
|
-
end)
|
216
|
-
|
217
|
-
api.add_operation(:delete_certificate, Seahorse::Model::Operation.new.tap do |o|
|
218
|
-
o.name = "DeleteCertificate"
|
219
|
-
o.http_method = "POST"
|
220
|
-
o.http_request_uri = "/"
|
221
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteCertificateRequest)
|
222
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
223
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
224
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
225
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
226
|
-
end)
|
227
|
-
|
228
|
-
api.add_operation(:describe_certificate, Seahorse::Model::Operation.new.tap do |o|
|
229
|
-
o.name = "DescribeCertificate"
|
230
|
-
o.http_method = "POST"
|
231
|
-
o.http_request_uri = "/"
|
232
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeCertificateRequest)
|
233
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeCertificateResponse)
|
234
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
235
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
236
|
-
end)
|
237
|
-
|
238
|
-
api.add_operation(:get_certificate, Seahorse::Model::Operation.new.tap do |o|
|
239
|
-
o.name = "GetCertificate"
|
240
|
-
o.http_method = "POST"
|
241
|
-
o.http_request_uri = "/"
|
242
|
-
o.input = Shapes::ShapeRef.new(shape: GetCertificateRequest)
|
243
|
-
o.output = Shapes::ShapeRef.new(shape: GetCertificateResponse)
|
244
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
245
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
246
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
247
|
-
end)
|
248
|
-
|
249
|
-
api.add_operation(:import_certificate, Seahorse::Model::Operation.new.tap do |o|
|
250
|
-
o.name = "ImportCertificate"
|
251
|
-
o.http_method = "POST"
|
252
|
-
o.http_request_uri = "/"
|
253
|
-
o.input = Shapes::ShapeRef.new(shape: ImportCertificateRequest)
|
254
|
-
o.output = Shapes::ShapeRef.new(shape: ImportCertificateResponse)
|
255
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
256
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
257
|
-
end)
|
258
|
-
|
259
|
-
api.add_operation(:list_certificates, Seahorse::Model::Operation.new.tap do |o|
|
260
|
-
o.name = "ListCertificates"
|
261
|
-
o.http_method = "POST"
|
262
|
-
o.http_request_uri = "/"
|
263
|
-
o.input = Shapes::ShapeRef.new(shape: ListCertificatesRequest)
|
264
|
-
o.output = Shapes::ShapeRef.new(shape: ListCertificatesResponse)
|
265
|
-
o[:pager] = Aws::Pager.new(
|
266
|
-
limit_key: "max_items",
|
267
|
-
tokens: {
|
268
|
-
"next_token" => "next_token"
|
269
|
-
}
|
270
|
-
)
|
271
|
-
end)
|
272
|
-
|
273
|
-
api.add_operation(:list_tags_for_certificate, Seahorse::Model::Operation.new.tap do |o|
|
274
|
-
o.name = "ListTagsForCertificate"
|
275
|
-
o.http_method = "POST"
|
276
|
-
o.http_request_uri = "/"
|
277
|
-
o.input = Shapes::ShapeRef.new(shape: ListTagsForCertificateRequest)
|
278
|
-
o.output = Shapes::ShapeRef.new(shape: ListTagsForCertificateResponse)
|
279
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
280
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
281
|
-
end)
|
282
|
-
|
283
|
-
api.add_operation(:remove_tags_from_certificate, Seahorse::Model::Operation.new.tap do |o|
|
284
|
-
o.name = "RemoveTagsFromCertificate"
|
285
|
-
o.http_method = "POST"
|
286
|
-
o.http_request_uri = "/"
|
287
|
-
o.input = Shapes::ShapeRef.new(shape: RemoveTagsFromCertificateRequest)
|
288
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
289
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
290
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
291
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidTagException)
|
292
|
-
end)
|
293
|
-
|
294
|
-
api.add_operation(:request_certificate, Seahorse::Model::Operation.new.tap do |o|
|
295
|
-
o.name = "RequestCertificate"
|
296
|
-
o.http_method = "POST"
|
297
|
-
o.http_request_uri = "/"
|
298
|
-
o.input = Shapes::ShapeRef.new(shape: RequestCertificateRequest)
|
299
|
-
o.output = Shapes::ShapeRef.new(shape: RequestCertificateResponse)
|
300
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
301
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidDomainValidationOptionsException)
|
302
|
-
end)
|
303
|
-
|
304
|
-
api.add_operation(:resend_validation_email, Seahorse::Model::Operation.new.tap do |o|
|
305
|
-
o.name = "ResendValidationEmail"
|
306
|
-
o.http_method = "POST"
|
307
|
-
o.http_request_uri = "/"
|
308
|
-
o.input = Shapes::ShapeRef.new(shape: ResendValidationEmailRequest)
|
309
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
310
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
311
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
312
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
313
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidDomainValidationOptionsException)
|
314
|
-
end)
|
315
|
-
end
|
8
|
+
module Aws::ACM
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AddTagsToCertificateRequest = Shapes::StructureShape.new(name: 'AddTagsToCertificateRequest')
|
15
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
16
|
+
CertificateBody = Shapes::StringShape.new(name: 'CertificateBody')
|
17
|
+
CertificateBodyBlob = Shapes::BlobShape.new(name: 'CertificateBodyBlob')
|
18
|
+
CertificateChain = Shapes::StringShape.new(name: 'CertificateChain')
|
19
|
+
CertificateChainBlob = Shapes::BlobShape.new(name: 'CertificateChainBlob')
|
20
|
+
CertificateDetail = Shapes::StructureShape.new(name: 'CertificateDetail')
|
21
|
+
CertificateStatus = Shapes::StringShape.new(name: 'CertificateStatus')
|
22
|
+
CertificateStatuses = Shapes::ListShape.new(name: 'CertificateStatuses')
|
23
|
+
CertificateSummary = Shapes::StructureShape.new(name: 'CertificateSummary')
|
24
|
+
CertificateSummaryList = Shapes::ListShape.new(name: 'CertificateSummaryList')
|
25
|
+
CertificateType = Shapes::StringShape.new(name: 'CertificateType')
|
26
|
+
DeleteCertificateRequest = Shapes::StructureShape.new(name: 'DeleteCertificateRequest')
|
27
|
+
DescribeCertificateRequest = Shapes::StructureShape.new(name: 'DescribeCertificateRequest')
|
28
|
+
DescribeCertificateResponse = Shapes::StructureShape.new(name: 'DescribeCertificateResponse')
|
29
|
+
DomainList = Shapes::ListShape.new(name: 'DomainList')
|
30
|
+
DomainNameString = Shapes::StringShape.new(name: 'DomainNameString')
|
31
|
+
DomainStatus = Shapes::StringShape.new(name: 'DomainStatus')
|
32
|
+
DomainValidation = Shapes::StructureShape.new(name: 'DomainValidation')
|
33
|
+
DomainValidationList = Shapes::ListShape.new(name: 'DomainValidationList')
|
34
|
+
DomainValidationOption = Shapes::StructureShape.new(name: 'DomainValidationOption')
|
35
|
+
DomainValidationOptionList = Shapes::ListShape.new(name: 'DomainValidationOptionList')
|
36
|
+
FailureReason = Shapes::StringShape.new(name: 'FailureReason')
|
37
|
+
GetCertificateRequest = Shapes::StructureShape.new(name: 'GetCertificateRequest')
|
38
|
+
GetCertificateResponse = Shapes::StructureShape.new(name: 'GetCertificateResponse')
|
39
|
+
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
40
|
+
ImportCertificateRequest = Shapes::StructureShape.new(name: 'ImportCertificateRequest')
|
41
|
+
ImportCertificateResponse = Shapes::StructureShape.new(name: 'ImportCertificateResponse')
|
42
|
+
InUseList = Shapes::ListShape.new(name: 'InUseList')
|
43
|
+
InvalidArnException = Shapes::StructureShape.new(name: 'InvalidArnException')
|
44
|
+
InvalidDomainValidationOptionsException = Shapes::StructureShape.new(name: 'InvalidDomainValidationOptionsException')
|
45
|
+
InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
|
46
|
+
InvalidTagException = Shapes::StructureShape.new(name: 'InvalidTagException')
|
47
|
+
KeyAlgorithm = Shapes::StringShape.new(name: 'KeyAlgorithm')
|
48
|
+
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
49
|
+
ListCertificatesRequest = Shapes::StructureShape.new(name: 'ListCertificatesRequest')
|
50
|
+
ListCertificatesResponse = Shapes::StructureShape.new(name: 'ListCertificatesResponse')
|
51
|
+
ListTagsForCertificateRequest = Shapes::StructureShape.new(name: 'ListTagsForCertificateRequest')
|
52
|
+
ListTagsForCertificateResponse = Shapes::StructureShape.new(name: 'ListTagsForCertificateResponse')
|
53
|
+
MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
|
54
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
55
|
+
PrivateKeyBlob = Shapes::BlobShape.new(name: 'PrivateKeyBlob')
|
56
|
+
RemoveTagsFromCertificateRequest = Shapes::StructureShape.new(name: 'RemoveTagsFromCertificateRequest')
|
57
|
+
RenewalStatus = Shapes::StringShape.new(name: 'RenewalStatus')
|
58
|
+
RenewalSummary = Shapes::StructureShape.new(name: 'RenewalSummary')
|
59
|
+
RequestCertificateRequest = Shapes::StructureShape.new(name: 'RequestCertificateRequest')
|
60
|
+
RequestCertificateResponse = Shapes::StructureShape.new(name: 'RequestCertificateResponse')
|
61
|
+
RequestInProgressException = Shapes::StructureShape.new(name: 'RequestInProgressException')
|
62
|
+
ResendValidationEmailRequest = Shapes::StructureShape.new(name: 'ResendValidationEmailRequest')
|
63
|
+
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
64
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
65
|
+
RevocationReason = Shapes::StringShape.new(name: 'RevocationReason')
|
66
|
+
String = Shapes::StringShape.new(name: 'String')
|
67
|
+
TStamp = Shapes::TimestampShape.new(name: 'TStamp')
|
68
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
69
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
70
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
71
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
72
|
+
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
73
|
+
ValidationEmailList = Shapes::ListShape.new(name: 'ValidationEmailList')
|
74
|
+
|
75
|
+
AddTagsToCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
|
76
|
+
AddTagsToCertificateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
77
|
+
AddTagsToCertificateRequest.struct_class = Types::AddTagsToCertificateRequest
|
78
|
+
|
79
|
+
CertificateDetail.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateArn"))
|
80
|
+
CertificateDetail.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainNameString, location_name: "DomainName"))
|
81
|
+
CertificateDetail.add_member(:subject_alternative_names, Shapes::ShapeRef.new(shape: DomainList, location_name: "SubjectAlternativeNames"))
|
82
|
+
CertificateDetail.add_member(:domain_validation_options, Shapes::ShapeRef.new(shape: DomainValidationList, location_name: "DomainValidationOptions"))
|
83
|
+
CertificateDetail.add_member(:serial, Shapes::ShapeRef.new(shape: String, location_name: "Serial"))
|
84
|
+
CertificateDetail.add_member(:subject, Shapes::ShapeRef.new(shape: String, location_name: "Subject"))
|
85
|
+
CertificateDetail.add_member(:issuer, Shapes::ShapeRef.new(shape: String, location_name: "Issuer"))
|
86
|
+
CertificateDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreatedAt"))
|
87
|
+
CertificateDetail.add_member(:issued_at, Shapes::ShapeRef.new(shape: TStamp, location_name: "IssuedAt"))
|
88
|
+
CertificateDetail.add_member(:imported_at, Shapes::ShapeRef.new(shape: TStamp, location_name: "ImportedAt"))
|
89
|
+
CertificateDetail.add_member(:status, Shapes::ShapeRef.new(shape: CertificateStatus, location_name: "Status"))
|
90
|
+
CertificateDetail.add_member(:revoked_at, Shapes::ShapeRef.new(shape: TStamp, location_name: "RevokedAt"))
|
91
|
+
CertificateDetail.add_member(:revocation_reason, Shapes::ShapeRef.new(shape: RevocationReason, location_name: "RevocationReason"))
|
92
|
+
CertificateDetail.add_member(:not_before, Shapes::ShapeRef.new(shape: TStamp, location_name: "NotBefore"))
|
93
|
+
CertificateDetail.add_member(:not_after, Shapes::ShapeRef.new(shape: TStamp, location_name: "NotAfter"))
|
94
|
+
CertificateDetail.add_member(:key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, location_name: "KeyAlgorithm"))
|
95
|
+
CertificateDetail.add_member(:signature_algorithm, Shapes::ShapeRef.new(shape: String, location_name: "SignatureAlgorithm"))
|
96
|
+
CertificateDetail.add_member(:in_use_by, Shapes::ShapeRef.new(shape: InUseList, location_name: "InUseBy"))
|
97
|
+
CertificateDetail.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
98
|
+
CertificateDetail.add_member(:type, Shapes::ShapeRef.new(shape: CertificateType, location_name: "Type"))
|
99
|
+
CertificateDetail.add_member(:renewal_summary, Shapes::ShapeRef.new(shape: RenewalSummary, location_name: "RenewalSummary"))
|
100
|
+
CertificateDetail.struct_class = Types::CertificateDetail
|
101
|
+
|
102
|
+
CertificateStatuses.member = Shapes::ShapeRef.new(shape: CertificateStatus)
|
103
|
+
|
104
|
+
CertificateSummary.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateArn"))
|
105
|
+
CertificateSummary.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainNameString, location_name: "DomainName"))
|
106
|
+
CertificateSummary.struct_class = Types::CertificateSummary
|
107
|
+
|
108
|
+
CertificateSummaryList.member = Shapes::ShapeRef.new(shape: CertificateSummary)
|
109
|
+
|
110
|
+
DeleteCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
|
111
|
+
DeleteCertificateRequest.struct_class = Types::DeleteCertificateRequest
|
112
|
+
|
113
|
+
DescribeCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
|
114
|
+
DescribeCertificateRequest.struct_class = Types::DescribeCertificateRequest
|
115
|
+
|
116
|
+
DescribeCertificateResponse.add_member(:certificate, Shapes::ShapeRef.new(shape: CertificateDetail, location_name: "Certificate"))
|
117
|
+
DescribeCertificateResponse.struct_class = Types::DescribeCertificateResponse
|
118
|
+
|
119
|
+
DomainList.member = Shapes::ShapeRef.new(shape: DomainNameString)
|
120
|
+
|
121
|
+
DomainValidation.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainNameString, required: true, location_name: "DomainName"))
|
122
|
+
DomainValidation.add_member(:validation_emails, Shapes::ShapeRef.new(shape: ValidationEmailList, location_name: "ValidationEmails"))
|
123
|
+
DomainValidation.add_member(:validation_domain, Shapes::ShapeRef.new(shape: DomainNameString, location_name: "ValidationDomain"))
|
124
|
+
DomainValidation.add_member(:validation_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "ValidationStatus"))
|
125
|
+
DomainValidation.struct_class = Types::DomainValidation
|
126
|
+
|
127
|
+
DomainValidationList.member = Shapes::ShapeRef.new(shape: DomainValidation)
|
128
|
+
|
129
|
+
DomainValidationOption.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainNameString, required: true, location_name: "DomainName"))
|
130
|
+
DomainValidationOption.add_member(:validation_domain, Shapes::ShapeRef.new(shape: DomainNameString, required: true, location_name: "ValidationDomain"))
|
131
|
+
DomainValidationOption.struct_class = Types::DomainValidationOption
|
132
|
+
|
133
|
+
DomainValidationOptionList.member = Shapes::ShapeRef.new(shape: DomainValidationOption)
|
134
|
+
|
135
|
+
GetCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
|
136
|
+
GetCertificateRequest.struct_class = Types::GetCertificateRequest
|
137
|
+
|
138
|
+
GetCertificateResponse.add_member(:certificate, Shapes::ShapeRef.new(shape: CertificateBody, location_name: "Certificate"))
|
139
|
+
GetCertificateResponse.add_member(:certificate_chain, Shapes::ShapeRef.new(shape: CertificateChain, location_name: "CertificateChain"))
|
140
|
+
GetCertificateResponse.struct_class = Types::GetCertificateResponse
|
141
|
+
|
142
|
+
ImportCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateArn"))
|
143
|
+
ImportCertificateRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: CertificateBodyBlob, required: true, location_name: "Certificate"))
|
144
|
+
ImportCertificateRequest.add_member(:private_key, Shapes::ShapeRef.new(shape: PrivateKeyBlob, required: true, location_name: "PrivateKey"))
|
145
|
+
ImportCertificateRequest.add_member(:certificate_chain, Shapes::ShapeRef.new(shape: CertificateChainBlob, location_name: "CertificateChain"))
|
146
|
+
ImportCertificateRequest.struct_class = Types::ImportCertificateRequest
|
147
|
+
|
148
|
+
ImportCertificateResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateArn"))
|
149
|
+
ImportCertificateResponse.struct_class = Types::ImportCertificateResponse
|
150
|
+
|
151
|
+
InUseList.member = Shapes::ShapeRef.new(shape: String)
|
152
|
+
|
153
|
+
ListCertificatesRequest.add_member(:certificate_statuses, Shapes::ShapeRef.new(shape: CertificateStatuses, location_name: "CertificateStatuses"))
|
154
|
+
ListCertificatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
155
|
+
ListCertificatesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location_name: "MaxItems"))
|
156
|
+
ListCertificatesRequest.struct_class = Types::ListCertificatesRequest
|
157
|
+
|
158
|
+
ListCertificatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
159
|
+
ListCertificatesResponse.add_member(:certificate_summary_list, Shapes::ShapeRef.new(shape: CertificateSummaryList, location_name: "CertificateSummaryList"))
|
160
|
+
ListCertificatesResponse.struct_class = Types::ListCertificatesResponse
|
161
|
+
|
162
|
+
ListTagsForCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
|
163
|
+
ListTagsForCertificateRequest.struct_class = Types::ListTagsForCertificateRequest
|
164
|
+
|
165
|
+
ListTagsForCertificateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
166
|
+
ListTagsForCertificateResponse.struct_class = Types::ListTagsForCertificateResponse
|
167
|
+
|
168
|
+
RemoveTagsFromCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
|
169
|
+
RemoveTagsFromCertificateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
170
|
+
RemoveTagsFromCertificateRequest.struct_class = Types::RemoveTagsFromCertificateRequest
|
171
|
+
|
172
|
+
RenewalSummary.add_member(:renewal_status, Shapes::ShapeRef.new(shape: RenewalStatus, required: true, location_name: "RenewalStatus"))
|
173
|
+
RenewalSummary.add_member(:domain_validation_options, Shapes::ShapeRef.new(shape: DomainValidationList, required: true, location_name: "DomainValidationOptions"))
|
174
|
+
RenewalSummary.struct_class = Types::RenewalSummary
|
175
|
+
|
176
|
+
RequestCertificateRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainNameString, required: true, location_name: "DomainName"))
|
177
|
+
RequestCertificateRequest.add_member(:subject_alternative_names, Shapes::ShapeRef.new(shape: DomainList, location_name: "SubjectAlternativeNames"))
|
178
|
+
RequestCertificateRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "IdempotencyToken"))
|
179
|
+
RequestCertificateRequest.add_member(:domain_validation_options, Shapes::ShapeRef.new(shape: DomainValidationOptionList, location_name: "DomainValidationOptions"))
|
180
|
+
RequestCertificateRequest.struct_class = Types::RequestCertificateRequest
|
181
|
+
|
182
|
+
RequestCertificateResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateArn"))
|
183
|
+
RequestCertificateResponse.struct_class = Types::RequestCertificateResponse
|
184
|
+
|
185
|
+
ResendValidationEmailRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
|
186
|
+
ResendValidationEmailRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainNameString, required: true, location_name: "Domain"))
|
187
|
+
ResendValidationEmailRequest.add_member(:validation_domain, Shapes::ShapeRef.new(shape: DomainNameString, required: true, location_name: "ValidationDomain"))
|
188
|
+
ResendValidationEmailRequest.struct_class = Types::ResendValidationEmailRequest
|
189
|
+
|
190
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
191
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
192
|
+
Tag.struct_class = Types::Tag
|
316
193
|
|
194
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
195
|
+
|
196
|
+
ValidationEmailList.member = Shapes::ShapeRef.new(shape: String)
|
197
|
+
|
198
|
+
|
199
|
+
# @api private
|
200
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
201
|
+
|
202
|
+
api.version = "2015-12-08"
|
203
|
+
|
204
|
+
api.metadata = {
|
205
|
+
"endpointPrefix" => "acm",
|
206
|
+
"jsonVersion" => "1.1",
|
207
|
+
"protocol" => "json",
|
208
|
+
"serviceFullName" => "AWS Certificate Manager",
|
209
|
+
"signatureVersion" => "v4",
|
210
|
+
"targetPrefix" => "CertificateManager",
|
211
|
+
}
|
212
|
+
|
213
|
+
api.add_operation(:add_tags_to_certificate, Seahorse::Model::Operation.new.tap do |o|
|
214
|
+
o.name = "AddTagsToCertificate"
|
215
|
+
o.http_method = "POST"
|
216
|
+
o.http_request_uri = "/"
|
217
|
+
o.input = Shapes::ShapeRef.new(shape: AddTagsToCertificateRequest)
|
218
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
219
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
220
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
221
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagException)
|
222
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
223
|
+
end)
|
224
|
+
|
225
|
+
api.add_operation(:delete_certificate, Seahorse::Model::Operation.new.tap do |o|
|
226
|
+
o.name = "DeleteCertificate"
|
227
|
+
o.http_method = "POST"
|
228
|
+
o.http_request_uri = "/"
|
229
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCertificateRequest)
|
230
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
231
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
232
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
233
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
234
|
+
end)
|
235
|
+
|
236
|
+
api.add_operation(:describe_certificate, Seahorse::Model::Operation.new.tap do |o|
|
237
|
+
o.name = "DescribeCertificate"
|
238
|
+
o.http_method = "POST"
|
239
|
+
o.http_request_uri = "/"
|
240
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCertificateRequest)
|
241
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCertificateResponse)
|
242
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
243
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
244
|
+
end)
|
245
|
+
|
246
|
+
api.add_operation(:get_certificate, Seahorse::Model::Operation.new.tap do |o|
|
247
|
+
o.name = "GetCertificate"
|
248
|
+
o.http_method = "POST"
|
249
|
+
o.http_request_uri = "/"
|
250
|
+
o.input = Shapes::ShapeRef.new(shape: GetCertificateRequest)
|
251
|
+
o.output = Shapes::ShapeRef.new(shape: GetCertificateResponse)
|
252
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
253
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
254
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
255
|
+
end)
|
256
|
+
|
257
|
+
api.add_operation(:import_certificate, Seahorse::Model::Operation.new.tap do |o|
|
258
|
+
o.name = "ImportCertificate"
|
259
|
+
o.http_method = "POST"
|
260
|
+
o.http_request_uri = "/"
|
261
|
+
o.input = Shapes::ShapeRef.new(shape: ImportCertificateRequest)
|
262
|
+
o.output = Shapes::ShapeRef.new(shape: ImportCertificateResponse)
|
263
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
264
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
265
|
+
end)
|
266
|
+
|
267
|
+
api.add_operation(:list_certificates, Seahorse::Model::Operation.new.tap do |o|
|
268
|
+
o.name = "ListCertificates"
|
269
|
+
o.http_method = "POST"
|
270
|
+
o.http_request_uri = "/"
|
271
|
+
o.input = Shapes::ShapeRef.new(shape: ListCertificatesRequest)
|
272
|
+
o.output = Shapes::ShapeRef.new(shape: ListCertificatesResponse)
|
273
|
+
o[:pager] = Aws::Pager.new(
|
274
|
+
limit_key: "max_items",
|
275
|
+
tokens: {
|
276
|
+
"next_token" => "next_token"
|
277
|
+
}
|
278
|
+
)
|
279
|
+
end)
|
280
|
+
|
281
|
+
api.add_operation(:list_tags_for_certificate, Seahorse::Model::Operation.new.tap do |o|
|
282
|
+
o.name = "ListTagsForCertificate"
|
283
|
+
o.http_method = "POST"
|
284
|
+
o.http_request_uri = "/"
|
285
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForCertificateRequest)
|
286
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForCertificateResponse)
|
287
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
288
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
289
|
+
end)
|
290
|
+
|
291
|
+
api.add_operation(:remove_tags_from_certificate, Seahorse::Model::Operation.new.tap do |o|
|
292
|
+
o.name = "RemoveTagsFromCertificate"
|
293
|
+
o.http_method = "POST"
|
294
|
+
o.http_request_uri = "/"
|
295
|
+
o.input = Shapes::ShapeRef.new(shape: RemoveTagsFromCertificateRequest)
|
296
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
297
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
298
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
299
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagException)
|
300
|
+
end)
|
301
|
+
|
302
|
+
api.add_operation(:request_certificate, Seahorse::Model::Operation.new.tap do |o|
|
303
|
+
o.name = "RequestCertificate"
|
304
|
+
o.http_method = "POST"
|
305
|
+
o.http_request_uri = "/"
|
306
|
+
o.input = Shapes::ShapeRef.new(shape: RequestCertificateRequest)
|
307
|
+
o.output = Shapes::ShapeRef.new(shape: RequestCertificateResponse)
|
308
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
309
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDomainValidationOptionsException)
|
310
|
+
end)
|
311
|
+
|
312
|
+
api.add_operation(:resend_validation_email, Seahorse::Model::Operation.new.tap do |o|
|
313
|
+
o.name = "ResendValidationEmail"
|
314
|
+
o.http_method = "POST"
|
315
|
+
o.http_request_uri = "/"
|
316
|
+
o.input = Shapes::ShapeRef.new(shape: ResendValidationEmailRequest)
|
317
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
318
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
319
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
320
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
321
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDomainValidationOptionsException)
|
322
|
+
end)
|
317
323
|
end
|
324
|
+
|
318
325
|
end
|
319
326
|
end
|