aws-sdk-acmpca 1.64.0 → 1.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-acmpca/client.rb +70 -46
- data/lib/aws-sdk-acmpca/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-acmpca.rb +1 -1
- data/sig/client.rbs +562 -0
- data/sig/errors.rbs +73 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +529 -0
- data/sig/waiters.rbs +45 -0
- metadata +9 -4
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,562 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module ACMPCA
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#initialize-instance_method
|
|
14
|
+
def self.new: (
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?active_endpoint_cache: bool,
|
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
20
|
+
?client_side_monitoring: bool,
|
|
21
|
+
?client_side_monitoring_client_id: String,
|
|
22
|
+
?client_side_monitoring_host: String,
|
|
23
|
+
?client_side_monitoring_port: Integer,
|
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
|
25
|
+
?convert_params: bool,
|
|
26
|
+
?correct_clock_skew: bool,
|
|
27
|
+
?defaults_mode: String,
|
|
28
|
+
?disable_host_prefix_injection: bool,
|
|
29
|
+
?disable_request_compression: bool,
|
|
30
|
+
?endpoint: String,
|
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
|
34
|
+
?endpoint_discovery: bool,
|
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
|
36
|
+
?log_formatter: untyped,
|
|
37
|
+
?log_level: Symbol,
|
|
38
|
+
?logger: untyped,
|
|
39
|
+
?max_attempts: Integer,
|
|
40
|
+
?profile: String,
|
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
|
42
|
+
?retry_backoff: Proc,
|
|
43
|
+
?retry_base_delay: Float,
|
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
45
|
+
?retry_limit: Integer,
|
|
46
|
+
?retry_max_delay: Integer,
|
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
48
|
+
?sdk_ua_app_id: String,
|
|
49
|
+
?secret_access_key: String,
|
|
50
|
+
?session_token: String,
|
|
51
|
+
?simple_json: bool,
|
|
52
|
+
?stub_responses: untyped,
|
|
53
|
+
?token_provider: untyped,
|
|
54
|
+
?use_dualstack_endpoint: bool,
|
|
55
|
+
?use_fips_endpoint: bool,
|
|
56
|
+
?validate_params: bool,
|
|
57
|
+
?endpoint_provider: untyped,
|
|
58
|
+
?http_proxy: String,
|
|
59
|
+
?http_open_timeout: (Float | Integer),
|
|
60
|
+
?http_read_timeout: (Float | Integer),
|
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
64
|
+
?http_wire_trace: bool,
|
|
65
|
+
?ssl_verify_peer: bool,
|
|
66
|
+
?ssl_ca_bundle: String,
|
|
67
|
+
?ssl_ca_directory: String,
|
|
68
|
+
?ssl_ca_store: String,
|
|
69
|
+
?on_chunk_received: Proc,
|
|
70
|
+
?on_chunk_sent: Proc,
|
|
71
|
+
?raise_response_errors: bool
|
|
72
|
+
) -> instance
|
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
interface _CreateCertificateAuthorityResponseSuccess
|
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCertificateAuthorityResponse]
|
|
78
|
+
def certificate_authority_arn: () -> ::String
|
|
79
|
+
end
|
|
80
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#create_certificate_authority-instance_method
|
|
81
|
+
def create_certificate_authority: (
|
|
82
|
+
certificate_authority_configuration: {
|
|
83
|
+
key_algorithm: ("RSA_2048" | "RSA_4096" | "EC_prime256v1" | "EC_secp384r1"),
|
|
84
|
+
signing_algorithm: ("SHA256WITHECDSA" | "SHA384WITHECDSA" | "SHA512WITHECDSA" | "SHA256WITHRSA" | "SHA384WITHRSA" | "SHA512WITHRSA"),
|
|
85
|
+
subject: {
|
|
86
|
+
country: ::String?,
|
|
87
|
+
organization: ::String?,
|
|
88
|
+
organizational_unit: ::String?,
|
|
89
|
+
distinguished_name_qualifier: ::String?,
|
|
90
|
+
state: ::String?,
|
|
91
|
+
common_name: ::String?,
|
|
92
|
+
serial_number: ::String?,
|
|
93
|
+
locality: ::String?,
|
|
94
|
+
title: ::String?,
|
|
95
|
+
surname: ::String?,
|
|
96
|
+
given_name: ::String?,
|
|
97
|
+
initials: ::String?,
|
|
98
|
+
pseudonym: ::String?,
|
|
99
|
+
generation_qualifier: ::String?,
|
|
100
|
+
custom_attributes: Array[
|
|
101
|
+
{
|
|
102
|
+
object_identifier: ::String,
|
|
103
|
+
value: ::String
|
|
104
|
+
},
|
|
105
|
+
]?
|
|
106
|
+
},
|
|
107
|
+
csr_extensions: {
|
|
108
|
+
key_usage: {
|
|
109
|
+
digital_signature: bool?,
|
|
110
|
+
non_repudiation: bool?,
|
|
111
|
+
key_encipherment: bool?,
|
|
112
|
+
data_encipherment: bool?,
|
|
113
|
+
key_agreement: bool?,
|
|
114
|
+
key_cert_sign: bool?,
|
|
115
|
+
crl_sign: bool?,
|
|
116
|
+
encipher_only: bool?,
|
|
117
|
+
decipher_only: bool?
|
|
118
|
+
}?,
|
|
119
|
+
subject_information_access: Array[
|
|
120
|
+
{
|
|
121
|
+
access_method: {
|
|
122
|
+
custom_object_identifier: ::String?,
|
|
123
|
+
access_method_type: ("CA_REPOSITORY" | "RESOURCE_PKI_MANIFEST" | "RESOURCE_PKI_NOTIFY")?
|
|
124
|
+
},
|
|
125
|
+
access_location: {
|
|
126
|
+
other_name: {
|
|
127
|
+
type_id: ::String,
|
|
128
|
+
value: ::String
|
|
129
|
+
}?,
|
|
130
|
+
rfc_822_name: ::String?,
|
|
131
|
+
dns_name: ::String?,
|
|
132
|
+
directory_name: {
|
|
133
|
+
country: ::String?,
|
|
134
|
+
organization: ::String?,
|
|
135
|
+
organizational_unit: ::String?,
|
|
136
|
+
distinguished_name_qualifier: ::String?,
|
|
137
|
+
state: ::String?,
|
|
138
|
+
common_name: ::String?,
|
|
139
|
+
serial_number: ::String?,
|
|
140
|
+
locality: ::String?,
|
|
141
|
+
title: ::String?,
|
|
142
|
+
surname: ::String?,
|
|
143
|
+
given_name: ::String?,
|
|
144
|
+
initials: ::String?,
|
|
145
|
+
pseudonym: ::String?,
|
|
146
|
+
generation_qualifier: ::String?,
|
|
147
|
+
custom_attributes: Array[
|
|
148
|
+
{
|
|
149
|
+
object_identifier: ::String,
|
|
150
|
+
value: ::String
|
|
151
|
+
},
|
|
152
|
+
]?
|
|
153
|
+
}?,
|
|
154
|
+
edi_party_name: {
|
|
155
|
+
party_name: ::String,
|
|
156
|
+
name_assigner: ::String?
|
|
157
|
+
}?,
|
|
158
|
+
uniform_resource_identifier: ::String?,
|
|
159
|
+
ip_address: ::String?,
|
|
160
|
+
registered_id: ::String?
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
]?
|
|
164
|
+
}?
|
|
165
|
+
},
|
|
166
|
+
?revocation_configuration: {
|
|
167
|
+
crl_configuration: {
|
|
168
|
+
enabled: bool,
|
|
169
|
+
expiration_in_days: ::Integer?,
|
|
170
|
+
custom_cname: ::String?,
|
|
171
|
+
s3_bucket_name: ::String?,
|
|
172
|
+
s3_object_acl: ("PUBLIC_READ" | "BUCKET_OWNER_FULL_CONTROL")?,
|
|
173
|
+
crl_distribution_point_extension_configuration: {
|
|
174
|
+
omit_extension: bool
|
|
175
|
+
}?
|
|
176
|
+
}?,
|
|
177
|
+
ocsp_configuration: {
|
|
178
|
+
enabled: bool,
|
|
179
|
+
ocsp_custom_cname: ::String?
|
|
180
|
+
}?
|
|
181
|
+
},
|
|
182
|
+
certificate_authority_type: ("ROOT" | "SUBORDINATE"),
|
|
183
|
+
?idempotency_token: ::String,
|
|
184
|
+
?key_storage_security_standard: ("FIPS_140_2_LEVEL_2_OR_HIGHER" | "FIPS_140_2_LEVEL_3_OR_HIGHER"),
|
|
185
|
+
?tags: Array[
|
|
186
|
+
{
|
|
187
|
+
key: ::String,
|
|
188
|
+
value: ::String?
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
?usage_mode: ("GENERAL_PURPOSE" | "SHORT_LIVED_CERTIFICATE")
|
|
192
|
+
) -> _CreateCertificateAuthorityResponseSuccess
|
|
193
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCertificateAuthorityResponseSuccess
|
|
194
|
+
|
|
195
|
+
interface _CreateCertificateAuthorityAuditReportResponseSuccess
|
|
196
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCertificateAuthorityAuditReportResponse]
|
|
197
|
+
def audit_report_id: () -> ::String
|
|
198
|
+
def s3_key: () -> ::String
|
|
199
|
+
end
|
|
200
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#create_certificate_authority_audit_report-instance_method
|
|
201
|
+
def create_certificate_authority_audit_report: (
|
|
202
|
+
certificate_authority_arn: ::String,
|
|
203
|
+
s3_bucket_name: ::String,
|
|
204
|
+
audit_report_response_format: ("JSON" | "CSV")
|
|
205
|
+
) -> _CreateCertificateAuthorityAuditReportResponseSuccess
|
|
206
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCertificateAuthorityAuditReportResponseSuccess
|
|
207
|
+
|
|
208
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#create_permission-instance_method
|
|
209
|
+
def create_permission: (
|
|
210
|
+
certificate_authority_arn: ::String,
|
|
211
|
+
principal: ::String,
|
|
212
|
+
?source_account: ::String,
|
|
213
|
+
actions: Array[("IssueCertificate" | "GetCertificate" | "ListPermissions")]
|
|
214
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
215
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
216
|
+
|
|
217
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#delete_certificate_authority-instance_method
|
|
218
|
+
def delete_certificate_authority: (
|
|
219
|
+
certificate_authority_arn: ::String,
|
|
220
|
+
?permanent_deletion_time_in_days: ::Integer
|
|
221
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
222
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
223
|
+
|
|
224
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#delete_permission-instance_method
|
|
225
|
+
def delete_permission: (
|
|
226
|
+
certificate_authority_arn: ::String,
|
|
227
|
+
principal: ::String,
|
|
228
|
+
?source_account: ::String
|
|
229
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
230
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
231
|
+
|
|
232
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#delete_policy-instance_method
|
|
233
|
+
def delete_policy: (
|
|
234
|
+
resource_arn: ::String
|
|
235
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
236
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
237
|
+
|
|
238
|
+
interface _DescribeCertificateAuthorityResponseSuccess
|
|
239
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCertificateAuthorityResponse]
|
|
240
|
+
def certificate_authority: () -> Types::CertificateAuthority
|
|
241
|
+
end
|
|
242
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#describe_certificate_authority-instance_method
|
|
243
|
+
def describe_certificate_authority: (
|
|
244
|
+
certificate_authority_arn: ::String
|
|
245
|
+
) -> _DescribeCertificateAuthorityResponseSuccess
|
|
246
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCertificateAuthorityResponseSuccess
|
|
247
|
+
|
|
248
|
+
interface _DescribeCertificateAuthorityAuditReportResponseSuccess
|
|
249
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCertificateAuthorityAuditReportResponse]
|
|
250
|
+
def audit_report_status: () -> ("CREATING" | "SUCCESS" | "FAILED")
|
|
251
|
+
def s3_bucket_name: () -> ::String
|
|
252
|
+
def s3_key: () -> ::String
|
|
253
|
+
def created_at: () -> ::Time
|
|
254
|
+
end
|
|
255
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#describe_certificate_authority_audit_report-instance_method
|
|
256
|
+
def describe_certificate_authority_audit_report: (
|
|
257
|
+
certificate_authority_arn: ::String,
|
|
258
|
+
audit_report_id: ::String
|
|
259
|
+
) -> _DescribeCertificateAuthorityAuditReportResponseSuccess
|
|
260
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCertificateAuthorityAuditReportResponseSuccess
|
|
261
|
+
|
|
262
|
+
interface _GetCertificateResponseSuccess
|
|
263
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCertificateResponse]
|
|
264
|
+
def certificate: () -> ::String
|
|
265
|
+
def certificate_chain: () -> ::String
|
|
266
|
+
end
|
|
267
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#get_certificate-instance_method
|
|
268
|
+
def get_certificate: (
|
|
269
|
+
certificate_authority_arn: ::String,
|
|
270
|
+
certificate_arn: ::String
|
|
271
|
+
) -> _GetCertificateResponseSuccess
|
|
272
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCertificateResponseSuccess
|
|
273
|
+
|
|
274
|
+
interface _GetCertificateAuthorityCertificateResponseSuccess
|
|
275
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCertificateAuthorityCertificateResponse]
|
|
276
|
+
def certificate: () -> ::String
|
|
277
|
+
def certificate_chain: () -> ::String
|
|
278
|
+
end
|
|
279
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#get_certificate_authority_certificate-instance_method
|
|
280
|
+
def get_certificate_authority_certificate: (
|
|
281
|
+
certificate_authority_arn: ::String
|
|
282
|
+
) -> _GetCertificateAuthorityCertificateResponseSuccess
|
|
283
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCertificateAuthorityCertificateResponseSuccess
|
|
284
|
+
|
|
285
|
+
interface _GetCertificateAuthorityCsrResponseSuccess
|
|
286
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCertificateAuthorityCsrResponse]
|
|
287
|
+
def csr: () -> ::String
|
|
288
|
+
end
|
|
289
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#get_certificate_authority_csr-instance_method
|
|
290
|
+
def get_certificate_authority_csr: (
|
|
291
|
+
certificate_authority_arn: ::String
|
|
292
|
+
) -> _GetCertificateAuthorityCsrResponseSuccess
|
|
293
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCertificateAuthorityCsrResponseSuccess
|
|
294
|
+
|
|
295
|
+
interface _GetPolicyResponseSuccess
|
|
296
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyResponse]
|
|
297
|
+
def policy: () -> ::String
|
|
298
|
+
end
|
|
299
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#get_policy-instance_method
|
|
300
|
+
def get_policy: (
|
|
301
|
+
resource_arn: ::String
|
|
302
|
+
) -> _GetPolicyResponseSuccess
|
|
303
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyResponseSuccess
|
|
304
|
+
|
|
305
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#import_certificate_authority_certificate-instance_method
|
|
306
|
+
def import_certificate_authority_certificate: (
|
|
307
|
+
certificate_authority_arn: ::String,
|
|
308
|
+
certificate: ::String,
|
|
309
|
+
?certificate_chain: ::String
|
|
310
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
311
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
312
|
+
|
|
313
|
+
interface _IssueCertificateResponseSuccess
|
|
314
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::IssueCertificateResponse]
|
|
315
|
+
def certificate_arn: () -> ::String
|
|
316
|
+
end
|
|
317
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#issue_certificate-instance_method
|
|
318
|
+
def issue_certificate: (
|
|
319
|
+
?api_passthrough: {
|
|
320
|
+
extensions: {
|
|
321
|
+
certificate_policies: Array[
|
|
322
|
+
{
|
|
323
|
+
cert_policy_id: ::String,
|
|
324
|
+
policy_qualifiers: Array[
|
|
325
|
+
{
|
|
326
|
+
policy_qualifier_id: ("CPS"),
|
|
327
|
+
qualifier: {
|
|
328
|
+
cps_uri: ::String
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
]?
|
|
332
|
+
},
|
|
333
|
+
]?,
|
|
334
|
+
extended_key_usage: Array[
|
|
335
|
+
{
|
|
336
|
+
extended_key_usage_type: ("SERVER_AUTH" | "CLIENT_AUTH" | "CODE_SIGNING" | "EMAIL_PROTECTION" | "TIME_STAMPING" | "OCSP_SIGNING" | "SMART_CARD_LOGIN" | "DOCUMENT_SIGNING" | "CERTIFICATE_TRANSPARENCY")?,
|
|
337
|
+
extended_key_usage_object_identifier: ::String?
|
|
338
|
+
},
|
|
339
|
+
]?,
|
|
340
|
+
key_usage: {
|
|
341
|
+
digital_signature: bool?,
|
|
342
|
+
non_repudiation: bool?,
|
|
343
|
+
key_encipherment: bool?,
|
|
344
|
+
data_encipherment: bool?,
|
|
345
|
+
key_agreement: bool?,
|
|
346
|
+
key_cert_sign: bool?,
|
|
347
|
+
crl_sign: bool?,
|
|
348
|
+
encipher_only: bool?,
|
|
349
|
+
decipher_only: bool?
|
|
350
|
+
}?,
|
|
351
|
+
subject_alternative_names: Array[
|
|
352
|
+
{
|
|
353
|
+
other_name: {
|
|
354
|
+
type_id: ::String,
|
|
355
|
+
value: ::String
|
|
356
|
+
}?,
|
|
357
|
+
rfc_822_name: ::String?,
|
|
358
|
+
dns_name: ::String?,
|
|
359
|
+
directory_name: {
|
|
360
|
+
country: ::String?,
|
|
361
|
+
organization: ::String?,
|
|
362
|
+
organizational_unit: ::String?,
|
|
363
|
+
distinguished_name_qualifier: ::String?,
|
|
364
|
+
state: ::String?,
|
|
365
|
+
common_name: ::String?,
|
|
366
|
+
serial_number: ::String?,
|
|
367
|
+
locality: ::String?,
|
|
368
|
+
title: ::String?,
|
|
369
|
+
surname: ::String?,
|
|
370
|
+
given_name: ::String?,
|
|
371
|
+
initials: ::String?,
|
|
372
|
+
pseudonym: ::String?,
|
|
373
|
+
generation_qualifier: ::String?,
|
|
374
|
+
custom_attributes: Array[
|
|
375
|
+
{
|
|
376
|
+
object_identifier: ::String,
|
|
377
|
+
value: ::String
|
|
378
|
+
},
|
|
379
|
+
]?
|
|
380
|
+
}?,
|
|
381
|
+
edi_party_name: {
|
|
382
|
+
party_name: ::String,
|
|
383
|
+
name_assigner: ::String?
|
|
384
|
+
}?,
|
|
385
|
+
uniform_resource_identifier: ::String?,
|
|
386
|
+
ip_address: ::String?,
|
|
387
|
+
registered_id: ::String?
|
|
388
|
+
},
|
|
389
|
+
]?,
|
|
390
|
+
custom_extensions: Array[
|
|
391
|
+
{
|
|
392
|
+
object_identifier: ::String,
|
|
393
|
+
value: ::String,
|
|
394
|
+
critical: bool?
|
|
395
|
+
},
|
|
396
|
+
]?
|
|
397
|
+
}?,
|
|
398
|
+
subject: {
|
|
399
|
+
country: ::String?,
|
|
400
|
+
organization: ::String?,
|
|
401
|
+
organizational_unit: ::String?,
|
|
402
|
+
distinguished_name_qualifier: ::String?,
|
|
403
|
+
state: ::String?,
|
|
404
|
+
common_name: ::String?,
|
|
405
|
+
serial_number: ::String?,
|
|
406
|
+
locality: ::String?,
|
|
407
|
+
title: ::String?,
|
|
408
|
+
surname: ::String?,
|
|
409
|
+
given_name: ::String?,
|
|
410
|
+
initials: ::String?,
|
|
411
|
+
pseudonym: ::String?,
|
|
412
|
+
generation_qualifier: ::String?,
|
|
413
|
+
custom_attributes: Array[
|
|
414
|
+
{
|
|
415
|
+
object_identifier: ::String,
|
|
416
|
+
value: ::String
|
|
417
|
+
},
|
|
418
|
+
]?
|
|
419
|
+
}?
|
|
420
|
+
},
|
|
421
|
+
certificate_authority_arn: ::String,
|
|
422
|
+
csr: ::String,
|
|
423
|
+
signing_algorithm: ("SHA256WITHECDSA" | "SHA384WITHECDSA" | "SHA512WITHECDSA" | "SHA256WITHRSA" | "SHA384WITHRSA" | "SHA512WITHRSA"),
|
|
424
|
+
?template_arn: ::String,
|
|
425
|
+
validity: {
|
|
426
|
+
value: ::Integer,
|
|
427
|
+
type: ("END_DATE" | "ABSOLUTE" | "DAYS" | "MONTHS" | "YEARS")
|
|
428
|
+
},
|
|
429
|
+
?validity_not_before: {
|
|
430
|
+
value: ::Integer,
|
|
431
|
+
type: ("END_DATE" | "ABSOLUTE" | "DAYS" | "MONTHS" | "YEARS")
|
|
432
|
+
},
|
|
433
|
+
?idempotency_token: ::String
|
|
434
|
+
) -> _IssueCertificateResponseSuccess
|
|
435
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _IssueCertificateResponseSuccess
|
|
436
|
+
|
|
437
|
+
interface _ListCertificateAuthoritiesResponseSuccess
|
|
438
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCertificateAuthoritiesResponse]
|
|
439
|
+
def certificate_authorities: () -> ::Array[Types::CertificateAuthority]
|
|
440
|
+
def next_token: () -> ::String
|
|
441
|
+
end
|
|
442
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#list_certificate_authorities-instance_method
|
|
443
|
+
def list_certificate_authorities: (
|
|
444
|
+
?next_token: ::String,
|
|
445
|
+
?max_results: ::Integer,
|
|
446
|
+
?resource_owner: ("SELF" | "OTHER_ACCOUNTS")
|
|
447
|
+
) -> _ListCertificateAuthoritiesResponseSuccess
|
|
448
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCertificateAuthoritiesResponseSuccess
|
|
449
|
+
|
|
450
|
+
interface _ListPermissionsResponseSuccess
|
|
451
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPermissionsResponse]
|
|
452
|
+
def permissions: () -> ::Array[Types::Permission]
|
|
453
|
+
def next_token: () -> ::String
|
|
454
|
+
end
|
|
455
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#list_permissions-instance_method
|
|
456
|
+
def list_permissions: (
|
|
457
|
+
certificate_authority_arn: ::String,
|
|
458
|
+
?next_token: ::String,
|
|
459
|
+
?max_results: ::Integer
|
|
460
|
+
) -> _ListPermissionsResponseSuccess
|
|
461
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPermissionsResponseSuccess
|
|
462
|
+
|
|
463
|
+
interface _ListTagsResponseSuccess
|
|
464
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsResponse]
|
|
465
|
+
def tags: () -> ::Array[Types::Tag]
|
|
466
|
+
def next_token: () -> ::String
|
|
467
|
+
end
|
|
468
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#list_tags-instance_method
|
|
469
|
+
def list_tags: (
|
|
470
|
+
certificate_authority_arn: ::String,
|
|
471
|
+
?next_token: ::String,
|
|
472
|
+
?max_results: ::Integer
|
|
473
|
+
) -> _ListTagsResponseSuccess
|
|
474
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsResponseSuccess
|
|
475
|
+
|
|
476
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#put_policy-instance_method
|
|
477
|
+
def put_policy: (
|
|
478
|
+
resource_arn: ::String,
|
|
479
|
+
policy: ::String
|
|
480
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
481
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
482
|
+
|
|
483
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#restore_certificate_authority-instance_method
|
|
484
|
+
def restore_certificate_authority: (
|
|
485
|
+
certificate_authority_arn: ::String
|
|
486
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
487
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
488
|
+
|
|
489
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#revoke_certificate-instance_method
|
|
490
|
+
def revoke_certificate: (
|
|
491
|
+
certificate_authority_arn: ::String,
|
|
492
|
+
certificate_serial: ::String,
|
|
493
|
+
revocation_reason: ("UNSPECIFIED" | "KEY_COMPROMISE" | "CERTIFICATE_AUTHORITY_COMPROMISE" | "AFFILIATION_CHANGED" | "SUPERSEDED" | "CESSATION_OF_OPERATION" | "PRIVILEGE_WITHDRAWN" | "A_A_COMPROMISE")
|
|
494
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
495
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
496
|
+
|
|
497
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#tag_certificate_authority-instance_method
|
|
498
|
+
def tag_certificate_authority: (
|
|
499
|
+
certificate_authority_arn: ::String,
|
|
500
|
+
tags: Array[
|
|
501
|
+
{
|
|
502
|
+
key: ::String,
|
|
503
|
+
value: ::String?
|
|
504
|
+
},
|
|
505
|
+
]
|
|
506
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
507
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
508
|
+
|
|
509
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#untag_certificate_authority-instance_method
|
|
510
|
+
def untag_certificate_authority: (
|
|
511
|
+
certificate_authority_arn: ::String,
|
|
512
|
+
tags: Array[
|
|
513
|
+
{
|
|
514
|
+
key: ::String,
|
|
515
|
+
value: ::String?
|
|
516
|
+
},
|
|
517
|
+
]
|
|
518
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
519
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
520
|
+
|
|
521
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#update_certificate_authority-instance_method
|
|
522
|
+
def update_certificate_authority: (
|
|
523
|
+
certificate_authority_arn: ::String,
|
|
524
|
+
?revocation_configuration: {
|
|
525
|
+
crl_configuration: {
|
|
526
|
+
enabled: bool,
|
|
527
|
+
expiration_in_days: ::Integer?,
|
|
528
|
+
custom_cname: ::String?,
|
|
529
|
+
s3_bucket_name: ::String?,
|
|
530
|
+
s3_object_acl: ("PUBLIC_READ" | "BUCKET_OWNER_FULL_CONTROL")?,
|
|
531
|
+
crl_distribution_point_extension_configuration: {
|
|
532
|
+
omit_extension: bool
|
|
533
|
+
}?
|
|
534
|
+
}?,
|
|
535
|
+
ocsp_configuration: {
|
|
536
|
+
enabled: bool,
|
|
537
|
+
ocsp_custom_cname: ::String?
|
|
538
|
+
}?
|
|
539
|
+
},
|
|
540
|
+
?status: ("CREATING" | "PENDING_CERTIFICATE" | "ACTIVE" | "DELETED" | "DISABLED" | "EXPIRED" | "FAILED")
|
|
541
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
542
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
543
|
+
|
|
544
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ACMPCA/Client.html#wait_until-instance_method
|
|
545
|
+
def wait_until: (:audit_report_created waiter_name,
|
|
546
|
+
certificate_authority_arn: ::String,
|
|
547
|
+
audit_report_id: ::String
|
|
548
|
+
) -> Client::_DescribeCertificateAuthorityAuditReportResponseSuccess
|
|
549
|
+
| (:audit_report_created waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeCertificateAuthorityAuditReportResponseSuccess
|
|
550
|
+
| (:certificate_authority_csr_created waiter_name,
|
|
551
|
+
certificate_authority_arn: ::String
|
|
552
|
+
) -> Client::_GetCertificateAuthorityCsrResponseSuccess
|
|
553
|
+
| (:certificate_authority_csr_created waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetCertificateAuthorityCsrResponseSuccess
|
|
554
|
+
| (:certificate_issued waiter_name,
|
|
555
|
+
certificate_authority_arn: ::String,
|
|
556
|
+
certificate_arn: ::String
|
|
557
|
+
) -> Client::_GetCertificateResponseSuccess
|
|
558
|
+
| (:certificate_issued waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetCertificateResponseSuccess
|
|
559
|
+
end
|
|
560
|
+
end
|
|
561
|
+
end
|
|
562
|
+
|
data/sig/errors.rbs
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module ACMPCA
|
|
10
|
+
module Errors
|
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
class CertificateMismatchException < ::Aws::Errors::ServiceError
|
|
15
|
+
def message: () -> ::String
|
|
16
|
+
end
|
|
17
|
+
class ConcurrentModificationException < ::Aws::Errors::ServiceError
|
|
18
|
+
def message: () -> ::String
|
|
19
|
+
end
|
|
20
|
+
class InvalidArgsException < ::Aws::Errors::ServiceError
|
|
21
|
+
def message: () -> ::String
|
|
22
|
+
end
|
|
23
|
+
class InvalidArnException < ::Aws::Errors::ServiceError
|
|
24
|
+
def message: () -> ::String
|
|
25
|
+
end
|
|
26
|
+
class InvalidNextTokenException < ::Aws::Errors::ServiceError
|
|
27
|
+
def message: () -> ::String
|
|
28
|
+
end
|
|
29
|
+
class InvalidPolicyException < ::Aws::Errors::ServiceError
|
|
30
|
+
def message: () -> ::String
|
|
31
|
+
end
|
|
32
|
+
class InvalidRequestException < ::Aws::Errors::ServiceError
|
|
33
|
+
def message: () -> ::String
|
|
34
|
+
end
|
|
35
|
+
class InvalidStateException < ::Aws::Errors::ServiceError
|
|
36
|
+
def message: () -> ::String
|
|
37
|
+
end
|
|
38
|
+
class InvalidTagException < ::Aws::Errors::ServiceError
|
|
39
|
+
def message: () -> ::String
|
|
40
|
+
end
|
|
41
|
+
class LimitExceededException < ::Aws::Errors::ServiceError
|
|
42
|
+
def message: () -> ::String
|
|
43
|
+
end
|
|
44
|
+
class LockoutPreventedException < ::Aws::Errors::ServiceError
|
|
45
|
+
def message: () -> ::String
|
|
46
|
+
end
|
|
47
|
+
class MalformedCSRException < ::Aws::Errors::ServiceError
|
|
48
|
+
def message: () -> ::String
|
|
49
|
+
end
|
|
50
|
+
class MalformedCertificateException < ::Aws::Errors::ServiceError
|
|
51
|
+
def message: () -> ::String
|
|
52
|
+
end
|
|
53
|
+
class PermissionAlreadyExistsException < ::Aws::Errors::ServiceError
|
|
54
|
+
def message: () -> ::String
|
|
55
|
+
end
|
|
56
|
+
class RequestAlreadyProcessedException < ::Aws::Errors::ServiceError
|
|
57
|
+
def message: () -> ::String
|
|
58
|
+
end
|
|
59
|
+
class RequestFailedException < ::Aws::Errors::ServiceError
|
|
60
|
+
def message: () -> ::String
|
|
61
|
+
end
|
|
62
|
+
class RequestInProgressException < ::Aws::Errors::ServiceError
|
|
63
|
+
def message: () -> ::String
|
|
64
|
+
end
|
|
65
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
|
66
|
+
def message: () -> ::String
|
|
67
|
+
end
|
|
68
|
+
class TooManyTagsException < ::Aws::Errors::ServiceError
|
|
69
|
+
def message: () -> ::String
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|