/*
* 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 amplifybackend-2020-08-11.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.AmplifyBackend
{
///
/// Constants used for properties of type AdditionalConstraintsElement.
///
public class AdditionalConstraintsElement : ConstantClass
{
///
/// Constant REQUIRE_DIGIT for AdditionalConstraintsElement
///
public static readonly AdditionalConstraintsElement REQUIRE_DIGIT = new AdditionalConstraintsElement("REQUIRE_DIGIT");
///
/// Constant REQUIRE_LOWERCASE for AdditionalConstraintsElement
///
public static readonly AdditionalConstraintsElement REQUIRE_LOWERCASE = new AdditionalConstraintsElement("REQUIRE_LOWERCASE");
///
/// Constant REQUIRE_SYMBOL for AdditionalConstraintsElement
///
public static readonly AdditionalConstraintsElement REQUIRE_SYMBOL = new AdditionalConstraintsElement("REQUIRE_SYMBOL");
///
/// Constant REQUIRE_UPPERCASE for AdditionalConstraintsElement
///
public static readonly AdditionalConstraintsElement REQUIRE_UPPERCASE = new AdditionalConstraintsElement("REQUIRE_UPPERCASE");
///
/// 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 AdditionalConstraintsElement(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 AdditionalConstraintsElement 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 AdditionalConstraintsElement(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AuthenticatedElement.
///
public class AuthenticatedElement : ConstantClass
{
///
/// Constant CREATE_AND_UPDATE for AuthenticatedElement
///
public static readonly AuthenticatedElement CREATE_AND_UPDATE = new AuthenticatedElement("CREATE_AND_UPDATE");
///
/// Constant DELETE for AuthenticatedElement
///
public static readonly AuthenticatedElement DELETE = new AuthenticatedElement("DELETE");
///
/// Constant READ for AuthenticatedElement
///
public static readonly AuthenticatedElement READ = new AuthenticatedElement("READ");
///
/// 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 AuthenticatedElement(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 AuthenticatedElement 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 AuthenticatedElement(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AuthResources.
///
public class AuthResources : ConstantClass
{
///
/// Constant IDENTITY_POOL_AND_USER_POOL for AuthResources
///
public static readonly AuthResources IDENTITY_POOL_AND_USER_POOL = new AuthResources("IDENTITY_POOL_AND_USER_POOL");
///
/// Constant USER_POOL_ONLY for AuthResources
///
public static readonly AuthResources USER_POOL_ONLY = new AuthResources("USER_POOL_ONLY");
///
/// 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 AuthResources(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 AuthResources 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 AuthResources(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DeliveryMethod.
///
public class DeliveryMethod : ConstantClass
{
///
/// Constant EMAIL for DeliveryMethod
///
public static readonly DeliveryMethod EMAIL = new DeliveryMethod("EMAIL");
///
/// Constant SMS for DeliveryMethod
///
public static readonly DeliveryMethod SMS = new DeliveryMethod("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 DeliveryMethod(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 DeliveryMethod 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 DeliveryMethod(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type MFAMode.
///
public class MFAMode : ConstantClass
{
///
/// Constant OFF for MFAMode
///
public static readonly MFAMode OFF = new MFAMode("OFF");
///
/// Constant ON for MFAMode
///
public static readonly MFAMode ON = new MFAMode("ON");
///
/// Constant OPTIONAL for MFAMode
///
public static readonly MFAMode OPTIONAL = new MFAMode("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 MFAMode(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 MFAMode 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 MFAMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type MfaTypesElement.
///
public class MfaTypesElement : ConstantClass
{
///
/// Constant SMS for MfaTypesElement
///
public static readonly MfaTypesElement SMS = new MfaTypesElement("SMS");
///
/// Constant TOTP for MfaTypesElement
///
public static readonly MfaTypesElement TOTP = new MfaTypesElement("TOTP");
///
/// 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 MfaTypesElement(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 MfaTypesElement 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 MfaTypesElement(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Mode.
///
public class Mode : ConstantClass
{
///
/// Constant AMAZON_COGNITO_USER_POOLS for Mode
///
public static readonly Mode AMAZON_COGNITO_USER_POOLS = new Mode("AMAZON_COGNITO_USER_POOLS");
///
/// Constant API_KEY for Mode
///
public static readonly Mode API_KEY = new Mode("API_KEY");
///
/// Constant AWS_IAM for Mode
///
public static readonly Mode AWS_IAM = new Mode("AWS_IAM");
///
/// Constant OPENID_CONNECT for Mode
///
public static readonly Mode OPENID_CONNECT = new Mode("OPENID_CONNECT");
///
/// 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 Mode(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 Mode 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 Mode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OAuthGrantType.
///
public class OAuthGrantType : ConstantClass
{
///
/// Constant CODE for OAuthGrantType
///
public static readonly OAuthGrantType CODE = new OAuthGrantType("CODE");
///
/// Constant IMPLICIT for OAuthGrantType
///
public static readonly OAuthGrantType IMPLICIT = new OAuthGrantType("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 OAuthGrantType(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 OAuthGrantType 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 OAuthGrantType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OAuthScopesElement.
///
public class OAuthScopesElement : ConstantClass
{
///
/// Constant AWS_COGNITO_SIGNIN_USER_ADMIN for OAuthScopesElement
///
public static readonly OAuthScopesElement AWS_COGNITO_SIGNIN_USER_ADMIN = new OAuthScopesElement("AWS_COGNITO_SIGNIN_USER_ADMIN");
///
/// Constant EMAIL for OAuthScopesElement
///
public static readonly OAuthScopesElement EMAIL = new OAuthScopesElement("EMAIL");
///
/// Constant OPENID for OAuthScopesElement
///
public static readonly OAuthScopesElement OPENID = new OAuthScopesElement("OPENID");
///
/// Constant PHONE for OAuthScopesElement
///
public static readonly OAuthScopesElement PHONE = new OAuthScopesElement("PHONE");
///
/// Constant PROFILE for OAuthScopesElement
///
public static readonly OAuthScopesElement PROFILE = new OAuthScopesElement("PROFILE");
///
/// 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 OAuthScopesElement(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 OAuthScopesElement 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 OAuthScopesElement(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RequiredSignUpAttributesElement.
///
public class RequiredSignUpAttributesElement : ConstantClass
{
///
/// Constant ADDRESS for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement ADDRESS = new RequiredSignUpAttributesElement("ADDRESS");
///
/// Constant BIRTHDATE for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement BIRTHDATE = new RequiredSignUpAttributesElement("BIRTHDATE");
///
/// Constant EMAIL for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement EMAIL = new RequiredSignUpAttributesElement("EMAIL");
///
/// Constant FAMILY_NAME for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement FAMILY_NAME = new RequiredSignUpAttributesElement("FAMILY_NAME");
///
/// Constant GENDER for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement GENDER = new RequiredSignUpAttributesElement("GENDER");
///
/// Constant GIVEN_NAME for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement GIVEN_NAME = new RequiredSignUpAttributesElement("GIVEN_NAME");
///
/// Constant LOCALE for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement LOCALE = new RequiredSignUpAttributesElement("LOCALE");
///
/// Constant MIDDLE_NAME for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement MIDDLE_NAME = new RequiredSignUpAttributesElement("MIDDLE_NAME");
///
/// Constant NAME for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement NAME = new RequiredSignUpAttributesElement("NAME");
///
/// Constant NICKNAME for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement NICKNAME = new RequiredSignUpAttributesElement("NICKNAME");
///
/// Constant PHONE_NUMBER for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement PHONE_NUMBER = new RequiredSignUpAttributesElement("PHONE_NUMBER");
///
/// Constant PICTURE for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement PICTURE = new RequiredSignUpAttributesElement("PICTURE");
///
/// Constant PREFERRED_USERNAME for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement PREFERRED_USERNAME = new RequiredSignUpAttributesElement("PREFERRED_USERNAME");
///
/// Constant PROFILE for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement PROFILE = new RequiredSignUpAttributesElement("PROFILE");
///
/// Constant UPDATED_AT for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement UPDATED_AT = new RequiredSignUpAttributesElement("UPDATED_AT");
///
/// Constant WEBSITE for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement WEBSITE = new RequiredSignUpAttributesElement("WEBSITE");
///
/// Constant ZONE_INFO for RequiredSignUpAttributesElement
///
public static readonly RequiredSignUpAttributesElement ZONE_INFO = new RequiredSignUpAttributesElement("ZONE_INFO");
///
/// 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 RequiredSignUpAttributesElement(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 RequiredSignUpAttributesElement 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 RequiredSignUpAttributesElement(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResolutionStrategy.
///
public class ResolutionStrategy : ConstantClass
{
///
/// Constant AUTOMERGE for ResolutionStrategy
///
public static readonly ResolutionStrategy AUTOMERGE = new ResolutionStrategy("AUTOMERGE");
///
/// Constant LAMBDA for ResolutionStrategy
///
public static readonly ResolutionStrategy LAMBDA = new ResolutionStrategy("LAMBDA");
///
/// Constant NONE for ResolutionStrategy
///
public static readonly ResolutionStrategy NONE = new ResolutionStrategy("NONE");
///
/// Constant OPTIMISTIC_CONCURRENCY for ResolutionStrategy
///
public static readonly ResolutionStrategy OPTIMISTIC_CONCURRENCY = new ResolutionStrategy("OPTIMISTIC_CONCURRENCY");
///
/// 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 ResolutionStrategy(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 ResolutionStrategy 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 ResolutionStrategy(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Service.
///
public class Service : ConstantClass
{
///
/// Constant COGNITO for Service
///
public static readonly Service COGNITO = new Service("COGNITO");
///
/// 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 Service(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 Service 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 Service(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ServiceName.
///
public class ServiceName : ConstantClass
{
///
/// Constant S3 for ServiceName
///
public static readonly ServiceName S3 = new ServiceName("S3");
///
/// 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 ServiceName(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 ServiceName 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 ServiceName(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SignInMethod.
///
public class SignInMethod : ConstantClass
{
///
/// Constant EMAIL for SignInMethod
///
public static readonly SignInMethod EMAIL = new SignInMethod("EMAIL");
///
/// Constant EMAIL_AND_PHONE_NUMBER for SignInMethod
///
public static readonly SignInMethod EMAIL_AND_PHONE_NUMBER = new SignInMethod("EMAIL_AND_PHONE_NUMBER");
///
/// Constant PHONE_NUMBER for SignInMethod
///
public static readonly SignInMethod PHONE_NUMBER = new SignInMethod("PHONE_NUMBER");
///
/// Constant USERNAME for SignInMethod
///
public static readonly SignInMethod USERNAME = new SignInMethod("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 SignInMethod(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 SignInMethod 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 SignInMethod(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Status.
///
public class Status : ConstantClass
{
///
/// Constant LATEST for Status
///
public static readonly Status LATEST = new Status("LATEST");
///
/// Constant STALE for Status
///
public static readonly Status STALE = new Status("STALE");
///
/// 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 Status(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 Status 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 Status(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type UnAuthenticatedElement.
///
public class UnAuthenticatedElement : ConstantClass
{
///
/// Constant CREATE_AND_UPDATE for UnAuthenticatedElement
///
public static readonly UnAuthenticatedElement CREATE_AND_UPDATE = new UnAuthenticatedElement("CREATE_AND_UPDATE");
///
/// Constant DELETE for UnAuthenticatedElement
///
public static readonly UnAuthenticatedElement DELETE = new UnAuthenticatedElement("DELETE");
///
/// Constant READ for UnAuthenticatedElement
///
public static readonly UnAuthenticatedElement READ = new UnAuthenticatedElement("READ");
///
/// 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 UnAuthenticatedElement(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 UnAuthenticatedElement 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 UnAuthenticatedElement(string value)
{
return FindValue(value);
}
}
}