Enumerations

The following enumerations are available globally.

  • The status of the user.

    • AWSCognitoIdentityUserStatusUnknown - The user status is unknown.
    • AWSCognitoIdentityUserStatusConfirmed - The user was auto confirmed.
    • AWSCognitoIdentityUserStatusUnconfirmed - The user was not confirmed.
    See more

    Declaration

    Objective-C

    enum AWSCognitoIdentityUserStatus {}

    Swift

    enum AWSCognitoIdentityUserStatus : Int
  • The error domain for AWSCognitoIdentityProvider errors.

    • AWSCognitoIdentityProviderClientErrorUnknown - Unknown error.
    • AWSCognitoIdentityProviderClientErrorInvalidAuthenticationDelegate - Necessary authentication delegate isn’t set.
    • AWSCognitoIdentityProviderClientErrorCustomAuthenticationNotSupported - Custom authentication is not supported by this SDK.
    • AWSCognitoIdentityProviderClientErrorDeviceNotTracked - This device does not have an id, either it was never tracked or previously forgotten.
    See more

    Declaration

    Objective-C

    enum AWSCognitoIdentityClientErrorType {}

    Swift

    enum AWSCognitoIdentityClientErrorType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderErrorType) {
        AWSCognitoIdentityProviderErrorUnknown,
        AWSCognitoIdentityProviderErrorAliasExists,
        AWSCognitoIdentityProviderErrorCodeDeliveryFailure,
        AWSCognitoIdentityProviderErrorCodeMismatch,
        AWSCognitoIdentityProviderErrorConcurrentModification,
        AWSCognitoIdentityProviderErrorDuplicateProvider,
        AWSCognitoIdentityProviderErrorEnableSoftwareTokenMFA,
        AWSCognitoIdentityProviderErrorExpiredCode,
        AWSCognitoIdentityProviderErrorGroupExists,
        AWSCognitoIdentityProviderErrorInternalError,
        AWSCognitoIdentityProviderErrorInvalidEmailRoleAccessPolicy,
        AWSCognitoIdentityProviderErrorInvalidLambdaResponse,
        AWSCognitoIdentityProviderErrorInvalidOAuthFlow,
        AWSCognitoIdentityProviderErrorInvalidParameter,
        AWSCognitoIdentityProviderErrorInvalidPassword,
        AWSCognitoIdentityProviderErrorInvalidSmsRoleAccessPolicy,
        AWSCognitoIdentityProviderErrorInvalidSmsRoleTrustRelationship,
        AWSCognitoIdentityProviderErrorInvalidUserPoolConfiguration,
        AWSCognitoIdentityProviderErrorLimitExceeded,
        AWSCognitoIdentityProviderErrorMFAMethodNotFound,
        AWSCognitoIdentityProviderErrorNotAuthorized,
        AWSCognitoIdentityProviderErrorPasswordResetRequired,
        AWSCognitoIdentityProviderErrorPreconditionNotMet,
        AWSCognitoIdentityProviderErrorResourceNotFound,
        AWSCognitoIdentityProviderErrorScopeDoesNotExist,
        AWSCognitoIdentityProviderErrorSoftwareTokenMFANotFound,
        AWSCognitoIdentityProviderErrorTooManyFailedAttempts,
        AWSCognitoIdentityProviderErrorTooManyRequests,
        AWSCognitoIdentityProviderErrorUnexpectedLambda,
        AWSCognitoIdentityProviderErrorUnsupportedIdentityProvider,
        AWSCognitoIdentityProviderErrorUnsupportedUserState,
        AWSCognitoIdentityProviderErrorUserImportInProgress,
        AWSCognitoIdentityProviderErrorUserLambdaValidation,
        AWSCognitoIdentityProviderErrorUserNotConfirmed,
        AWSCognitoIdentityProviderErrorUserNotFound,
        AWSCognitoIdentityProviderErrorUserPoolAddOnNotEnabled,
        AWSCognitoIdentityProviderErrorUserPoolTagging,
        AWSCognitoIdentityProviderErrorUsernameExists,
    }

    Swift

    enum AWSCognitoIdentityProviderErrorType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderAccountTakeoverEventActionType) {
        AWSCognitoIdentityProviderAccountTakeoverEventActionTypeUnknown,
        AWSCognitoIdentityProviderAccountTakeoverEventActionTypeBlock,
        AWSCognitoIdentityProviderAccountTakeoverEventActionTypeMfaIfConfigured,
        AWSCognitoIdentityProviderAccountTakeoverEventActionTypeMfaRequired,
        AWSCognitoIdentityProviderAccountTakeoverEventActionTypeNoAction,
    }

    Swift

    enum AWSCognitoIdentityProviderAccountTakeoverEventActionType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderAdvancedSecurityModeType) {
        AWSCognitoIdentityProviderAdvancedSecurityModeTypeUnknown,
        AWSCognitoIdentityProviderAdvancedSecurityModeTypeOff,
        AWSCognitoIdentityProviderAdvancedSecurityModeTypeAudit,
        AWSCognitoIdentityProviderAdvancedSecurityModeTypeEnforced,
    }

    Swift

    enum AWSCognitoIdentityProviderAdvancedSecurityModeType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderAliasAttributeType) {
        AWSCognitoIdentityProviderAliasAttributeTypeUnknown,
        AWSCognitoIdentityProviderAliasAttributeTypePhoneNumber,
        AWSCognitoIdentityProviderAliasAttributeTypeEmail,
        AWSCognitoIdentityProviderAliasAttributeTypePreferredUsername,
    }

    Swift

    enum AWSCognitoIdentityProviderAliasAttributeType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderAttributeDataType) {
        AWSCognitoIdentityProviderAttributeDataTypeUnknown,
        AWSCognitoIdentityProviderAttributeDataTypeString,
        AWSCognitoIdentityProviderAttributeDataTypeNumber,
        AWSCognitoIdentityProviderAttributeDataTypeDateTime,
        AWSCognitoIdentityProviderAttributeDataTypeBoolean,
    }

    Swift

    enum AWSCognitoIdentityProviderAttributeDataType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderAuthFlowType) {
        AWSCognitoIdentityProviderAuthFlowTypeUnknown,
        AWSCognitoIdentityProviderAuthFlowTypeUserSrpAuth,
        AWSCognitoIdentityProviderAuthFlowTypeRefreshTokenAuth,
        AWSCognitoIdentityProviderAuthFlowTypeRefreshToken,
        AWSCognitoIdentityProviderAuthFlowTypeCustomAuth,
        AWSCognitoIdentityProviderAuthFlowTypeAdminNoSrpAuth,
        AWSCognitoIdentityProviderAuthFlowTypeUserPasswordAuth,
        AWSCognitoIdentityProviderAuthFlowTypeAdminUserPasswordAuth,
    }

    Swift

    enum AWSCognitoIdentityProviderAuthFlowType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderChallengeName) {
        AWSCognitoIdentityProviderChallengeNameUnknown,
        AWSCognitoIdentityProviderChallengeNamePassword,
        AWSCognitoIdentityProviderChallengeNameMfa,
    }

    Swift

    enum AWSCognitoIdentityProviderChallengeName : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderChallengeNameType) {
        AWSCognitoIdentityProviderChallengeNameTypeUnknown,
        AWSCognitoIdentityProviderChallengeNameTypeSmsMfa,
        AWSCognitoIdentityProviderChallengeNameTypeSoftwareTokenMfa,
        AWSCognitoIdentityProviderChallengeNameTypeSelectMfaType,
        AWSCognitoIdentityProviderChallengeNameTypeMfaSetup,
        AWSCognitoIdentityProviderChallengeNameTypePasswordVerifier,
        AWSCognitoIdentityProviderChallengeNameTypeCustomChallenge,
        AWSCognitoIdentityProviderChallengeNameTypeDeviceSrpAuth,
        AWSCognitoIdentityProviderChallengeNameTypeDevicePasswordVerifier,
        AWSCognitoIdentityProviderChallengeNameTypeAdminNoSrpAuth,
        AWSCognitoIdentityProviderChallengeNameTypeNewPasswordRequired,
    }

    Swift

    enum AWSCognitoIdentityProviderChallengeNameType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderChallengeResponse) {
        AWSCognitoIdentityProviderChallengeResponseUnknown,
        AWSCognitoIdentityProviderChallengeResponseSuccess,
        AWSCognitoIdentityProviderChallengeResponseFailure,
    }

    Swift

    enum AWSCognitoIdentityProviderChallengeResponse : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderCompromisedCredentialsEventActionType) {
        AWSCognitoIdentityProviderCompromisedCredentialsEventActionTypeUnknown,
        AWSCognitoIdentityProviderCompromisedCredentialsEventActionTypeBlock,
        AWSCognitoIdentityProviderCompromisedCredentialsEventActionTypeNoAction,
    }

    Swift

    enum AWSCognitoIdentityProviderCompromisedCredentialsEventActionType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderDefaultEmailOptionType) {
        AWSCognitoIdentityProviderDefaultEmailOptionTypeUnknown,
        AWSCognitoIdentityProviderDefaultEmailOptionTypeConfirmWithLink,
        AWSCognitoIdentityProviderDefaultEmailOptionTypeConfirmWithCode,
    }

    Swift

    enum AWSCognitoIdentityProviderDefaultEmailOptionType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderDeliveryMediumType) {
        AWSCognitoIdentityProviderDeliveryMediumTypeUnknown,
        AWSCognitoIdentityProviderDeliveryMediumTypeSms,
        AWSCognitoIdentityProviderDeliveryMediumTypeEmail,
    }

    Swift

    enum AWSCognitoIdentityProviderDeliveryMediumType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderDeviceRememberedStatusType) {
        AWSCognitoIdentityProviderDeviceRememberedStatusTypeUnknown,
        AWSCognitoIdentityProviderDeviceRememberedStatusTypeRemembered,
        AWSCognitoIdentityProviderDeviceRememberedStatusTypeNotRemembered,
    }

    Swift

    enum AWSCognitoIdentityProviderDeviceRememberedStatusType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderDomainStatusType) {
        AWSCognitoIdentityProviderDomainStatusTypeUnknown,
        AWSCognitoIdentityProviderDomainStatusTypeCreating,
        AWSCognitoIdentityProviderDomainStatusTypeDeleting,
        AWSCognitoIdentityProviderDomainStatusTypeUpdating,
        AWSCognitoIdentityProviderDomainStatusTypeActive,
        AWSCognitoIdentityProviderDomainStatusTypeFailed,
    }

    Swift

    enum AWSCognitoIdentityProviderDomainStatusType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderEmailSendingAccountType) {
        AWSCognitoIdentityProviderEmailSendingAccountTypeUnknown,
        AWSCognitoIdentityProviderEmailSendingAccountTypeCognitoDefault,
        AWSCognitoIdentityProviderEmailSendingAccountTypeDeveloper,
    }

    Swift

    enum AWSCognitoIdentityProviderEmailSendingAccountType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderEventFilterType) {
        AWSCognitoIdentityProviderEventFilterTypeUnknown,
        AWSCognitoIdentityProviderEventFilterTypeSignIn,
        AWSCognitoIdentityProviderEventFilterTypePasswordChange,
        AWSCognitoIdentityProviderEventFilterTypeSignUp,
    }

    Swift

    enum AWSCognitoIdentityProviderEventFilterType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderEventResponseType) {
        AWSCognitoIdentityProviderEventResponseTypeUnknown,
        AWSCognitoIdentityProviderEventResponseTypeSuccess,
        AWSCognitoIdentityProviderEventResponseTypeFailure,
    }

    Swift

    enum AWSCognitoIdentityProviderEventResponseType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderEventType) {
        AWSCognitoIdentityProviderEventTypeUnknown,
        AWSCognitoIdentityProviderEventTypeSignIn,
        AWSCognitoIdentityProviderEventTypeSignUp,
        AWSCognitoIdentityProviderEventTypeForgotPassword,
    }

    Swift

    enum AWSCognitoIdentityProviderEventType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderExplicitAuthFlowsType) {
        AWSCognitoIdentityProviderExplicitAuthFlowsTypeUnknown,
        AWSCognitoIdentityProviderExplicitAuthFlowsTypeAdminNoSrpAuth,
        AWSCognitoIdentityProviderExplicitAuthFlowsTypeCustomAuthFlowOnly,
        AWSCognitoIdentityProviderExplicitAuthFlowsTypeUserPasswordAuth,
        AWSCognitoIdentityProviderExplicitAuthFlowsTypeAllowAdminUserPasswordAuth,
        AWSCognitoIdentityProviderExplicitAuthFlowsTypeAllowCustomAuth,
        AWSCognitoIdentityProviderExplicitAuthFlowsTypeAllowUserPasswordAuth,
        AWSCognitoIdentityProviderExplicitAuthFlowsTypeAllowUserSrpAuth,
        AWSCognitoIdentityProviderExplicitAuthFlowsTypeAllowRefreshTokenAuth,
    }

    Swift

    enum AWSCognitoIdentityProviderExplicitAuthFlowsType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderFeedbackValueType) {
        AWSCognitoIdentityProviderFeedbackValueTypeUnknown,
        AWSCognitoIdentityProviderFeedbackValueTypeValid,
        AWSCognitoIdentityProviderFeedbackValueTypeInvalid,
    }

    Swift

    enum AWSCognitoIdentityProviderFeedbackValueType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderIdentityProviderTypeType) {
        AWSCognitoIdentityProviderIdentityProviderTypeTypeUnknown,
        AWSCognitoIdentityProviderIdentityProviderTypeTypeSaml,
        AWSCognitoIdentityProviderIdentityProviderTypeTypeFacebook,
        AWSCognitoIdentityProviderIdentityProviderTypeTypeGoogle,
        AWSCognitoIdentityProviderIdentityProviderTypeTypeLoginWithAmazon,
        AWSCognitoIdentityProviderIdentityProviderTypeTypeSignInWithApple,
        AWSCognitoIdentityProviderIdentityProviderTypeTypeOidc,
    }

    Swift

    enum AWSCognitoIdentityProviderIdentityProviderTypeType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderMessageActionType) {
        AWSCognitoIdentityProviderMessageActionTypeUnknown,
        AWSCognitoIdentityProviderMessageActionTypeResend,
        AWSCognitoIdentityProviderMessageActionTypeSuppress,
    }

    Swift

    enum AWSCognitoIdentityProviderMessageActionType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderOAuthFlowType) {
        AWSCognitoIdentityProviderOAuthFlowTypeUnknown,
        AWSCognitoIdentityProviderOAuthFlowTypeCode,
        AWSCognitoIdentityProviderOAuthFlowTypeImplicit,
        AWSCognitoIdentityProviderOAuthFlowTypeClientCredentials,
    }

    Swift

    enum AWSCognitoIdentityProviderOAuthFlowType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderPreventUserExistenceErrorTypes) {
        AWSCognitoIdentityProviderPreventUserExistenceErrorTypesUnknown,
        AWSCognitoIdentityProviderPreventUserExistenceErrorTypesLegacy,
        AWSCognitoIdentityProviderPreventUserExistenceErrorTypesEnabled,
    }

    Swift

    enum AWSCognitoIdentityProviderPreventUserExistenceErrorTypes : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderRecoveryOptionNameType) {
        AWSCognitoIdentityProviderRecoveryOptionNameTypeUnknown,
        AWSCognitoIdentityProviderRecoveryOptionNameTypeVerifiedEmail,
        AWSCognitoIdentityProviderRecoveryOptionNameTypeVerifiedPhoneNumber,
        AWSCognitoIdentityProviderRecoveryOptionNameTypeAdminOnly,
    }

    Swift

    enum AWSCognitoIdentityProviderRecoveryOptionNameType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderRiskDecisionType) {
        AWSCognitoIdentityProviderRiskDecisionTypeUnknown,
        AWSCognitoIdentityProviderRiskDecisionTypeNoRisk,
        AWSCognitoIdentityProviderRiskDecisionTypeAccountTakeover,
        AWSCognitoIdentityProviderRiskDecisionTypeBlock,
    }

    Swift

    enum AWSCognitoIdentityProviderRiskDecisionType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderRiskLevelType) {
        AWSCognitoIdentityProviderRiskLevelTypeUnknown,
        AWSCognitoIdentityProviderRiskLevelTypeLow,
        AWSCognitoIdentityProviderRiskLevelTypeMedium,
        AWSCognitoIdentityProviderRiskLevelTypeHigh,
    }

    Swift

    enum AWSCognitoIdentityProviderRiskLevelType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderStatusType) {
        AWSCognitoIdentityProviderStatusTypeUnknown,
        AWSCognitoIdentityProviderStatusTypeEnabled,
        AWSCognitoIdentityProviderStatusTypeDisabled,
    }

    Swift

    enum AWSCognitoIdentityProviderStatusType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderUserImportJobStatusType) {
        AWSCognitoIdentityProviderUserImportJobStatusTypeUnknown,
        AWSCognitoIdentityProviderUserImportJobStatusTypeCreated,
        AWSCognitoIdentityProviderUserImportJobStatusTypePending,
        AWSCognitoIdentityProviderUserImportJobStatusTypeInProgress,
        AWSCognitoIdentityProviderUserImportJobStatusTypeStopping,
        AWSCognitoIdentityProviderUserImportJobStatusTypeExpired,
        AWSCognitoIdentityProviderUserImportJobStatusTypeStopped,
        AWSCognitoIdentityProviderUserImportJobStatusTypeFailed,
        AWSCognitoIdentityProviderUserImportJobStatusTypeSucceeded,
    }

    Swift

    enum AWSCognitoIdentityProviderUserImportJobStatusType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderUserPoolMfaType) {
        AWSCognitoIdentityProviderUserPoolMfaTypeUnknown,
        AWSCognitoIdentityProviderUserPoolMfaTypeOff,
        AWSCognitoIdentityProviderUserPoolMfaTypeOn,
        AWSCognitoIdentityProviderUserPoolMfaTypeOptional,
    }

    Swift

    enum AWSCognitoIdentityProviderUserPoolMfaType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderUserStatusType) {
        AWSCognitoIdentityProviderUserStatusTypeUnknown,
        AWSCognitoIdentityProviderUserStatusTypeUnconfirmed,
        AWSCognitoIdentityProviderUserStatusTypeConfirmed,
        AWSCognitoIdentityProviderUserStatusTypeArchived,
        AWSCognitoIdentityProviderUserStatusTypeCompromised,
        AWSCognitoIdentityProviderUserStatusTypeResetRequired,
        AWSCognitoIdentityProviderUserStatusTypeForceChangePassword,
    }

    Swift

    enum AWSCognitoIdentityProviderUserStatusType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderUsernameAttributeType) {
        AWSCognitoIdentityProviderUsernameAttributeTypeUnknown,
        AWSCognitoIdentityProviderUsernameAttributeTypePhoneNumber,
        AWSCognitoIdentityProviderUsernameAttributeTypeEmail,
    }

    Swift

    enum AWSCognitoIdentityProviderUsernameAttributeType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderVerifiedAttributeType) {
        AWSCognitoIdentityProviderVerifiedAttributeTypeUnknown,
        AWSCognitoIdentityProviderVerifiedAttributeTypePhoneNumber,
        AWSCognitoIdentityProviderVerifiedAttributeTypeEmail,
    }

    Swift

    enum AWSCognitoIdentityProviderVerifiedAttributeType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSCognitoIdentityProviderVerifySoftwareTokenResponseType) {
        AWSCognitoIdentityProviderVerifySoftwareTokenResponseTypeUnknown,
        AWSCognitoIdentityProviderVerifySoftwareTokenResponseTypeSuccess,
        AWSCognitoIdentityProviderVerifySoftwareTokenResponseTypeError,
    }

    Swift

    enum AWSCognitoIdentityProviderVerifySoftwareTokenResponseType : Int