/* * 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 cloudcontrol-2021-09-30.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.CloudControlApi { /// /// Constants used for properties of type HandlerErrorCode. /// public class HandlerErrorCode : ConstantClass { /// /// Constant AccessDenied for HandlerErrorCode /// public static readonly HandlerErrorCode AccessDenied = new HandlerErrorCode("AccessDenied"); /// /// Constant AlreadyExists for HandlerErrorCode /// public static readonly HandlerErrorCode AlreadyExists = new HandlerErrorCode("AlreadyExists"); /// /// Constant GeneralServiceException for HandlerErrorCode /// public static readonly HandlerErrorCode GeneralServiceException = new HandlerErrorCode("GeneralServiceException"); /// /// Constant InternalFailure for HandlerErrorCode /// public static readonly HandlerErrorCode InternalFailure = new HandlerErrorCode("InternalFailure"); /// /// Constant InvalidCredentials for HandlerErrorCode /// public static readonly HandlerErrorCode InvalidCredentials = new HandlerErrorCode("InvalidCredentials"); /// /// Constant InvalidRequest for HandlerErrorCode /// public static readonly HandlerErrorCode InvalidRequest = new HandlerErrorCode("InvalidRequest"); /// /// Constant NetworkFailure for HandlerErrorCode /// public static readonly HandlerErrorCode NetworkFailure = new HandlerErrorCode("NetworkFailure"); /// /// Constant NotFound for HandlerErrorCode /// public static readonly HandlerErrorCode NotFound = new HandlerErrorCode("NotFound"); /// /// Constant NotStabilized for HandlerErrorCode /// public static readonly HandlerErrorCode NotStabilized = new HandlerErrorCode("NotStabilized"); /// /// Constant NotUpdatable for HandlerErrorCode /// public static readonly HandlerErrorCode NotUpdatable = new HandlerErrorCode("NotUpdatable"); /// /// Constant ResourceConflict for HandlerErrorCode /// public static readonly HandlerErrorCode ResourceConflict = new HandlerErrorCode("ResourceConflict"); /// /// Constant ServiceInternalError for HandlerErrorCode /// public static readonly HandlerErrorCode ServiceInternalError = new HandlerErrorCode("ServiceInternalError"); /// /// Constant ServiceLimitExceeded for HandlerErrorCode /// public static readonly HandlerErrorCode ServiceLimitExceeded = new HandlerErrorCode("ServiceLimitExceeded"); /// /// Constant ServiceTimeout for HandlerErrorCode /// public static readonly HandlerErrorCode ServiceTimeout = new HandlerErrorCode("ServiceTimeout"); /// /// Constant Throttling for HandlerErrorCode /// public static readonly HandlerErrorCode Throttling = new HandlerErrorCode("Throttling"); /// /// 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 HandlerErrorCode(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 HandlerErrorCode 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 HandlerErrorCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type Operation. /// public class Operation : ConstantClass { /// /// Constant CREATE for Operation /// public static readonly Operation CREATE = new Operation("CREATE"); /// /// Constant DELETE for Operation /// public static readonly Operation DELETE = new Operation("DELETE"); /// /// Constant UPDATE for Operation /// public static readonly Operation UPDATE = new Operation("UPDATE"); /// /// 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 Operation(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 Operation 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 Operation(string value) { return FindValue(value); } } /// /// Constants used for properties of type OperationStatus. /// public class OperationStatus : ConstantClass { /// /// Constant CANCEL_COMPLETE for OperationStatus /// public static readonly OperationStatus CANCEL_COMPLETE = new OperationStatus("CANCEL_COMPLETE"); /// /// Constant CANCEL_IN_PROGRESS for OperationStatus /// public static readonly OperationStatus CANCEL_IN_PROGRESS = new OperationStatus("CANCEL_IN_PROGRESS"); /// /// Constant FAILED for OperationStatus /// public static readonly OperationStatus FAILED = new OperationStatus("FAILED"); /// /// Constant IN_PROGRESS for OperationStatus /// public static readonly OperationStatus IN_PROGRESS = new OperationStatus("IN_PROGRESS"); /// /// Constant PENDING for OperationStatus /// public static readonly OperationStatus PENDING = new OperationStatus("PENDING"); /// /// Constant SUCCESS for OperationStatus /// public static readonly OperationStatus SUCCESS = new OperationStatus("SUCCESS"); /// /// 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 OperationStatus(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 OperationStatus 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 OperationStatus(string value) { return FindValue(value); } } }