/*
* 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 migration-hub-refactor-spaces-2021-10-26.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.MigrationHubRefactorSpaces
{
///
/// Constants used for properties of type ApiGatewayEndpointType.
///
public class ApiGatewayEndpointType : ConstantClass
{
///
/// Constant PRIVATE for ApiGatewayEndpointType
///
public static readonly ApiGatewayEndpointType PRIVATE = new ApiGatewayEndpointType("PRIVATE");
///
/// Constant REGIONAL for ApiGatewayEndpointType
///
public static readonly ApiGatewayEndpointType REGIONAL = new ApiGatewayEndpointType("REGIONAL");
///
/// 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 ApiGatewayEndpointType(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 ApiGatewayEndpointType 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 ApiGatewayEndpointType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ApplicationState.
///
public class ApplicationState : ConstantClass
{
///
/// Constant ACTIVE for ApplicationState
///
public static readonly ApplicationState ACTIVE = new ApplicationState("ACTIVE");
///
/// Constant CREATING for ApplicationState
///
public static readonly ApplicationState CREATING = new ApplicationState("CREATING");
///
/// Constant DELETING for ApplicationState
///
public static readonly ApplicationState DELETING = new ApplicationState("DELETING");
///
/// Constant FAILED for ApplicationState
///
public static readonly ApplicationState FAILED = new ApplicationState("FAILED");
///
/// Constant UPDATING for ApplicationState
///
public static readonly ApplicationState UPDATING = new ApplicationState("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 ApplicationState(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 ApplicationState 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 ApplicationState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EnvironmentState.
///
public class EnvironmentState : ConstantClass
{
///
/// Constant ACTIVE for EnvironmentState
///
public static readonly EnvironmentState ACTIVE = new EnvironmentState("ACTIVE");
///
/// Constant CREATING for EnvironmentState
///
public static readonly EnvironmentState CREATING = new EnvironmentState("CREATING");
///
/// Constant DELETING for EnvironmentState
///
public static readonly EnvironmentState DELETING = new EnvironmentState("DELETING");
///
/// Constant FAILED for EnvironmentState
///
public static readonly EnvironmentState FAILED = new EnvironmentState("FAILED");
///
/// 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 EnvironmentState(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 EnvironmentState 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 EnvironmentState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ErrorCode.
///
public class ErrorCode : ConstantClass
{
///
/// Constant INVALID_RESOURCE_STATE for ErrorCode
///
public static readonly ErrorCode INVALID_RESOURCE_STATE = new ErrorCode("INVALID_RESOURCE_STATE");
///
/// Constant NOT_AUTHORIZED for ErrorCode
///
public static readonly ErrorCode NOT_AUTHORIZED = new ErrorCode("NOT_AUTHORIZED");
///
/// Constant REQUEST_LIMIT_EXCEEDED for ErrorCode
///
public static readonly ErrorCode REQUEST_LIMIT_EXCEEDED = new ErrorCode("REQUEST_LIMIT_EXCEEDED");
///
/// Constant RESOURCE_CREATION_FAILURE for ErrorCode
///
public static readonly ErrorCode RESOURCE_CREATION_FAILURE = new ErrorCode("RESOURCE_CREATION_FAILURE");
///
/// Constant RESOURCE_DELETION_FAILURE for ErrorCode
///
public static readonly ErrorCode RESOURCE_DELETION_FAILURE = new ErrorCode("RESOURCE_DELETION_FAILURE");
///
/// Constant RESOURCE_IN_USE for ErrorCode
///
public static readonly ErrorCode RESOURCE_IN_USE = new ErrorCode("RESOURCE_IN_USE");
///
/// Constant RESOURCE_LIMIT_EXCEEDED for ErrorCode
///
public static readonly ErrorCode RESOURCE_LIMIT_EXCEEDED = new ErrorCode("RESOURCE_LIMIT_EXCEEDED");
///
/// Constant RESOURCE_NOT_FOUND for ErrorCode
///
public static readonly ErrorCode RESOURCE_NOT_FOUND = new ErrorCode("RESOURCE_NOT_FOUND");
///
/// Constant RESOURCE_RETRIEVAL_FAILURE for ErrorCode
///
public static readonly ErrorCode RESOURCE_RETRIEVAL_FAILURE = new ErrorCode("RESOURCE_RETRIEVAL_FAILURE");
///
/// Constant RESOURCE_UPDATE_FAILURE for ErrorCode
///
public static readonly ErrorCode RESOURCE_UPDATE_FAILURE = new ErrorCode("RESOURCE_UPDATE_FAILURE");
///
/// Constant SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE for ErrorCode
///
public static readonly ErrorCode SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE = new ErrorCode("SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE");
///
/// Constant STATE_TRANSITION_FAILURE for ErrorCode
///
public static readonly ErrorCode STATE_TRANSITION_FAILURE = new ErrorCode("STATE_TRANSITION_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 ErrorCode(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 ErrorCode 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 ErrorCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ErrorResourceType.
///
public class ErrorResourceType : ConstantClass
{
///
/// Constant API_GATEWAY for ErrorResourceType
///
public static readonly ErrorResourceType API_GATEWAY = new ErrorResourceType("API_GATEWAY");
///
/// Constant APPLICATION for ErrorResourceType
///
public static readonly ErrorResourceType APPLICATION = new ErrorResourceType("APPLICATION");
///
/// Constant ENVIRONMENT for ErrorResourceType
///
public static readonly ErrorResourceType ENVIRONMENT = new ErrorResourceType("ENVIRONMENT");
///
/// Constant IAM_ROLE for ErrorResourceType
///
public static readonly ErrorResourceType IAM_ROLE = new ErrorResourceType("IAM_ROLE");
///
/// Constant LAMBDA for ErrorResourceType
///
public static readonly ErrorResourceType LAMBDA = new ErrorResourceType("LAMBDA");
///
/// Constant LOAD_BALANCER_LISTENER for ErrorResourceType
///
public static readonly ErrorResourceType LOAD_BALANCER_LISTENER = new ErrorResourceType("LOAD_BALANCER_LISTENER");
///
/// Constant NLB for ErrorResourceType
///
public static readonly ErrorResourceType NLB = new ErrorResourceType("NLB");
///
/// Constant RESOURCE_SHARE for ErrorResourceType
///
public static readonly ErrorResourceType RESOURCE_SHARE = new ErrorResourceType("RESOURCE_SHARE");
///
/// Constant ROUTE for ErrorResourceType
///
public static readonly ErrorResourceType ROUTE = new ErrorResourceType("ROUTE");
///
/// Constant ROUTE_TABLE for ErrorResourceType
///
public static readonly ErrorResourceType ROUTE_TABLE = new ErrorResourceType("ROUTE_TABLE");
///
/// Constant SECURITY_GROUP for ErrorResourceType
///
public static readonly ErrorResourceType SECURITY_GROUP = new ErrorResourceType("SECURITY_GROUP");
///
/// Constant SERVICE for ErrorResourceType
///
public static readonly ErrorResourceType SERVICE = new ErrorResourceType("SERVICE");
///
/// Constant SUBNET for ErrorResourceType
///
public static readonly ErrorResourceType SUBNET = new ErrorResourceType("SUBNET");
///
/// Constant TARGET_GROUP for ErrorResourceType
///
public static readonly ErrorResourceType TARGET_GROUP = new ErrorResourceType("TARGET_GROUP");
///
/// Constant TRANSIT_GATEWAY for ErrorResourceType
///
public static readonly ErrorResourceType TRANSIT_GATEWAY = new ErrorResourceType("TRANSIT_GATEWAY");
///
/// Constant TRANSIT_GATEWAY_ATTACHMENT for ErrorResourceType
///
public static readonly ErrorResourceType TRANSIT_GATEWAY_ATTACHMENT = new ErrorResourceType("TRANSIT_GATEWAY_ATTACHMENT");
///
/// Constant VPC for ErrorResourceType
///
public static readonly ErrorResourceType VPC = new ErrorResourceType("VPC");
///
/// Constant VPC_ENDPOINT_SERVICE_CONFIGURATION for ErrorResourceType
///
public static readonly ErrorResourceType VPC_ENDPOINT_SERVICE_CONFIGURATION = new ErrorResourceType("VPC_ENDPOINT_SERVICE_CONFIGURATION");
///
/// Constant VPC_LINK for ErrorResourceType
///
public static readonly ErrorResourceType VPC_LINK = new ErrorResourceType("VPC_LINK");
///
/// 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 ErrorResourceType(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 ErrorResourceType 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 ErrorResourceType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type HttpMethod.
///
public class HttpMethod : ConstantClass
{
///
/// Constant DELETE for HttpMethod
///
public static readonly HttpMethod DELETE = new HttpMethod("DELETE");
///
/// Constant GET for HttpMethod
///
public static readonly HttpMethod GET = new HttpMethod("GET");
///
/// Constant HEAD for HttpMethod
///
public static readonly HttpMethod HEAD = new HttpMethod("HEAD");
///
/// Constant OPTIONS for HttpMethod
///
public static readonly HttpMethod OPTIONS = new HttpMethod("OPTIONS");
///
/// Constant PATCH for HttpMethod
///
public static readonly HttpMethod PATCH = new HttpMethod("PATCH");
///
/// Constant POST for HttpMethod
///
public static readonly HttpMethod POST = new HttpMethod("POST");
///
/// Constant PUT for HttpMethod
///
public static readonly HttpMethod PUT = new HttpMethod("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 HttpMethod(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 HttpMethod 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 HttpMethod(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type NetworkFabricType.
///
public class NetworkFabricType : ConstantClass
{
///
/// Constant NONE for NetworkFabricType
///
public static readonly NetworkFabricType NONE = new NetworkFabricType("NONE");
///
/// Constant TRANSIT_GATEWAY for NetworkFabricType
///
public static readonly NetworkFabricType TRANSIT_GATEWAY = new NetworkFabricType("TRANSIT_GATEWAY");
///
/// 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 NetworkFabricType(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 NetworkFabricType 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 NetworkFabricType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ProxyType.
///
public class ProxyType : ConstantClass
{
///
/// Constant API_GATEWAY for ProxyType
///
public static readonly ProxyType API_GATEWAY = new ProxyType("API_GATEWAY");
///
/// 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 ProxyType(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 ProxyType 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 ProxyType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RouteActivationState.
///
public class RouteActivationState : ConstantClass
{
///
/// Constant ACTIVE for RouteActivationState
///
public static readonly RouteActivationState ACTIVE = new RouteActivationState("ACTIVE");
///
/// Constant INACTIVE for RouteActivationState
///
public static readonly RouteActivationState INACTIVE = new RouteActivationState("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 RouteActivationState(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 RouteActivationState 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 RouteActivationState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RouteState.
///
public class RouteState : ConstantClass
{
///
/// Constant ACTIVE for RouteState
///
public static readonly RouteState ACTIVE = new RouteState("ACTIVE");
///
/// Constant CREATING for RouteState
///
public static readonly RouteState CREATING = new RouteState("CREATING");
///
/// Constant DELETING for RouteState
///
public static readonly RouteState DELETING = new RouteState("DELETING");
///
/// Constant FAILED for RouteState
///
public static readonly RouteState FAILED = new RouteState("FAILED");
///
/// Constant INACTIVE for RouteState
///
public static readonly RouteState INACTIVE = new RouteState("INACTIVE");
///
/// Constant UPDATING for RouteState
///
public static readonly RouteState UPDATING = new RouteState("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 RouteState(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 RouteState 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 RouteState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RouteType.
///
public class RouteType : ConstantClass
{
///
/// Constant DEFAULT for RouteType
///
public static readonly RouteType DEFAULT = new RouteType("DEFAULT");
///
/// Constant URI_PATH for RouteType
///
public static readonly RouteType URI_PATH = new RouteType("URI_PATH");
///
/// 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 RouteType(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 RouteType 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 RouteType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ServiceEndpointType.
///
public class ServiceEndpointType : ConstantClass
{
///
/// Constant LAMBDA for ServiceEndpointType
///
public static readonly ServiceEndpointType LAMBDA = new ServiceEndpointType("LAMBDA");
///
/// Constant URL for ServiceEndpointType
///
public static readonly ServiceEndpointType URL = new ServiceEndpointType("URL");
///
/// 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 ServiceEndpointType(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 ServiceEndpointType 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 ServiceEndpointType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ServiceState.
///
public class ServiceState : ConstantClass
{
///
/// Constant ACTIVE for ServiceState
///
public static readonly ServiceState ACTIVE = new ServiceState("ACTIVE");
///
/// Constant CREATING for ServiceState
///
public static readonly ServiceState CREATING = new ServiceState("CREATING");
///
/// Constant DELETING for ServiceState
///
public static readonly ServiceState DELETING = new ServiceState("DELETING");
///
/// Constant FAILED for ServiceState
///
public static readonly ServiceState FAILED = new ServiceState("FAILED");
///
/// 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 ServiceState(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 ServiceState 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 ServiceState(string value)
{
return FindValue(value);
}
}
}