1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5type AccessMethodType string
6
7// Enum values for AccessMethodType
8const (
9	AccessMethodTypeCaRepository        AccessMethodType = "CA_REPOSITORY"
10	AccessMethodTypeResourcePkiManifest AccessMethodType = "RESOURCE_PKI_MANIFEST"
11	AccessMethodTypeResourcePkiNotify   AccessMethodType = "RESOURCE_PKI_NOTIFY"
12)
13
14// Values returns all known values for AccessMethodType. Note that this can be
15// expanded in the future, and so it is only as up to date as the client. The
16// ordering of this slice is not guaranteed to be stable across updates.
17func (AccessMethodType) Values() []AccessMethodType {
18	return []AccessMethodType{
19		"CA_REPOSITORY",
20		"RESOURCE_PKI_MANIFEST",
21		"RESOURCE_PKI_NOTIFY",
22	}
23}
24
25type ActionType string
26
27// Enum values for ActionType
28const (
29	ActionTypeIssueCertificate ActionType = "IssueCertificate"
30	ActionTypeGetCertificate   ActionType = "GetCertificate"
31	ActionTypeListPermissions  ActionType = "ListPermissions"
32)
33
34// Values returns all known values for ActionType. Note that this can be expanded
35// in the future, and so it is only as up to date as the client. The ordering of
36// this slice is not guaranteed to be stable across updates.
37func (ActionType) Values() []ActionType {
38	return []ActionType{
39		"IssueCertificate",
40		"GetCertificate",
41		"ListPermissions",
42	}
43}
44
45type AuditReportResponseFormat string
46
47// Enum values for AuditReportResponseFormat
48const (
49	AuditReportResponseFormatJson AuditReportResponseFormat = "JSON"
50	AuditReportResponseFormatCsv  AuditReportResponseFormat = "CSV"
51)
52
53// Values returns all known values for AuditReportResponseFormat. Note that this
54// can be expanded in the future, and so it is only as up to date as the client.
55// The ordering of this slice is not guaranteed to be stable across updates.
56func (AuditReportResponseFormat) Values() []AuditReportResponseFormat {
57	return []AuditReportResponseFormat{
58		"JSON",
59		"CSV",
60	}
61}
62
63type AuditReportStatus string
64
65// Enum values for AuditReportStatus
66const (
67	AuditReportStatusCreating AuditReportStatus = "CREATING"
68	AuditReportStatusSuccess  AuditReportStatus = "SUCCESS"
69	AuditReportStatusFailed   AuditReportStatus = "FAILED"
70)
71
72// Values returns all known values for AuditReportStatus. Note that this can be
73// expanded in the future, and so it is only as up to date as the client. The
74// ordering of this slice is not guaranteed to be stable across updates.
75func (AuditReportStatus) Values() []AuditReportStatus {
76	return []AuditReportStatus{
77		"CREATING",
78		"SUCCESS",
79		"FAILED",
80	}
81}
82
83type CertificateAuthorityStatus string
84
85// Enum values for CertificateAuthorityStatus
86const (
87	CertificateAuthorityStatusCreating           CertificateAuthorityStatus = "CREATING"
88	CertificateAuthorityStatusPendingCertificate CertificateAuthorityStatus = "PENDING_CERTIFICATE"
89	CertificateAuthorityStatusActive             CertificateAuthorityStatus = "ACTIVE"
90	CertificateAuthorityStatusDeleted            CertificateAuthorityStatus = "DELETED"
91	CertificateAuthorityStatusDisabled           CertificateAuthorityStatus = "DISABLED"
92	CertificateAuthorityStatusExpired            CertificateAuthorityStatus = "EXPIRED"
93	CertificateAuthorityStatusFailed             CertificateAuthorityStatus = "FAILED"
94)
95
96// Values returns all known values for CertificateAuthorityStatus. Note that this
97// can be expanded in the future, and so it is only as up to date as the client.
98// The ordering of this slice is not guaranteed to be stable across updates.
99func (CertificateAuthorityStatus) Values() []CertificateAuthorityStatus {
100	return []CertificateAuthorityStatus{
101		"CREATING",
102		"PENDING_CERTIFICATE",
103		"ACTIVE",
104		"DELETED",
105		"DISABLED",
106		"EXPIRED",
107		"FAILED",
108	}
109}
110
111type CertificateAuthorityType string
112
113// Enum values for CertificateAuthorityType
114const (
115	CertificateAuthorityTypeRoot        CertificateAuthorityType = "ROOT"
116	CertificateAuthorityTypeSubordinate CertificateAuthorityType = "SUBORDINATE"
117)
118
119// Values returns all known values for CertificateAuthorityType. Note that this can
120// be expanded in the future, and so it is only as up to date as the client. The
121// ordering of this slice is not guaranteed to be stable across updates.
122func (CertificateAuthorityType) Values() []CertificateAuthorityType {
123	return []CertificateAuthorityType{
124		"ROOT",
125		"SUBORDINATE",
126	}
127}
128
129type ExtendedKeyUsageType string
130
131// Enum values for ExtendedKeyUsageType
132const (
133	ExtendedKeyUsageTypeServerAuth              ExtendedKeyUsageType = "SERVER_AUTH"
134	ExtendedKeyUsageTypeClientAuth              ExtendedKeyUsageType = "CLIENT_AUTH"
135	ExtendedKeyUsageTypeCodeSigning             ExtendedKeyUsageType = "CODE_SIGNING"
136	ExtendedKeyUsageTypeEmailProtection         ExtendedKeyUsageType = "EMAIL_PROTECTION"
137	ExtendedKeyUsageTypeTimeStamping            ExtendedKeyUsageType = "TIME_STAMPING"
138	ExtendedKeyUsageTypeOcspSigning             ExtendedKeyUsageType = "OCSP_SIGNING"
139	ExtendedKeyUsageTypeSmartCardLogin          ExtendedKeyUsageType = "SMART_CARD_LOGIN"
140	ExtendedKeyUsageTypeDocumentSigning         ExtendedKeyUsageType = "DOCUMENT_SIGNING"
141	ExtendedKeyUsageTypeCertificateTransparency ExtendedKeyUsageType = "CERTIFICATE_TRANSPARENCY"
142)
143
144// Values returns all known values for ExtendedKeyUsageType. Note that this can be
145// expanded in the future, and so it is only as up to date as the client. The
146// ordering of this slice is not guaranteed to be stable across updates.
147func (ExtendedKeyUsageType) Values() []ExtendedKeyUsageType {
148	return []ExtendedKeyUsageType{
149		"SERVER_AUTH",
150		"CLIENT_AUTH",
151		"CODE_SIGNING",
152		"EMAIL_PROTECTION",
153		"TIME_STAMPING",
154		"OCSP_SIGNING",
155		"SMART_CARD_LOGIN",
156		"DOCUMENT_SIGNING",
157		"CERTIFICATE_TRANSPARENCY",
158	}
159}
160
161type FailureReason string
162
163// Enum values for FailureReason
164const (
165	FailureReasonRequestTimedOut      FailureReason = "REQUEST_TIMED_OUT"
166	FailureReasonUnsupportedAlgorithm FailureReason = "UNSUPPORTED_ALGORITHM"
167	FailureReasonOther                FailureReason = "OTHER"
168)
169
170// Values returns all known values for FailureReason. Note that this can be
171// expanded in the future, and so it is only as up to date as the client. The
172// ordering of this slice is not guaranteed to be stable across updates.
173func (FailureReason) Values() []FailureReason {
174	return []FailureReason{
175		"REQUEST_TIMED_OUT",
176		"UNSUPPORTED_ALGORITHM",
177		"OTHER",
178	}
179}
180
181type KeyAlgorithm string
182
183// Enum values for KeyAlgorithm
184const (
185	KeyAlgorithmRsa2048      KeyAlgorithm = "RSA_2048"
186	KeyAlgorithmRsa4096      KeyAlgorithm = "RSA_4096"
187	KeyAlgorithmEcPrime256v1 KeyAlgorithm = "EC_prime256v1"
188	KeyAlgorithmEcSecp384r1  KeyAlgorithm = "EC_secp384r1"
189)
190
191// Values returns all known values for KeyAlgorithm. Note that this can be expanded
192// in the future, and so it is only as up to date as the client. The ordering of
193// this slice is not guaranteed to be stable across updates.
194func (KeyAlgorithm) Values() []KeyAlgorithm {
195	return []KeyAlgorithm{
196		"RSA_2048",
197		"RSA_4096",
198		"EC_prime256v1",
199		"EC_secp384r1",
200	}
201}
202
203type PolicyQualifierId string
204
205// Enum values for PolicyQualifierId
206const (
207	PolicyQualifierIdCps PolicyQualifierId = "CPS"
208)
209
210// Values returns all known values for PolicyQualifierId. Note that this can be
211// expanded in the future, and so it is only as up to date as the client. The
212// ordering of this slice is not guaranteed to be stable across updates.
213func (PolicyQualifierId) Values() []PolicyQualifierId {
214	return []PolicyQualifierId{
215		"CPS",
216	}
217}
218
219type ResourceOwner string
220
221// Enum values for ResourceOwner
222const (
223	ResourceOwnerSelf          ResourceOwner = "SELF"
224	ResourceOwnerOtherAccounts ResourceOwner = "OTHER_ACCOUNTS"
225)
226
227// Values returns all known values for ResourceOwner. Note that this can be
228// expanded in the future, and so it is only as up to date as the client. The
229// ordering of this slice is not guaranteed to be stable across updates.
230func (ResourceOwner) Values() []ResourceOwner {
231	return []ResourceOwner{
232		"SELF",
233		"OTHER_ACCOUNTS",
234	}
235}
236
237type RevocationReason string
238
239// Enum values for RevocationReason
240const (
241	RevocationReasonUnspecified                    RevocationReason = "UNSPECIFIED"
242	RevocationReasonKeyCompromise                  RevocationReason = "KEY_COMPROMISE"
243	RevocationReasonCertificateAuthorityCompromise RevocationReason = "CERTIFICATE_AUTHORITY_COMPROMISE"
244	RevocationReasonAffiliationChanged             RevocationReason = "AFFILIATION_CHANGED"
245	RevocationReasonSuperseded                     RevocationReason = "SUPERSEDED"
246	RevocationReasonCessationOfOperation           RevocationReason = "CESSATION_OF_OPERATION"
247	RevocationReasonPrivilegeWithdrawn             RevocationReason = "PRIVILEGE_WITHDRAWN"
248	RevocationReasonAACompromise                   RevocationReason = "A_A_COMPROMISE"
249)
250
251// Values returns all known values for RevocationReason. Note that this can be
252// expanded in the future, and so it is only as up to date as the client. The
253// ordering of this slice is not guaranteed to be stable across updates.
254func (RevocationReason) Values() []RevocationReason {
255	return []RevocationReason{
256		"UNSPECIFIED",
257		"KEY_COMPROMISE",
258		"CERTIFICATE_AUTHORITY_COMPROMISE",
259		"AFFILIATION_CHANGED",
260		"SUPERSEDED",
261		"CESSATION_OF_OPERATION",
262		"PRIVILEGE_WITHDRAWN",
263		"A_A_COMPROMISE",
264	}
265}
266
267type SigningAlgorithm string
268
269// Enum values for SigningAlgorithm
270const (
271	SigningAlgorithmSha256withecdsa SigningAlgorithm = "SHA256WITHECDSA"
272	SigningAlgorithmSha384withecdsa SigningAlgorithm = "SHA384WITHECDSA"
273	SigningAlgorithmSha512withecdsa SigningAlgorithm = "SHA512WITHECDSA"
274	SigningAlgorithmSha256withrsa   SigningAlgorithm = "SHA256WITHRSA"
275	SigningAlgorithmSha384withrsa   SigningAlgorithm = "SHA384WITHRSA"
276	SigningAlgorithmSha512withrsa   SigningAlgorithm = "SHA512WITHRSA"
277)
278
279// Values returns all known values for SigningAlgorithm. Note that this can be
280// expanded in the future, and so it is only as up to date as the client. The
281// ordering of this slice is not guaranteed to be stable across updates.
282func (SigningAlgorithm) Values() []SigningAlgorithm {
283	return []SigningAlgorithm{
284		"SHA256WITHECDSA",
285		"SHA384WITHECDSA",
286		"SHA512WITHECDSA",
287		"SHA256WITHRSA",
288		"SHA384WITHRSA",
289		"SHA512WITHRSA",
290	}
291}
292
293type ValidityPeriodType string
294
295// Enum values for ValidityPeriodType
296const (
297	ValidityPeriodTypeEndDate  ValidityPeriodType = "END_DATE"
298	ValidityPeriodTypeAbsolute ValidityPeriodType = "ABSOLUTE"
299	ValidityPeriodTypeDays     ValidityPeriodType = "DAYS"
300	ValidityPeriodTypeMonths   ValidityPeriodType = "MONTHS"
301	ValidityPeriodTypeYears    ValidityPeriodType = "YEARS"
302)
303
304// Values returns all known values for ValidityPeriodType. Note that this can be
305// expanded in the future, and so it is only as up to date as the client. The
306// ordering of this slice is not guaranteed to be stable across updates.
307func (ValidityPeriodType) Values() []ValidityPeriodType {
308	return []ValidityPeriodType{
309		"END_DATE",
310		"ABSOLUTE",
311		"DAYS",
312		"MONTHS",
313		"YEARS",
314	}
315}
316