Enumerations

The following enumerations are available globally.

  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSErrorType) {
        AWSKMSErrorUnknown,
        AWSKMSErrorAlreadyExists,
        AWSKMSErrorCloudHsmClusterInUse,
        AWSKMSErrorCloudHsmClusterInvalidConfiguration,
        AWSKMSErrorCloudHsmClusterNotActive,
        AWSKMSErrorCloudHsmClusterNotFound,
        AWSKMSErrorCloudHsmClusterNotRelated,
        AWSKMSErrorConflict,
        AWSKMSErrorCustomKeyStoreHasCMKs,
        AWSKMSErrorCustomKeyStoreInvalidState,
        AWSKMSErrorCustomKeyStoreNameInUse,
        AWSKMSErrorCustomKeyStoreNotFound,
        AWSKMSErrorDependencyTimeout,
        AWSKMSErrorDisabled,
        AWSKMSErrorDryRunOperation,
        AWSKMSErrorExpiredImportToken,
        AWSKMSErrorIncorrectKey,
        AWSKMSErrorIncorrectKeyMaterial,
        AWSKMSErrorIncorrectTrustAnchor,
        AWSKMSErrorInvalidAliasName,
        AWSKMSErrorInvalidArn,
        AWSKMSErrorInvalidCiphertext,
        AWSKMSErrorInvalidGrantId,
        AWSKMSErrorInvalidGrantToken,
        AWSKMSErrorInvalidImportToken,
        AWSKMSErrorInvalidKeyUsage,
        AWSKMSErrorInvalidMarker,
        AWSKMSErrorKMSInternal,
        AWSKMSErrorKMSInvalidMac,
        AWSKMSErrorKMSInvalidSignature,
        AWSKMSErrorKMSInvalidState,
        AWSKMSErrorKeyUnavailable,
        AWSKMSErrorLimitExceeded,
        AWSKMSErrorMalformedPolicyDocument,
        AWSKMSErrorNotFound,
        AWSKMSErrorTag,
        AWSKMSErrorUnsupportedOperation,
        AWSKMSErrorXksKeyAlreadyInUse,
        AWSKMSErrorXksKeyInvalidConfiguration,
        AWSKMSErrorXksKeyNotFound,
        AWSKMSErrorXksProxyIncorrectAuthenticationCredential,
        AWSKMSErrorXksProxyInvalidConfiguration,
        AWSKMSErrorXksProxyInvalidResponse,
        AWSKMSErrorXksProxyUriEndpointInUse,
        AWSKMSErrorXksProxyUriInUse,
        AWSKMSErrorXksProxyUriUnreachable,
        AWSKMSErrorXksProxyVpcEndpointServiceInUse,
        AWSKMSErrorXksProxyVpcEndpointServiceInvalidConfiguration,
        AWSKMSErrorXksProxyVpcEndpointServiceNotFound,
    }

    Swift

    enum AWSKMSErrorType : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSAlgorithmSpec) {
        AWSKMSAlgorithmSpecUnknown,
        AWSKMSAlgorithmSpecRsaesPkcs1V15,
        AWSKMSAlgorithmSpecRsaesOaepSha1,
        AWSKMSAlgorithmSpecRsaesOaepSha256,
        AWSKMSAlgorithmSpecRsaAesKeyWrapSha1,
        AWSKMSAlgorithmSpecRsaAesKeyWrapSha256,
        AWSKMSAlgorithmSpecSm2pke,
    }

    Swift

    enum AWSKMSAlgorithmSpec : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSConnectionErrorCodeType) {
        AWSKMSConnectionErrorCodeTypeUnknown,
        AWSKMSConnectionErrorCodeTypeInvalidCredentials,
        AWSKMSConnectionErrorCodeTypeClusterNotFound,
        AWSKMSConnectionErrorCodeTypeNetworkErrors,
        AWSKMSConnectionErrorCodeTypeInternalError,
        AWSKMSConnectionErrorCodeTypeInsufficientCloudhsmHsms,
        AWSKMSConnectionErrorCodeTypeUserLockedOut,
        AWSKMSConnectionErrorCodeTypeUserNotFound,
        AWSKMSConnectionErrorCodeTypeUserLoggedIn,
        AWSKMSConnectionErrorCodeTypeSubnetNotFound,
        AWSKMSConnectionErrorCodeTypeInsufficientFreeAddressesInSubnet,
        AWSKMSConnectionErrorCodeTypeXksProxyAccessDenied,
        AWSKMSConnectionErrorCodeTypeXksProxyNotReachable,
        AWSKMSConnectionErrorCodeTypeXksVpcEndpointServiceNotFound,
        AWSKMSConnectionErrorCodeTypeXksProxyInvalidResponse,
        AWSKMSConnectionErrorCodeTypeXksProxyInvalidConfiguration,
        AWSKMSConnectionErrorCodeTypeXksVpcEndpointServiceInvalidConfiguration,
        AWSKMSConnectionErrorCodeTypeXksProxyTimedOut,
        AWSKMSConnectionErrorCodeTypeXksProxyInvalidTlsConfiguration,
    }

    Swift

    enum AWSKMSConnectionErrorCodeType : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSConnectionStateType) {
        AWSKMSConnectionStateTypeUnknown,
        AWSKMSConnectionStateTypeConnected,
        AWSKMSConnectionStateTypeConnecting,
        AWSKMSConnectionStateTypeFailed,
        AWSKMSConnectionStateTypeDisconnected,
        AWSKMSConnectionStateTypeDisconnecting,
    }

    Swift

    enum AWSKMSConnectionStateType : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSCustomKeyStoreType) {
        AWSKMSCustomKeyStoreTypeUnknown,
        AWSKMSCustomKeyStoreTypeAwsCloudhsm,
        AWSKMSCustomKeyStoreTypeExternalKeyStore,
    }

    Swift

    enum AWSKMSCustomKeyStoreType : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSCustomerMasterKeySpec) {
        AWSKMSCustomerMasterKeySpecUnknown,
        AWSKMSCustomerMasterKeySpecRsa2048,
        AWSKMSCustomerMasterKeySpecRsa3072,
        AWSKMSCustomerMasterKeySpecRsa4096,
        AWSKMSCustomerMasterKeySpecEccNistP256,
        AWSKMSCustomerMasterKeySpecEccNistP384,
        AWSKMSCustomerMasterKeySpecEccNistP521,
        AWSKMSCustomerMasterKeySpecEccSecgP256k1,
        AWSKMSCustomerMasterKeySpecSymmetricDefault,
        AWSKMSCustomerMasterKeySpecHmac224,
        AWSKMSCustomerMasterKeySpecHmac256,
        AWSKMSCustomerMasterKeySpecHmac384,
        AWSKMSCustomerMasterKeySpecHmac512,
        AWSKMSCustomerMasterKeySpecSm2,
    }

    Swift

    enum AWSKMSCustomerMasterKeySpec : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSDataKeyPairSpec) {
        AWSKMSDataKeyPairSpecUnknown,
        AWSKMSDataKeyPairSpecRsa2048,
        AWSKMSDataKeyPairSpecRsa3072,
        AWSKMSDataKeyPairSpecRsa4096,
        AWSKMSDataKeyPairSpecEccNistP256,
        AWSKMSDataKeyPairSpecEccNistP384,
        AWSKMSDataKeyPairSpecEccNistP521,
        AWSKMSDataKeyPairSpecEccSecgP256k1,
        AWSKMSDataKeyPairSpecSm2,
    }

    Swift

    enum AWSKMSDataKeyPairSpec : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSDataKeySpec) {
        AWSKMSDataKeySpecUnknown,
        AWSKMSDataKeySpecAes256,
        AWSKMSDataKeySpecAes128,
    }

    Swift

    enum AWSKMSDataKeySpec : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSEncryptionAlgorithmSpec) {
        AWSKMSEncryptionAlgorithmSpecUnknown,
        AWSKMSEncryptionAlgorithmSpecSymmetricDefault,
        AWSKMSEncryptionAlgorithmSpecRsaesOaepSha1,
        AWSKMSEncryptionAlgorithmSpecRsaesOaepSha256,
        AWSKMSEncryptionAlgorithmSpecSm2pke,
    }

    Swift

    enum AWSKMSEncryptionAlgorithmSpec : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSExpirationModelType) {
        AWSKMSExpirationModelTypeUnknown,
        AWSKMSExpirationModelTypeKeyMaterialExpires,
        AWSKMSExpirationModelTypeKeyMaterialDoesNotExpire,
    }

    Swift

    enum AWSKMSExpirationModelType : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSGrantOperation) {
        AWSKMSGrantOperationUnknown,
        AWSKMSGrantOperationDecrypt,
        AWSKMSGrantOperationEncrypt,
        AWSKMSGrantOperationGenerateDataKey,
        AWSKMSGrantOperationGenerateDataKeyWithoutPlaintext,
        AWSKMSGrantOperationReEncryptFrom,
        AWSKMSGrantOperationReEncryptTo,
        AWSKMSGrantOperationSign,
        AWSKMSGrantOperationVerify,
        AWSKMSGrantOperationGetPublicKey,
        AWSKMSGrantOperationCreateGrant,
        AWSKMSGrantOperationRetireGrant,
        AWSKMSGrantOperationDescribeKey,
        AWSKMSGrantOperationGenerateDataKeyPair,
        AWSKMSGrantOperationGenerateDataKeyPairWithoutPlaintext,
        AWSKMSGrantOperationGenerateMac,
        AWSKMSGrantOperationVerifyMac,
        AWSKMSGrantOperationDeriveSharedSecret,
    }

    Swift

    enum AWSKMSGrantOperation : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSKeyAgreementAlgorithmSpec) {
        AWSKMSKeyAgreementAlgorithmSpecUnknown,
        AWSKMSKeyAgreementAlgorithmSpecEcdh,
    }

    Swift

    enum AWSKMSKeyAgreementAlgorithmSpec : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSKeyEncryptionMechanism) {
        AWSKMSKeyEncryptionMechanismUnknown,
        AWSKMSKeyEncryptionMechanismRsaesOaepSha256,
    }

    Swift

    enum AWSKMSKeyEncryptionMechanism : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSKeyManagerType) {
        AWSKMSKeyManagerTypeUnknown,
        AWSKMSKeyManagerTypeAws,
        AWSKMSKeyManagerTypeCustomer,
    }

    Swift

    enum AWSKMSKeyManagerType : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSKeySpec) {
        AWSKMSKeySpecUnknown,
        AWSKMSKeySpecRsa2048,
        AWSKMSKeySpecRsa3072,
        AWSKMSKeySpecRsa4096,
        AWSKMSKeySpecEccNistP256,
        AWSKMSKeySpecEccNistP384,
        AWSKMSKeySpecEccNistP521,
        AWSKMSKeySpecEccSecgP256k1,
        AWSKMSKeySpecSymmetricDefault,
        AWSKMSKeySpecHmac224,
        AWSKMSKeySpecHmac256,
        AWSKMSKeySpecHmac384,
        AWSKMSKeySpecHmac512,
        AWSKMSKeySpecSm2,
    }

    Swift

    enum AWSKMSKeySpec : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSKeyState) {
        AWSKMSKeyStateUnknown,
        AWSKMSKeyStateCreating,
        AWSKMSKeyStateEnabled,
        AWSKMSKeyStateDisabled,
        AWSKMSKeyStatePendingDeletion,
        AWSKMSKeyStatePendingImport,
        AWSKMSKeyStatePendingReplicaDeletion,
        AWSKMSKeyStateUnavailable,
        AWSKMSKeyStateUpdating,
    }

    Swift

    enum AWSKMSKeyState : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSKeyUsageType) {
        AWSKMSKeyUsageTypeUnknown,
        AWSKMSKeyUsageTypeSignVerify,
        AWSKMSKeyUsageTypeEncryptDecrypt,
        AWSKMSKeyUsageTypeGenerateVerifyMac,
        AWSKMSKeyUsageTypeKeyAgreement,
    }

    Swift

    enum AWSKMSKeyUsageType : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSMacAlgorithmSpec) {
        AWSKMSMacAlgorithmSpecUnknown,
        AWSKMSMacAlgorithmSpecHmacSha224,
        AWSKMSMacAlgorithmSpecHmacSha256,
        AWSKMSMacAlgorithmSpecHmacSha384,
        AWSKMSMacAlgorithmSpecHmacSha512,
    }

    Swift

    enum AWSKMSMacAlgorithmSpec : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSMessageType) {
        AWSKMSMessageTypeUnknown,
        AWSKMSMessageTypeRAW,
        AWSKMSMessageTypeDigest,
    }

    Swift

    enum AWSKMSMessageType : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSMultiRegionKeyType) {
        AWSKMSMultiRegionKeyTypeUnknown,
        AWSKMSMultiRegionKeyTypePrimary,
        AWSKMSMultiRegionKeyTypeReplica,
    }

    Swift

    enum AWSKMSMultiRegionKeyType : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSOriginType) {
        AWSKMSOriginTypeUnknown,
        AWSKMSOriginTypeAwsKms,
        AWSKMSOriginTypeExternal,
        AWSKMSOriginTypeAwsCloudhsm,
        AWSKMSOriginTypeExternalKeyStore,
    }

    Swift

    enum AWSKMSOriginType : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSRotationType) {
        AWSKMSRotationTypeUnknown,
        AWSKMSRotationTypeAutomatic,
        AWSKMSRotationTypeOnDemand,
    }

    Swift

    enum AWSKMSRotationType : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSSigningAlgorithmSpec) {
        AWSKMSSigningAlgorithmSpecUnknown,
        AWSKMSSigningAlgorithmSpecRsassaPssSha256,
        AWSKMSSigningAlgorithmSpecRsassaPssSha384,
        AWSKMSSigningAlgorithmSpecRsassaPssSha512,
        AWSKMSSigningAlgorithmSpecRsassaPkcs1V15Sha256,
        AWSKMSSigningAlgorithmSpecRsassaPkcs1V15Sha384,
        AWSKMSSigningAlgorithmSpecRsassaPkcs1V15Sha512,
        AWSKMSSigningAlgorithmSpecEcdsaSha256,
        AWSKMSSigningAlgorithmSpecEcdsaSha384,
        AWSKMSSigningAlgorithmSpecEcdsaSha512,
        AWSKMSSigningAlgorithmSpecSm2dsa,
    }

    Swift

    enum AWSKMSSigningAlgorithmSpec : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSWrappingKeySpec) {
        AWSKMSWrappingKeySpecUnknown,
        AWSKMSWrappingKeySpecRsa2048,
        AWSKMSWrappingKeySpecRsa3072,
        AWSKMSWrappingKeySpecRsa4096,
        AWSKMSWrappingKeySpecSm2,
    }

    Swift

    enum AWSKMSWrappingKeySpec : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSXksProxyConnectivityType) {
        AWSKMSXksProxyConnectivityTypeUnknown,
        AWSKMSXksProxyConnectivityTypePublicEndpoint,
        AWSKMSXksProxyConnectivityTypeVpcEndpointService,
    }

    Swift

    enum AWSKMSXksProxyConnectivityType : Int, @unchecked Sendable