/*
* 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 eventbridge-2015-10-07.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.EventBridge
{
///
/// Constants used for properties of type ApiDestinationHttpMethod.
///
public class ApiDestinationHttpMethod : ConstantClass
{
///
/// Constant DELETE for ApiDestinationHttpMethod
///
public static readonly ApiDestinationHttpMethod DELETE = new ApiDestinationHttpMethod("DELETE");
///
/// Constant GET for ApiDestinationHttpMethod
///
public static readonly ApiDestinationHttpMethod GET = new ApiDestinationHttpMethod("GET");
///
/// Constant HEAD for ApiDestinationHttpMethod
///
public static readonly ApiDestinationHttpMethod HEAD = new ApiDestinationHttpMethod("HEAD");
///
/// Constant OPTIONS for ApiDestinationHttpMethod
///
public static readonly ApiDestinationHttpMethod OPTIONS = new ApiDestinationHttpMethod("OPTIONS");
///
/// Constant PATCH for ApiDestinationHttpMethod
///
public static readonly ApiDestinationHttpMethod PATCH = new ApiDestinationHttpMethod("PATCH");
///
/// Constant POST for ApiDestinationHttpMethod
///
public static readonly ApiDestinationHttpMethod POST = new ApiDestinationHttpMethod("POST");
///
/// Constant PUT for ApiDestinationHttpMethod
///
public static readonly ApiDestinationHttpMethod PUT = new ApiDestinationHttpMethod("PUT");
///
/// 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 ApiDestinationHttpMethod(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 ApiDestinationHttpMethod 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 ApiDestinationHttpMethod(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ApiDestinationState.
///
public class ApiDestinationState : ConstantClass
{
///
/// Constant ACTIVE for ApiDestinationState
///
public static readonly ApiDestinationState ACTIVE = new ApiDestinationState("ACTIVE");
///
/// Constant INACTIVE for ApiDestinationState
///
public static readonly ApiDestinationState INACTIVE = new ApiDestinationState("INACTIVE");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ApiDestinationState(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 ApiDestinationState 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 ApiDestinationState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ArchiveState.
///
public class ArchiveState : ConstantClass
{
///
/// Constant CREATE_FAILED for ArchiveState
///
public static readonly ArchiveState CREATE_FAILED = new ArchiveState("CREATE_FAILED");
///
/// Constant CREATING for ArchiveState
///
public static readonly ArchiveState CREATING = new ArchiveState("CREATING");
///
/// Constant DISABLED for ArchiveState
///
public static readonly ArchiveState DISABLED = new ArchiveState("DISABLED");
///
/// Constant ENABLED for ArchiveState
///
public static readonly ArchiveState ENABLED = new ArchiveState("ENABLED");
///
/// Constant UPDATE_FAILED for ArchiveState
///
public static readonly ArchiveState UPDATE_FAILED = new ArchiveState("UPDATE_FAILED");
///
/// Constant UPDATING for ArchiveState
///
public static readonly ArchiveState UPDATING = new ArchiveState("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 ArchiveState(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 ArchiveState 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 ArchiveState(string value)
{
return FindValue(value);
}
}
///
/// 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 ConnectionAuthorizationType.
///
public class ConnectionAuthorizationType : ConstantClass
{
///
/// Constant API_KEY for ConnectionAuthorizationType
///
public static readonly ConnectionAuthorizationType API_KEY = new ConnectionAuthorizationType("API_KEY");
///
/// Constant BASIC for ConnectionAuthorizationType
///
public static readonly ConnectionAuthorizationType BASIC = new ConnectionAuthorizationType("BASIC");
///
/// Constant OAUTH_CLIENT_CREDENTIALS for ConnectionAuthorizationType
///
public static readonly ConnectionAuthorizationType OAUTH_CLIENT_CREDENTIALS = new ConnectionAuthorizationType("OAUTH_CLIENT_CREDENTIALS");
///
/// 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 ConnectionAuthorizationType(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 ConnectionAuthorizationType 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 ConnectionAuthorizationType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ConnectionOAuthHttpMethod.
///
public class ConnectionOAuthHttpMethod : ConstantClass
{
///
/// Constant GET for ConnectionOAuthHttpMethod
///
public static readonly ConnectionOAuthHttpMethod GET = new ConnectionOAuthHttpMethod("GET");
///
/// Constant POST for ConnectionOAuthHttpMethod
///
public static readonly ConnectionOAuthHttpMethod POST = new ConnectionOAuthHttpMethod("POST");
///
/// Constant PUT for ConnectionOAuthHttpMethod
///
public static readonly ConnectionOAuthHttpMethod PUT = new ConnectionOAuthHttpMethod("PUT");
///
/// 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 ConnectionOAuthHttpMethod(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 ConnectionOAuthHttpMethod 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 ConnectionOAuthHttpMethod(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ConnectionState.
///
public class ConnectionState : ConstantClass
{
///
/// Constant AUTHORIZED for ConnectionState
///
public static readonly ConnectionState AUTHORIZED = new ConnectionState("AUTHORIZED");
///
/// Constant AUTHORIZING for ConnectionState
///
public static readonly ConnectionState AUTHORIZING = new ConnectionState("AUTHORIZING");
///
/// Constant CREATING for ConnectionState
///
public static readonly ConnectionState CREATING = new ConnectionState("CREATING");
///
/// Constant DEAUTHORIZED for ConnectionState
///
public static readonly ConnectionState DEAUTHORIZED = new ConnectionState("DEAUTHORIZED");
///
/// Constant DEAUTHORIZING for ConnectionState
///
public static readonly ConnectionState DEAUTHORIZING = new ConnectionState("DEAUTHORIZING");
///
/// Constant DELETING for ConnectionState
///
public static readonly ConnectionState DELETING = new ConnectionState("DELETING");
///
/// Constant UPDATING for ConnectionState
///
public static readonly ConnectionState UPDATING = new ConnectionState("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 ConnectionState(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 ConnectionState 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 ConnectionState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EndpointState.
///
public class EndpointState : ConstantClass
{
///
/// Constant ACTIVE for EndpointState
///
public static readonly EndpointState ACTIVE = new EndpointState("ACTIVE");
///
/// Constant CREATE_FAILED for EndpointState
///
public static readonly EndpointState CREATE_FAILED = new EndpointState("CREATE_FAILED");
///
/// Constant CREATING for EndpointState
///
public static readonly EndpointState CREATING = new EndpointState("CREATING");
///
/// Constant DELETE_FAILED for EndpointState
///
public static readonly EndpointState DELETE_FAILED = new EndpointState("DELETE_FAILED");
///
/// Constant DELETING for EndpointState
///
public static readonly EndpointState DELETING = new EndpointState("DELETING");
///
/// Constant UPDATE_FAILED for EndpointState
///
public static readonly EndpointState UPDATE_FAILED = new EndpointState("UPDATE_FAILED");
///
/// Constant UPDATING for EndpointState
///
public static readonly EndpointState UPDATING = new EndpointState("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 EndpointState(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 EndpointState 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 EndpointState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EventSourceState.
///
public class EventSourceState : ConstantClass
{
///
/// Constant ACTIVE for EventSourceState
///
public static readonly EventSourceState ACTIVE = new EventSourceState("ACTIVE");
///
/// Constant DELETED for EventSourceState
///
public static readonly EventSourceState DELETED = new EventSourceState("DELETED");
///
/// Constant PENDING for EventSourceState
///
public static readonly EventSourceState PENDING = new EventSourceState("PENDING");
///
/// 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 EventSourceState(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 EventSourceState 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 EventSourceState(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 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 ReplayState.
///
public class ReplayState : ConstantClass
{
///
/// Constant CANCELLED for ReplayState
///
public static readonly ReplayState CANCELLED = new ReplayState("CANCELLED");
///
/// Constant CANCELLING for ReplayState
///
public static readonly ReplayState CANCELLING = new ReplayState("CANCELLING");
///
/// Constant COMPLETED for ReplayState
///
public static readonly ReplayState COMPLETED = new ReplayState("COMPLETED");
///
/// Constant FAILED for ReplayState
///
public static readonly ReplayState FAILED = new ReplayState("FAILED");
///
/// Constant RUNNING for ReplayState
///
public static readonly ReplayState RUNNING = new ReplayState("RUNNING");
///
/// Constant STARTING for ReplayState
///
public static readonly ReplayState STARTING = new ReplayState("STARTING");
///
/// 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 ReplayState(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 ReplayState 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 ReplayState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ReplicationState.
///
public class ReplicationState : ConstantClass
{
///
/// Constant DISABLED for ReplicationState
///
public static readonly ReplicationState DISABLED = new ReplicationState("DISABLED");
///
/// Constant ENABLED for ReplicationState
///
public static readonly ReplicationState ENABLED = new ReplicationState("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 ReplicationState(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 ReplicationState 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 ReplicationState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RuleState.
///
public class RuleState : ConstantClass
{
///
/// Constant DISABLED for RuleState
///
public static readonly RuleState DISABLED = new RuleState("DISABLED");
///
/// Constant ENABLED for RuleState
///
public static readonly RuleState ENABLED = new RuleState("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 RuleState(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 RuleState 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 RuleState(string value)
{
return FindValue(value);
}
}
}