/* * 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 cloudtrail-2013-11-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.CloudTrail { /// /// Constants used for properties of type DeliveryStatus. /// public class DeliveryStatus : ConstantClass { /// /// Constant ACCESS_DENIED for DeliveryStatus /// public static readonly DeliveryStatus ACCESS_DENIED = new DeliveryStatus("ACCESS_DENIED"); /// /// Constant ACCESS_DENIED_SIGNING_FILE for DeliveryStatus /// public static readonly DeliveryStatus ACCESS_DENIED_SIGNING_FILE = new DeliveryStatus("ACCESS_DENIED_SIGNING_FILE"); /// /// Constant CANCELLED for DeliveryStatus /// public static readonly DeliveryStatus CANCELLED = new DeliveryStatus("CANCELLED"); /// /// Constant FAILED for DeliveryStatus /// public static readonly DeliveryStatus FAILED = new DeliveryStatus("FAILED"); /// /// Constant FAILED_SIGNING_FILE for DeliveryStatus /// public static readonly DeliveryStatus FAILED_SIGNING_FILE = new DeliveryStatus("FAILED_SIGNING_FILE"); /// /// Constant PENDING for DeliveryStatus /// public static readonly DeliveryStatus PENDING = new DeliveryStatus("PENDING"); /// /// Constant RESOURCE_NOT_FOUND for DeliveryStatus /// public static readonly DeliveryStatus RESOURCE_NOT_FOUND = new DeliveryStatus("RESOURCE_NOT_FOUND"); /// /// Constant SUCCESS for DeliveryStatus /// public static readonly DeliveryStatus SUCCESS = new DeliveryStatus("SUCCESS"); /// /// Constant UNKNOWN for DeliveryStatus /// public static readonly DeliveryStatus UNKNOWN = new DeliveryStatus("UNKNOWN"); /// /// 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 DeliveryStatus(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 DeliveryStatus 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 DeliveryStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type DestinationType. /// public class DestinationType : ConstantClass { /// /// Constant AWS_SERVICE for DestinationType /// public static readonly DestinationType AWS_SERVICE = new DestinationType("AWS_SERVICE"); /// /// Constant EVENT_DATA_STORE for DestinationType /// public static readonly DestinationType EVENT_DATA_STORE = new DestinationType("EVENT_DATA_STORE"); /// /// 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 DestinationType(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 DestinationType 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 DestinationType(string value) { return FindValue(value); } } /// /// Constants used for properties of type EventCategory. /// public class EventCategory : ConstantClass { /// /// Constant Insight for EventCategory /// public static readonly EventCategory Insight = new EventCategory("insight"); /// /// 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 EventCategory(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 EventCategory 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 EventCategory(string value) { return FindValue(value); } } /// /// Constants used for properties of type EventDataStoreStatus. /// public class EventDataStoreStatus : ConstantClass { /// /// Constant CREATED for EventDataStoreStatus /// public static readonly EventDataStoreStatus CREATED = new EventDataStoreStatus("CREATED"); /// /// Constant ENABLED for EventDataStoreStatus /// public static readonly EventDataStoreStatus ENABLED = new EventDataStoreStatus("ENABLED"); /// /// Constant PENDING_DELETION for EventDataStoreStatus /// public static readonly EventDataStoreStatus PENDING_DELETION = new EventDataStoreStatus("PENDING_DELETION"); /// /// Constant STARTING_INGESTION for EventDataStoreStatus /// public static readonly EventDataStoreStatus STARTING_INGESTION = new EventDataStoreStatus("STARTING_INGESTION"); /// /// Constant STOPPED_INGESTION for EventDataStoreStatus /// public static readonly EventDataStoreStatus STOPPED_INGESTION = new EventDataStoreStatus("STOPPED_INGESTION"); /// /// Constant STOPPING_INGESTION for EventDataStoreStatus /// public static readonly EventDataStoreStatus STOPPING_INGESTION = new EventDataStoreStatus("STOPPING_INGESTION"); /// /// 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 EventDataStoreStatus(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 EventDataStoreStatus 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 EventDataStoreStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ImportFailureStatus. /// public class ImportFailureStatus : ConstantClass { /// /// Constant FAILED for ImportFailureStatus /// public static readonly ImportFailureStatus FAILED = new ImportFailureStatus("FAILED"); /// /// Constant RETRY for ImportFailureStatus /// public static readonly ImportFailureStatus RETRY = new ImportFailureStatus("RETRY"); /// /// Constant SUCCEEDED for ImportFailureStatus /// public static readonly ImportFailureStatus SUCCEEDED = new ImportFailureStatus("SUCCEEDED"); /// /// 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 ImportFailureStatus(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 ImportFailureStatus 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 ImportFailureStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ImportStatus. /// public class ImportStatus : ConstantClass { /// /// Constant COMPLETED for ImportStatus /// public static readonly ImportStatus COMPLETED = new ImportStatus("COMPLETED"); /// /// Constant FAILED for ImportStatus /// public static readonly ImportStatus FAILED = new ImportStatus("FAILED"); /// /// Constant IN_PROGRESS for ImportStatus /// public static readonly ImportStatus IN_PROGRESS = new ImportStatus("IN_PROGRESS"); /// /// Constant INITIALIZING for ImportStatus /// public static readonly ImportStatus INITIALIZING = new ImportStatus("INITIALIZING"); /// /// Constant STOPPED for ImportStatus /// public static readonly ImportStatus STOPPED = new ImportStatus("STOPPED"); /// /// 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 ImportStatus(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 ImportStatus 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 ImportStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type InsightType. /// public class InsightType : ConstantClass { /// /// Constant ApiCallRateInsight for InsightType /// public static readonly InsightType ApiCallRateInsight = new InsightType("ApiCallRateInsight"); /// /// Constant ApiErrorRateInsight for InsightType /// public static readonly InsightType ApiErrorRateInsight = new InsightType("ApiErrorRateInsight"); /// /// 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 InsightType(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 InsightType 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 InsightType(string value) { return FindValue(value); } } /// /// Constants used for properties of type LookupAttributeKey. /// public class LookupAttributeKey : ConstantClass { /// /// Constant AccessKeyId for LookupAttributeKey /// public static readonly LookupAttributeKey AccessKeyId = new LookupAttributeKey("AccessKeyId"); /// /// Constant EventId for LookupAttributeKey /// public static readonly LookupAttributeKey EventId = new LookupAttributeKey("EventId"); /// /// Constant EventName for LookupAttributeKey /// public static readonly LookupAttributeKey EventName = new LookupAttributeKey("EventName"); /// /// Constant EventSource for LookupAttributeKey /// public static readonly LookupAttributeKey EventSource = new LookupAttributeKey("EventSource"); /// /// Constant ReadOnly for LookupAttributeKey /// public static readonly LookupAttributeKey ReadOnly = new LookupAttributeKey("ReadOnly"); /// /// Constant ResourceName for LookupAttributeKey /// public static readonly LookupAttributeKey ResourceName = new LookupAttributeKey("ResourceName"); /// /// Constant ResourceType for LookupAttributeKey /// public static readonly LookupAttributeKey ResourceType = new LookupAttributeKey("ResourceType"); /// /// Constant Username for LookupAttributeKey /// public static readonly LookupAttributeKey Username = new LookupAttributeKey("Username"); /// /// 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 LookupAttributeKey(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 LookupAttributeKey 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 LookupAttributeKey(string value) { return FindValue(value); } } /// /// Constants used for properties of type QueryStatus. /// public class QueryStatus : ConstantClass { /// /// Constant CANCELLED for QueryStatus /// public static readonly QueryStatus CANCELLED = new QueryStatus("CANCELLED"); /// /// Constant FAILED for QueryStatus /// public static readonly QueryStatus FAILED = new QueryStatus("FAILED"); /// /// Constant FINISHED for QueryStatus /// public static readonly QueryStatus FINISHED = new QueryStatus("FINISHED"); /// /// Constant QUEUED for QueryStatus /// public static readonly QueryStatus QUEUED = new QueryStatus("QUEUED"); /// /// Constant RUNNING for QueryStatus /// public static readonly QueryStatus RUNNING = new QueryStatus("RUNNING"); /// /// Constant TIMED_OUT for QueryStatus /// public static readonly QueryStatus TIMED_OUT = new QueryStatus("TIMED_OUT"); /// /// 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 QueryStatus(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 QueryStatus 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 QueryStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ReadWriteType. /// public class ReadWriteType : ConstantClass { /// /// Constant All for ReadWriteType /// public static readonly ReadWriteType All = new ReadWriteType("All"); /// /// Constant ReadOnly for ReadWriteType /// public static readonly ReadWriteType ReadOnly = new ReadWriteType("ReadOnly"); /// /// Constant WriteOnly for ReadWriteType /// public static readonly ReadWriteType WriteOnly = new ReadWriteType("WriteOnly"); /// /// 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 ReadWriteType(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 ReadWriteType 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 ReadWriteType(string value) { return FindValue(value); } } }