/*
* 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 pipes-2015-10-07.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Pipes
{
///
/// Constants used for properties of type AssignPublicIp.
///
public class AssignPublicIp : ConstantClass
{
///
/// Constant DISABLED for AssignPublicIp
///
public static readonly AssignPublicIp DISABLED = new AssignPublicIp("DISABLED");
///
/// Constant ENABLED for AssignPublicIp
///
public static readonly AssignPublicIp ENABLED = new AssignPublicIp("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 AssignPublicIp(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 AssignPublicIp 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 AssignPublicIp(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type BatchJobDependencyType.
///
public class BatchJobDependencyType : ConstantClass
{
///
/// Constant N_TO_N for BatchJobDependencyType
///
public static readonly BatchJobDependencyType N_TO_N = new BatchJobDependencyType("N_TO_N");
///
/// Constant SEQUENTIAL for BatchJobDependencyType
///
public static readonly BatchJobDependencyType SEQUENTIAL = new BatchJobDependencyType("SEQUENTIAL");
///
/// 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 BatchJobDependencyType(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 BatchJobDependencyType 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 BatchJobDependencyType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type BatchResourceRequirementType.
///
public class BatchResourceRequirementType : ConstantClass
{
///
/// Constant GPU for BatchResourceRequirementType
///
public static readonly BatchResourceRequirementType GPU = new BatchResourceRequirementType("GPU");
///
/// Constant MEMORY for BatchResourceRequirementType
///
public static readonly BatchResourceRequirementType MEMORY = new BatchResourceRequirementType("MEMORY");
///
/// Constant VCPU for BatchResourceRequirementType
///
public static readonly BatchResourceRequirementType VCPU = new BatchResourceRequirementType("VCPU");
///
/// 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 BatchResourceRequirementType(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 BatchResourceRequirementType 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 BatchResourceRequirementType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DynamoDBStreamStartPosition.
///
public class DynamoDBStreamStartPosition : ConstantClass
{
///
/// Constant LATEST for DynamoDBStreamStartPosition
///
public static readonly DynamoDBStreamStartPosition LATEST = new DynamoDBStreamStartPosition("LATEST");
///
/// Constant TRIM_HORIZON for DynamoDBStreamStartPosition
///
public static readonly DynamoDBStreamStartPosition TRIM_HORIZON = new DynamoDBStreamStartPosition("TRIM_HORIZON");
///
/// 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 DynamoDBStreamStartPosition(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 DynamoDBStreamStartPosition 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 DynamoDBStreamStartPosition(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EcsEnvironmentFileType.
///
public class EcsEnvironmentFileType : ConstantClass
{
///
/// Constant S3 for EcsEnvironmentFileType
///
public static readonly EcsEnvironmentFileType S3 = new EcsEnvironmentFileType("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 EcsEnvironmentFileType(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 EcsEnvironmentFileType 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 EcsEnvironmentFileType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EcsResourceRequirementType.
///
public class EcsResourceRequirementType : ConstantClass
{
///
/// Constant GPU for EcsResourceRequirementType
///
public static readonly EcsResourceRequirementType GPU = new EcsResourceRequirementType("GPU");
///
/// Constant InferenceAccelerator for EcsResourceRequirementType
///
public static readonly EcsResourceRequirementType InferenceAccelerator = new EcsResourceRequirementType("InferenceAccelerator");
///
/// 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 EcsResourceRequirementType(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 EcsResourceRequirementType 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 EcsResourceRequirementType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type KinesisStreamStartPosition.
///
public class KinesisStreamStartPosition : ConstantClass
{
///
/// Constant AT_TIMESTAMP for KinesisStreamStartPosition
///
public static readonly KinesisStreamStartPosition AT_TIMESTAMP = new KinesisStreamStartPosition("AT_TIMESTAMP");
///
/// Constant LATEST for KinesisStreamStartPosition
///
public static readonly KinesisStreamStartPosition LATEST = new KinesisStreamStartPosition("LATEST");
///
/// Constant TRIM_HORIZON for KinesisStreamStartPosition
///
public static readonly KinesisStreamStartPosition TRIM_HORIZON = new KinesisStreamStartPosition("TRIM_HORIZON");
///
/// 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 KinesisStreamStartPosition(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 KinesisStreamStartPosition 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 KinesisStreamStartPosition(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LaunchType.
///
public class LaunchType : ConstantClass
{
///
/// Constant EC2 for LaunchType
///
public static readonly LaunchType EC2 = new LaunchType("EC2");
///
/// Constant EXTERNAL for LaunchType
///
public static readonly LaunchType EXTERNAL = new LaunchType("EXTERNAL");
///
/// Constant FARGATE for LaunchType
///
public static readonly LaunchType FARGATE = new LaunchType("FARGATE");
///
/// 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 LaunchType(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 LaunchType 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 LaunchType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type MSKStartPosition.
///
public class MSKStartPosition : ConstantClass
{
///
/// Constant LATEST for MSKStartPosition
///
public static readonly MSKStartPosition LATEST = new MSKStartPosition("LATEST");
///
/// Constant TRIM_HORIZON for MSKStartPosition
///
public static readonly MSKStartPosition TRIM_HORIZON = new MSKStartPosition("TRIM_HORIZON");
///
/// 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 MSKStartPosition(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 MSKStartPosition 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 MSKStartPosition(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OnPartialBatchItemFailureStreams.
///
public class OnPartialBatchItemFailureStreams : ConstantClass
{
///
/// Constant AUTOMATIC_BISECT for OnPartialBatchItemFailureStreams
///
public static readonly OnPartialBatchItemFailureStreams AUTOMATIC_BISECT = new OnPartialBatchItemFailureStreams("AUTOMATIC_BISECT");
///
/// 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 OnPartialBatchItemFailureStreams(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 OnPartialBatchItemFailureStreams 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 OnPartialBatchItemFailureStreams(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PipeState.
///
public class PipeState : ConstantClass
{
///
/// Constant CREATE_FAILED for PipeState
///
public static readonly PipeState CREATE_FAILED = new PipeState("CREATE_FAILED");
///
/// Constant CREATING for PipeState
///
public static readonly PipeState CREATING = new PipeState("CREATING");
///
/// Constant DELETING for PipeState
///
public static readonly PipeState DELETING = new PipeState("DELETING");
///
/// Constant RUNNING for PipeState
///
public static readonly PipeState RUNNING = new PipeState("RUNNING");
///
/// Constant START_FAILED for PipeState
///
public static readonly PipeState START_FAILED = new PipeState("START_FAILED");
///
/// Constant STARTING for PipeState
///
public static readonly PipeState STARTING = new PipeState("STARTING");
///
/// Constant STOP_FAILED for PipeState
///
public static readonly PipeState STOP_FAILED = new PipeState("STOP_FAILED");
///
/// Constant STOPPED for PipeState
///
public static readonly PipeState STOPPED = new PipeState("STOPPED");
///
/// Constant STOPPING for PipeState
///
public static readonly PipeState STOPPING = new PipeState("STOPPING");
///
/// Constant UPDATE_FAILED for PipeState
///
public static readonly PipeState UPDATE_FAILED = new PipeState("UPDATE_FAILED");
///
/// Constant UPDATING for PipeState
///
public static readonly PipeState UPDATING = new PipeState("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 PipeState(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 PipeState 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 PipeState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PipeTargetInvocationType.
///
public class PipeTargetInvocationType : ConstantClass
{
///
/// Constant FIRE_AND_FORGET for PipeTargetInvocationType
///
public static readonly PipeTargetInvocationType FIRE_AND_FORGET = new PipeTargetInvocationType("FIRE_AND_FORGET");
///
/// Constant REQUEST_RESPONSE for PipeTargetInvocationType
///
public static readonly PipeTargetInvocationType REQUEST_RESPONSE = new PipeTargetInvocationType("REQUEST_RESPONSE");
///
/// 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 PipeTargetInvocationType(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 PipeTargetInvocationType 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 PipeTargetInvocationType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PlacementConstraintType.
///
public class PlacementConstraintType : ConstantClass
{
///
/// Constant DistinctInstance for PlacementConstraintType
///
public static readonly PlacementConstraintType DistinctInstance = new PlacementConstraintType("distinctInstance");
///
/// Constant MemberOf for PlacementConstraintType
///
public static readonly PlacementConstraintType MemberOf = new PlacementConstraintType("memberOf");
///
/// 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 PlacementConstraintType(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 PlacementConstraintType 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 PlacementConstraintType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PlacementStrategyType.
///
public class PlacementStrategyType : ConstantClass
{
///
/// Constant Binpack for PlacementStrategyType
///
public static readonly PlacementStrategyType Binpack = new PlacementStrategyType("binpack");
///
/// Constant Random for PlacementStrategyType
///
public static readonly PlacementStrategyType Random = new PlacementStrategyType("random");
///
/// Constant Spread for PlacementStrategyType
///
public static readonly PlacementStrategyType Spread = new PlacementStrategyType("spread");
///
/// 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 PlacementStrategyType(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 PlacementStrategyType 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 PlacementStrategyType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PropagateTags.
///
public class PropagateTags : ConstantClass
{
///
/// Constant TASK_DEFINITION for PropagateTags
///
public static readonly PropagateTags TASK_DEFINITION = new PropagateTags("TASK_DEFINITION");
///
/// 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 PropagateTags(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 PropagateTags 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 PropagateTags(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RequestedPipeState.
///
public class RequestedPipeState : ConstantClass
{
///
/// Constant RUNNING for RequestedPipeState
///
public static readonly RequestedPipeState RUNNING = new RequestedPipeState("RUNNING");
///
/// Constant STOPPED for RequestedPipeState
///
public static readonly RequestedPipeState STOPPED = new RequestedPipeState("STOPPED");
///
/// 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 RequestedPipeState(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 RequestedPipeState 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 RequestedPipeState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RequestedPipeStateDescribeResponse.
///
public class RequestedPipeStateDescribeResponse : ConstantClass
{
///
/// Constant DELETED for RequestedPipeStateDescribeResponse
///
public static readonly RequestedPipeStateDescribeResponse DELETED = new RequestedPipeStateDescribeResponse("DELETED");
///
/// Constant RUNNING for RequestedPipeStateDescribeResponse
///
public static readonly RequestedPipeStateDescribeResponse RUNNING = new RequestedPipeStateDescribeResponse("RUNNING");
///
/// Constant STOPPED for RequestedPipeStateDescribeResponse
///
public static readonly RequestedPipeStateDescribeResponse STOPPED = new RequestedPipeStateDescribeResponse("STOPPED");
///
/// 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 RequestedPipeStateDescribeResponse(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 RequestedPipeStateDescribeResponse 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 RequestedPipeStateDescribeResponse(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SelfManagedKafkaStartPosition.
///
public class SelfManagedKafkaStartPosition : ConstantClass
{
///
/// Constant LATEST for SelfManagedKafkaStartPosition
///
public static readonly SelfManagedKafkaStartPosition LATEST = new SelfManagedKafkaStartPosition("LATEST");
///
/// Constant TRIM_HORIZON for SelfManagedKafkaStartPosition
///
public static readonly SelfManagedKafkaStartPosition TRIM_HORIZON = new SelfManagedKafkaStartPosition("TRIM_HORIZON");
///
/// 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 SelfManagedKafkaStartPosition(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 SelfManagedKafkaStartPosition 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 SelfManagedKafkaStartPosition(string value)
{
return FindValue(value);
}
}
}