/* * 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 clouddirectory-2017-01-11.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.CloudDirectory { /// /// Constants used for properties of type BatchReadExceptionType. /// public class BatchReadExceptionType : ConstantClass { /// /// Constant AccessDeniedException for BatchReadExceptionType /// public static readonly BatchReadExceptionType AccessDeniedException = new BatchReadExceptionType("AccessDeniedException"); /// /// Constant CannotListParentOfRootException for BatchReadExceptionType /// public static readonly BatchReadExceptionType CannotListParentOfRootException = new BatchReadExceptionType("CannotListParentOfRootException"); /// /// Constant DirectoryNotEnabledException for BatchReadExceptionType /// public static readonly BatchReadExceptionType DirectoryNotEnabledException = new BatchReadExceptionType("DirectoryNotEnabledException"); /// /// Constant FacetValidationException for BatchReadExceptionType /// public static readonly BatchReadExceptionType FacetValidationException = new BatchReadExceptionType("FacetValidationException"); /// /// Constant InternalServiceException for BatchReadExceptionType /// public static readonly BatchReadExceptionType InternalServiceException = new BatchReadExceptionType("InternalServiceException"); /// /// Constant InvalidArnException for BatchReadExceptionType /// public static readonly BatchReadExceptionType InvalidArnException = new BatchReadExceptionType("InvalidArnException"); /// /// Constant InvalidNextTokenException for BatchReadExceptionType /// public static readonly BatchReadExceptionType InvalidNextTokenException = new BatchReadExceptionType("InvalidNextTokenException"); /// /// Constant LimitExceededException for BatchReadExceptionType /// public static readonly BatchReadExceptionType LimitExceededException = new BatchReadExceptionType("LimitExceededException"); /// /// Constant NotIndexException for BatchReadExceptionType /// public static readonly BatchReadExceptionType NotIndexException = new BatchReadExceptionType("NotIndexException"); /// /// Constant NotNodeException for BatchReadExceptionType /// public static readonly BatchReadExceptionType NotNodeException = new BatchReadExceptionType("NotNodeException"); /// /// Constant NotPolicyException for BatchReadExceptionType /// public static readonly BatchReadExceptionType NotPolicyException = new BatchReadExceptionType("NotPolicyException"); /// /// Constant ResourceNotFoundException for BatchReadExceptionType /// public static readonly BatchReadExceptionType ResourceNotFoundException = new BatchReadExceptionType("ResourceNotFoundException"); /// /// Constant ValidationException for BatchReadExceptionType /// public static readonly BatchReadExceptionType ValidationException = new BatchReadExceptionType("ValidationException"); /// /// 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 BatchReadExceptionType(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 BatchReadExceptionType 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 BatchReadExceptionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type BatchWriteExceptionType. /// public class BatchWriteExceptionType : ConstantClass { /// /// Constant AccessDeniedException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType AccessDeniedException = new BatchWriteExceptionType("AccessDeniedException"); /// /// Constant DirectoryNotEnabledException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType DirectoryNotEnabledException = new BatchWriteExceptionType("DirectoryNotEnabledException"); /// /// Constant FacetValidationException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType FacetValidationException = new BatchWriteExceptionType("FacetValidationException"); /// /// Constant IndexedAttributeMissingException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType IndexedAttributeMissingException = new BatchWriteExceptionType("IndexedAttributeMissingException"); /// /// Constant InternalServiceException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType InternalServiceException = new BatchWriteExceptionType("InternalServiceException"); /// /// Constant InvalidArnException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType InvalidArnException = new BatchWriteExceptionType("InvalidArnException"); /// /// Constant InvalidAttachmentException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType InvalidAttachmentException = new BatchWriteExceptionType("InvalidAttachmentException"); /// /// Constant LimitExceededException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType LimitExceededException = new BatchWriteExceptionType("LimitExceededException"); /// /// Constant LinkNameAlreadyInUseException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType LinkNameAlreadyInUseException = new BatchWriteExceptionType("LinkNameAlreadyInUseException"); /// /// Constant NotIndexException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType NotIndexException = new BatchWriteExceptionType("NotIndexException"); /// /// Constant NotNodeException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType NotNodeException = new BatchWriteExceptionType("NotNodeException"); /// /// Constant NotPolicyException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType NotPolicyException = new BatchWriteExceptionType("NotPolicyException"); /// /// Constant ObjectAlreadyDetachedException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType ObjectAlreadyDetachedException = new BatchWriteExceptionType("ObjectAlreadyDetachedException"); /// /// Constant ObjectNotDetachedException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType ObjectNotDetachedException = new BatchWriteExceptionType("ObjectNotDetachedException"); /// /// Constant ResourceNotFoundException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType ResourceNotFoundException = new BatchWriteExceptionType("ResourceNotFoundException"); /// /// Constant StillContainsLinksException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType StillContainsLinksException = new BatchWriteExceptionType("StillContainsLinksException"); /// /// Constant UnsupportedIndexTypeException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType UnsupportedIndexTypeException = new BatchWriteExceptionType("UnsupportedIndexTypeException"); /// /// Constant ValidationException for BatchWriteExceptionType /// public static readonly BatchWriteExceptionType ValidationException = new BatchWriteExceptionType("ValidationException"); /// /// 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 BatchWriteExceptionType(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 BatchWriteExceptionType 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 BatchWriteExceptionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ConsistencyLevel. /// public class ConsistencyLevel : ConstantClass { /// /// Constant EVENTUAL for ConsistencyLevel /// public static readonly ConsistencyLevel EVENTUAL = new ConsistencyLevel("EVENTUAL"); /// /// Constant SERIALIZABLE for ConsistencyLevel /// public static readonly ConsistencyLevel SERIALIZABLE = new ConsistencyLevel("SERIALIZABLE"); /// /// 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 ConsistencyLevel(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 ConsistencyLevel 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 ConsistencyLevel(string value) { return FindValue(value); } } /// /// Constants used for properties of type DirectoryState. /// public class DirectoryState : ConstantClass { /// /// Constant DELETED for DirectoryState /// public static readonly DirectoryState DELETED = new DirectoryState("DELETED"); /// /// Constant DISABLED for DirectoryState /// public static readonly DirectoryState DISABLED = new DirectoryState("DISABLED"); /// /// Constant ENABLED for DirectoryState /// public static readonly DirectoryState ENABLED = new DirectoryState("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 DirectoryState(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 DirectoryState 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 DirectoryState(string value) { return FindValue(value); } } /// /// Constants used for properties of type FacetAttributeType. /// public class FacetAttributeType : ConstantClass { /// /// Constant BINARY for FacetAttributeType /// public static readonly FacetAttributeType BINARY = new FacetAttributeType("BINARY"); /// /// Constant BOOLEAN for FacetAttributeType /// public static readonly FacetAttributeType BOOLEAN = new FacetAttributeType("BOOLEAN"); /// /// Constant DATETIME for FacetAttributeType /// public static readonly FacetAttributeType DATETIME = new FacetAttributeType("DATETIME"); /// /// Constant NUMBER for FacetAttributeType /// public static readonly FacetAttributeType NUMBER = new FacetAttributeType("NUMBER"); /// /// Constant STRING for FacetAttributeType /// public static readonly FacetAttributeType STRING = new FacetAttributeType("STRING"); /// /// Constant VARIANT for FacetAttributeType /// public static readonly FacetAttributeType VARIANT = new FacetAttributeType("VARIANT"); /// /// 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 FacetAttributeType(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 FacetAttributeType 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 FacetAttributeType(string value) { return FindValue(value); } } /// /// Constants used for properties of type FacetStyle. /// public class FacetStyle : ConstantClass { /// /// Constant DYNAMIC for FacetStyle /// public static readonly FacetStyle DYNAMIC = new FacetStyle("DYNAMIC"); /// /// Constant STATIC for FacetStyle /// public static readonly FacetStyle STATIC = new FacetStyle("STATIC"); /// /// 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 FacetStyle(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 FacetStyle 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 FacetStyle(string value) { return FindValue(value); } } /// /// Constants used for properties of type ObjectType. /// public class ObjectType : ConstantClass { /// /// Constant INDEX for ObjectType /// public static readonly ObjectType INDEX = new ObjectType("INDEX"); /// /// Constant LEAF_NODE for ObjectType /// public static readonly ObjectType LEAF_NODE = new ObjectType("LEAF_NODE"); /// /// Constant NODE for ObjectType /// public static readonly ObjectType NODE = new ObjectType("NODE"); /// /// Constant POLICY for ObjectType /// public static readonly ObjectType POLICY = new ObjectType("POLICY"); /// /// 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 ObjectType(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 ObjectType 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 ObjectType(string value) { return FindValue(value); } } /// /// Constants used for properties of type RangeMode. /// public class RangeMode : ConstantClass { /// /// Constant EXCLUSIVE for RangeMode /// public static readonly RangeMode EXCLUSIVE = new RangeMode("EXCLUSIVE"); /// /// Constant FIRST for RangeMode /// public static readonly RangeMode FIRST = new RangeMode("FIRST"); /// /// Constant INCLUSIVE for RangeMode /// public static readonly RangeMode INCLUSIVE = new RangeMode("INCLUSIVE"); /// /// Constant LAST for RangeMode /// public static readonly RangeMode LAST = new RangeMode("LAST"); /// /// Constant LAST_BEFORE_MISSING_VALUES for RangeMode /// public static readonly RangeMode LAST_BEFORE_MISSING_VALUES = new RangeMode("LAST_BEFORE_MISSING_VALUES"); /// /// 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 RangeMode(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 RangeMode 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 RangeMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type RequiredAttributeBehavior. /// public class RequiredAttributeBehavior : ConstantClass { /// /// Constant NOT_REQUIRED for RequiredAttributeBehavior /// public static readonly RequiredAttributeBehavior NOT_REQUIRED = new RequiredAttributeBehavior("NOT_REQUIRED"); /// /// Constant REQUIRED_ALWAYS for RequiredAttributeBehavior /// public static readonly RequiredAttributeBehavior REQUIRED_ALWAYS = new RequiredAttributeBehavior("REQUIRED_ALWAYS"); /// /// 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 RequiredAttributeBehavior(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 RequiredAttributeBehavior 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 RequiredAttributeBehavior(string value) { return FindValue(value); } } /// /// Constants used for properties of type RuleType. /// public class RuleType : ConstantClass { /// /// Constant BINARY_LENGTH for RuleType /// public static readonly RuleType BINARY_LENGTH = new RuleType("BINARY_LENGTH"); /// /// Constant NUMBER_COMPARISON for RuleType /// public static readonly RuleType NUMBER_COMPARISON = new RuleType("NUMBER_COMPARISON"); /// /// Constant STRING_FROM_SET for RuleType /// public static readonly RuleType STRING_FROM_SET = new RuleType("STRING_FROM_SET"); /// /// Constant STRING_LENGTH for RuleType /// public static readonly RuleType STRING_LENGTH = new RuleType("STRING_LENGTH"); /// /// 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 RuleType(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 RuleType 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 RuleType(string value) { return FindValue(value); } } /// /// Constants used for properties of type UpdateActionType. /// public class UpdateActionType : ConstantClass { /// /// Constant CREATE_OR_UPDATE for UpdateActionType /// public static readonly UpdateActionType CREATE_OR_UPDATE = new UpdateActionType("CREATE_OR_UPDATE"); /// /// Constant DELETE for UpdateActionType /// public static readonly UpdateActionType DELETE = new UpdateActionType("DELETE"); /// /// 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 UpdateActionType(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 UpdateActionType 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 UpdateActionType(string value) { return FindValue(value); } } }