// Code generated by smithy-go-codegen DO NOT EDIT. package types type AlgorithmSpec string // Enum values for AlgorithmSpec const ( AlgorithmSpecRsaesPkcs1V15 AlgorithmSpec = "RSAES_PKCS1_V1_5" AlgorithmSpecRsaesOaepSha1 AlgorithmSpec = "RSAES_OAEP_SHA_1" AlgorithmSpecRsaesOaepSha256 AlgorithmSpec = "RSAES_OAEP_SHA_256" AlgorithmSpecRsaAesKeyWrapSha1 AlgorithmSpec = "RSA_AES_KEY_WRAP_SHA_1" AlgorithmSpecRsaAesKeyWrapSha256 AlgorithmSpec = "RSA_AES_KEY_WRAP_SHA_256" ) // Values returns all known values for AlgorithmSpec. 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 (AlgorithmSpec) Values() []AlgorithmSpec { return []AlgorithmSpec{ "RSAES_PKCS1_V1_5", "RSAES_OAEP_SHA_1", "RSAES_OAEP_SHA_256", "RSA_AES_KEY_WRAP_SHA_1", "RSA_AES_KEY_WRAP_SHA_256", } } type ConnectionErrorCodeType string // Enum values for ConnectionErrorCodeType const ( ConnectionErrorCodeTypeInvalidCredentials ConnectionErrorCodeType = "INVALID_CREDENTIALS" ConnectionErrorCodeTypeClusterNotFound ConnectionErrorCodeType = "CLUSTER_NOT_FOUND" ConnectionErrorCodeTypeNetworkErrors ConnectionErrorCodeType = "NETWORK_ERRORS" ConnectionErrorCodeTypeInternalError ConnectionErrorCodeType = "INTERNAL_ERROR" ConnectionErrorCodeTypeInsufficientCloudhsmHsms ConnectionErrorCodeType = "INSUFFICIENT_CLOUDHSM_HSMS" ConnectionErrorCodeTypeUserLockedOut ConnectionErrorCodeType = "USER_LOCKED_OUT" ConnectionErrorCodeTypeUserNotFound ConnectionErrorCodeType = "USER_NOT_FOUND" ConnectionErrorCodeTypeUserLoggedIn ConnectionErrorCodeType = "USER_LOGGED_IN" ConnectionErrorCodeTypeSubnetNotFound ConnectionErrorCodeType = "SUBNET_NOT_FOUND" ConnectionErrorCodeTypeInsufficientFreeAddressesInSubnet ConnectionErrorCodeType = "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET" ConnectionErrorCodeTypeXksProxyAccessDenied ConnectionErrorCodeType = "XKS_PROXY_ACCESS_DENIED" ConnectionErrorCodeTypeXksProxyNotReachable ConnectionErrorCodeType = "XKS_PROXY_NOT_REACHABLE" ConnectionErrorCodeTypeXksVpcEndpointServiceNotFound ConnectionErrorCodeType = "XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND" ConnectionErrorCodeTypeXksProxyInvalidResponse ConnectionErrorCodeType = "XKS_PROXY_INVALID_RESPONSE" ConnectionErrorCodeTypeXksProxyInvalidConfiguration ConnectionErrorCodeType = "XKS_PROXY_INVALID_CONFIGURATION" ConnectionErrorCodeTypeXksVpcEndpointServiceInvalidConfiguration ConnectionErrorCodeType = "XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION" ConnectionErrorCodeTypeXksProxyTimedOut ConnectionErrorCodeType = "XKS_PROXY_TIMED_OUT" ConnectionErrorCodeTypeXksProxyInvalidTlsConfiguration ConnectionErrorCodeType = "XKS_PROXY_INVALID_TLS_CONFIGURATION" ) // Values returns all known values for ConnectionErrorCodeType. 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 (ConnectionErrorCodeType) Values() []ConnectionErrorCodeType { return []ConnectionErrorCodeType{ "INVALID_CREDENTIALS", "CLUSTER_NOT_FOUND", "NETWORK_ERRORS", "INTERNAL_ERROR", "INSUFFICIENT_CLOUDHSM_HSMS", "USER_LOCKED_OUT", "USER_NOT_FOUND", "USER_LOGGED_IN", "SUBNET_NOT_FOUND", "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET", "XKS_PROXY_ACCESS_DENIED", "XKS_PROXY_NOT_REACHABLE", "XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND", "XKS_PROXY_INVALID_RESPONSE", "XKS_PROXY_INVALID_CONFIGURATION", "XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION", "XKS_PROXY_TIMED_OUT", "XKS_PROXY_INVALID_TLS_CONFIGURATION", } } type ConnectionStateType string // Enum values for ConnectionStateType const ( ConnectionStateTypeConnected ConnectionStateType = "CONNECTED" ConnectionStateTypeConnecting ConnectionStateType = "CONNECTING" ConnectionStateTypeFailed ConnectionStateType = "FAILED" ConnectionStateTypeDisconnected ConnectionStateType = "DISCONNECTED" ConnectionStateTypeDisconnecting ConnectionStateType = "DISCONNECTING" ) // Values returns all known values for ConnectionStateType. 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 (ConnectionStateType) Values() []ConnectionStateType { return []ConnectionStateType{ "CONNECTED", "CONNECTING", "FAILED", "DISCONNECTED", "DISCONNECTING", } } type CustomerMasterKeySpec string // Enum values for CustomerMasterKeySpec const ( CustomerMasterKeySpecRsa2048 CustomerMasterKeySpec = "RSA_2048" CustomerMasterKeySpecRsa3072 CustomerMasterKeySpec = "RSA_3072" CustomerMasterKeySpecRsa4096 CustomerMasterKeySpec = "RSA_4096" CustomerMasterKeySpecEccNistP256 CustomerMasterKeySpec = "ECC_NIST_P256" CustomerMasterKeySpecEccNistP384 CustomerMasterKeySpec = "ECC_NIST_P384" CustomerMasterKeySpecEccNistP521 CustomerMasterKeySpec = "ECC_NIST_P521" CustomerMasterKeySpecEccSecgP256k1 CustomerMasterKeySpec = "ECC_SECG_P256K1" CustomerMasterKeySpecSymmetricDefault CustomerMasterKeySpec = "SYMMETRIC_DEFAULT" CustomerMasterKeySpecHmac224 CustomerMasterKeySpec = "HMAC_224" CustomerMasterKeySpecHmac256 CustomerMasterKeySpec = "HMAC_256" CustomerMasterKeySpecHmac384 CustomerMasterKeySpec = "HMAC_384" CustomerMasterKeySpecHmac512 CustomerMasterKeySpec = "HMAC_512" CustomerMasterKeySpecSm2 CustomerMasterKeySpec = "SM2" ) // Values returns all known values for CustomerMasterKeySpec. 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 (CustomerMasterKeySpec) Values() []CustomerMasterKeySpec { return []CustomerMasterKeySpec{ "RSA_2048", "RSA_3072", "RSA_4096", "ECC_NIST_P256", "ECC_NIST_P384", "ECC_NIST_P521", "ECC_SECG_P256K1", "SYMMETRIC_DEFAULT", "HMAC_224", "HMAC_256", "HMAC_384", "HMAC_512", "SM2", } } type CustomKeyStoreType string // Enum values for CustomKeyStoreType const ( CustomKeyStoreTypeAwsCloudhsm CustomKeyStoreType = "AWS_CLOUDHSM" CustomKeyStoreTypeExternalKeyStore CustomKeyStoreType = "EXTERNAL_KEY_STORE" ) // Values returns all known values for CustomKeyStoreType. 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 (CustomKeyStoreType) Values() []CustomKeyStoreType { return []CustomKeyStoreType{ "AWS_CLOUDHSM", "EXTERNAL_KEY_STORE", } } type DataKeyPairSpec string // Enum values for DataKeyPairSpec const ( DataKeyPairSpecRsa2048 DataKeyPairSpec = "RSA_2048" DataKeyPairSpecRsa3072 DataKeyPairSpec = "RSA_3072" DataKeyPairSpecRsa4096 DataKeyPairSpec = "RSA_4096" DataKeyPairSpecEccNistP256 DataKeyPairSpec = "ECC_NIST_P256" DataKeyPairSpecEccNistP384 DataKeyPairSpec = "ECC_NIST_P384" DataKeyPairSpecEccNistP521 DataKeyPairSpec = "ECC_NIST_P521" DataKeyPairSpecEccSecgP256k1 DataKeyPairSpec = "ECC_SECG_P256K1" DataKeyPairSpecSm2 DataKeyPairSpec = "SM2" ) // Values returns all known values for DataKeyPairSpec. 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 (DataKeyPairSpec) Values() []DataKeyPairSpec { return []DataKeyPairSpec{ "RSA_2048", "RSA_3072", "RSA_4096", "ECC_NIST_P256", "ECC_NIST_P384", "ECC_NIST_P521", "ECC_SECG_P256K1", "SM2", } } type DataKeySpec string // Enum values for DataKeySpec const ( DataKeySpecAes256 DataKeySpec = "AES_256" DataKeySpecAes128 DataKeySpec = "AES_128" ) // Values returns all known values for DataKeySpec. 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 (DataKeySpec) Values() []DataKeySpec { return []DataKeySpec{ "AES_256", "AES_128", } } type EncryptionAlgorithmSpec string // Enum values for EncryptionAlgorithmSpec const ( EncryptionAlgorithmSpecSymmetricDefault EncryptionAlgorithmSpec = "SYMMETRIC_DEFAULT" EncryptionAlgorithmSpecRsaesOaepSha1 EncryptionAlgorithmSpec = "RSAES_OAEP_SHA_1" EncryptionAlgorithmSpecRsaesOaepSha256 EncryptionAlgorithmSpec = "RSAES_OAEP_SHA_256" EncryptionAlgorithmSpecSm2pke EncryptionAlgorithmSpec = "SM2PKE" ) // Values returns all known values for EncryptionAlgorithmSpec. 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 (EncryptionAlgorithmSpec) Values() []EncryptionAlgorithmSpec { return []EncryptionAlgorithmSpec{ "SYMMETRIC_DEFAULT", "RSAES_OAEP_SHA_1", "RSAES_OAEP_SHA_256", "SM2PKE", } } type ExpirationModelType string // Enum values for ExpirationModelType const ( ExpirationModelTypeKeyMaterialExpires ExpirationModelType = "KEY_MATERIAL_EXPIRES" ExpirationModelTypeKeyMaterialDoesNotExpire ExpirationModelType = "KEY_MATERIAL_DOES_NOT_EXPIRE" ) // Values returns all known values for ExpirationModelType. 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 (ExpirationModelType) Values() []ExpirationModelType { return []ExpirationModelType{ "KEY_MATERIAL_EXPIRES", "KEY_MATERIAL_DOES_NOT_EXPIRE", } } type GrantOperation string // Enum values for GrantOperation const ( GrantOperationDecrypt GrantOperation = "Decrypt" GrantOperationEncrypt GrantOperation = "Encrypt" GrantOperationGenerateDataKey GrantOperation = "GenerateDataKey" GrantOperationGenerateDataKeyWithoutPlaintext GrantOperation = "GenerateDataKeyWithoutPlaintext" GrantOperationReEncryptFrom GrantOperation = "ReEncryptFrom" GrantOperationReEncryptTo GrantOperation = "ReEncryptTo" GrantOperationSign GrantOperation = "Sign" GrantOperationVerify GrantOperation = "Verify" GrantOperationGetPublicKey GrantOperation = "GetPublicKey" GrantOperationCreateGrant GrantOperation = "CreateGrant" GrantOperationRetireGrant GrantOperation = "RetireGrant" GrantOperationDescribeKey GrantOperation = "DescribeKey" GrantOperationGenerateDataKeyPair GrantOperation = "GenerateDataKeyPair" GrantOperationGenerateDataKeyPairWithoutPlaintext GrantOperation = "GenerateDataKeyPairWithoutPlaintext" GrantOperationGenerateMac GrantOperation = "GenerateMac" GrantOperationVerifyMac GrantOperation = "VerifyMac" ) // Values returns all known values for GrantOperation. 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 (GrantOperation) Values() []GrantOperation { return []GrantOperation{ "Decrypt", "Encrypt", "GenerateDataKey", "GenerateDataKeyWithoutPlaintext", "ReEncryptFrom", "ReEncryptTo", "Sign", "Verify", "GetPublicKey", "CreateGrant", "RetireGrant", "DescribeKey", "GenerateDataKeyPair", "GenerateDataKeyPairWithoutPlaintext", "GenerateMac", "VerifyMac", } } type KeyEncryptionMechanism string // Enum values for KeyEncryptionMechanism const ( KeyEncryptionMechanismRsaesOaepSha256 KeyEncryptionMechanism = "RSAES_OAEP_SHA_256" ) // Values returns all known values for KeyEncryptionMechanism. 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 (KeyEncryptionMechanism) Values() []KeyEncryptionMechanism { return []KeyEncryptionMechanism{ "RSAES_OAEP_SHA_256", } } type KeyManagerType string // Enum values for KeyManagerType const ( KeyManagerTypeAws KeyManagerType = "AWS" KeyManagerTypeCustomer KeyManagerType = "CUSTOMER" ) // Values returns all known values for KeyManagerType. 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 (KeyManagerType) Values() []KeyManagerType { return []KeyManagerType{ "AWS", "CUSTOMER", } } type KeySpec string // Enum values for KeySpec const ( KeySpecRsa2048 KeySpec = "RSA_2048" KeySpecRsa3072 KeySpec = "RSA_3072" KeySpecRsa4096 KeySpec = "RSA_4096" KeySpecEccNistP256 KeySpec = "ECC_NIST_P256" KeySpecEccNistP384 KeySpec = "ECC_NIST_P384" KeySpecEccNistP521 KeySpec = "ECC_NIST_P521" KeySpecEccSecgP256k1 KeySpec = "ECC_SECG_P256K1" KeySpecSymmetricDefault KeySpec = "SYMMETRIC_DEFAULT" KeySpecHmac224 KeySpec = "HMAC_224" KeySpecHmac256 KeySpec = "HMAC_256" KeySpecHmac384 KeySpec = "HMAC_384" KeySpecHmac512 KeySpec = "HMAC_512" KeySpecSm2 KeySpec = "SM2" ) // Values returns all known values for KeySpec. 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 (KeySpec) Values() []KeySpec { return []KeySpec{ "RSA_2048", "RSA_3072", "RSA_4096", "ECC_NIST_P256", "ECC_NIST_P384", "ECC_NIST_P521", "ECC_SECG_P256K1", "SYMMETRIC_DEFAULT", "HMAC_224", "HMAC_256", "HMAC_384", "HMAC_512", "SM2", } } type KeyState string // Enum values for KeyState const ( KeyStateCreating KeyState = "Creating" KeyStateEnabled KeyState = "Enabled" KeyStateDisabled KeyState = "Disabled" KeyStatePendingDeletion KeyState = "PendingDeletion" KeyStatePendingImport KeyState = "PendingImport" KeyStatePendingReplicaDeletion KeyState = "PendingReplicaDeletion" KeyStateUnavailable KeyState = "Unavailable" KeyStateUpdating KeyState = "Updating" ) // Values returns all known values for KeyState. 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 (KeyState) Values() []KeyState { return []KeyState{ "Creating", "Enabled", "Disabled", "PendingDeletion", "PendingImport", "PendingReplicaDeletion", "Unavailable", "Updating", } } type KeyUsageType string // Enum values for KeyUsageType const ( KeyUsageTypeSignVerify KeyUsageType = "SIGN_VERIFY" KeyUsageTypeEncryptDecrypt KeyUsageType = "ENCRYPT_DECRYPT" KeyUsageTypeGenerateVerifyMac KeyUsageType = "GENERATE_VERIFY_MAC" ) // Values returns all known values for KeyUsageType. 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 (KeyUsageType) Values() []KeyUsageType { return []KeyUsageType{ "SIGN_VERIFY", "ENCRYPT_DECRYPT", "GENERATE_VERIFY_MAC", } } type MacAlgorithmSpec string // Enum values for MacAlgorithmSpec const ( MacAlgorithmSpecHmacSha224 MacAlgorithmSpec = "HMAC_SHA_224" MacAlgorithmSpecHmacSha256 MacAlgorithmSpec = "HMAC_SHA_256" MacAlgorithmSpecHmacSha384 MacAlgorithmSpec = "HMAC_SHA_384" MacAlgorithmSpecHmacSha512 MacAlgorithmSpec = "HMAC_SHA_512" ) // Values returns all known values for MacAlgorithmSpec. 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 (MacAlgorithmSpec) Values() []MacAlgorithmSpec { return []MacAlgorithmSpec{ "HMAC_SHA_224", "HMAC_SHA_256", "HMAC_SHA_384", "HMAC_SHA_512", } } type MessageType string // Enum values for MessageType const ( MessageTypeRaw MessageType = "RAW" MessageTypeDigest MessageType = "DIGEST" ) // Values returns all known values for MessageType. 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 (MessageType) Values() []MessageType { return []MessageType{ "RAW", "DIGEST", } } type MultiRegionKeyType string // Enum values for MultiRegionKeyType const ( MultiRegionKeyTypePrimary MultiRegionKeyType = "PRIMARY" MultiRegionKeyTypeReplica MultiRegionKeyType = "REPLICA" ) // Values returns all known values for MultiRegionKeyType. 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 (MultiRegionKeyType) Values() []MultiRegionKeyType { return []MultiRegionKeyType{ "PRIMARY", "REPLICA", } } type OriginType string // Enum values for OriginType const ( OriginTypeAwsKms OriginType = "AWS_KMS" OriginTypeExternal OriginType = "EXTERNAL" OriginTypeAwsCloudhsm OriginType = "AWS_CLOUDHSM" OriginTypeExternalKeyStore OriginType = "EXTERNAL_KEY_STORE" ) // Values returns all known values for OriginType. 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 (OriginType) Values() []OriginType { return []OriginType{ "AWS_KMS", "EXTERNAL", "AWS_CLOUDHSM", "EXTERNAL_KEY_STORE", } } type SigningAlgorithmSpec string // Enum values for SigningAlgorithmSpec const ( SigningAlgorithmSpecRsassaPssSha256 SigningAlgorithmSpec = "RSASSA_PSS_SHA_256" SigningAlgorithmSpecRsassaPssSha384 SigningAlgorithmSpec = "RSASSA_PSS_SHA_384" SigningAlgorithmSpecRsassaPssSha512 SigningAlgorithmSpec = "RSASSA_PSS_SHA_512" SigningAlgorithmSpecRsassaPkcs1V15Sha256 SigningAlgorithmSpec = "RSASSA_PKCS1_V1_5_SHA_256" SigningAlgorithmSpecRsassaPkcs1V15Sha384 SigningAlgorithmSpec = "RSASSA_PKCS1_V1_5_SHA_384" SigningAlgorithmSpecRsassaPkcs1V15Sha512 SigningAlgorithmSpec = "RSASSA_PKCS1_V1_5_SHA_512" SigningAlgorithmSpecEcdsaSha256 SigningAlgorithmSpec = "ECDSA_SHA_256" SigningAlgorithmSpecEcdsaSha384 SigningAlgorithmSpec = "ECDSA_SHA_384" SigningAlgorithmSpecEcdsaSha512 SigningAlgorithmSpec = "ECDSA_SHA_512" SigningAlgorithmSpecSm2dsa SigningAlgorithmSpec = "SM2DSA" ) // Values returns all known values for SigningAlgorithmSpec. 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 (SigningAlgorithmSpec) Values() []SigningAlgorithmSpec { return []SigningAlgorithmSpec{ "RSASSA_PSS_SHA_256", "RSASSA_PSS_SHA_384", "RSASSA_PSS_SHA_512", "RSASSA_PKCS1_V1_5_SHA_256", "RSASSA_PKCS1_V1_5_SHA_384", "RSASSA_PKCS1_V1_5_SHA_512", "ECDSA_SHA_256", "ECDSA_SHA_384", "ECDSA_SHA_512", "SM2DSA", } } type WrappingKeySpec string // Enum values for WrappingKeySpec const ( WrappingKeySpecRsa2048 WrappingKeySpec = "RSA_2048" WrappingKeySpecRsa3072 WrappingKeySpec = "RSA_3072" WrappingKeySpecRsa4096 WrappingKeySpec = "RSA_4096" ) // Values returns all known values for WrappingKeySpec. 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 (WrappingKeySpec) Values() []WrappingKeySpec { return []WrappingKeySpec{ "RSA_2048", "RSA_3072", "RSA_4096", } } type XksProxyConnectivityType string // Enum values for XksProxyConnectivityType const ( XksProxyConnectivityTypePublicEndpoint XksProxyConnectivityType = "PUBLIC_ENDPOINT" XksProxyConnectivityTypeVpcEndpointService XksProxyConnectivityType = "VPC_ENDPOINT_SERVICE" ) // Values returns all known values for XksProxyConnectivityType. 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 (XksProxyConnectivityType) Values() []XksProxyConnectivityType { return []XksProxyConnectivityType{ "PUBLIC_ENDPOINT", "VPC_ENDPOINT_SERVICE", } }