/*
* 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 inspector-2016-02-16.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Inspector
{
///
/// Constants used for properties of type AccessDeniedErrorCode.
///
public class AccessDeniedErrorCode : ConstantClass
{
///
/// Constant ACCESS_DENIED_TO_ASSESSMENT_RUN for AccessDeniedErrorCode
///
public static readonly AccessDeniedErrorCode ACCESS_DENIED_TO_ASSESSMENT_RUN = new AccessDeniedErrorCode("ACCESS_DENIED_TO_ASSESSMENT_RUN");
///
/// Constant ACCESS_DENIED_TO_ASSESSMENT_TARGET for AccessDeniedErrorCode
///
public static readonly AccessDeniedErrorCode ACCESS_DENIED_TO_ASSESSMENT_TARGET = new AccessDeniedErrorCode("ACCESS_DENIED_TO_ASSESSMENT_TARGET");
///
/// Constant ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE for AccessDeniedErrorCode
///
public static readonly AccessDeniedErrorCode ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE = new AccessDeniedErrorCode("ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE");
///
/// Constant ACCESS_DENIED_TO_FINDING for AccessDeniedErrorCode
///
public static readonly AccessDeniedErrorCode ACCESS_DENIED_TO_FINDING = new AccessDeniedErrorCode("ACCESS_DENIED_TO_FINDING");
///
/// Constant ACCESS_DENIED_TO_IAM_ROLE for AccessDeniedErrorCode
///
public static readonly AccessDeniedErrorCode ACCESS_DENIED_TO_IAM_ROLE = new AccessDeniedErrorCode("ACCESS_DENIED_TO_IAM_ROLE");
///
/// Constant ACCESS_DENIED_TO_RESOURCE_GROUP for AccessDeniedErrorCode
///
public static readonly AccessDeniedErrorCode ACCESS_DENIED_TO_RESOURCE_GROUP = new AccessDeniedErrorCode("ACCESS_DENIED_TO_RESOURCE_GROUP");
///
/// Constant ACCESS_DENIED_TO_RULES_PACKAGE for AccessDeniedErrorCode
///
public static readonly AccessDeniedErrorCode ACCESS_DENIED_TO_RULES_PACKAGE = new AccessDeniedErrorCode("ACCESS_DENIED_TO_RULES_PACKAGE");
///
/// Constant ACCESS_DENIED_TO_SNS_TOPIC for AccessDeniedErrorCode
///
public static readonly AccessDeniedErrorCode ACCESS_DENIED_TO_SNS_TOPIC = new AccessDeniedErrorCode("ACCESS_DENIED_TO_SNS_TOPIC");
///
/// 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 AccessDeniedErrorCode(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 AccessDeniedErrorCode 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 AccessDeniedErrorCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AgentHealth.
///
public class AgentHealth : ConstantClass
{
///
/// Constant HEALTHY for AgentHealth
///
public static readonly AgentHealth HEALTHY = new AgentHealth("HEALTHY");
///
/// Constant UNHEALTHY for AgentHealth
///
public static readonly AgentHealth UNHEALTHY = new AgentHealth("UNHEALTHY");
///
/// Constant UNKNOWN for AgentHealth
///
public static readonly AgentHealth UNKNOWN = new AgentHealth("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 AgentHealth(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 AgentHealth 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 AgentHealth(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AgentHealthCode.
///
public class AgentHealthCode : ConstantClass
{
///
/// Constant IDLE for AgentHealthCode
///
public static readonly AgentHealthCode IDLE = new AgentHealthCode("IDLE");
///
/// Constant RUNNING for AgentHealthCode
///
public static readonly AgentHealthCode RUNNING = new AgentHealthCode("RUNNING");
///
/// Constant SHUTDOWN for AgentHealthCode
///
public static readonly AgentHealthCode SHUTDOWN = new AgentHealthCode("SHUTDOWN");
///
/// Constant THROTTLED for AgentHealthCode
///
public static readonly AgentHealthCode THROTTLED = new AgentHealthCode("THROTTLED");
///
/// Constant UNHEALTHY for AgentHealthCode
///
public static readonly AgentHealthCode UNHEALTHY = new AgentHealthCode("UNHEALTHY");
///
/// Constant UNKNOWN for AgentHealthCode
///
public static readonly AgentHealthCode UNKNOWN = new AgentHealthCode("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 AgentHealthCode(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 AgentHealthCode 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 AgentHealthCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AssessmentRunNotificationSnsStatusCode.
///
public class AssessmentRunNotificationSnsStatusCode : ConstantClass
{
///
/// Constant ACCESS_DENIED for AssessmentRunNotificationSnsStatusCode
///
public static readonly AssessmentRunNotificationSnsStatusCode ACCESS_DENIED = new AssessmentRunNotificationSnsStatusCode("ACCESS_DENIED");
///
/// Constant INTERNAL_ERROR for AssessmentRunNotificationSnsStatusCode
///
public static readonly AssessmentRunNotificationSnsStatusCode INTERNAL_ERROR = new AssessmentRunNotificationSnsStatusCode("INTERNAL_ERROR");
///
/// Constant SUCCESS for AssessmentRunNotificationSnsStatusCode
///
public static readonly AssessmentRunNotificationSnsStatusCode SUCCESS = new AssessmentRunNotificationSnsStatusCode("SUCCESS");
///
/// Constant TOPIC_DOES_NOT_EXIST for AssessmentRunNotificationSnsStatusCode
///
public static readonly AssessmentRunNotificationSnsStatusCode TOPIC_DOES_NOT_EXIST = new AssessmentRunNotificationSnsStatusCode("TOPIC_DOES_NOT_EXIST");
///
/// 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 AssessmentRunNotificationSnsStatusCode(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 AssessmentRunNotificationSnsStatusCode 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 AssessmentRunNotificationSnsStatusCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AssessmentRunState.
///
public class AssessmentRunState : ConstantClass
{
///
/// Constant CANCELED for AssessmentRunState
///
public static readonly AssessmentRunState CANCELED = new AssessmentRunState("CANCELED");
///
/// Constant COLLECTING_DATA for AssessmentRunState
///
public static readonly AssessmentRunState COLLECTING_DATA = new AssessmentRunState("COLLECTING_DATA");
///
/// Constant COMPLETED for AssessmentRunState
///
public static readonly AssessmentRunState COMPLETED = new AssessmentRunState("COMPLETED");
///
/// Constant COMPLETED_WITH_ERRORS for AssessmentRunState
///
public static readonly AssessmentRunState COMPLETED_WITH_ERRORS = new AssessmentRunState("COMPLETED_WITH_ERRORS");
///
/// Constant CREATED for AssessmentRunState
///
public static readonly AssessmentRunState CREATED = new AssessmentRunState("CREATED");
///
/// Constant DATA_COLLECTED for AssessmentRunState
///
public static readonly AssessmentRunState DATA_COLLECTED = new AssessmentRunState("DATA_COLLECTED");
///
/// Constant ERROR for AssessmentRunState
///
public static readonly AssessmentRunState ERROR = new AssessmentRunState("ERROR");
///
/// Constant EVALUATING_RULES for AssessmentRunState
///
public static readonly AssessmentRunState EVALUATING_RULES = new AssessmentRunState("EVALUATING_RULES");
///
/// Constant FAILED for AssessmentRunState
///
public static readonly AssessmentRunState FAILED = new AssessmentRunState("FAILED");
///
/// Constant START_DATA_COLLECTION_IN_PROGRESS for AssessmentRunState
///
public static readonly AssessmentRunState START_DATA_COLLECTION_IN_PROGRESS = new AssessmentRunState("START_DATA_COLLECTION_IN_PROGRESS");
///
/// Constant START_DATA_COLLECTION_PENDING for AssessmentRunState
///
public static readonly AssessmentRunState START_DATA_COLLECTION_PENDING = new AssessmentRunState("START_DATA_COLLECTION_PENDING");
///
/// Constant START_EVALUATING_RULES_PENDING for AssessmentRunState
///
public static readonly AssessmentRunState START_EVALUATING_RULES_PENDING = new AssessmentRunState("START_EVALUATING_RULES_PENDING");
///
/// Constant STOP_DATA_COLLECTION_PENDING for AssessmentRunState
///
public static readonly AssessmentRunState STOP_DATA_COLLECTION_PENDING = new AssessmentRunState("STOP_DATA_COLLECTION_PENDING");
///
/// 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 AssessmentRunState(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 AssessmentRunState 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 AssessmentRunState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AssetType.
///
public class AssetType : ConstantClass
{
///
/// Constant Ec2Instance for AssetType
///
public static readonly AssetType Ec2Instance = new AssetType("ec2-instance");
///
/// 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 AssetType(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 AssetType 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 AssetType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FailedItemErrorCode.
///
public class FailedItemErrorCode : ConstantClass
{
///
/// Constant ACCESS_DENIED for FailedItemErrorCode
///
public static readonly FailedItemErrorCode ACCESS_DENIED = new FailedItemErrorCode("ACCESS_DENIED");
///
/// Constant DUPLICATE_ARN for FailedItemErrorCode
///
public static readonly FailedItemErrorCode DUPLICATE_ARN = new FailedItemErrorCode("DUPLICATE_ARN");
///
/// Constant INTERNAL_ERROR for FailedItemErrorCode
///
public static readonly FailedItemErrorCode INTERNAL_ERROR = new FailedItemErrorCode("INTERNAL_ERROR");
///
/// Constant INVALID_ARN for FailedItemErrorCode
///
public static readonly FailedItemErrorCode INVALID_ARN = new FailedItemErrorCode("INVALID_ARN");
///
/// Constant ITEM_DOES_NOT_EXIST for FailedItemErrorCode
///
public static readonly FailedItemErrorCode ITEM_DOES_NOT_EXIST = new FailedItemErrorCode("ITEM_DOES_NOT_EXIST");
///
/// Constant LIMIT_EXCEEDED for FailedItemErrorCode
///
public static readonly FailedItemErrorCode LIMIT_EXCEEDED = new FailedItemErrorCode("LIMIT_EXCEEDED");
///
/// 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 FailedItemErrorCode(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 FailedItemErrorCode 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 FailedItemErrorCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InspectorEvent.
///
public class InspectorEvent : ConstantClass
{
///
/// Constant ASSESSMENT_RUN_COMPLETED for InspectorEvent
///
public static readonly InspectorEvent ASSESSMENT_RUN_COMPLETED = new InspectorEvent("ASSESSMENT_RUN_COMPLETED");
///
/// Constant ASSESSMENT_RUN_STARTED for InspectorEvent
///
public static readonly InspectorEvent ASSESSMENT_RUN_STARTED = new InspectorEvent("ASSESSMENT_RUN_STARTED");
///
/// Constant ASSESSMENT_RUN_STATE_CHANGED for InspectorEvent
///
public static readonly InspectorEvent ASSESSMENT_RUN_STATE_CHANGED = new InspectorEvent("ASSESSMENT_RUN_STATE_CHANGED");
///
/// Constant FINDING_REPORTED for InspectorEvent
///
public static readonly InspectorEvent FINDING_REPORTED = new InspectorEvent("FINDING_REPORTED");
///
/// Constant OTHER for InspectorEvent
///
public static readonly InspectorEvent OTHER = new InspectorEvent("OTHER");
///
/// 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 InspectorEvent(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 InspectorEvent 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 InspectorEvent(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InvalidCrossAccountRoleErrorCode.
///
public class InvalidCrossAccountRoleErrorCode : ConstantClass
{
///
/// Constant ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP for InvalidCrossAccountRoleErrorCode
///
public static readonly InvalidCrossAccountRoleErrorCode ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP = new InvalidCrossAccountRoleErrorCode("ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP");
///
/// Constant ROLE_DOES_NOT_HAVE_CORRECT_POLICY for InvalidCrossAccountRoleErrorCode
///
public static readonly InvalidCrossAccountRoleErrorCode ROLE_DOES_NOT_HAVE_CORRECT_POLICY = new InvalidCrossAccountRoleErrorCode("ROLE_DOES_NOT_HAVE_CORRECT_POLICY");
///
/// 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 InvalidCrossAccountRoleErrorCode(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 InvalidCrossAccountRoleErrorCode 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 InvalidCrossAccountRoleErrorCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InvalidInputErrorCode.
///
public class InvalidInputErrorCode : ConstantClass
{
///
/// Constant ASSESSMENT_TARGET_NAME_ALREADY_TAKEN for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode ASSESSMENT_TARGET_NAME_ALREADY_TAKEN = new InvalidInputErrorCode("ASSESSMENT_TARGET_NAME_ALREADY_TAKEN");
///
/// Constant ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN = new InvalidInputErrorCode("ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN");
///
/// Constant INVALID_AGENT_ID for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_AGENT_ID = new InvalidInputErrorCode("INVALID_AGENT_ID");
///
/// Constant INVALID_ASSESSMENT_RUN_ARN for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ASSESSMENT_RUN_ARN = new InvalidInputErrorCode("INVALID_ASSESSMENT_RUN_ARN");
///
/// Constant INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE = new InvalidInputErrorCode("INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE");
///
/// Constant INVALID_ASSESSMENT_RUN_DURATION_RANGE for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ASSESSMENT_RUN_DURATION_RANGE = new InvalidInputErrorCode("INVALID_ASSESSMENT_RUN_DURATION_RANGE");
///
/// Constant INVALID_ASSESSMENT_RUN_START_TIME_RANGE for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ASSESSMENT_RUN_START_TIME_RANGE = new InvalidInputErrorCode("INVALID_ASSESSMENT_RUN_START_TIME_RANGE");
///
/// Constant INVALID_ASSESSMENT_RUN_STATE for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ASSESSMENT_RUN_STATE = new InvalidInputErrorCode("INVALID_ASSESSMENT_RUN_STATE");
///
/// Constant INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE = new InvalidInputErrorCode("INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE");
///
/// Constant INVALID_ASSESSMENT_TARGET_ARN for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ASSESSMENT_TARGET_ARN = new InvalidInputErrorCode("INVALID_ASSESSMENT_TARGET_ARN");
///
/// Constant INVALID_ASSESSMENT_TARGET_NAME for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ASSESSMENT_TARGET_NAME = new InvalidInputErrorCode("INVALID_ASSESSMENT_TARGET_NAME");
///
/// Constant INVALID_ASSESSMENT_TARGET_NAME_PATTERN for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ASSESSMENT_TARGET_NAME_PATTERN = new InvalidInputErrorCode("INVALID_ASSESSMENT_TARGET_NAME_PATTERN");
///
/// Constant INVALID_ASSESSMENT_TEMPLATE_ARN for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ASSESSMENT_TEMPLATE_ARN = new InvalidInputErrorCode("INVALID_ASSESSMENT_TEMPLATE_ARN");
///
/// Constant INVALID_ASSESSMENT_TEMPLATE_DURATION for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ASSESSMENT_TEMPLATE_DURATION = new InvalidInputErrorCode("INVALID_ASSESSMENT_TEMPLATE_DURATION");
///
/// Constant INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE = new InvalidInputErrorCode("INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE");
///
/// Constant INVALID_ASSESSMENT_TEMPLATE_NAME for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ASSESSMENT_TEMPLATE_NAME = new InvalidInputErrorCode("INVALID_ASSESSMENT_TEMPLATE_NAME");
///
/// Constant INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN = new InvalidInputErrorCode("INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN");
///
/// Constant INVALID_ATTRIBUTE for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_ATTRIBUTE = new InvalidInputErrorCode("INVALID_ATTRIBUTE");
///
/// Constant INVALID_AUTO_SCALING_GROUP for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_AUTO_SCALING_GROUP = new InvalidInputErrorCode("INVALID_AUTO_SCALING_GROUP");
///
/// Constant INVALID_EVENT for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_EVENT = new InvalidInputErrorCode("INVALID_EVENT");
///
/// Constant INVALID_FINDING_ARN for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_FINDING_ARN = new InvalidInputErrorCode("INVALID_FINDING_ARN");
///
/// Constant INVALID_IAM_ROLE_ARN for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_IAM_ROLE_ARN = new InvalidInputErrorCode("INVALID_IAM_ROLE_ARN");
///
/// Constant INVALID_LOCALE for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_LOCALE = new InvalidInputErrorCode("INVALID_LOCALE");
///
/// Constant INVALID_MAX_RESULTS for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_MAX_RESULTS = new InvalidInputErrorCode("INVALID_MAX_RESULTS");
///
/// Constant INVALID_NUMBER_OF_AGENT_IDS for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_AGENT_IDS = new InvalidInputErrorCode("INVALID_NUMBER_OF_AGENT_IDS");
///
/// Constant INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS = new InvalidInputErrorCode("INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS");
///
/// Constant INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES = new InvalidInputErrorCode("INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES");
///
/// Constant INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS = new InvalidInputErrorCode("INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS");
///
/// Constant INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS = new InvalidInputErrorCode("INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS");
///
/// Constant INVALID_NUMBER_OF_ATTRIBUTES for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_ATTRIBUTES = new InvalidInputErrorCode("INVALID_NUMBER_OF_ATTRIBUTES");
///
/// Constant INVALID_NUMBER_OF_AUTO_SCALING_GROUPS for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_AUTO_SCALING_GROUPS = new InvalidInputErrorCode("INVALID_NUMBER_OF_AUTO_SCALING_GROUPS");
///
/// Constant INVALID_NUMBER_OF_FINDING_ARNS for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_FINDING_ARNS = new InvalidInputErrorCode("INVALID_NUMBER_OF_FINDING_ARNS");
///
/// Constant INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS = new InvalidInputErrorCode("INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS");
///
/// Constant INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS = new InvalidInputErrorCode("INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS");
///
/// Constant INVALID_NUMBER_OF_RULE_NAMES for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_RULE_NAMES = new InvalidInputErrorCode("INVALID_NUMBER_OF_RULE_NAMES");
///
/// Constant INVALID_NUMBER_OF_RULES_PACKAGE_ARNS for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_RULES_PACKAGE_ARNS = new InvalidInputErrorCode("INVALID_NUMBER_OF_RULES_PACKAGE_ARNS");
///
/// Constant INVALID_NUMBER_OF_SEVERITIES for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_SEVERITIES = new InvalidInputErrorCode("INVALID_NUMBER_OF_SEVERITIES");
///
/// Constant INVALID_NUMBER_OF_TAGS for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_TAGS = new InvalidInputErrorCode("INVALID_NUMBER_OF_TAGS");
///
/// Constant INVALID_NUMBER_OF_USER_ATTRIBUTES for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_NUMBER_OF_USER_ATTRIBUTES = new InvalidInputErrorCode("INVALID_NUMBER_OF_USER_ATTRIBUTES");
///
/// Constant INVALID_PAGINATION_TOKEN for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_PAGINATION_TOKEN = new InvalidInputErrorCode("INVALID_PAGINATION_TOKEN");
///
/// Constant INVALID_RESOURCE_ARN for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_RESOURCE_ARN = new InvalidInputErrorCode("INVALID_RESOURCE_ARN");
///
/// Constant INVALID_RESOURCE_GROUP_ARN for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_RESOURCE_GROUP_ARN = new InvalidInputErrorCode("INVALID_RESOURCE_GROUP_ARN");
///
/// Constant INVALID_RESOURCE_GROUP_TAG_KEY for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_RESOURCE_GROUP_TAG_KEY = new InvalidInputErrorCode("INVALID_RESOURCE_GROUP_TAG_KEY");
///
/// Constant INVALID_RESOURCE_GROUP_TAG_VALUE for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_RESOURCE_GROUP_TAG_VALUE = new InvalidInputErrorCode("INVALID_RESOURCE_GROUP_TAG_VALUE");
///
/// Constant INVALID_RULE_NAME for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_RULE_NAME = new InvalidInputErrorCode("INVALID_RULE_NAME");
///
/// Constant INVALID_RULES_PACKAGE_ARN for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_RULES_PACKAGE_ARN = new InvalidInputErrorCode("INVALID_RULES_PACKAGE_ARN");
///
/// Constant INVALID_SEVERITY for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_SEVERITY = new InvalidInputErrorCode("INVALID_SEVERITY");
///
/// Constant INVALID_SNS_TOPIC_ARN for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_SNS_TOPIC_ARN = new InvalidInputErrorCode("INVALID_SNS_TOPIC_ARN");
///
/// Constant INVALID_TAG for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_TAG = new InvalidInputErrorCode("INVALID_TAG");
///
/// Constant INVALID_TAG_KEY for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_TAG_KEY = new InvalidInputErrorCode("INVALID_TAG_KEY");
///
/// Constant INVALID_TAG_VALUE for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_TAG_VALUE = new InvalidInputErrorCode("INVALID_TAG_VALUE");
///
/// Constant INVALID_USER_ATTRIBUTE for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_USER_ATTRIBUTE = new InvalidInputErrorCode("INVALID_USER_ATTRIBUTE");
///
/// Constant INVALID_USER_ATTRIBUTE_KEY for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_USER_ATTRIBUTE_KEY = new InvalidInputErrorCode("INVALID_USER_ATTRIBUTE_KEY");
///
/// Constant INVALID_USER_ATTRIBUTE_VALUE for InvalidInputErrorCode
///
public static readonly InvalidInputErrorCode INVALID_USER_ATTRIBUTE_VALUE = new InvalidInputErrorCode("INVALID_USER_ATTRIBUTE_VALUE");
///
/// 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 InvalidInputErrorCode(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 InvalidInputErrorCode 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 InvalidInputErrorCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LimitExceededErrorCode.
///
public class LimitExceededErrorCode : ConstantClass
{
///
/// Constant ASSESSMENT_RUN_LIMIT_EXCEEDED for LimitExceededErrorCode
///
public static readonly LimitExceededErrorCode ASSESSMENT_RUN_LIMIT_EXCEEDED = new LimitExceededErrorCode("ASSESSMENT_RUN_LIMIT_EXCEEDED");
///
/// Constant ASSESSMENT_TARGET_LIMIT_EXCEEDED for LimitExceededErrorCode
///
public static readonly LimitExceededErrorCode ASSESSMENT_TARGET_LIMIT_EXCEEDED = new LimitExceededErrorCode("ASSESSMENT_TARGET_LIMIT_EXCEEDED");
///
/// Constant ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED for LimitExceededErrorCode
///
public static readonly LimitExceededErrorCode ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED = new LimitExceededErrorCode("ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED");
///
/// Constant EVENT_SUBSCRIPTION_LIMIT_EXCEEDED for LimitExceededErrorCode
///
public static readonly LimitExceededErrorCode EVENT_SUBSCRIPTION_LIMIT_EXCEEDED = new LimitExceededErrorCode("EVENT_SUBSCRIPTION_LIMIT_EXCEEDED");
///
/// Constant RESOURCE_GROUP_LIMIT_EXCEEDED for LimitExceededErrorCode
///
public static readonly LimitExceededErrorCode RESOURCE_GROUP_LIMIT_EXCEEDED = new LimitExceededErrorCode("RESOURCE_GROUP_LIMIT_EXCEEDED");
///
/// 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 LimitExceededErrorCode(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 LimitExceededErrorCode 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 LimitExceededErrorCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Locale.
///
public class Locale : ConstantClass
{
///
/// Constant EN_US for Locale
///
public static readonly Locale EN_US = new Locale("EN_US");
///
/// 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 Locale(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 Locale 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 Locale(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type NoSuchEntityErrorCode.
///
public class NoSuchEntityErrorCode : ConstantClass
{
///
/// Constant ASSESSMENT_RUN_DOES_NOT_EXIST for NoSuchEntityErrorCode
///
public static readonly NoSuchEntityErrorCode ASSESSMENT_RUN_DOES_NOT_EXIST = new NoSuchEntityErrorCode("ASSESSMENT_RUN_DOES_NOT_EXIST");
///
/// Constant ASSESSMENT_TARGET_DOES_NOT_EXIST for NoSuchEntityErrorCode
///
public static readonly NoSuchEntityErrorCode ASSESSMENT_TARGET_DOES_NOT_EXIST = new NoSuchEntityErrorCode("ASSESSMENT_TARGET_DOES_NOT_EXIST");
///
/// Constant ASSESSMENT_TEMPLATE_DOES_NOT_EXIST for NoSuchEntityErrorCode
///
public static readonly NoSuchEntityErrorCode ASSESSMENT_TEMPLATE_DOES_NOT_EXIST = new NoSuchEntityErrorCode("ASSESSMENT_TEMPLATE_DOES_NOT_EXIST");
///
/// Constant FINDING_DOES_NOT_EXIST for NoSuchEntityErrorCode
///
public static readonly NoSuchEntityErrorCode FINDING_DOES_NOT_EXIST = new NoSuchEntityErrorCode("FINDING_DOES_NOT_EXIST");
///
/// Constant IAM_ROLE_DOES_NOT_EXIST for NoSuchEntityErrorCode
///
public static readonly NoSuchEntityErrorCode IAM_ROLE_DOES_NOT_EXIST = new NoSuchEntityErrorCode("IAM_ROLE_DOES_NOT_EXIST");
///
/// Constant RESOURCE_GROUP_DOES_NOT_EXIST for NoSuchEntityErrorCode
///
public static readonly NoSuchEntityErrorCode RESOURCE_GROUP_DOES_NOT_EXIST = new NoSuchEntityErrorCode("RESOURCE_GROUP_DOES_NOT_EXIST");
///
/// Constant RULES_PACKAGE_DOES_NOT_EXIST for NoSuchEntityErrorCode
///
public static readonly NoSuchEntityErrorCode RULES_PACKAGE_DOES_NOT_EXIST = new NoSuchEntityErrorCode("RULES_PACKAGE_DOES_NOT_EXIST");
///
/// Constant SNS_TOPIC_DOES_NOT_EXIST for NoSuchEntityErrorCode
///
public static readonly NoSuchEntityErrorCode SNS_TOPIC_DOES_NOT_EXIST = new NoSuchEntityErrorCode("SNS_TOPIC_DOES_NOT_EXIST");
///
/// 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 NoSuchEntityErrorCode(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 NoSuchEntityErrorCode 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 NoSuchEntityErrorCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PreviewStatus.
///
public class PreviewStatus : ConstantClass
{
///
/// Constant COMPLETED for PreviewStatus
///
public static readonly PreviewStatus COMPLETED = new PreviewStatus("COMPLETED");
///
/// Constant WORK_IN_PROGRESS for PreviewStatus
///
public static readonly PreviewStatus WORK_IN_PROGRESS = new PreviewStatus("WORK_IN_PROGRESS");
///
/// 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 PreviewStatus(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 PreviewStatus 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 PreviewStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ReportFileFormat.
///
public class ReportFileFormat : ConstantClass
{
///
/// Constant HTML for ReportFileFormat
///
public static readonly ReportFileFormat HTML = new ReportFileFormat("HTML");
///
/// Constant PDF for ReportFileFormat
///
public static readonly ReportFileFormat PDF = new ReportFileFormat("PDF");
///
/// 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 ReportFileFormat(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 ReportFileFormat 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 ReportFileFormat(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ReportStatus.
///
public class ReportStatus : ConstantClass
{
///
/// Constant COMPLETED for ReportStatus
///
public static readonly ReportStatus COMPLETED = new ReportStatus("COMPLETED");
///
/// Constant FAILED for ReportStatus
///
public static readonly ReportStatus FAILED = new ReportStatus("FAILED");
///
/// Constant WORK_IN_PROGRESS for ReportStatus
///
public static readonly ReportStatus WORK_IN_PROGRESS = new ReportStatus("WORK_IN_PROGRESS");
///
/// 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 ReportStatus(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 ReportStatus 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 ReportStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ReportType.
///
public class ReportType : ConstantClass
{
///
/// Constant FINDING for ReportType
///
public static readonly ReportType FINDING = new ReportType("FINDING");
///
/// Constant FULL for ReportType
///
public static readonly ReportType FULL = new ReportType("FULL");
///
/// 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 ReportType(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 ReportType 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 ReportType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ScopeType.
///
public class ScopeType : ConstantClass
{
///
/// Constant INSTANCE_ID for ScopeType
///
public static readonly ScopeType INSTANCE_ID = new ScopeType("INSTANCE_ID");
///
/// Constant RULES_PACKAGE_ARN for ScopeType
///
public static readonly ScopeType RULES_PACKAGE_ARN = new ScopeType("RULES_PACKAGE_ARN");
///
/// 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 ScopeType(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 ScopeType 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 ScopeType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Severity.
///
public class Severity : ConstantClass
{
///
/// Constant High for Severity
///
public static readonly Severity High = new Severity("High");
///
/// Constant Informational for Severity
///
public static readonly Severity Informational = new Severity("Informational");
///
/// Constant Low for Severity
///
public static readonly Severity Low = new Severity("Low");
///
/// Constant Medium for Severity
///
public static readonly Severity Medium = new Severity("Medium");
///
/// Constant Undefined for Severity
///
public static readonly Severity Undefined = new Severity("Undefined");
///
/// 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 Severity(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 Severity 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 Severity(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StopAction.
///
public class StopAction : ConstantClass
{
///
/// Constant SKIP_EVALUATION for StopAction
///
public static readonly StopAction SKIP_EVALUATION = new StopAction("SKIP_EVALUATION");
///
/// Constant START_EVALUATION for StopAction
///
public static readonly StopAction START_EVALUATION = new StopAction("START_EVALUATION");
///
/// 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 StopAction(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 StopAction 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 StopAction(string value)
{
return FindValue(value);
}
}
}