1 2 3 4 5 6 7 8 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 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AccessMethodType string
// Enum values for AccessMethodType
const (
AccessMethodTypeCaRepository AccessMethodType = "CA_REPOSITORY"
AccessMethodTypeResourcePkiManifest AccessMethodType = "RESOURCE_PKI_MANIFEST"
AccessMethodTypeResourcePkiNotify AccessMethodType = "RESOURCE_PKI_NOTIFY"
)
// Values returns all known values for AccessMethodType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (AccessMethodType) Values() []AccessMethodType {
return []AccessMethodType{
"CA_REPOSITORY",
"RESOURCE_PKI_MANIFEST",
"RESOURCE_PKI_NOTIFY",
}
}
type ActionType string
// Enum values for ActionType
const (
ActionTypeIssueCertificate ActionType = "IssueCertificate"
ActionTypeGetCertificate ActionType = "GetCertificate"
ActionTypeListPermissions ActionType = "ListPermissions"
)
// Values returns all known values for ActionType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (ActionType) Values() []ActionType {
return []ActionType{
"IssueCertificate",
"GetCertificate",
"ListPermissions",
}
}
type AuditReportResponseFormat string
// Enum values for AuditReportResponseFormat
const (
AuditReportResponseFormatJson AuditReportResponseFormat = "JSON"
AuditReportResponseFormatCsv AuditReportResponseFormat = "CSV"
)
// Values returns all known values for AuditReportResponseFormat. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (AuditReportResponseFormat) Values() []AuditReportResponseFormat {
return []AuditReportResponseFormat{
"JSON",
"CSV",
}
}
type AuditReportStatus string
// Enum values for AuditReportStatus
const (
AuditReportStatusCreating AuditReportStatus = "CREATING"
AuditReportStatusSuccess AuditReportStatus = "SUCCESS"
AuditReportStatusFailed AuditReportStatus = "FAILED"
)
// Values returns all known values for AuditReportStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (AuditReportStatus) Values() []AuditReportStatus {
return []AuditReportStatus{
"CREATING",
"SUCCESS",
"FAILED",
}
}
type CertificateAuthorityStatus string
// Enum values for CertificateAuthorityStatus
const (
CertificateAuthorityStatusCreating CertificateAuthorityStatus = "CREATING"
CertificateAuthorityStatusPendingCertificate CertificateAuthorityStatus = "PENDING_CERTIFICATE"
CertificateAuthorityStatusActive CertificateAuthorityStatus = "ACTIVE"
CertificateAuthorityStatusDeleted CertificateAuthorityStatus = "DELETED"
CertificateAuthorityStatusDisabled CertificateAuthorityStatus = "DISABLED"
CertificateAuthorityStatusExpired CertificateAuthorityStatus = "EXPIRED"
CertificateAuthorityStatusFailed CertificateAuthorityStatus = "FAILED"
)
// Values returns all known values for CertificateAuthorityStatus. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (CertificateAuthorityStatus) Values() []CertificateAuthorityStatus {
return []CertificateAuthorityStatus{
"CREATING",
"PENDING_CERTIFICATE",
"ACTIVE",
"DELETED",
"DISABLED",
"EXPIRED",
"FAILED",
}
}
type CertificateAuthorityType string
// Enum values for CertificateAuthorityType
const (
CertificateAuthorityTypeRoot CertificateAuthorityType = "ROOT"
CertificateAuthorityTypeSubordinate CertificateAuthorityType = "SUBORDINATE"
)
// Values returns all known values for CertificateAuthorityType. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (CertificateAuthorityType) Values() []CertificateAuthorityType {
return []CertificateAuthorityType{
"ROOT",
"SUBORDINATE",
}
}
type CertificateAuthorityUsageMode string
// Enum values for CertificateAuthorityUsageMode
const (
CertificateAuthorityUsageModeGeneralPurpose CertificateAuthorityUsageMode = "GENERAL_PURPOSE"
CertificateAuthorityUsageModeShortLivedCertificate CertificateAuthorityUsageMode = "SHORT_LIVED_CERTIFICATE"
)
// Values returns all known values for CertificateAuthorityUsageMode. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (CertificateAuthorityUsageMode) Values() []CertificateAuthorityUsageMode {
return []CertificateAuthorityUsageMode{
"GENERAL_PURPOSE",
"SHORT_LIVED_CERTIFICATE",
}
}
type ExtendedKeyUsageType string
// Enum values for ExtendedKeyUsageType
const (
ExtendedKeyUsageTypeServerAuth ExtendedKeyUsageType = "SERVER_AUTH"
ExtendedKeyUsageTypeClientAuth ExtendedKeyUsageType = "CLIENT_AUTH"
ExtendedKeyUsageTypeCodeSigning ExtendedKeyUsageType = "CODE_SIGNING"
ExtendedKeyUsageTypeEmailProtection ExtendedKeyUsageType = "EMAIL_PROTECTION"
ExtendedKeyUsageTypeTimeStamping ExtendedKeyUsageType = "TIME_STAMPING"
ExtendedKeyUsageTypeOcspSigning ExtendedKeyUsageType = "OCSP_SIGNING"
ExtendedKeyUsageTypeSmartCardLogin ExtendedKeyUsageType = "SMART_CARD_LOGIN"
ExtendedKeyUsageTypeDocumentSigning ExtendedKeyUsageType = "DOCUMENT_SIGNING"
ExtendedKeyUsageTypeCertificateTransparency ExtendedKeyUsageType = "CERTIFICATE_TRANSPARENCY"
)
// Values returns all known values for ExtendedKeyUsageType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ExtendedKeyUsageType) Values() []ExtendedKeyUsageType {
return []ExtendedKeyUsageType{
"SERVER_AUTH",
"CLIENT_AUTH",
"CODE_SIGNING",
"EMAIL_PROTECTION",
"TIME_STAMPING",
"OCSP_SIGNING",
"SMART_CARD_LOGIN",
"DOCUMENT_SIGNING",
"CERTIFICATE_TRANSPARENCY",
}
}
type FailureReason string
// Enum values for FailureReason
const (
FailureReasonRequestTimedOut FailureReason = "REQUEST_TIMED_OUT"
FailureReasonUnsupportedAlgorithm FailureReason = "UNSUPPORTED_ALGORITHM"
FailureReasonOther FailureReason = "OTHER"
)
// Values returns all known values for FailureReason. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (FailureReason) Values() []FailureReason {
return []FailureReason{
"REQUEST_TIMED_OUT",
"UNSUPPORTED_ALGORITHM",
"OTHER",
}
}
type KeyAlgorithm string
// Enum values for KeyAlgorithm
const (
KeyAlgorithmRsa2048 KeyAlgorithm = "RSA_2048"
KeyAlgorithmRsa4096 KeyAlgorithm = "RSA_4096"
KeyAlgorithmEcPrime256v1 KeyAlgorithm = "EC_prime256v1"
KeyAlgorithmEcSecp384r1 KeyAlgorithm = "EC_secp384r1"
)
// Values returns all known values for KeyAlgorithm. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (KeyAlgorithm) Values() []KeyAlgorithm {
return []KeyAlgorithm{
"RSA_2048",
"RSA_4096",
"EC_prime256v1",
"EC_secp384r1",
}
}
type KeyStorageSecurityStandard string
// Enum values for KeyStorageSecurityStandard
const (
KeyStorageSecurityStandardFips1402Level2OrHigher KeyStorageSecurityStandard = "FIPS_140_2_LEVEL_2_OR_HIGHER"
KeyStorageSecurityStandardFips1402Level3OrHigher KeyStorageSecurityStandard = "FIPS_140_2_LEVEL_3_OR_HIGHER"
)
// Values returns all known values for KeyStorageSecurityStandard. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (KeyStorageSecurityStandard) Values() []KeyStorageSecurityStandard {
return []KeyStorageSecurityStandard{
"FIPS_140_2_LEVEL_2_OR_HIGHER",
"FIPS_140_2_LEVEL_3_OR_HIGHER",
}
}
type PolicyQualifierId string
// Enum values for PolicyQualifierId
const (
PolicyQualifierIdCps PolicyQualifierId = "CPS"
)
// Values returns all known values for PolicyQualifierId. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (PolicyQualifierId) Values() []PolicyQualifierId {
return []PolicyQualifierId{
"CPS",
}
}
type ResourceOwner string
// Enum values for ResourceOwner
const (
ResourceOwnerSelf ResourceOwner = "SELF"
ResourceOwnerOtherAccounts ResourceOwner = "OTHER_ACCOUNTS"
)
// Values returns all known values for ResourceOwner. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ResourceOwner) Values() []ResourceOwner {
return []ResourceOwner{
"SELF",
"OTHER_ACCOUNTS",
}
}
type RevocationReason string
// Enum values for RevocationReason
const (
RevocationReasonUnspecified RevocationReason = "UNSPECIFIED"
RevocationReasonKeyCompromise RevocationReason = "KEY_COMPROMISE"
RevocationReasonCertificateAuthorityCompromise RevocationReason = "CERTIFICATE_AUTHORITY_COMPROMISE"
RevocationReasonAffiliationChanged RevocationReason = "AFFILIATION_CHANGED"
RevocationReasonSuperseded RevocationReason = "SUPERSEDED"
RevocationReasonCessationOfOperation RevocationReason = "CESSATION_OF_OPERATION"
RevocationReasonPrivilegeWithdrawn RevocationReason = "PRIVILEGE_WITHDRAWN"
RevocationReasonAACompromise RevocationReason = "A_A_COMPROMISE"
)
// Values returns all known values for RevocationReason. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (RevocationReason) Values() []RevocationReason {
return []RevocationReason{
"UNSPECIFIED",
"KEY_COMPROMISE",
"CERTIFICATE_AUTHORITY_COMPROMISE",
"AFFILIATION_CHANGED",
"SUPERSEDED",
"CESSATION_OF_OPERATION",
"PRIVILEGE_WITHDRAWN",
"A_A_COMPROMISE",
}
}
type S3ObjectAcl string
// Enum values for S3ObjectAcl
const (
S3ObjectAclPublicRead S3ObjectAcl = "PUBLIC_READ"
S3ObjectAclBucketOwnerFullControl S3ObjectAcl = "BUCKET_OWNER_FULL_CONTROL"
)
// Values returns all known values for S3ObjectAcl. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (S3ObjectAcl) Values() []S3ObjectAcl {
return []S3ObjectAcl{
"PUBLIC_READ",
"BUCKET_OWNER_FULL_CONTROL",
}
}
type SigningAlgorithm string
// Enum values for SigningAlgorithm
const (
SigningAlgorithmSha256withecdsa SigningAlgorithm = "SHA256WITHECDSA"
SigningAlgorithmSha384withecdsa SigningAlgorithm = "SHA384WITHECDSA"
SigningAlgorithmSha512withecdsa SigningAlgorithm = "SHA512WITHECDSA"
SigningAlgorithmSha256withrsa SigningAlgorithm = "SHA256WITHRSA"
SigningAlgorithmSha384withrsa SigningAlgorithm = "SHA384WITHRSA"
SigningAlgorithmSha512withrsa SigningAlgorithm = "SHA512WITHRSA"
)
// Values returns all known values for SigningAlgorithm. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (SigningAlgorithm) Values() []SigningAlgorithm {
return []SigningAlgorithm{
"SHA256WITHECDSA",
"SHA384WITHECDSA",
"SHA512WITHECDSA",
"SHA256WITHRSA",
"SHA384WITHRSA",
"SHA512WITHRSA",
}
}
type ValidityPeriodType string
// Enum values for ValidityPeriodType
const (
ValidityPeriodTypeEndDate ValidityPeriodType = "END_DATE"
ValidityPeriodTypeAbsolute ValidityPeriodType = "ABSOLUTE"
ValidityPeriodTypeDays ValidityPeriodType = "DAYS"
ValidityPeriodTypeMonths ValidityPeriodType = "MONTHS"
ValidityPeriodTypeYears ValidityPeriodType = "YEARS"
)
// Values returns all known values for ValidityPeriodType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ValidityPeriodType) Values() []ValidityPeriodType {
return []ValidityPeriodType{
"END_DATE",
"ABSOLUTE",
"DAYS",
"MONTHS",
"YEARS",
}
}
|