/* * 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 states-2016-11-23.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.StepFunctions { /// /// Constants used for properties of type ExecutionStatus. /// public class ExecutionStatus : ConstantClass { /// /// Constant ABORTED for ExecutionStatus /// public static readonly ExecutionStatus ABORTED = new ExecutionStatus("ABORTED"); /// /// Constant FAILED for ExecutionStatus /// public static readonly ExecutionStatus FAILED = new ExecutionStatus("FAILED"); /// /// Constant RUNNING for ExecutionStatus /// public static readonly ExecutionStatus RUNNING = new ExecutionStatus("RUNNING"); /// /// Constant SUCCEEDED for ExecutionStatus /// public static readonly ExecutionStatus SUCCEEDED = new ExecutionStatus("SUCCEEDED"); /// /// Constant TIMED_OUT for ExecutionStatus /// public static readonly ExecutionStatus TIMED_OUT = new ExecutionStatus("TIMED_OUT"); /// /// 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 ExecutionStatus(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 ExecutionStatus 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 ExecutionStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type HistoryEventType. /// public class HistoryEventType : ConstantClass { /// /// Constant ActivityFailed for HistoryEventType /// public static readonly HistoryEventType ActivityFailed = new HistoryEventType("ActivityFailed"); /// /// Constant ActivityScheduled for HistoryEventType /// public static readonly HistoryEventType ActivityScheduled = new HistoryEventType("ActivityScheduled"); /// /// Constant ActivityScheduleFailed for HistoryEventType /// public static readonly HistoryEventType ActivityScheduleFailed = new HistoryEventType("ActivityScheduleFailed"); /// /// Constant ActivityStarted for HistoryEventType /// public static readonly HistoryEventType ActivityStarted = new HistoryEventType("ActivityStarted"); /// /// Constant ActivitySucceeded for HistoryEventType /// public static readonly HistoryEventType ActivitySucceeded = new HistoryEventType("ActivitySucceeded"); /// /// Constant ActivityTimedOut for HistoryEventType /// public static readonly HistoryEventType ActivityTimedOut = new HistoryEventType("ActivityTimedOut"); /// /// Constant ChoiceStateEntered for HistoryEventType /// public static readonly HistoryEventType ChoiceStateEntered = new HistoryEventType("ChoiceStateEntered"); /// /// Constant ChoiceStateExited for HistoryEventType /// public static readonly HistoryEventType ChoiceStateExited = new HistoryEventType("ChoiceStateExited"); /// /// Constant ExecutionAborted for HistoryEventType /// public static readonly HistoryEventType ExecutionAborted = new HistoryEventType("ExecutionAborted"); /// /// Constant ExecutionFailed for HistoryEventType /// public static readonly HistoryEventType ExecutionFailed = new HistoryEventType("ExecutionFailed"); /// /// Constant ExecutionStarted for HistoryEventType /// public static readonly HistoryEventType ExecutionStarted = new HistoryEventType("ExecutionStarted"); /// /// Constant ExecutionSucceeded for HistoryEventType /// public static readonly HistoryEventType ExecutionSucceeded = new HistoryEventType("ExecutionSucceeded"); /// /// Constant ExecutionTimedOut for HistoryEventType /// public static readonly HistoryEventType ExecutionTimedOut = new HistoryEventType("ExecutionTimedOut"); /// /// Constant FailStateEntered for HistoryEventType /// public static readonly HistoryEventType FailStateEntered = new HistoryEventType("FailStateEntered"); /// /// Constant LambdaFunctionFailed for HistoryEventType /// public static readonly HistoryEventType LambdaFunctionFailed = new HistoryEventType("LambdaFunctionFailed"); /// /// Constant LambdaFunctionScheduled for HistoryEventType /// public static readonly HistoryEventType LambdaFunctionScheduled = new HistoryEventType("LambdaFunctionScheduled"); /// /// Constant LambdaFunctionScheduleFailed for HistoryEventType /// public static readonly HistoryEventType LambdaFunctionScheduleFailed = new HistoryEventType("LambdaFunctionScheduleFailed"); /// /// Constant LambdaFunctionStarted for HistoryEventType /// public static readonly HistoryEventType LambdaFunctionStarted = new HistoryEventType("LambdaFunctionStarted"); /// /// Constant LambdaFunctionStartFailed for HistoryEventType /// public static readonly HistoryEventType LambdaFunctionStartFailed = new HistoryEventType("LambdaFunctionStartFailed"); /// /// Constant LambdaFunctionSucceeded for HistoryEventType /// public static readonly HistoryEventType LambdaFunctionSucceeded = new HistoryEventType("LambdaFunctionSucceeded"); /// /// Constant LambdaFunctionTimedOut for HistoryEventType /// public static readonly HistoryEventType LambdaFunctionTimedOut = new HistoryEventType("LambdaFunctionTimedOut"); /// /// Constant MapIterationAborted for HistoryEventType /// public static readonly HistoryEventType MapIterationAborted = new HistoryEventType("MapIterationAborted"); /// /// Constant MapIterationFailed for HistoryEventType /// public static readonly HistoryEventType MapIterationFailed = new HistoryEventType("MapIterationFailed"); /// /// Constant MapIterationStarted for HistoryEventType /// public static readonly HistoryEventType MapIterationStarted = new HistoryEventType("MapIterationStarted"); /// /// Constant MapIterationSucceeded for HistoryEventType /// public static readonly HistoryEventType MapIterationSucceeded = new HistoryEventType("MapIterationSucceeded"); /// /// Constant MapRunAborted for HistoryEventType /// public static readonly HistoryEventType MapRunAborted = new HistoryEventType("MapRunAborted"); /// /// Constant MapRunFailed for HistoryEventType /// public static readonly HistoryEventType MapRunFailed = new HistoryEventType("MapRunFailed"); /// /// Constant MapRunStarted for HistoryEventType /// public static readonly HistoryEventType MapRunStarted = new HistoryEventType("MapRunStarted"); /// /// Constant MapRunSucceeded for HistoryEventType /// public static readonly HistoryEventType MapRunSucceeded = new HistoryEventType("MapRunSucceeded"); /// /// Constant MapStateAborted for HistoryEventType /// public static readonly HistoryEventType MapStateAborted = new HistoryEventType("MapStateAborted"); /// /// Constant MapStateEntered for HistoryEventType /// public static readonly HistoryEventType MapStateEntered = new HistoryEventType("MapStateEntered"); /// /// Constant MapStateExited for HistoryEventType /// public static readonly HistoryEventType MapStateExited = new HistoryEventType("MapStateExited"); /// /// Constant MapStateFailed for HistoryEventType /// public static readonly HistoryEventType MapStateFailed = new HistoryEventType("MapStateFailed"); /// /// Constant MapStateStarted for HistoryEventType /// public static readonly HistoryEventType MapStateStarted = new HistoryEventType("MapStateStarted"); /// /// Constant MapStateSucceeded for HistoryEventType /// public static readonly HistoryEventType MapStateSucceeded = new HistoryEventType("MapStateSucceeded"); /// /// Constant ParallelStateAborted for HistoryEventType /// public static readonly HistoryEventType ParallelStateAborted = new HistoryEventType("ParallelStateAborted"); /// /// Constant ParallelStateEntered for HistoryEventType /// public static readonly HistoryEventType ParallelStateEntered = new HistoryEventType("ParallelStateEntered"); /// /// Constant ParallelStateExited for HistoryEventType /// public static readonly HistoryEventType ParallelStateExited = new HistoryEventType("ParallelStateExited"); /// /// Constant ParallelStateFailed for HistoryEventType /// public static readonly HistoryEventType ParallelStateFailed = new HistoryEventType("ParallelStateFailed"); /// /// Constant ParallelStateStarted for HistoryEventType /// public static readonly HistoryEventType ParallelStateStarted = new HistoryEventType("ParallelStateStarted"); /// /// Constant ParallelStateSucceeded for HistoryEventType /// public static readonly HistoryEventType ParallelStateSucceeded = new HistoryEventType("ParallelStateSucceeded"); /// /// Constant PassStateEntered for HistoryEventType /// public static readonly HistoryEventType PassStateEntered = new HistoryEventType("PassStateEntered"); /// /// Constant PassStateExited for HistoryEventType /// public static readonly HistoryEventType PassStateExited = new HistoryEventType("PassStateExited"); /// /// Constant SucceedStateEntered for HistoryEventType /// public static readonly HistoryEventType SucceedStateEntered = new HistoryEventType("SucceedStateEntered"); /// /// Constant SucceedStateExited for HistoryEventType /// public static readonly HistoryEventType SucceedStateExited = new HistoryEventType("SucceedStateExited"); /// /// Constant TaskFailed for HistoryEventType /// public static readonly HistoryEventType TaskFailed = new HistoryEventType("TaskFailed"); /// /// Constant TaskScheduled for HistoryEventType /// public static readonly HistoryEventType TaskScheduled = new HistoryEventType("TaskScheduled"); /// /// Constant TaskStarted for HistoryEventType /// public static readonly HistoryEventType TaskStarted = new HistoryEventType("TaskStarted"); /// /// Constant TaskStartFailed for HistoryEventType /// public static readonly HistoryEventType TaskStartFailed = new HistoryEventType("TaskStartFailed"); /// /// Constant TaskStateAborted for HistoryEventType /// public static readonly HistoryEventType TaskStateAborted = new HistoryEventType("TaskStateAborted"); /// /// Constant TaskStateEntered for HistoryEventType /// public static readonly HistoryEventType TaskStateEntered = new HistoryEventType("TaskStateEntered"); /// /// Constant TaskStateExited for HistoryEventType /// public static readonly HistoryEventType TaskStateExited = new HistoryEventType("TaskStateExited"); /// /// Constant TaskSubmitFailed for HistoryEventType /// public static readonly HistoryEventType TaskSubmitFailed = new HistoryEventType("TaskSubmitFailed"); /// /// Constant TaskSubmitted for HistoryEventType /// public static readonly HistoryEventType TaskSubmitted = new HistoryEventType("TaskSubmitted"); /// /// Constant TaskSucceeded for HistoryEventType /// public static readonly HistoryEventType TaskSucceeded = new HistoryEventType("TaskSucceeded"); /// /// Constant TaskTimedOut for HistoryEventType /// public static readonly HistoryEventType TaskTimedOut = new HistoryEventType("TaskTimedOut"); /// /// Constant WaitStateAborted for HistoryEventType /// public static readonly HistoryEventType WaitStateAborted = new HistoryEventType("WaitStateAborted"); /// /// Constant WaitStateEntered for HistoryEventType /// public static readonly HistoryEventType WaitStateEntered = new HistoryEventType("WaitStateEntered"); /// /// Constant WaitStateExited for HistoryEventType /// public static readonly HistoryEventType WaitStateExited = new HistoryEventType("WaitStateExited"); /// /// 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 HistoryEventType(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 HistoryEventType 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 HistoryEventType(string value) { return FindValue(value); } } /// /// Constants used for properties of type LogLevel. /// public class LogLevel : ConstantClass { /// /// Constant ALL for LogLevel /// public static readonly LogLevel ALL = new LogLevel("ALL"); /// /// Constant ERROR for LogLevel /// public static readonly LogLevel ERROR = new LogLevel("ERROR"); /// /// Constant FATAL for LogLevel /// public static readonly LogLevel FATAL = new LogLevel("FATAL"); /// /// Constant OFF for LogLevel /// public static readonly LogLevel OFF = new LogLevel("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 LogLevel(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 LogLevel 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 LogLevel(string value) { return FindValue(value); } } /// /// Constants used for properties of type MapRunStatus. /// public class MapRunStatus : ConstantClass { /// /// Constant ABORTED for MapRunStatus /// public static readonly MapRunStatus ABORTED = new MapRunStatus("ABORTED"); /// /// Constant FAILED for MapRunStatus /// public static readonly MapRunStatus FAILED = new MapRunStatus("FAILED"); /// /// Constant RUNNING for MapRunStatus /// public static readonly MapRunStatus RUNNING = new MapRunStatus("RUNNING"); /// /// Constant SUCCEEDED for MapRunStatus /// public static readonly MapRunStatus SUCCEEDED = new MapRunStatus("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 MapRunStatus(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 MapRunStatus 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 MapRunStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type StateMachineStatus. /// public class StateMachineStatus : ConstantClass { /// /// Constant ACTIVE for StateMachineStatus /// public static readonly StateMachineStatus ACTIVE = new StateMachineStatus("ACTIVE"); /// /// Constant DELETING for StateMachineStatus /// public static readonly StateMachineStatus DELETING = new StateMachineStatus("DELETING"); /// /// 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 StateMachineStatus(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 StateMachineStatus 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 StateMachineStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type StateMachineType. /// public class StateMachineType : ConstantClass { /// /// Constant EXPRESS for StateMachineType /// public static readonly StateMachineType EXPRESS = new StateMachineType("EXPRESS"); /// /// Constant STANDARD for StateMachineType /// public static readonly StateMachineType STANDARD = new StateMachineType("STANDARD"); /// /// 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 StateMachineType(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 StateMachineType 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 StateMachineType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SyncExecutionStatus. /// public class SyncExecutionStatus : ConstantClass { /// /// Constant FAILED for SyncExecutionStatus /// public static readonly SyncExecutionStatus FAILED = new SyncExecutionStatus("FAILED"); /// /// Constant SUCCEEDED for SyncExecutionStatus /// public static readonly SyncExecutionStatus SUCCEEDED = new SyncExecutionStatus("SUCCEEDED"); /// /// Constant TIMED_OUT for SyncExecutionStatus /// public static readonly SyncExecutionStatus TIMED_OUT = new SyncExecutionStatus("TIMED_OUT"); /// /// 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 SyncExecutionStatus(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 SyncExecutionStatus 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 SyncExecutionStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ValidationExceptionReason. /// public class ValidationExceptionReason : ConstantClass { /// /// Constant API_DOES_NOT_SUPPORT_LABELED_ARNS for ValidationExceptionReason /// public static readonly ValidationExceptionReason API_DOES_NOT_SUPPORT_LABELED_ARNS = new ValidationExceptionReason("API_DOES_NOT_SUPPORT_LABELED_ARNS"); /// /// Constant CANNOT_UPDATE_COMPLETED_MAP_RUN for ValidationExceptionReason /// public static readonly ValidationExceptionReason CANNOT_UPDATE_COMPLETED_MAP_RUN = new ValidationExceptionReason("CANNOT_UPDATE_COMPLETED_MAP_RUN"); /// /// Constant INVALID_ROUTING_CONFIGURATION for ValidationExceptionReason /// public static readonly ValidationExceptionReason INVALID_ROUTING_CONFIGURATION = new ValidationExceptionReason("INVALID_ROUTING_CONFIGURATION"); /// /// Constant MISSING_REQUIRED_PARAMETER for ValidationExceptionReason /// public static readonly ValidationExceptionReason MISSING_REQUIRED_PARAMETER = new ValidationExceptionReason("MISSING_REQUIRED_PARAMETER"); /// /// 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 ValidationExceptionReason(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 ValidationExceptionReason 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 ValidationExceptionReason(string value) { return FindValue(value); } } }