aws-sdk-acmpca 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-acmpca.rb +47 -0
- data/lib/aws-sdk-acmpca/client.rb +1073 -0
- data/lib/aws-sdk-acmpca/client_api.rb +476 -0
- data/lib/aws-sdk-acmpca/customizations.rb +0 -0
- data/lib/aws-sdk-acmpca/errors.rb +14 -0
- data/lib/aws-sdk-acmpca/resource.rb +23 -0
- data/lib/aws-sdk-acmpca/types.rb +1234 -0
- metadata +82 -0
@@ -0,0 +1,476 @@
|
|
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/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::ACMPCA
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
ASN1Subject = Shapes::StructureShape.new(name: 'ASN1Subject')
|
15
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
16
|
+
AuditReportId = Shapes::StringShape.new(name: 'AuditReportId')
|
17
|
+
AuditReportResponseFormat = Shapes::StringShape.new(name: 'AuditReportResponseFormat')
|
18
|
+
AuditReportStatus = Shapes::StringShape.new(name: 'AuditReportStatus')
|
19
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
20
|
+
CertificateAuthorities = Shapes::ListShape.new(name: 'CertificateAuthorities')
|
21
|
+
CertificateAuthority = Shapes::StructureShape.new(name: 'CertificateAuthority')
|
22
|
+
CertificateAuthorityConfiguration = Shapes::StructureShape.new(name: 'CertificateAuthorityConfiguration')
|
23
|
+
CertificateAuthorityStatus = Shapes::StringShape.new(name: 'CertificateAuthorityStatus')
|
24
|
+
CertificateAuthorityType = Shapes::StringShape.new(name: 'CertificateAuthorityType')
|
25
|
+
CertificateBody = Shapes::StringShape.new(name: 'CertificateBody')
|
26
|
+
CertificateBodyBlob = Shapes::BlobShape.new(name: 'CertificateBodyBlob')
|
27
|
+
CertificateChain = Shapes::StringShape.new(name: 'CertificateChain')
|
28
|
+
CertificateChainBlob = Shapes::BlobShape.new(name: 'CertificateChainBlob')
|
29
|
+
CertificateMismatchException = Shapes::StructureShape.new(name: 'CertificateMismatchException')
|
30
|
+
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
31
|
+
CountryCodeString = Shapes::StringShape.new(name: 'CountryCodeString')
|
32
|
+
CreateCertificateAuthorityAuditReportRequest = Shapes::StructureShape.new(name: 'CreateCertificateAuthorityAuditReportRequest')
|
33
|
+
CreateCertificateAuthorityAuditReportResponse = Shapes::StructureShape.new(name: 'CreateCertificateAuthorityAuditReportResponse')
|
34
|
+
CreateCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'CreateCertificateAuthorityRequest')
|
35
|
+
CreateCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'CreateCertificateAuthorityResponse')
|
36
|
+
CrlConfiguration = Shapes::StructureShape.new(name: 'CrlConfiguration')
|
37
|
+
CsrBlob = Shapes::BlobShape.new(name: 'CsrBlob')
|
38
|
+
CsrBody = Shapes::StringShape.new(name: 'CsrBody')
|
39
|
+
DeleteCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'DeleteCertificateAuthorityRequest')
|
40
|
+
DescribeCertificateAuthorityAuditReportRequest = Shapes::StructureShape.new(name: 'DescribeCertificateAuthorityAuditReportRequest')
|
41
|
+
DescribeCertificateAuthorityAuditReportResponse = Shapes::StructureShape.new(name: 'DescribeCertificateAuthorityAuditReportResponse')
|
42
|
+
DescribeCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'DescribeCertificateAuthorityRequest')
|
43
|
+
DescribeCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'DescribeCertificateAuthorityResponse')
|
44
|
+
DistinguishedNameQualifierString = Shapes::StringShape.new(name: 'DistinguishedNameQualifierString')
|
45
|
+
FailureReason = Shapes::StringShape.new(name: 'FailureReason')
|
46
|
+
GetCertificateAuthorityCertificateRequest = Shapes::StructureShape.new(name: 'GetCertificateAuthorityCertificateRequest')
|
47
|
+
GetCertificateAuthorityCertificateResponse = Shapes::StructureShape.new(name: 'GetCertificateAuthorityCertificateResponse')
|
48
|
+
GetCertificateAuthorityCsrRequest = Shapes::StructureShape.new(name: 'GetCertificateAuthorityCsrRequest')
|
49
|
+
GetCertificateAuthorityCsrResponse = Shapes::StructureShape.new(name: 'GetCertificateAuthorityCsrResponse')
|
50
|
+
GetCertificateRequest = Shapes::StructureShape.new(name: 'GetCertificateRequest')
|
51
|
+
GetCertificateResponse = Shapes::StructureShape.new(name: 'GetCertificateResponse')
|
52
|
+
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
53
|
+
ImportCertificateAuthorityCertificateRequest = Shapes::StructureShape.new(name: 'ImportCertificateAuthorityCertificateRequest')
|
54
|
+
Integer1To5000 = Shapes::IntegerShape.new(name: 'Integer1To5000')
|
55
|
+
InvalidArgsException = Shapes::StructureShape.new(name: 'InvalidArgsException')
|
56
|
+
InvalidArnException = Shapes::StructureShape.new(name: 'InvalidArnException')
|
57
|
+
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
58
|
+
InvalidPolicyException = Shapes::StructureShape.new(name: 'InvalidPolicyException')
|
59
|
+
InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
|
60
|
+
InvalidTagException = Shapes::StructureShape.new(name: 'InvalidTagException')
|
61
|
+
IssueCertificateRequest = Shapes::StructureShape.new(name: 'IssueCertificateRequest')
|
62
|
+
IssueCertificateResponse = Shapes::StructureShape.new(name: 'IssueCertificateResponse')
|
63
|
+
KeyAlgorithm = Shapes::StringShape.new(name: 'KeyAlgorithm')
|
64
|
+
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
65
|
+
ListCertificateAuthoritiesRequest = Shapes::StructureShape.new(name: 'ListCertificateAuthoritiesRequest')
|
66
|
+
ListCertificateAuthoritiesResponse = Shapes::StructureShape.new(name: 'ListCertificateAuthoritiesResponse')
|
67
|
+
ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
|
68
|
+
ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
|
69
|
+
MalformedCSRException = Shapes::StructureShape.new(name: 'MalformedCSRException')
|
70
|
+
MalformedCertificateException = Shapes::StructureShape.new(name: 'MalformedCertificateException')
|
71
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
72
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
73
|
+
PositiveLong = Shapes::IntegerShape.new(name: 'PositiveLong')
|
74
|
+
RequestAlreadyProcessedException = Shapes::StructureShape.new(name: 'RequestAlreadyProcessedException')
|
75
|
+
RequestFailedException = Shapes::StructureShape.new(name: 'RequestFailedException')
|
76
|
+
RequestInProgressException = Shapes::StructureShape.new(name: 'RequestInProgressException')
|
77
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
78
|
+
RevocationConfiguration = Shapes::StructureShape.new(name: 'RevocationConfiguration')
|
79
|
+
RevocationReason = Shapes::StringShape.new(name: 'RevocationReason')
|
80
|
+
RevokeCertificateRequest = Shapes::StructureShape.new(name: 'RevokeCertificateRequest')
|
81
|
+
SigningAlgorithm = Shapes::StringShape.new(name: 'SigningAlgorithm')
|
82
|
+
String = Shapes::StringShape.new(name: 'String')
|
83
|
+
String128 = Shapes::StringShape.new(name: 'String128')
|
84
|
+
String16 = Shapes::StringShape.new(name: 'String16')
|
85
|
+
String253 = Shapes::StringShape.new(name: 'String253')
|
86
|
+
String3 = Shapes::StringShape.new(name: 'String3')
|
87
|
+
String3To255 = Shapes::StringShape.new(name: 'String3To255')
|
88
|
+
String40 = Shapes::StringShape.new(name: 'String40')
|
89
|
+
String5 = Shapes::StringShape.new(name: 'String5')
|
90
|
+
String64 = Shapes::StringShape.new(name: 'String64')
|
91
|
+
TStamp = Shapes::TimestampShape.new(name: 'TStamp')
|
92
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
93
|
+
TagCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'TagCertificateAuthorityRequest')
|
94
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
95
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
96
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
97
|
+
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
98
|
+
UntagCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'UntagCertificateAuthorityRequest')
|
99
|
+
UpdateCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'UpdateCertificateAuthorityRequest')
|
100
|
+
Validity = Shapes::StructureShape.new(name: 'Validity')
|
101
|
+
ValidityPeriodType = Shapes::StringShape.new(name: 'ValidityPeriodType')
|
102
|
+
|
103
|
+
ASN1Subject.add_member(:country, Shapes::ShapeRef.new(shape: CountryCodeString, location_name: "Country"))
|
104
|
+
ASN1Subject.add_member(:organization, Shapes::ShapeRef.new(shape: String64, location_name: "Organization"))
|
105
|
+
ASN1Subject.add_member(:organizational_unit, Shapes::ShapeRef.new(shape: String64, location_name: "OrganizationalUnit"))
|
106
|
+
ASN1Subject.add_member(:distinguished_name_qualifier, Shapes::ShapeRef.new(shape: DistinguishedNameQualifierString, location_name: "DistinguishedNameQualifier"))
|
107
|
+
ASN1Subject.add_member(:state, Shapes::ShapeRef.new(shape: String128, location_name: "State"))
|
108
|
+
ASN1Subject.add_member(:common_name, Shapes::ShapeRef.new(shape: String64, location_name: "CommonName"))
|
109
|
+
ASN1Subject.add_member(:serial_number, Shapes::ShapeRef.new(shape: String64, location_name: "SerialNumber"))
|
110
|
+
ASN1Subject.add_member(:locality, Shapes::ShapeRef.new(shape: String128, location_name: "Locality"))
|
111
|
+
ASN1Subject.add_member(:title, Shapes::ShapeRef.new(shape: String64, location_name: "Title"))
|
112
|
+
ASN1Subject.add_member(:surname, Shapes::ShapeRef.new(shape: String40, location_name: "Surname"))
|
113
|
+
ASN1Subject.add_member(:given_name, Shapes::ShapeRef.new(shape: String16, location_name: "GivenName"))
|
114
|
+
ASN1Subject.add_member(:initials, Shapes::ShapeRef.new(shape: String5, location_name: "Initials"))
|
115
|
+
ASN1Subject.add_member(:pseudonym, Shapes::ShapeRef.new(shape: String128, location_name: "Pseudonym"))
|
116
|
+
ASN1Subject.add_member(:generation_qualifier, Shapes::ShapeRef.new(shape: String3, location_name: "GenerationQualifier"))
|
117
|
+
ASN1Subject.struct_class = Types::ASN1Subject
|
118
|
+
|
119
|
+
CertificateAuthorities.member = Shapes::ShapeRef.new(shape: CertificateAuthority)
|
120
|
+
|
121
|
+
CertificateAuthority.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
122
|
+
CertificateAuthority.add_member(:created_at, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreatedAt"))
|
123
|
+
CertificateAuthority.add_member(:last_state_change_at, Shapes::ShapeRef.new(shape: TStamp, location_name: "LastStateChangeAt"))
|
124
|
+
CertificateAuthority.add_member(:type, Shapes::ShapeRef.new(shape: CertificateAuthorityType, location_name: "Type"))
|
125
|
+
CertificateAuthority.add_member(:serial, Shapes::ShapeRef.new(shape: String, location_name: "Serial"))
|
126
|
+
CertificateAuthority.add_member(:status, Shapes::ShapeRef.new(shape: CertificateAuthorityStatus, location_name: "Status"))
|
127
|
+
CertificateAuthority.add_member(:not_before, Shapes::ShapeRef.new(shape: TStamp, location_name: "NotBefore"))
|
128
|
+
CertificateAuthority.add_member(:not_after, Shapes::ShapeRef.new(shape: TStamp, location_name: "NotAfter"))
|
129
|
+
CertificateAuthority.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
130
|
+
CertificateAuthority.add_member(:certificate_authority_configuration, Shapes::ShapeRef.new(shape: CertificateAuthorityConfiguration, location_name: "CertificateAuthorityConfiguration"))
|
131
|
+
CertificateAuthority.add_member(:revocation_configuration, Shapes::ShapeRef.new(shape: RevocationConfiguration, location_name: "RevocationConfiguration"))
|
132
|
+
CertificateAuthority.struct_class = Types::CertificateAuthority
|
133
|
+
|
134
|
+
CertificateAuthorityConfiguration.add_member(:key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "KeyAlgorithm"))
|
135
|
+
CertificateAuthorityConfiguration.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithm, required: true, location_name: "SigningAlgorithm"))
|
136
|
+
CertificateAuthorityConfiguration.add_member(:subject, Shapes::ShapeRef.new(shape: ASN1Subject, required: true, location_name: "Subject"))
|
137
|
+
CertificateAuthorityConfiguration.struct_class = Types::CertificateAuthorityConfiguration
|
138
|
+
|
139
|
+
CreateCertificateAuthorityAuditReportRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
140
|
+
CreateCertificateAuthorityAuditReportRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketName"))
|
141
|
+
CreateCertificateAuthorityAuditReportRequest.add_member(:audit_report_response_format, Shapes::ShapeRef.new(shape: AuditReportResponseFormat, required: true, location_name: "AuditReportResponseFormat"))
|
142
|
+
CreateCertificateAuthorityAuditReportRequest.struct_class = Types::CreateCertificateAuthorityAuditReportRequest
|
143
|
+
|
144
|
+
CreateCertificateAuthorityAuditReportResponse.add_member(:audit_report_id, Shapes::ShapeRef.new(shape: AuditReportId, location_name: "AuditReportId"))
|
145
|
+
CreateCertificateAuthorityAuditReportResponse.add_member(:s3_key, Shapes::ShapeRef.new(shape: String, location_name: "S3Key"))
|
146
|
+
CreateCertificateAuthorityAuditReportResponse.struct_class = Types::CreateCertificateAuthorityAuditReportResponse
|
147
|
+
|
148
|
+
CreateCertificateAuthorityRequest.add_member(:certificate_authority_configuration, Shapes::ShapeRef.new(shape: CertificateAuthorityConfiguration, required: true, location_name: "CertificateAuthorityConfiguration"))
|
149
|
+
CreateCertificateAuthorityRequest.add_member(:revocation_configuration, Shapes::ShapeRef.new(shape: RevocationConfiguration, location_name: "RevocationConfiguration"))
|
150
|
+
CreateCertificateAuthorityRequest.add_member(:certificate_authority_type, Shapes::ShapeRef.new(shape: CertificateAuthorityType, required: true, location_name: "CertificateAuthorityType"))
|
151
|
+
CreateCertificateAuthorityRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "IdempotencyToken"))
|
152
|
+
CreateCertificateAuthorityRequest.struct_class = Types::CreateCertificateAuthorityRequest
|
153
|
+
|
154
|
+
CreateCertificateAuthorityResponse.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateAuthorityArn"))
|
155
|
+
CreateCertificateAuthorityResponse.struct_class = Types::CreateCertificateAuthorityResponse
|
156
|
+
|
157
|
+
CrlConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled", metadata: {"box"=>true}))
|
158
|
+
CrlConfiguration.add_member(:expiration_in_days, Shapes::ShapeRef.new(shape: Integer1To5000, location_name: "ExpirationInDays", metadata: {"box"=>true}))
|
159
|
+
CrlConfiguration.add_member(:custom_cname, Shapes::ShapeRef.new(shape: String253, location_name: "CustomCname"))
|
160
|
+
CrlConfiguration.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String3To255, location_name: "S3BucketName"))
|
161
|
+
CrlConfiguration.struct_class = Types::CrlConfiguration
|
162
|
+
|
163
|
+
DeleteCertificateAuthorityRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
164
|
+
DeleteCertificateAuthorityRequest.struct_class = Types::DeleteCertificateAuthorityRequest
|
165
|
+
|
166
|
+
DescribeCertificateAuthorityAuditReportRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
167
|
+
DescribeCertificateAuthorityAuditReportRequest.add_member(:audit_report_id, Shapes::ShapeRef.new(shape: AuditReportId, required: true, location_name: "AuditReportId"))
|
168
|
+
DescribeCertificateAuthorityAuditReportRequest.struct_class = Types::DescribeCertificateAuthorityAuditReportRequest
|
169
|
+
|
170
|
+
DescribeCertificateAuthorityAuditReportResponse.add_member(:audit_report_status, Shapes::ShapeRef.new(shape: AuditReportStatus, location_name: "AuditReportStatus"))
|
171
|
+
DescribeCertificateAuthorityAuditReportResponse.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "S3BucketName"))
|
172
|
+
DescribeCertificateAuthorityAuditReportResponse.add_member(:s3_key, Shapes::ShapeRef.new(shape: String, location_name: "S3Key"))
|
173
|
+
DescribeCertificateAuthorityAuditReportResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreatedAt"))
|
174
|
+
DescribeCertificateAuthorityAuditReportResponse.struct_class = Types::DescribeCertificateAuthorityAuditReportResponse
|
175
|
+
|
176
|
+
DescribeCertificateAuthorityRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
177
|
+
DescribeCertificateAuthorityRequest.struct_class = Types::DescribeCertificateAuthorityRequest
|
178
|
+
|
179
|
+
DescribeCertificateAuthorityResponse.add_member(:certificate_authority, Shapes::ShapeRef.new(shape: CertificateAuthority, location_name: "CertificateAuthority"))
|
180
|
+
DescribeCertificateAuthorityResponse.struct_class = Types::DescribeCertificateAuthorityResponse
|
181
|
+
|
182
|
+
GetCertificateAuthorityCertificateRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
183
|
+
GetCertificateAuthorityCertificateRequest.struct_class = Types::GetCertificateAuthorityCertificateRequest
|
184
|
+
|
185
|
+
GetCertificateAuthorityCertificateResponse.add_member(:certificate, Shapes::ShapeRef.new(shape: CertificateBody, location_name: "Certificate"))
|
186
|
+
GetCertificateAuthorityCertificateResponse.add_member(:certificate_chain, Shapes::ShapeRef.new(shape: CertificateChain, location_name: "CertificateChain"))
|
187
|
+
GetCertificateAuthorityCertificateResponse.struct_class = Types::GetCertificateAuthorityCertificateResponse
|
188
|
+
|
189
|
+
GetCertificateAuthorityCsrRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
190
|
+
GetCertificateAuthorityCsrRequest.struct_class = Types::GetCertificateAuthorityCsrRequest
|
191
|
+
|
192
|
+
GetCertificateAuthorityCsrResponse.add_member(:csr, Shapes::ShapeRef.new(shape: CsrBody, location_name: "Csr"))
|
193
|
+
GetCertificateAuthorityCsrResponse.struct_class = Types::GetCertificateAuthorityCsrResponse
|
194
|
+
|
195
|
+
GetCertificateRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
196
|
+
GetCertificateRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateArn"))
|
197
|
+
GetCertificateRequest.struct_class = Types::GetCertificateRequest
|
198
|
+
|
199
|
+
GetCertificateResponse.add_member(:certificate, Shapes::ShapeRef.new(shape: CertificateBody, location_name: "Certificate"))
|
200
|
+
GetCertificateResponse.add_member(:certificate_chain, Shapes::ShapeRef.new(shape: CertificateChain, location_name: "CertificateChain"))
|
201
|
+
GetCertificateResponse.struct_class = Types::GetCertificateResponse
|
202
|
+
|
203
|
+
ImportCertificateAuthorityCertificateRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
204
|
+
ImportCertificateAuthorityCertificateRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: CertificateBodyBlob, required: true, location_name: "Certificate"))
|
205
|
+
ImportCertificateAuthorityCertificateRequest.add_member(:certificate_chain, Shapes::ShapeRef.new(shape: CertificateChainBlob, required: true, location_name: "CertificateChain"))
|
206
|
+
ImportCertificateAuthorityCertificateRequest.struct_class = Types::ImportCertificateAuthorityCertificateRequest
|
207
|
+
|
208
|
+
IssueCertificateRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
209
|
+
IssueCertificateRequest.add_member(:csr, Shapes::ShapeRef.new(shape: CsrBlob, required: true, location_name: "Csr"))
|
210
|
+
IssueCertificateRequest.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithm, required: true, location_name: "SigningAlgorithm"))
|
211
|
+
IssueCertificateRequest.add_member(:validity, Shapes::ShapeRef.new(shape: Validity, required: true, location_name: "Validity"))
|
212
|
+
IssueCertificateRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "IdempotencyToken"))
|
213
|
+
IssueCertificateRequest.struct_class = Types::IssueCertificateRequest
|
214
|
+
|
215
|
+
IssueCertificateResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CertificateArn"))
|
216
|
+
IssueCertificateResponse.struct_class = Types::IssueCertificateResponse
|
217
|
+
|
218
|
+
ListCertificateAuthoritiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
219
|
+
ListCertificateAuthoritiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
220
|
+
ListCertificateAuthoritiesRequest.struct_class = Types::ListCertificateAuthoritiesRequest
|
221
|
+
|
222
|
+
ListCertificateAuthoritiesResponse.add_member(:certificate_authorities, Shapes::ShapeRef.new(shape: CertificateAuthorities, location_name: "CertificateAuthorities"))
|
223
|
+
ListCertificateAuthoritiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
224
|
+
ListCertificateAuthoritiesResponse.struct_class = Types::ListCertificateAuthoritiesResponse
|
225
|
+
|
226
|
+
ListTagsRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
227
|
+
ListTagsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
228
|
+
ListTagsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
229
|
+
ListTagsRequest.struct_class = Types::ListTagsRequest
|
230
|
+
|
231
|
+
ListTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
232
|
+
ListTagsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
233
|
+
ListTagsResponse.struct_class = Types::ListTagsResponse
|
234
|
+
|
235
|
+
RevocationConfiguration.add_member(:crl_configuration, Shapes::ShapeRef.new(shape: CrlConfiguration, location_name: "CrlConfiguration"))
|
236
|
+
RevocationConfiguration.struct_class = Types::RevocationConfiguration
|
237
|
+
|
238
|
+
RevokeCertificateRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
239
|
+
RevokeCertificateRequest.add_member(:certificate_serial, Shapes::ShapeRef.new(shape: String128, required: true, location_name: "CertificateSerial"))
|
240
|
+
RevokeCertificateRequest.add_member(:revocation_reason, Shapes::ShapeRef.new(shape: RevocationReason, required: true, location_name: "RevocationReason"))
|
241
|
+
RevokeCertificateRequest.struct_class = Types::RevokeCertificateRequest
|
242
|
+
|
243
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
244
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
245
|
+
Tag.struct_class = Types::Tag
|
246
|
+
|
247
|
+
TagCertificateAuthorityRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
248
|
+
TagCertificateAuthorityRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
249
|
+
TagCertificateAuthorityRequest.struct_class = Types::TagCertificateAuthorityRequest
|
250
|
+
|
251
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
252
|
+
|
253
|
+
UntagCertificateAuthorityRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
254
|
+
UntagCertificateAuthorityRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
255
|
+
UntagCertificateAuthorityRequest.struct_class = Types::UntagCertificateAuthorityRequest
|
256
|
+
|
257
|
+
UpdateCertificateAuthorityRequest.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CertificateAuthorityArn"))
|
258
|
+
UpdateCertificateAuthorityRequest.add_member(:revocation_configuration, Shapes::ShapeRef.new(shape: RevocationConfiguration, location_name: "RevocationConfiguration"))
|
259
|
+
UpdateCertificateAuthorityRequest.add_member(:status, Shapes::ShapeRef.new(shape: CertificateAuthorityStatus, location_name: "Status"))
|
260
|
+
UpdateCertificateAuthorityRequest.struct_class = Types::UpdateCertificateAuthorityRequest
|
261
|
+
|
262
|
+
Validity.add_member(:value, Shapes::ShapeRef.new(shape: PositiveLong, required: true, location_name: "Value", metadata: {"box"=>true}))
|
263
|
+
Validity.add_member(:type, Shapes::ShapeRef.new(shape: ValidityPeriodType, required: true, location_name: "Type"))
|
264
|
+
Validity.struct_class = Types::Validity
|
265
|
+
|
266
|
+
|
267
|
+
# @api private
|
268
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
269
|
+
|
270
|
+
api.version = "2017-08-22"
|
271
|
+
|
272
|
+
api.metadata = {
|
273
|
+
"endpointPrefix" => "acm-pca",
|
274
|
+
"jsonVersion" => "1.1",
|
275
|
+
"protocol" => "json",
|
276
|
+
"serviceFullName" => "AWS Certificate Manager Private Certificate Authority",
|
277
|
+
"signatureVersion" => "v4",
|
278
|
+
"targetPrefix" => "ACMPrivateCA",
|
279
|
+
}
|
280
|
+
|
281
|
+
api.add_operation(:create_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
282
|
+
o.name = "CreateCertificateAuthority"
|
283
|
+
o.http_method = "POST"
|
284
|
+
o.http_request_uri = "/"
|
285
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCertificateAuthorityRequest)
|
286
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCertificateAuthorityResponse)
|
287
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
|
288
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyException)
|
289
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
290
|
+
end)
|
291
|
+
|
292
|
+
api.add_operation(:create_certificate_authority_audit_report, Seahorse::Model::Operation.new.tap do |o|
|
293
|
+
o.name = "CreateCertificateAuthorityAuditReport"
|
294
|
+
o.http_method = "POST"
|
295
|
+
o.http_request_uri = "/"
|
296
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCertificateAuthorityAuditReportRequest)
|
297
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCertificateAuthorityAuditReportResponse)
|
298
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
299
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
300
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
301
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
302
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
|
303
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
304
|
+
end)
|
305
|
+
|
306
|
+
api.add_operation(:delete_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
307
|
+
o.name = "DeleteCertificateAuthority"
|
308
|
+
o.http_method = "POST"
|
309
|
+
o.http_request_uri = "/"
|
310
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCertificateAuthorityRequest)
|
311
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
312
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
313
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
314
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
315
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
316
|
+
end)
|
317
|
+
|
318
|
+
api.add_operation(:describe_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
319
|
+
o.name = "DescribeCertificateAuthority"
|
320
|
+
o.http_method = "POST"
|
321
|
+
o.http_request_uri = "/"
|
322
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCertificateAuthorityRequest)
|
323
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCertificateAuthorityResponse)
|
324
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
325
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
326
|
+
end)
|
327
|
+
|
328
|
+
api.add_operation(:describe_certificate_authority_audit_report, Seahorse::Model::Operation.new.tap do |o|
|
329
|
+
o.name = "DescribeCertificateAuthorityAuditReport"
|
330
|
+
o.http_method = "POST"
|
331
|
+
o.http_request_uri = "/"
|
332
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCertificateAuthorityAuditReportRequest)
|
333
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCertificateAuthorityAuditReportResponse)
|
334
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
335
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
|
336
|
+
end)
|
337
|
+
|
338
|
+
api.add_operation(:get_certificate, Seahorse::Model::Operation.new.tap do |o|
|
339
|
+
o.name = "GetCertificate"
|
340
|
+
o.http_method = "POST"
|
341
|
+
o.http_request_uri = "/"
|
342
|
+
o.input = Shapes::ShapeRef.new(shape: GetCertificateRequest)
|
343
|
+
o.output = Shapes::ShapeRef.new(shape: GetCertificateResponse)
|
344
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
345
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
346
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
347
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
348
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
349
|
+
end)
|
350
|
+
|
351
|
+
api.add_operation(:get_certificate_authority_certificate, Seahorse::Model::Operation.new.tap do |o|
|
352
|
+
o.name = "GetCertificateAuthorityCertificate"
|
353
|
+
o.http_method = "POST"
|
354
|
+
o.http_request_uri = "/"
|
355
|
+
o.input = Shapes::ShapeRef.new(shape: GetCertificateAuthorityCertificateRequest)
|
356
|
+
o.output = Shapes::ShapeRef.new(shape: GetCertificateAuthorityCertificateResponse)
|
357
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
358
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
360
|
+
end)
|
361
|
+
|
362
|
+
api.add_operation(:get_certificate_authority_csr, Seahorse::Model::Operation.new.tap do |o|
|
363
|
+
o.name = "GetCertificateAuthorityCsr"
|
364
|
+
o.http_method = "POST"
|
365
|
+
o.http_request_uri = "/"
|
366
|
+
o.input = Shapes::ShapeRef.new(shape: GetCertificateAuthorityCsrRequest)
|
367
|
+
o.output = Shapes::ShapeRef.new(shape: GetCertificateAuthorityCsrResponse)
|
368
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
369
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
370
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
371
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
372
|
+
end)
|
373
|
+
|
374
|
+
api.add_operation(:import_certificate_authority_certificate, Seahorse::Model::Operation.new.tap do |o|
|
375
|
+
o.name = "ImportCertificateAuthorityCertificate"
|
376
|
+
o.http_method = "POST"
|
377
|
+
o.http_request_uri = "/"
|
378
|
+
o.input = Shapes::ShapeRef.new(shape: ImportCertificateAuthorityCertificateRequest)
|
379
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
382
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
383
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
384
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
385
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedCertificateException)
|
386
|
+
o.errors << Shapes::ShapeRef.new(shape: CertificateMismatchException)
|
387
|
+
end)
|
388
|
+
|
389
|
+
api.add_operation(:issue_certificate, Seahorse::Model::Operation.new.tap do |o|
|
390
|
+
o.name = "IssueCertificate"
|
391
|
+
o.http_method = "POST"
|
392
|
+
o.http_request_uri = "/"
|
393
|
+
o.input = Shapes::ShapeRef.new(shape: IssueCertificateRequest)
|
394
|
+
o.output = Shapes::ShapeRef.new(shape: IssueCertificateResponse)
|
395
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
396
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
397
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
398
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
399
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
|
400
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedCSRException)
|
401
|
+
end)
|
402
|
+
|
403
|
+
api.add_operation(:list_certificate_authorities, Seahorse::Model::Operation.new.tap do |o|
|
404
|
+
o.name = "ListCertificateAuthorities"
|
405
|
+
o.http_method = "POST"
|
406
|
+
o.http_request_uri = "/"
|
407
|
+
o.input = Shapes::ShapeRef.new(shape: ListCertificateAuthoritiesRequest)
|
408
|
+
o.output = Shapes::ShapeRef.new(shape: ListCertificateAuthoritiesResponse)
|
409
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
410
|
+
end)
|
411
|
+
|
412
|
+
api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
|
413
|
+
o.name = "ListTags"
|
414
|
+
o.http_method = "POST"
|
415
|
+
o.http_request_uri = "/"
|
416
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsRequest)
|
417
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsResponse)
|
418
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
419
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
420
|
+
end)
|
421
|
+
|
422
|
+
api.add_operation(:revoke_certificate, Seahorse::Model::Operation.new.tap do |o|
|
423
|
+
o.name = "RevokeCertificate"
|
424
|
+
o.http_method = "POST"
|
425
|
+
o.http_request_uri = "/"
|
426
|
+
o.input = Shapes::ShapeRef.new(shape: RevokeCertificateRequest)
|
427
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestAlreadyProcessedException)
|
433
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestInProgressException)
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
435
|
+
end)
|
436
|
+
|
437
|
+
api.add_operation(:tag_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
438
|
+
o.name = "TagCertificateAuthority"
|
439
|
+
o.http_method = "POST"
|
440
|
+
o.http_request_uri = "/"
|
441
|
+
o.input = Shapes::ShapeRef.new(shape: TagCertificateAuthorityRequest)
|
442
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
445
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagException)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
447
|
+
end)
|
448
|
+
|
449
|
+
api.add_operation(:untag_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
450
|
+
o.name = "UntagCertificateAuthority"
|
451
|
+
o.http_method = "POST"
|
452
|
+
o.http_request_uri = "/"
|
453
|
+
o.input = Shapes::ShapeRef.new(shape: UntagCertificateAuthorityRequest)
|
454
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
455
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
456
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagException)
|
458
|
+
end)
|
459
|
+
|
460
|
+
api.add_operation(:update_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
|
461
|
+
o.name = "UpdateCertificateAuthority"
|
462
|
+
o.http_method = "POST"
|
463
|
+
o.http_request_uri = "/"
|
464
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateCertificateAuthorityRequest)
|
465
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
470
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
471
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyException)
|
472
|
+
end)
|
473
|
+
end
|
474
|
+
|
475
|
+
end
|
476
|
+
end
|