/*
* 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 synthetics-2017-10-11.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Synthetics
{
///
/// Constants used for properties of type CanaryRunState.
///
public class CanaryRunState : ConstantClass
{
///
/// Constant FAILED for CanaryRunState
///
public static readonly CanaryRunState FAILED = new CanaryRunState("FAILED");
///
/// Constant PASSED for CanaryRunState
///
public static readonly CanaryRunState PASSED = new CanaryRunState("PASSED");
///
/// Constant RUNNING for CanaryRunState
///
public static readonly CanaryRunState RUNNING = new CanaryRunState("RUNNING");
///
/// 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 CanaryRunState(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 CanaryRunState 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 CanaryRunState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CanaryRunStateReasonCode.
///
public class CanaryRunStateReasonCode : ConstantClass
{
///
/// Constant CANARY_FAILURE for CanaryRunStateReasonCode
///
public static readonly CanaryRunStateReasonCode CANARY_FAILURE = new CanaryRunStateReasonCode("CANARY_FAILURE");
///
/// Constant EXECUTION_FAILURE for CanaryRunStateReasonCode
///
public static readonly CanaryRunStateReasonCode EXECUTION_FAILURE = new CanaryRunStateReasonCode("EXECUTION_FAILURE");
///
/// 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 CanaryRunStateReasonCode(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 CanaryRunStateReasonCode 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 CanaryRunStateReasonCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CanaryState.
///
public class CanaryState : ConstantClass
{
///
/// Constant CREATING for CanaryState
///
public static readonly CanaryState CREATING = new CanaryState("CREATING");
///
/// Constant DELETING for CanaryState
///
public static readonly CanaryState DELETING = new CanaryState("DELETING");
///
/// Constant ERROR for CanaryState
///
public static readonly CanaryState ERROR = new CanaryState("ERROR");
///
/// Constant READY for CanaryState
///
public static readonly CanaryState READY = new CanaryState("READY");
///
/// Constant RUNNING for CanaryState
///
public static readonly CanaryState RUNNING = new CanaryState("RUNNING");
///
/// Constant STARTING for CanaryState
///
public static readonly CanaryState STARTING = new CanaryState("STARTING");
///
/// Constant STOPPED for CanaryState
///
public static readonly CanaryState STOPPED = new CanaryState("STOPPED");
///
/// Constant STOPPING for CanaryState
///
public static readonly CanaryState STOPPING = new CanaryState("STOPPING");
///
/// Constant UPDATING for CanaryState
///
public static readonly CanaryState UPDATING = new CanaryState("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 CanaryState(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 CanaryState 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 CanaryState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CanaryStateReasonCode.
///
public class CanaryStateReasonCode : ConstantClass
{
///
/// Constant CREATE_FAILED for CanaryStateReasonCode
///
public static readonly CanaryStateReasonCode CREATE_FAILED = new CanaryStateReasonCode("CREATE_FAILED");
///
/// Constant CREATE_IN_PROGRESS for CanaryStateReasonCode
///
public static readonly CanaryStateReasonCode CREATE_IN_PROGRESS = new CanaryStateReasonCode("CREATE_IN_PROGRESS");
///
/// Constant CREATE_PENDING for CanaryStateReasonCode
///
public static readonly CanaryStateReasonCode CREATE_PENDING = new CanaryStateReasonCode("CREATE_PENDING");
///
/// Constant DELETE_FAILED for CanaryStateReasonCode
///
public static readonly CanaryStateReasonCode DELETE_FAILED = new CanaryStateReasonCode("DELETE_FAILED");
///
/// Constant DELETE_IN_PROGRESS for CanaryStateReasonCode
///
public static readonly CanaryStateReasonCode DELETE_IN_PROGRESS = new CanaryStateReasonCode("DELETE_IN_PROGRESS");
///
/// Constant INVALID_PERMISSIONS for CanaryStateReasonCode
///
public static readonly CanaryStateReasonCode INVALID_PERMISSIONS = new CanaryStateReasonCode("INVALID_PERMISSIONS");
///
/// Constant ROLLBACK_COMPLETE for CanaryStateReasonCode
///
public static readonly CanaryStateReasonCode ROLLBACK_COMPLETE = new CanaryStateReasonCode("ROLLBACK_COMPLETE");
///
/// Constant ROLLBACK_FAILED for CanaryStateReasonCode
///
public static readonly CanaryStateReasonCode ROLLBACK_FAILED = new CanaryStateReasonCode("ROLLBACK_FAILED");
///
/// Constant SYNC_DELETE_IN_PROGRESS for CanaryStateReasonCode
///
public static readonly CanaryStateReasonCode SYNC_DELETE_IN_PROGRESS = new CanaryStateReasonCode("SYNC_DELETE_IN_PROGRESS");
///
/// Constant UPDATE_COMPLETE for CanaryStateReasonCode
///
public static readonly CanaryStateReasonCode UPDATE_COMPLETE = new CanaryStateReasonCode("UPDATE_COMPLETE");
///
/// Constant UPDATE_IN_PROGRESS for CanaryStateReasonCode
///
public static readonly CanaryStateReasonCode UPDATE_IN_PROGRESS = new CanaryStateReasonCode("UPDATE_IN_PROGRESS");
///
/// Constant UPDATE_PENDING for CanaryStateReasonCode
///
public static readonly CanaryStateReasonCode UPDATE_PENDING = new CanaryStateReasonCode("UPDATE_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 CanaryStateReasonCode(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 CanaryStateReasonCode 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 CanaryStateReasonCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EncryptionMode.
///
public class EncryptionMode : ConstantClass
{
///
/// Constant SSE_KMS for EncryptionMode
///
public static readonly EncryptionMode SSE_KMS = new EncryptionMode("SSE_KMS");
///
/// Constant SSE_S3 for EncryptionMode
///
public static readonly EncryptionMode SSE_S3 = new EncryptionMode("SSE_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 EncryptionMode(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 EncryptionMode 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 EncryptionMode(string value)
{
return FindValue(value);
}
}
}