/*
* 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 grafana-2020-08-18.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.ManagedGrafana
{
///
/// Constants used for properties of type AccountAccessType.
///
public class AccountAccessType : ConstantClass
{
///
/// Constant CURRENT_ACCOUNT for AccountAccessType
///
public static readonly AccountAccessType CURRENT_ACCOUNT = new AccountAccessType("CURRENT_ACCOUNT");
///
/// Constant ORGANIZATION for AccountAccessType
///
public static readonly AccountAccessType ORGANIZATION = new AccountAccessType("ORGANIZATION");
///
/// 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 AccountAccessType(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 AccountAccessType 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 AccountAccessType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AuthenticationProviderTypes.
///
public class AuthenticationProviderTypes : ConstantClass
{
///
/// Constant AWS_SSO for AuthenticationProviderTypes
///
public static readonly AuthenticationProviderTypes AWS_SSO = new AuthenticationProviderTypes("AWS_SSO");
///
/// Constant SAML for AuthenticationProviderTypes
///
public static readonly AuthenticationProviderTypes SAML = new AuthenticationProviderTypes("SAML");
///
/// 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 AuthenticationProviderTypes(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 AuthenticationProviderTypes 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 AuthenticationProviderTypes(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DataSourceType.
///
public class DataSourceType : ConstantClass
{
///
/// Constant AMAZON_OPENSEARCH_SERVICE for DataSourceType
///
public static readonly DataSourceType AMAZON_OPENSEARCH_SERVICE = new DataSourceType("AMAZON_OPENSEARCH_SERVICE");
///
/// Constant ATHENA for DataSourceType
///
public static readonly DataSourceType ATHENA = new DataSourceType("ATHENA");
///
/// Constant CLOUDWATCH for DataSourceType
///
public static readonly DataSourceType CLOUDWATCH = new DataSourceType("CLOUDWATCH");
///
/// Constant PROMETHEUS for DataSourceType
///
public static readonly DataSourceType PROMETHEUS = new DataSourceType("PROMETHEUS");
///
/// Constant REDSHIFT for DataSourceType
///
public static readonly DataSourceType REDSHIFT = new DataSourceType("REDSHIFT");
///
/// Constant SITEWISE for DataSourceType
///
public static readonly DataSourceType SITEWISE = new DataSourceType("SITEWISE");
///
/// Constant TIMESTREAM for DataSourceType
///
public static readonly DataSourceType TIMESTREAM = new DataSourceType("TIMESTREAM");
///
/// Constant TWINMAKER for DataSourceType
///
public static readonly DataSourceType TWINMAKER = new DataSourceType("TWINMAKER");
///
/// Constant XRAY for DataSourceType
///
public static readonly DataSourceType XRAY = new DataSourceType("XRAY");
///
/// 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 DataSourceType(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 DataSourceType 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 DataSourceType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LicenseType.
///
public class LicenseType : ConstantClass
{
///
/// Constant ENTERPRISE for LicenseType
///
public static readonly LicenseType ENTERPRISE = new LicenseType("ENTERPRISE");
///
/// Constant ENTERPRISE_FREE_TRIAL for LicenseType
///
public static readonly LicenseType ENTERPRISE_FREE_TRIAL = new LicenseType("ENTERPRISE_FREE_TRIAL");
///
/// 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 LicenseType(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 LicenseType 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 LicenseType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type NotificationDestinationType.
///
public class NotificationDestinationType : ConstantClass
{
///
/// Constant SNS for NotificationDestinationType
///
public static readonly NotificationDestinationType SNS = new NotificationDestinationType("SNS");
///
/// 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 NotificationDestinationType(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 NotificationDestinationType 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 NotificationDestinationType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PermissionType.
///
public class PermissionType : ConstantClass
{
///
/// Constant CUSTOMER_MANAGED for PermissionType
///
public static readonly PermissionType CUSTOMER_MANAGED = new PermissionType("CUSTOMER_MANAGED");
///
/// Constant SERVICE_MANAGED for PermissionType
///
public static readonly PermissionType SERVICE_MANAGED = new PermissionType("SERVICE_MANAGED");
///
/// 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 PermissionType(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 PermissionType 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 PermissionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Role.
///
public class Role : ConstantClass
{
///
/// Constant ADMIN for Role
///
public static readonly Role ADMIN = new Role("ADMIN");
///
/// Constant EDITOR for Role
///
public static readonly Role EDITOR = new Role("EDITOR");
///
/// Constant VIEWER for Role
///
public static readonly Role VIEWER = new Role("VIEWER");
///
/// 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 Role(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 Role 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 Role(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SamlConfigurationStatus.
///
public class SamlConfigurationStatus : ConstantClass
{
///
/// Constant CONFIGURED for SamlConfigurationStatus
///
public static readonly SamlConfigurationStatus CONFIGURED = new SamlConfigurationStatus("CONFIGURED");
///
/// Constant NOT_CONFIGURED for SamlConfigurationStatus
///
public static readonly SamlConfigurationStatus NOT_CONFIGURED = new SamlConfigurationStatus("NOT_CONFIGURED");
///
/// 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 SamlConfigurationStatus(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 SamlConfigurationStatus 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 SamlConfigurationStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type UpdateAction.
///
public class UpdateAction : ConstantClass
{
///
/// Constant ADD for UpdateAction
///
public static readonly UpdateAction ADD = new UpdateAction("ADD");
///
/// Constant REVOKE for UpdateAction
///
public static readonly UpdateAction REVOKE = new UpdateAction("REVOKE");
///
/// 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 UpdateAction(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 UpdateAction 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 UpdateAction(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type UserType.
///
public class UserType : ConstantClass
{
///
/// Constant SSO_GROUP for UserType
///
public static readonly UserType SSO_GROUP = new UserType("SSO_GROUP");
///
/// Constant SSO_USER for UserType
///
public static readonly UserType SSO_USER = new UserType("SSO_USER");
///
/// 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 UserType(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 UserType 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 UserType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ValidationExceptionReason.
///
public class ValidationExceptionReason : ConstantClass
{
///
/// Constant CANNOT_PARSE for ValidationExceptionReason
///
public static readonly ValidationExceptionReason CANNOT_PARSE = new ValidationExceptionReason("CANNOT_PARSE");
///
/// Constant FIELD_VALIDATION_FAILED for ValidationExceptionReason
///
public static readonly ValidationExceptionReason FIELD_VALIDATION_FAILED = new ValidationExceptionReason("FIELD_VALIDATION_FAILED");
///
/// Constant OTHER for ValidationExceptionReason
///
public static readonly ValidationExceptionReason OTHER = new ValidationExceptionReason("OTHER");
///
/// Constant UNKNOWN_OPERATION for ValidationExceptionReason
///
public static readonly ValidationExceptionReason UNKNOWN_OPERATION = new ValidationExceptionReason("UNKNOWN_OPERATION");
///
/// 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 ValidationExceptionReason(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 ValidationExceptionReason 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 ValidationExceptionReason(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type WorkspaceStatus.
///
public class WorkspaceStatus : ConstantClass
{
///
/// Constant ACTIVE for WorkspaceStatus
///
public static readonly WorkspaceStatus ACTIVE = new WorkspaceStatus("ACTIVE");
///
/// Constant CREATING for WorkspaceStatus
///
public static readonly WorkspaceStatus CREATING = new WorkspaceStatus("CREATING");
///
/// Constant CREATION_FAILED for WorkspaceStatus
///
public static readonly WorkspaceStatus CREATION_FAILED = new WorkspaceStatus("CREATION_FAILED");
///
/// Constant DELETING for WorkspaceStatus
///
public static readonly WorkspaceStatus DELETING = new WorkspaceStatus("DELETING");
///
/// Constant DELETION_FAILED for WorkspaceStatus
///
public static readonly WorkspaceStatus DELETION_FAILED = new WorkspaceStatus("DELETION_FAILED");
///
/// Constant FAILED for WorkspaceStatus
///
public static readonly WorkspaceStatus FAILED = new WorkspaceStatus("FAILED");
///
/// Constant LICENSE_REMOVAL_FAILED for WorkspaceStatus
///
public static readonly WorkspaceStatus LICENSE_REMOVAL_FAILED = new WorkspaceStatus("LICENSE_REMOVAL_FAILED");
///
/// Constant UPDATE_FAILED for WorkspaceStatus
///
public static readonly WorkspaceStatus UPDATE_FAILED = new WorkspaceStatus("UPDATE_FAILED");
///
/// Constant UPDATING for WorkspaceStatus
///
public static readonly WorkspaceStatus UPDATING = new WorkspaceStatus("UPDATING");
///
/// Constant UPGRADE_FAILED for WorkspaceStatus
///
public static readonly WorkspaceStatus UPGRADE_FAILED = new WorkspaceStatus("UPGRADE_FAILED");
///
/// Constant UPGRADING for WorkspaceStatus
///
public static readonly WorkspaceStatus UPGRADING = new WorkspaceStatus("UPGRADING");
///
/// Constant VERSION_UPDATE_FAILED for WorkspaceStatus
///
public static readonly WorkspaceStatus VERSION_UPDATE_FAILED = new WorkspaceStatus("VERSION_UPDATE_FAILED");
///
/// Constant VERSION_UPDATING for WorkspaceStatus
///
public static readonly WorkspaceStatus VERSION_UPDATING = new WorkspaceStatus("VERSION_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 WorkspaceStatus(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 WorkspaceStatus 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 WorkspaceStatus(string value)
{
return FindValue(value);
}
}
}