/* * Copyright 2010-2014 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 kinesis-2013-12-02.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.Kinesis { /// /// Constants used for properties of type ConsumerStatus. /// public class ConsumerStatus : ConstantClass { /// /// Constant ACTIVE for ConsumerStatus /// public static readonly ConsumerStatus ACTIVE = new ConsumerStatus("ACTIVE"); /// /// Constant CREATING for ConsumerStatus /// public static readonly ConsumerStatus CREATING = new ConsumerStatus("CREATING"); /// /// Constant DELETING for ConsumerStatus /// public static readonly ConsumerStatus DELETING = new ConsumerStatus("DELETING"); /// /// 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 ConsumerStatus(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 ConsumerStatus 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 ConsumerStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type EncryptionType. /// public class EncryptionType : ConstantClass { /// /// Constant KMS for EncryptionType /// public static readonly EncryptionType KMS = new EncryptionType("KMS"); /// /// Constant NONE for EncryptionType /// public static readonly EncryptionType NONE = new EncryptionType("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 EncryptionType(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 EncryptionType 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 EncryptionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type MetricsName. /// public class MetricsName : ConstantClass { /// /// Constant ALL for MetricsName /// public static readonly MetricsName ALL = new MetricsName("ALL"); /// /// Constant IncomingBytes for MetricsName /// public static readonly MetricsName IncomingBytes = new MetricsName("IncomingBytes"); /// /// Constant IncomingRecords for MetricsName /// public static readonly MetricsName IncomingRecords = new MetricsName("IncomingRecords"); /// /// Constant IteratorAgeMilliseconds for MetricsName /// public static readonly MetricsName IteratorAgeMilliseconds = new MetricsName("IteratorAgeMilliseconds"); /// /// Constant OutgoingBytes for MetricsName /// public static readonly MetricsName OutgoingBytes = new MetricsName("OutgoingBytes"); /// /// Constant OutgoingRecords for MetricsName /// public static readonly MetricsName OutgoingRecords = new MetricsName("OutgoingRecords"); /// /// Constant ReadProvisionedThroughputExceeded for MetricsName /// public static readonly MetricsName ReadProvisionedThroughputExceeded = new MetricsName("ReadProvisionedThroughputExceeded"); /// /// Constant WriteProvisionedThroughputExceeded for MetricsName /// public static readonly MetricsName WriteProvisionedThroughputExceeded = new MetricsName("WriteProvisionedThroughputExceeded"); /// /// 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 MetricsName(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 MetricsName 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 MetricsName(string value) { return FindValue(value); } } /// /// Constants used for properties of type ScalingType. /// public class ScalingType : ConstantClass { /// /// Constant UNIFORM_SCALING for ScalingType /// public static readonly ScalingType UNIFORM_SCALING = new ScalingType("UNIFORM_SCALING"); /// /// 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 ScalingType(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 ScalingType 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 ScalingType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ShardIteratorType. /// public class ShardIteratorType : ConstantClass { /// /// Constant AFTER_SEQUENCE_NUMBER for ShardIteratorType /// public static readonly ShardIteratorType AFTER_SEQUENCE_NUMBER = new ShardIteratorType("AFTER_SEQUENCE_NUMBER"); /// /// Constant AT_SEQUENCE_NUMBER for ShardIteratorType /// public static readonly ShardIteratorType AT_SEQUENCE_NUMBER = new ShardIteratorType("AT_SEQUENCE_NUMBER"); /// /// Constant AT_TIMESTAMP for ShardIteratorType /// public static readonly ShardIteratorType AT_TIMESTAMP = new ShardIteratorType("AT_TIMESTAMP"); /// /// Constant LATEST for ShardIteratorType /// public static readonly ShardIteratorType LATEST = new ShardIteratorType("LATEST"); /// /// Constant TRIM_HORIZON for ShardIteratorType /// public static readonly ShardIteratorType TRIM_HORIZON = new ShardIteratorType("TRIM_HORIZON"); /// /// 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 ShardIteratorType(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 ShardIteratorType 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 ShardIteratorType(string value) { return FindValue(value); } } /// /// Constants used for properties of type StreamStatus. /// public class StreamStatus : ConstantClass { /// /// Constant ACTIVE for StreamStatus /// public static readonly StreamStatus ACTIVE = new StreamStatus("ACTIVE"); /// /// Constant CREATING for StreamStatus /// public static readonly StreamStatus CREATING = new StreamStatus("CREATING"); /// /// Constant DELETING for StreamStatus /// public static readonly StreamStatus DELETING = new StreamStatus("DELETING"); /// /// Constant UPDATING for StreamStatus /// public static readonly StreamStatus UPDATING = new StreamStatus("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 StreamStatus(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 StreamStatus 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 StreamStatus(string value) { return FindValue(value); } } }