/*
* 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 ebs-2019-11-02.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.EBS
{
///
/// Constants used for properties of type AccessDeniedExceptionReason.
///
public class AccessDeniedExceptionReason : ConstantClass
{
///
/// Constant DEPENDENCY_ACCESS_DENIED for AccessDeniedExceptionReason
///
public static readonly AccessDeniedExceptionReason DEPENDENCY_ACCESS_DENIED = new AccessDeniedExceptionReason("DEPENDENCY_ACCESS_DENIED");
///
/// Constant UNAUTHORIZED_ACCOUNT for AccessDeniedExceptionReason
///
public static readonly AccessDeniedExceptionReason UNAUTHORIZED_ACCOUNT = new AccessDeniedExceptionReason("UNAUTHORIZED_ACCOUNT");
///
/// 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 AccessDeniedExceptionReason(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 AccessDeniedExceptionReason 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 AccessDeniedExceptionReason(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ChecksumAggregationMethod.
///
public class ChecksumAggregationMethod : ConstantClass
{
///
/// Constant LINEAR for ChecksumAggregationMethod
///
public static readonly ChecksumAggregationMethod LINEAR = new ChecksumAggregationMethod("LINEAR");
///
/// 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 ChecksumAggregationMethod(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 ChecksumAggregationMethod 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 ChecksumAggregationMethod(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ChecksumAlgorithm.
///
public class ChecksumAlgorithm : ConstantClass
{
///
/// Constant SHA256 for ChecksumAlgorithm
///
public static readonly ChecksumAlgorithm SHA256 = new ChecksumAlgorithm("SHA256");
///
/// 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 ChecksumAlgorithm(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 ChecksumAlgorithm 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 ChecksumAlgorithm(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RequestThrottledExceptionReason.
///
public class RequestThrottledExceptionReason : ConstantClass
{
///
/// Constant ACCOUNT_THROTTLED for RequestThrottledExceptionReason
///
public static readonly RequestThrottledExceptionReason ACCOUNT_THROTTLED = new RequestThrottledExceptionReason("ACCOUNT_THROTTLED");
///
/// Constant DEPENDENCY_REQUEST_THROTTLED for RequestThrottledExceptionReason
///
public static readonly RequestThrottledExceptionReason DEPENDENCY_REQUEST_THROTTLED = new RequestThrottledExceptionReason("DEPENDENCY_REQUEST_THROTTLED");
///
/// Constant RESOURCE_LEVEL_THROTTLE for RequestThrottledExceptionReason
///
public static readonly RequestThrottledExceptionReason RESOURCE_LEVEL_THROTTLE = new RequestThrottledExceptionReason("RESOURCE_LEVEL_THROTTLE");
///
/// 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 RequestThrottledExceptionReason(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 RequestThrottledExceptionReason 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 RequestThrottledExceptionReason(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceNotFoundExceptionReason.
///
public class ResourceNotFoundExceptionReason : ConstantClass
{
///
/// Constant DEPENDENCY_RESOURCE_NOT_FOUND for ResourceNotFoundExceptionReason
///
public static readonly ResourceNotFoundExceptionReason DEPENDENCY_RESOURCE_NOT_FOUND = new ResourceNotFoundExceptionReason("DEPENDENCY_RESOURCE_NOT_FOUND");
///
/// Constant GRANT_NOT_FOUND for ResourceNotFoundExceptionReason
///
public static readonly ResourceNotFoundExceptionReason GRANT_NOT_FOUND = new ResourceNotFoundExceptionReason("GRANT_NOT_FOUND");
///
/// Constant IMAGE_NOT_FOUND for ResourceNotFoundExceptionReason
///
public static readonly ResourceNotFoundExceptionReason IMAGE_NOT_FOUND = new ResourceNotFoundExceptionReason("IMAGE_NOT_FOUND");
///
/// Constant SNAPSHOT_NOT_FOUND for ResourceNotFoundExceptionReason
///
public static readonly ResourceNotFoundExceptionReason SNAPSHOT_NOT_FOUND = new ResourceNotFoundExceptionReason("SNAPSHOT_NOT_FOUND");
///
/// 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 ResourceNotFoundExceptionReason(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 ResourceNotFoundExceptionReason 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 ResourceNotFoundExceptionReason(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ServiceQuotaExceededExceptionReason.
///
public class ServiceQuotaExceededExceptionReason : ConstantClass
{
///
/// Constant DEPENDENCY_SERVICE_QUOTA_EXCEEDED for ServiceQuotaExceededExceptionReason
///
public static readonly ServiceQuotaExceededExceptionReason DEPENDENCY_SERVICE_QUOTA_EXCEEDED = new ServiceQuotaExceededExceptionReason("DEPENDENCY_SERVICE_QUOTA_EXCEEDED");
///
/// 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 ServiceQuotaExceededExceptionReason(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 ServiceQuotaExceededExceptionReason 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 ServiceQuotaExceededExceptionReason(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SSEType.
///
public class SSEType : ConstantClass
{
///
/// Constant None for SSEType
///
public static readonly SSEType None = new SSEType("none");
///
/// Constant SseEbs for SSEType
///
public static readonly SSEType SseEbs = new SSEType("sse-ebs");
///
/// Constant SseKms for SSEType
///
public static readonly SSEType SseKms = new SSEType("sse-kms");
///
/// 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 SSEType(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 SSEType 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 SSEType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Status.
///
public class Status : ConstantClass
{
///
/// Constant Completed for Status
///
public static readonly Status Completed = new Status("completed");
///
/// Constant Error for Status
///
public static readonly Status Error = new Status("error");
///
/// Constant Pending for Status
///
public static readonly Status Pending = new Status("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 Status(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 Status 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 Status(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ValidationExceptionReason.
///
public class ValidationExceptionReason : ConstantClass
{
///
/// Constant CONFLICTING_BLOCK_UPDATE for ValidationExceptionReason
///
public static readonly ValidationExceptionReason CONFLICTING_BLOCK_UPDATE = new ValidationExceptionReason("CONFLICTING_BLOCK_UPDATE");
///
/// Constant INVALID_BLOCK for ValidationExceptionReason
///
public static readonly ValidationExceptionReason INVALID_BLOCK = new ValidationExceptionReason("INVALID_BLOCK");
///
/// Constant INVALID_BLOCK_TOKEN for ValidationExceptionReason
///
public static readonly ValidationExceptionReason INVALID_BLOCK_TOKEN = new ValidationExceptionReason("INVALID_BLOCK_TOKEN");
///
/// Constant INVALID_CONTENT_ENCODING for ValidationExceptionReason
///
public static readonly ValidationExceptionReason INVALID_CONTENT_ENCODING = new ValidationExceptionReason("INVALID_CONTENT_ENCODING");
///
/// Constant INVALID_CUSTOMER_KEY for ValidationExceptionReason
///
public static readonly ValidationExceptionReason INVALID_CUSTOMER_KEY = new ValidationExceptionReason("INVALID_CUSTOMER_KEY");
///
/// Constant INVALID_DEPENDENCY_REQUEST for ValidationExceptionReason
///
public static readonly ValidationExceptionReason INVALID_DEPENDENCY_REQUEST = new ValidationExceptionReason("INVALID_DEPENDENCY_REQUEST");
///
/// Constant INVALID_GRANT_TOKEN for ValidationExceptionReason
///
public static readonly ValidationExceptionReason INVALID_GRANT_TOKEN = new ValidationExceptionReason("INVALID_GRANT_TOKEN");
///
/// Constant INVALID_IMAGE_ID for ValidationExceptionReason
///
public static readonly ValidationExceptionReason INVALID_IMAGE_ID = new ValidationExceptionReason("INVALID_IMAGE_ID");
///
/// Constant INVALID_PAGE_TOKEN for ValidationExceptionReason
///
public static readonly ValidationExceptionReason INVALID_PAGE_TOKEN = new ValidationExceptionReason("INVALID_PAGE_TOKEN");
///
/// Constant INVALID_PARAMETER_VALUE for ValidationExceptionReason
///
public static readonly ValidationExceptionReason INVALID_PARAMETER_VALUE = new ValidationExceptionReason("INVALID_PARAMETER_VALUE");
///
/// Constant INVALID_SNAPSHOT_ID for ValidationExceptionReason
///
public static readonly ValidationExceptionReason INVALID_SNAPSHOT_ID = new ValidationExceptionReason("INVALID_SNAPSHOT_ID");
///
/// Constant INVALID_TAG for ValidationExceptionReason
///
public static readonly ValidationExceptionReason INVALID_TAG = new ValidationExceptionReason("INVALID_TAG");
///
/// Constant INVALID_VOLUME_SIZE for ValidationExceptionReason
///
public static readonly ValidationExceptionReason INVALID_VOLUME_SIZE = new ValidationExceptionReason("INVALID_VOLUME_SIZE");
///
/// Constant UNRELATED_SNAPSHOTS for ValidationExceptionReason
///
public static readonly ValidationExceptionReason UNRELATED_SNAPSHOTS = new ValidationExceptionReason("UNRELATED_SNAPSHOTS");
///
/// Constant WRITE_REQUEST_TIMEOUT for ValidationExceptionReason
///
public static readonly ValidationExceptionReason WRITE_REQUEST_TIMEOUT = new ValidationExceptionReason("WRITE_REQUEST_TIMEOUT");
///
/// 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);
}
}
}