/* * 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 ecr-public-2020-10-30.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ECRPublic { /// /// Constants used for properties of type ImageFailureCode. /// public class ImageFailureCode : ConstantClass { /// /// Constant ImageNotFound for ImageFailureCode /// public static readonly ImageFailureCode ImageNotFound = new ImageFailureCode("ImageNotFound"); /// /// Constant ImageReferencedByManifestList for ImageFailureCode /// public static readonly ImageFailureCode ImageReferencedByManifestList = new ImageFailureCode("ImageReferencedByManifestList"); /// /// Constant ImageTagDoesNotMatchDigest for ImageFailureCode /// public static readonly ImageFailureCode ImageTagDoesNotMatchDigest = new ImageFailureCode("ImageTagDoesNotMatchDigest"); /// /// Constant InvalidImageDigest for ImageFailureCode /// public static readonly ImageFailureCode InvalidImageDigest = new ImageFailureCode("InvalidImageDigest"); /// /// Constant InvalidImageTag for ImageFailureCode /// public static readonly ImageFailureCode InvalidImageTag = new ImageFailureCode("InvalidImageTag"); /// /// Constant KmsError for ImageFailureCode /// public static readonly ImageFailureCode KmsError = new ImageFailureCode("KmsError"); /// /// Constant MissingDigestAndTag for ImageFailureCode /// public static readonly ImageFailureCode MissingDigestAndTag = new ImageFailureCode("MissingDigestAndTag"); /// /// 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 ImageFailureCode(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 ImageFailureCode 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 ImageFailureCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type LayerAvailability. /// public class LayerAvailability : ConstantClass { /// /// Constant AVAILABLE for LayerAvailability /// public static readonly LayerAvailability AVAILABLE = new LayerAvailability("AVAILABLE"); /// /// Constant UNAVAILABLE for LayerAvailability /// public static readonly LayerAvailability UNAVAILABLE = new LayerAvailability("UNAVAILABLE"); /// /// 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 LayerAvailability(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 LayerAvailability 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 LayerAvailability(string value) { return FindValue(value); } } /// /// Constants used for properties of type LayerFailureCode. /// public class LayerFailureCode : ConstantClass { /// /// Constant InvalidLayerDigest for LayerFailureCode /// public static readonly LayerFailureCode InvalidLayerDigest = new LayerFailureCode("InvalidLayerDigest"); /// /// Constant MissingLayerDigest for LayerFailureCode /// public static readonly LayerFailureCode MissingLayerDigest = new LayerFailureCode("MissingLayerDigest"); /// /// 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 LayerFailureCode(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 LayerFailureCode 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 LayerFailureCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type RegistryAliasStatus. /// public class RegistryAliasStatus : ConstantClass { /// /// Constant ACTIVE for RegistryAliasStatus /// public static readonly RegistryAliasStatus ACTIVE = new RegistryAliasStatus("ACTIVE"); /// /// Constant PENDING for RegistryAliasStatus /// public static readonly RegistryAliasStatus PENDING = new RegistryAliasStatus("PENDING"); /// /// Constant REJECTED for RegistryAliasStatus /// public static readonly RegistryAliasStatus REJECTED = new RegistryAliasStatus("REJECTED"); /// /// 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 RegistryAliasStatus(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 RegistryAliasStatus 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 RegistryAliasStatus(string value) { return FindValue(value); } } }