/* * 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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ApiGatewayV2 { /// /// Constants used for properties of type AuthorizationType. /// public class AuthorizationType : ConstantClass { /// /// Constant AWS_IAM for AuthorizationType /// public static readonly AuthorizationType AWS_IAM = new AuthorizationType("AWS_IAM"); /// /// Constant CUSTOM for AuthorizationType /// public static readonly AuthorizationType CUSTOM = new AuthorizationType("CUSTOM"); /// /// Constant JWT for AuthorizationType /// public static readonly AuthorizationType JWT = new AuthorizationType("JWT"); /// /// Constant NONE for AuthorizationType /// public static readonly AuthorizationType NONE = new AuthorizationType("NONE"); /// /// 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 AuthorizationType(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 AuthorizationType 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 AuthorizationType(string value) { return FindValue(value); } } /// /// Constants used for properties of type AuthorizerType. /// public class AuthorizerType : ConstantClass { /// /// Constant JWT for AuthorizerType /// public static readonly AuthorizerType JWT = new AuthorizerType("JWT"); /// /// Constant REQUEST for AuthorizerType /// public static readonly AuthorizerType REQUEST = new AuthorizerType("REQUEST"); /// /// 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 AuthorizerType(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 AuthorizerType 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 AuthorizerType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ConnectionType. /// public class ConnectionType : ConstantClass { /// /// Constant INTERNET for ConnectionType /// public static readonly ConnectionType INTERNET = new ConnectionType("INTERNET"); /// /// Constant VPC_LINK for ConnectionType /// public static readonly ConnectionType VPC_LINK = new ConnectionType("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 ConnectionType(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 ConnectionType 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 ConnectionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ContentHandlingStrategy. /// public class ContentHandlingStrategy : ConstantClass { /// /// Constant CONVERT_TO_BINARY for ContentHandlingStrategy /// public static readonly ContentHandlingStrategy CONVERT_TO_BINARY = new ContentHandlingStrategy("CONVERT_TO_BINARY"); /// /// Constant CONVERT_TO_TEXT for ContentHandlingStrategy /// public static readonly ContentHandlingStrategy CONVERT_TO_TEXT = new ContentHandlingStrategy("CONVERT_TO_TEXT"); /// /// 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 ContentHandlingStrategy(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 ContentHandlingStrategy 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 ContentHandlingStrategy(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeploymentStatus. /// public class DeploymentStatus : ConstantClass { /// /// Constant DEPLOYED for DeploymentStatus /// public static readonly DeploymentStatus DEPLOYED = new DeploymentStatus("DEPLOYED"); /// /// Constant FAILED for DeploymentStatus /// public static readonly DeploymentStatus FAILED = new DeploymentStatus("FAILED"); /// /// Constant PENDING for DeploymentStatus /// public static readonly DeploymentStatus PENDING = new DeploymentStatus("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 DeploymentStatus(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 DeploymentStatus 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 DeploymentStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type DomainNameStatus. /// public class DomainNameStatus : ConstantClass { /// /// Constant AVAILABLE for DomainNameStatus /// public static readonly DomainNameStatus AVAILABLE = new DomainNameStatus("AVAILABLE"); /// /// Constant PENDING_CERTIFICATE_REIMPORT for DomainNameStatus /// public static readonly DomainNameStatus PENDING_CERTIFICATE_REIMPORT = new DomainNameStatus("PENDING_CERTIFICATE_REIMPORT"); /// /// Constant PENDING_OWNERSHIP_VERIFICATION for DomainNameStatus /// public static readonly DomainNameStatus PENDING_OWNERSHIP_VERIFICATION = new DomainNameStatus("PENDING_OWNERSHIP_VERIFICATION"); /// /// Constant UPDATING for DomainNameStatus /// public static readonly DomainNameStatus UPDATING = new DomainNameStatus("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 DomainNameStatus(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 DomainNameStatus 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 DomainNameStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type EndpointType. /// public class EndpointType : ConstantClass { /// /// Constant EDGE for EndpointType /// public static readonly EndpointType EDGE = new EndpointType("EDGE"); /// /// Constant REGIONAL for EndpointType /// public static readonly EndpointType REGIONAL = new EndpointType("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 EndpointType(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 EndpointType 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 EndpointType(string value) { return FindValue(value); } } /// /// Constants used for properties of type IntegrationType. /// public class IntegrationType : ConstantClass { /// /// Constant AWS for IntegrationType /// public static readonly IntegrationType AWS = new IntegrationType("AWS"); /// /// Constant AWS_PROXY for IntegrationType /// public static readonly IntegrationType AWS_PROXY = new IntegrationType("AWS_PROXY"); /// /// Constant HTTP for IntegrationType /// public static readonly IntegrationType HTTP = new IntegrationType("HTTP"); /// /// Constant HTTP_PROXY for IntegrationType /// public static readonly IntegrationType HTTP_PROXY = new IntegrationType("HTTP_PROXY"); /// /// Constant MOCK for IntegrationType /// public static readonly IntegrationType MOCK = new IntegrationType("MOCK"); /// /// 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 IntegrationType(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 IntegrationType 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 IntegrationType(string value) { return FindValue(value); } } /// /// Constants used for properties of type LoggingLevel. /// public class LoggingLevel : ConstantClass { /// /// Constant ERROR for LoggingLevel /// public static readonly LoggingLevel ERROR = new LoggingLevel("ERROR"); /// /// Constant INFO for LoggingLevel /// public static readonly LoggingLevel INFO = new LoggingLevel("INFO"); /// /// Constant OFF for LoggingLevel /// public static readonly LoggingLevel OFF = new LoggingLevel("OFF"); /// /// 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 LoggingLevel(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 LoggingLevel 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 LoggingLevel(string value) { return FindValue(value); } } /// /// Constants used for properties of type PassthroughBehavior. /// public class PassthroughBehavior : ConstantClass { /// /// Constant NEVER for PassthroughBehavior /// public static readonly PassthroughBehavior NEVER = new PassthroughBehavior("NEVER"); /// /// Constant WHEN_NO_MATCH for PassthroughBehavior /// public static readonly PassthroughBehavior WHEN_NO_MATCH = new PassthroughBehavior("WHEN_NO_MATCH"); /// /// Constant WHEN_NO_TEMPLATES for PassthroughBehavior /// public static readonly PassthroughBehavior WHEN_NO_TEMPLATES = new PassthroughBehavior("WHEN_NO_TEMPLATES"); /// /// 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 PassthroughBehavior(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 PassthroughBehavior 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 PassthroughBehavior(string value) { return FindValue(value); } } /// /// Constants used for properties of type ProtocolType. /// public class ProtocolType : ConstantClass { /// /// Constant HTTP for ProtocolType /// public static readonly ProtocolType HTTP = new ProtocolType("HTTP"); /// /// Constant WEBSOCKET for ProtocolType /// public static readonly ProtocolType WEBSOCKET = new ProtocolType("WEBSOCKET"); /// /// 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 ProtocolType(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 ProtocolType 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 ProtocolType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SecurityPolicy. /// public class SecurityPolicy : ConstantClass { /// /// Constant TLS_1_0 for SecurityPolicy /// public static readonly SecurityPolicy TLS_1_0 = new SecurityPolicy("TLS_1_0"); /// /// Constant TLS_1_2 for SecurityPolicy /// public static readonly SecurityPolicy TLS_1_2 = new SecurityPolicy("TLS_1_2"); /// /// 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 SecurityPolicy(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 SecurityPolicy 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 SecurityPolicy(string value) { return FindValue(value); } } /// /// Constants used for properties of type VpcLinkStatus. /// public class VpcLinkStatus : ConstantClass { /// /// Constant AVAILABLE for VpcLinkStatus /// public static readonly VpcLinkStatus AVAILABLE = new VpcLinkStatus("AVAILABLE"); /// /// Constant DELETING for VpcLinkStatus /// public static readonly VpcLinkStatus DELETING = new VpcLinkStatus("DELETING"); /// /// Constant FAILED for VpcLinkStatus /// public static readonly VpcLinkStatus FAILED = new VpcLinkStatus("FAILED"); /// /// Constant INACTIVE for VpcLinkStatus /// public static readonly VpcLinkStatus INACTIVE = new VpcLinkStatus("INACTIVE"); /// /// Constant PENDING for VpcLinkStatus /// public static readonly VpcLinkStatus PENDING = new VpcLinkStatus("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 VpcLinkStatus(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 VpcLinkStatus 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 VpcLinkStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type VpcLinkVersion. /// public class VpcLinkVersion : ConstantClass { /// /// Constant V2 for VpcLinkVersion /// public static readonly VpcLinkVersion V2 = new VpcLinkVersion("V2"); /// /// 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 VpcLinkVersion(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 VpcLinkVersion 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 VpcLinkVersion(string value) { return FindValue(value); } } }