/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cognito-idp-2016-04-18.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.CognitoIdentityProvider { /// /// Constants used for properties of type AccountTakeoverEventActionType. /// public class AccountTakeoverEventActionType : ConstantClass { /// /// Constant BLOCK for AccountTakeoverEventActionType /// public static readonly AccountTakeoverEventActionType BLOCK = new AccountTakeoverEventActionType("BLOCK"); /// /// Constant MFA_IF_CONFIGURED for AccountTakeoverEventActionType /// public static readonly AccountTakeoverEventActionType MFA_IF_CONFIGURED = new AccountTakeoverEventActionType("MFA_IF_CONFIGURED"); /// /// Constant MFA_REQUIRED for AccountTakeoverEventActionType /// public static readonly AccountTakeoverEventActionType MFA_REQUIRED = new AccountTakeoverEventActionType("MFA_REQUIRED"); /// /// Constant NO_ACTION for AccountTakeoverEventActionType /// public static readonly AccountTakeoverEventActionType NO_ACTION = new AccountTakeoverEventActionType("NO_ACTION"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AccountTakeoverEventActionType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AccountTakeoverEventActionType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AccountTakeoverEventActionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type AdvancedSecurityModeType. /// public class AdvancedSecurityModeType : ConstantClass { /// /// Constant AUDIT for AdvancedSecurityModeType /// public static readonly AdvancedSecurityModeType AUDIT = new AdvancedSecurityModeType("AUDIT"); /// /// Constant ENFORCED for AdvancedSecurityModeType /// public static readonly AdvancedSecurityModeType ENFORCED = new AdvancedSecurityModeType("ENFORCED"); /// /// Constant OFF for AdvancedSecurityModeType /// public static readonly AdvancedSecurityModeType OFF = new AdvancedSecurityModeType("OFF"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AdvancedSecurityModeType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AdvancedSecurityModeType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AdvancedSecurityModeType(string value) { return FindValue(value); } } /// /// Constants used for properties of type AliasAttributeType. /// public class AliasAttributeType : ConstantClass { /// /// Constant Email for AliasAttributeType /// public static readonly AliasAttributeType Email = new AliasAttributeType("email"); /// /// Constant Phone_number for AliasAttributeType /// public static readonly AliasAttributeType Phone_number = new AliasAttributeType("phone_number"); /// /// Constant Preferred_username for AliasAttributeType /// public static readonly AliasAttributeType Preferred_username = new AliasAttributeType("preferred_username"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AliasAttributeType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AliasAttributeType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AliasAttributeType(string value) { return FindValue(value); } } /// /// Constants used for properties of type AttributeDataType. /// public class AttributeDataType : ConstantClass { /// /// Constant Boolean for AttributeDataType /// public static readonly AttributeDataType Boolean = new AttributeDataType("Boolean"); /// /// Constant DateTime for AttributeDataType /// public static readonly AttributeDataType DateTime = new AttributeDataType("DateTime"); /// /// Constant Number for AttributeDataType /// public static readonly AttributeDataType Number = new AttributeDataType("Number"); /// /// Constant String for AttributeDataType /// public static readonly AttributeDataType String = new AttributeDataType("String"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AttributeDataType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AttributeDataType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AttributeDataType(string value) { return FindValue(value); } } /// /// Constants used for properties of type AuthFlowType. /// public class AuthFlowType : ConstantClass { /// /// Constant ADMIN_NO_SRP_AUTH for AuthFlowType /// public static readonly AuthFlowType ADMIN_NO_SRP_AUTH = new AuthFlowType("ADMIN_NO_SRP_AUTH"); /// /// Constant ADMIN_USER_PASSWORD_AUTH for AuthFlowType /// public static readonly AuthFlowType ADMIN_USER_PASSWORD_AUTH = new AuthFlowType("ADMIN_USER_PASSWORD_AUTH"); /// /// Constant CUSTOM_AUTH for AuthFlowType /// public static readonly AuthFlowType CUSTOM_AUTH = new AuthFlowType("CUSTOM_AUTH"); /// /// Constant REFRESH_TOKEN for AuthFlowType /// public static readonly AuthFlowType REFRESH_TOKEN = new AuthFlowType("REFRESH_TOKEN"); /// /// Constant REFRESH_TOKEN_AUTH for AuthFlowType /// public static readonly AuthFlowType REFRESH_TOKEN_AUTH = new AuthFlowType("REFRESH_TOKEN_AUTH"); /// /// Constant USER_PASSWORD_AUTH for AuthFlowType /// public static readonly AuthFlowType USER_PASSWORD_AUTH = new AuthFlowType("USER_PASSWORD_AUTH"); /// /// Constant USER_SRP_AUTH for AuthFlowType /// public static readonly AuthFlowType USER_SRP_AUTH = new AuthFlowType("USER_SRP_AUTH"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AuthFlowType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AuthFlowType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AuthFlowType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ChallengeName. /// public class ChallengeName : ConstantClass { /// /// Constant Mfa for ChallengeName /// public static readonly ChallengeName Mfa = new ChallengeName("Mfa"); /// /// Constant Password for ChallengeName /// public static readonly ChallengeName Password = new ChallengeName("Password"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ChallengeName(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ChallengeName FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ChallengeName(string value) { return FindValue(value); } } /// /// Constants used for properties of type ChallengeNameType. /// public class ChallengeNameType : ConstantClass { /// /// Constant ADMIN_NO_SRP_AUTH for ChallengeNameType /// public static readonly ChallengeNameType ADMIN_NO_SRP_AUTH = new ChallengeNameType("ADMIN_NO_SRP_AUTH"); /// /// Constant CUSTOM_CHALLENGE for ChallengeNameType /// public static readonly ChallengeNameType CUSTOM_CHALLENGE = new ChallengeNameType("CUSTOM_CHALLENGE"); /// /// Constant DEVICE_PASSWORD_VERIFIER for ChallengeNameType /// public static readonly ChallengeNameType DEVICE_PASSWORD_VERIFIER = new ChallengeNameType("DEVICE_PASSWORD_VERIFIER"); /// /// Constant DEVICE_SRP_AUTH for ChallengeNameType /// public static readonly ChallengeNameType DEVICE_SRP_AUTH = new ChallengeNameType("DEVICE_SRP_AUTH"); /// /// Constant MFA_SETUP for ChallengeNameType /// public static readonly ChallengeNameType MFA_SETUP = new ChallengeNameType("MFA_SETUP"); /// /// Constant NEW_PASSWORD_REQUIRED for ChallengeNameType /// public static readonly ChallengeNameType NEW_PASSWORD_REQUIRED = new ChallengeNameType("NEW_PASSWORD_REQUIRED"); /// /// Constant PASSWORD_VERIFIER for ChallengeNameType /// public static readonly ChallengeNameType PASSWORD_VERIFIER = new ChallengeNameType("PASSWORD_VERIFIER"); /// /// Constant SELECT_MFA_TYPE for ChallengeNameType /// public static readonly ChallengeNameType SELECT_MFA_TYPE = new ChallengeNameType("SELECT_MFA_TYPE"); /// /// Constant SMS_MFA for ChallengeNameType /// public static readonly ChallengeNameType SMS_MFA = new ChallengeNameType("SMS_MFA"); /// /// Constant SOFTWARE_TOKEN_MFA for ChallengeNameType /// public static readonly ChallengeNameType SOFTWARE_TOKEN_MFA = new ChallengeNameType("SOFTWARE_TOKEN_MFA"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ChallengeNameType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ChallengeNameType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ChallengeNameType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ChallengeResponse. /// public class ChallengeResponse : ConstantClass { /// /// Constant Failure for ChallengeResponse /// public static readonly ChallengeResponse Failure = new ChallengeResponse("Failure"); /// /// Constant Success for ChallengeResponse /// public static readonly ChallengeResponse Success = new ChallengeResponse("Success"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ChallengeResponse(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ChallengeResponse FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ChallengeResponse(string value) { return FindValue(value); } } /// /// Constants used for properties of type CompromisedCredentialsEventActionType. /// public class CompromisedCredentialsEventActionType : ConstantClass { /// /// Constant BLOCK for CompromisedCredentialsEventActionType /// public static readonly CompromisedCredentialsEventActionType BLOCK = new CompromisedCredentialsEventActionType("BLOCK"); /// /// Constant NO_ACTION for CompromisedCredentialsEventActionType /// public static readonly CompromisedCredentialsEventActionType NO_ACTION = new CompromisedCredentialsEventActionType("NO_ACTION"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CompromisedCredentialsEventActionType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CompromisedCredentialsEventActionType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CompromisedCredentialsEventActionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type CustomEmailSenderLambdaVersionType. /// public class CustomEmailSenderLambdaVersionType : ConstantClass { /// /// Constant V1_0 for CustomEmailSenderLambdaVersionType /// public static readonly CustomEmailSenderLambdaVersionType V1_0 = new CustomEmailSenderLambdaVersionType("V1_0"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CustomEmailSenderLambdaVersionType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CustomEmailSenderLambdaVersionType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CustomEmailSenderLambdaVersionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type CustomSMSSenderLambdaVersionType. /// public class CustomSMSSenderLambdaVersionType : ConstantClass { /// /// Constant V1_0 for CustomSMSSenderLambdaVersionType /// public static readonly CustomSMSSenderLambdaVersionType V1_0 = new CustomSMSSenderLambdaVersionType("V1_0"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CustomSMSSenderLambdaVersionType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CustomSMSSenderLambdaVersionType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CustomSMSSenderLambdaVersionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DefaultEmailOptionType. /// public class DefaultEmailOptionType : ConstantClass { /// /// Constant CONFIRM_WITH_CODE for DefaultEmailOptionType /// public static readonly DefaultEmailOptionType CONFIRM_WITH_CODE = new DefaultEmailOptionType("CONFIRM_WITH_CODE"); /// /// Constant CONFIRM_WITH_LINK for DefaultEmailOptionType /// public static readonly DefaultEmailOptionType CONFIRM_WITH_LINK = new DefaultEmailOptionType("CONFIRM_WITH_LINK"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public DefaultEmailOptionType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static DefaultEmailOptionType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator DefaultEmailOptionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeletionProtectionType. /// public class DeletionProtectionType : ConstantClass { /// /// Constant ACTIVE for DeletionProtectionType /// public static readonly DeletionProtectionType ACTIVE = new DeletionProtectionType("ACTIVE"); /// /// Constant INACTIVE for DeletionProtectionType /// public static readonly DeletionProtectionType INACTIVE = new DeletionProtectionType("INACTIVE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public DeletionProtectionType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static DeletionProtectionType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator DeletionProtectionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeliveryMediumType. /// public class DeliveryMediumType : ConstantClass { /// /// Constant EMAIL for DeliveryMediumType /// public static readonly DeliveryMediumType EMAIL = new DeliveryMediumType("EMAIL"); /// /// Constant SMS for DeliveryMediumType /// public static readonly DeliveryMediumType SMS = new DeliveryMediumType("SMS"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public DeliveryMediumType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static DeliveryMediumType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator DeliveryMediumType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeviceRememberedStatusType. /// public class DeviceRememberedStatusType : ConstantClass { /// /// Constant Not_remembered for DeviceRememberedStatusType /// public static readonly DeviceRememberedStatusType Not_remembered = new DeviceRememberedStatusType("not_remembered"); /// /// Constant Remembered for DeviceRememberedStatusType /// public static readonly DeviceRememberedStatusType Remembered = new DeviceRememberedStatusType("remembered"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public DeviceRememberedStatusType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static DeviceRememberedStatusType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator DeviceRememberedStatusType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DomainStatusType. /// public class DomainStatusType : ConstantClass { /// /// Constant ACTIVE for DomainStatusType /// public static readonly DomainStatusType ACTIVE = new DomainStatusType("ACTIVE"); /// /// Constant CREATING for DomainStatusType /// public static readonly DomainStatusType CREATING = new DomainStatusType("CREATING"); /// /// Constant DELETING for DomainStatusType /// public static readonly DomainStatusType DELETING = new DomainStatusType("DELETING"); /// /// Constant FAILED for DomainStatusType /// public static readonly DomainStatusType FAILED = new DomainStatusType("FAILED"); /// /// Constant UPDATING for DomainStatusType /// public static readonly DomainStatusType UPDATING = new DomainStatusType("UPDATING"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public DomainStatusType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static DomainStatusType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator DomainStatusType(string value) { return FindValue(value); } } /// /// Constants used for properties of type EmailSendingAccountType. /// public class EmailSendingAccountType : ConstantClass { /// /// Constant COGNITO_DEFAULT for EmailSendingAccountType /// public static readonly EmailSendingAccountType COGNITO_DEFAULT = new EmailSendingAccountType("COGNITO_DEFAULT"); /// /// Constant DEVELOPER for EmailSendingAccountType /// public static readonly EmailSendingAccountType DEVELOPER = new EmailSendingAccountType("DEVELOPER"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public EmailSendingAccountType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static EmailSendingAccountType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator EmailSendingAccountType(string value) { return FindValue(value); } } /// /// Constants used for properties of type EventFilterType. /// public class EventFilterType : ConstantClass { /// /// Constant PASSWORD_CHANGE for EventFilterType /// public static readonly EventFilterType PASSWORD_CHANGE = new EventFilterType("PASSWORD_CHANGE"); /// /// Constant SIGN_IN for EventFilterType /// public static readonly EventFilterType SIGN_IN = new EventFilterType("SIGN_IN"); /// /// Constant SIGN_UP for EventFilterType /// public static readonly EventFilterType SIGN_UP = new EventFilterType("SIGN_UP"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public EventFilterType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static EventFilterType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator EventFilterType(string value) { return FindValue(value); } } /// /// Constants used for properties of type EventResponseType. /// public class EventResponseType : ConstantClass { /// /// Constant Fail for EventResponseType /// public static readonly EventResponseType Fail = new EventResponseType("Fail"); /// /// Constant InProgress for EventResponseType /// public static readonly EventResponseType InProgress = new EventResponseType("InProgress"); /// /// Constant Pass for EventResponseType /// public static readonly EventResponseType Pass = new EventResponseType("Pass"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public EventResponseType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static EventResponseType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator EventResponseType(string value) { return FindValue(value); } } /// /// Constants used for properties of type EventType. /// public class EventType : ConstantClass { /// /// Constant ForgotPassword for EventType /// public static readonly EventType ForgotPassword = new EventType("ForgotPassword"); /// /// Constant PasswordChange for EventType /// public static readonly EventType PasswordChange = new EventType("PasswordChange"); /// /// Constant ResendCode for EventType /// public static readonly EventType ResendCode = new EventType("ResendCode"); /// /// Constant SignIn for EventType /// public static readonly EventType SignIn = new EventType("SignIn"); /// /// Constant SignUp for EventType /// public static readonly EventType SignUp = new EventType("SignUp"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public EventType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static EventType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator EventType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ExplicitAuthFlowsType. /// public class ExplicitAuthFlowsType : ConstantClass { /// /// Constant ADMIN_NO_SRP_AUTH for ExplicitAuthFlowsType /// public static readonly ExplicitAuthFlowsType ADMIN_NO_SRP_AUTH = new ExplicitAuthFlowsType("ADMIN_NO_SRP_AUTH"); /// /// Constant ALLOW_ADMIN_USER_PASSWORD_AUTH for ExplicitAuthFlowsType /// public static readonly ExplicitAuthFlowsType ALLOW_ADMIN_USER_PASSWORD_AUTH = new ExplicitAuthFlowsType("ALLOW_ADMIN_USER_PASSWORD_AUTH"); /// /// Constant ALLOW_CUSTOM_AUTH for ExplicitAuthFlowsType /// public static readonly ExplicitAuthFlowsType ALLOW_CUSTOM_AUTH = new ExplicitAuthFlowsType("ALLOW_CUSTOM_AUTH"); /// /// Constant ALLOW_REFRESH_TOKEN_AUTH for ExplicitAuthFlowsType /// public static readonly ExplicitAuthFlowsType ALLOW_REFRESH_TOKEN_AUTH = new ExplicitAuthFlowsType("ALLOW_REFRESH_TOKEN_AUTH"); /// /// Constant ALLOW_USER_PASSWORD_AUTH for ExplicitAuthFlowsType /// public static readonly ExplicitAuthFlowsType ALLOW_USER_PASSWORD_AUTH = new ExplicitAuthFlowsType("ALLOW_USER_PASSWORD_AUTH"); /// /// Constant ALLOW_USER_SRP_AUTH for ExplicitAuthFlowsType /// public static readonly ExplicitAuthFlowsType ALLOW_USER_SRP_AUTH = new ExplicitAuthFlowsType("ALLOW_USER_SRP_AUTH"); /// /// Constant CUSTOM_AUTH_FLOW_ONLY for ExplicitAuthFlowsType /// public static readonly ExplicitAuthFlowsType CUSTOM_AUTH_FLOW_ONLY = new ExplicitAuthFlowsType("CUSTOM_AUTH_FLOW_ONLY"); /// /// Constant USER_PASSWORD_AUTH for ExplicitAuthFlowsType /// public static readonly ExplicitAuthFlowsType USER_PASSWORD_AUTH = new ExplicitAuthFlowsType("USER_PASSWORD_AUTH"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ExplicitAuthFlowsType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ExplicitAuthFlowsType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ExplicitAuthFlowsType(string value) { return FindValue(value); } } /// /// Constants used for properties of type FeedbackValueType. /// public class FeedbackValueType : ConstantClass { /// /// Constant Invalid for FeedbackValueType /// public static readonly FeedbackValueType Invalid = new FeedbackValueType("Invalid"); /// /// Constant Valid for FeedbackValueType /// public static readonly FeedbackValueType Valid = new FeedbackValueType("Valid"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public FeedbackValueType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static FeedbackValueType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator FeedbackValueType(string value) { return FindValue(value); } } /// /// Constants used for properties of type IdentityProviderTypeType. /// public class IdentityProviderTypeType : ConstantClass { /// /// Constant Facebook for IdentityProviderTypeType /// public static readonly IdentityProviderTypeType Facebook = new IdentityProviderTypeType("Facebook"); /// /// Constant Google for IdentityProviderTypeType /// public static readonly IdentityProviderTypeType Google = new IdentityProviderTypeType("Google"); /// /// Constant LoginWithAmazon for IdentityProviderTypeType /// public static readonly IdentityProviderTypeType LoginWithAmazon = new IdentityProviderTypeType("LoginWithAmazon"); /// /// Constant OIDC for IdentityProviderTypeType /// public static readonly IdentityProviderTypeType OIDC = new IdentityProviderTypeType("OIDC"); /// /// Constant SAML for IdentityProviderTypeType /// public static readonly IdentityProviderTypeType SAML = new IdentityProviderTypeType("SAML"); /// /// Constant SignInWithApple for IdentityProviderTypeType /// public static readonly IdentityProviderTypeType SignInWithApple = new IdentityProviderTypeType("SignInWithApple"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public IdentityProviderTypeType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static IdentityProviderTypeType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator IdentityProviderTypeType(string value) { return FindValue(value); } } /// /// Constants used for properties of type MessageActionType. /// public class MessageActionType : ConstantClass { /// /// Constant RESEND for MessageActionType /// public static readonly MessageActionType RESEND = new MessageActionType("RESEND"); /// /// Constant SUPPRESS for MessageActionType /// public static readonly MessageActionType SUPPRESS = new MessageActionType("SUPPRESS"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public MessageActionType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static MessageActionType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator MessageActionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type OAuthFlowType. /// public class OAuthFlowType : ConstantClass { /// /// Constant Client_credentials for OAuthFlowType /// public static readonly OAuthFlowType Client_credentials = new OAuthFlowType("client_credentials"); /// /// Constant Code for OAuthFlowType /// public static readonly OAuthFlowType Code = new OAuthFlowType("code"); /// /// Constant Implicit for OAuthFlowType /// public static readonly OAuthFlowType Implicit = new OAuthFlowType("implicit"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public OAuthFlowType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static OAuthFlowType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator OAuthFlowType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PreventUserExistenceErrorTypes. /// public class PreventUserExistenceErrorTypes : ConstantClass { /// /// Constant ENABLED for PreventUserExistenceErrorTypes /// public static readonly PreventUserExistenceErrorTypes ENABLED = new PreventUserExistenceErrorTypes("ENABLED"); /// /// Constant LEGACY for PreventUserExistenceErrorTypes /// public static readonly PreventUserExistenceErrorTypes LEGACY = new PreventUserExistenceErrorTypes("LEGACY"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public PreventUserExistenceErrorTypes(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static PreventUserExistenceErrorTypes FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator PreventUserExistenceErrorTypes(string value) { return FindValue(value); } } /// /// Constants used for properties of type RecoveryOptionNameType. /// public class RecoveryOptionNameType : ConstantClass { /// /// Constant Admin_only for RecoveryOptionNameType /// public static readonly RecoveryOptionNameType Admin_only = new RecoveryOptionNameType("admin_only"); /// /// Constant Verified_email for RecoveryOptionNameType /// public static readonly RecoveryOptionNameType Verified_email = new RecoveryOptionNameType("verified_email"); /// /// Constant Verified_phone_number for RecoveryOptionNameType /// public static readonly RecoveryOptionNameType Verified_phone_number = new RecoveryOptionNameType("verified_phone_number"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RecoveryOptionNameType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RecoveryOptionNameType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RecoveryOptionNameType(string value) { return FindValue(value); } } /// /// Constants used for properties of type RiskDecisionType. /// public class RiskDecisionType : ConstantClass { /// /// Constant AccountTakeover for RiskDecisionType /// public static readonly RiskDecisionType AccountTakeover = new RiskDecisionType("AccountTakeover"); /// /// Constant Block for RiskDecisionType /// public static readonly RiskDecisionType Block = new RiskDecisionType("Block"); /// /// Constant NoRisk for RiskDecisionType /// public static readonly RiskDecisionType NoRisk = new RiskDecisionType("NoRisk"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RiskDecisionType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RiskDecisionType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RiskDecisionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type RiskLevelType. /// public class RiskLevelType : ConstantClass { /// /// Constant High for RiskLevelType /// public static readonly RiskLevelType High = new RiskLevelType("High"); /// /// Constant Low for RiskLevelType /// public static readonly RiskLevelType Low = new RiskLevelType("Low"); /// /// Constant Medium for RiskLevelType /// public static readonly RiskLevelType Medium = new RiskLevelType("Medium"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RiskLevelType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RiskLevelType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RiskLevelType(string value) { return FindValue(value); } } /// /// Constants used for properties of type StatusType. /// public class StatusType : ConstantClass { /// /// Constant Disabled for StatusType /// public static readonly StatusType Disabled = new StatusType("Disabled"); /// /// Constant Enabled for StatusType /// public static readonly StatusType Enabled = new StatusType("Enabled"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public StatusType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static StatusType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator StatusType(string value) { return FindValue(value); } } /// /// Constants used for properties of type TimeUnitsType. /// public class TimeUnitsType : ConstantClass { /// /// Constant Days for TimeUnitsType /// public static readonly TimeUnitsType Days = new TimeUnitsType("days"); /// /// Constant Hours for TimeUnitsType /// public static readonly TimeUnitsType Hours = new TimeUnitsType("hours"); /// /// Constant Minutes for TimeUnitsType /// public static readonly TimeUnitsType Minutes = new TimeUnitsType("minutes"); /// /// Constant Seconds for TimeUnitsType /// public static readonly TimeUnitsType Seconds = new TimeUnitsType("seconds"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public TimeUnitsType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static TimeUnitsType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator TimeUnitsType(string value) { return FindValue(value); } } /// /// Constants used for properties of type UserImportJobStatusType. /// public class UserImportJobStatusType : ConstantClass { /// /// Constant Created for UserImportJobStatusType /// public static readonly UserImportJobStatusType Created = new UserImportJobStatusType("Created"); /// /// Constant Expired for UserImportJobStatusType /// public static readonly UserImportJobStatusType Expired = new UserImportJobStatusType("Expired"); /// /// Constant Failed for UserImportJobStatusType /// public static readonly UserImportJobStatusType Failed = new UserImportJobStatusType("Failed"); /// /// Constant InProgress for UserImportJobStatusType /// public static readonly UserImportJobStatusType InProgress = new UserImportJobStatusType("InProgress"); /// /// Constant Pending for UserImportJobStatusType /// public static readonly UserImportJobStatusType Pending = new UserImportJobStatusType("Pending"); /// /// Constant Stopped for UserImportJobStatusType /// public static readonly UserImportJobStatusType Stopped = new UserImportJobStatusType("Stopped"); /// /// Constant Stopping for UserImportJobStatusType /// public static readonly UserImportJobStatusType Stopping = new UserImportJobStatusType("Stopping"); /// /// Constant Succeeded for UserImportJobStatusType /// public static readonly UserImportJobStatusType Succeeded = new UserImportJobStatusType("Succeeded"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public UserImportJobStatusType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static UserImportJobStatusType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator UserImportJobStatusType(string value) { return FindValue(value); } } /// /// Constants used for properties of type UsernameAttributeType. /// public class UsernameAttributeType : ConstantClass { /// /// Constant Email for UsernameAttributeType /// public static readonly UsernameAttributeType Email = new UsernameAttributeType("email"); /// /// Constant Phone_number for UsernameAttributeType /// public static readonly UsernameAttributeType Phone_number = new UsernameAttributeType("phone_number"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public UsernameAttributeType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static UsernameAttributeType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator UsernameAttributeType(string value) { return FindValue(value); } } /// /// Constants used for properties of type UserPoolMfaType. /// public class UserPoolMfaType : ConstantClass { /// /// Constant OFF for UserPoolMfaType /// public static readonly UserPoolMfaType OFF = new UserPoolMfaType("OFF"); /// /// Constant ON for UserPoolMfaType /// public static readonly UserPoolMfaType ON = new UserPoolMfaType("ON"); /// /// Constant OPTIONAL for UserPoolMfaType /// public static readonly UserPoolMfaType OPTIONAL = new UserPoolMfaType("OPTIONAL"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public UserPoolMfaType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static UserPoolMfaType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator UserPoolMfaType(string value) { return FindValue(value); } } /// /// Constants used for properties of type UserStatusType. /// public class UserStatusType : ConstantClass { /// /// Constant ARCHIVED for UserStatusType /// public static readonly UserStatusType ARCHIVED = new UserStatusType("ARCHIVED"); /// /// Constant COMPROMISED for UserStatusType /// public static readonly UserStatusType COMPROMISED = new UserStatusType("COMPROMISED"); /// /// Constant CONFIRMED for UserStatusType /// public static readonly UserStatusType CONFIRMED = new UserStatusType("CONFIRMED"); /// /// Constant FORCE_CHANGE_PASSWORD for UserStatusType /// public static readonly UserStatusType FORCE_CHANGE_PASSWORD = new UserStatusType("FORCE_CHANGE_PASSWORD"); /// /// Constant RESET_REQUIRED for UserStatusType /// public static readonly UserStatusType RESET_REQUIRED = new UserStatusType("RESET_REQUIRED"); /// /// Constant UNCONFIRMED for UserStatusType /// public static readonly UserStatusType UNCONFIRMED = new UserStatusType("UNCONFIRMED"); /// /// Constant UNKNOWN for UserStatusType /// public static readonly UserStatusType UNKNOWN = new UserStatusType("UNKNOWN"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public UserStatusType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static UserStatusType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator UserStatusType(string value) { return FindValue(value); } } /// /// Constants used for properties of type VerifiedAttributeType. /// public class VerifiedAttributeType : ConstantClass { /// /// Constant Email for VerifiedAttributeType /// public static readonly VerifiedAttributeType Email = new VerifiedAttributeType("email"); /// /// Constant Phone_number for VerifiedAttributeType /// public static readonly VerifiedAttributeType Phone_number = new VerifiedAttributeType("phone_number"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public VerifiedAttributeType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static VerifiedAttributeType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator VerifiedAttributeType(string value) { return FindValue(value); } } /// /// Constants used for properties of type VerifySoftwareTokenResponseType. /// public class VerifySoftwareTokenResponseType : ConstantClass { /// /// Constant ERROR for VerifySoftwareTokenResponseType /// public static readonly VerifySoftwareTokenResponseType ERROR = new VerifySoftwareTokenResponseType("ERROR"); /// /// Constant SUCCESS for VerifySoftwareTokenResponseType /// public static readonly VerifySoftwareTokenResponseType SUCCESS = new VerifySoftwareTokenResponseType("SUCCESS"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public VerifySoftwareTokenResponseType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static VerifySoftwareTokenResponseType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator VerifySoftwareTokenResponseType(string value) { return FindValue(value); } } }