// Code generated by smithy-go-codegen DO NOT EDIT. package types type ActionOnFailure string // Enum values for ActionOnFailure const ( ActionOnFailureTerminateJobFlow ActionOnFailure = "TERMINATE_JOB_FLOW" ActionOnFailureTerminateCluster ActionOnFailure = "TERMINATE_CLUSTER" ActionOnFailureCancelAndWait ActionOnFailure = "CANCEL_AND_WAIT" ActionOnFailureContinue ActionOnFailure = "CONTINUE" ) // Values returns all known values for ActionOnFailure. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (ActionOnFailure) Values() []ActionOnFailure { return []ActionOnFailure{ "TERMINATE_JOB_FLOW", "TERMINATE_CLUSTER", "CANCEL_AND_WAIT", "CONTINUE", } } type AdjustmentType string // Enum values for AdjustmentType const ( AdjustmentTypeChangeInCapacity AdjustmentType = "CHANGE_IN_CAPACITY" AdjustmentTypePercentChangeInCapacity AdjustmentType = "PERCENT_CHANGE_IN_CAPACITY" AdjustmentTypeExactCapacity AdjustmentType = "EXACT_CAPACITY" ) // Values returns all known values for AdjustmentType. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (AdjustmentType) Values() []AdjustmentType { return []AdjustmentType{ "CHANGE_IN_CAPACITY", "PERCENT_CHANGE_IN_CAPACITY", "EXACT_CAPACITY", } } type AuthMode string // Enum values for AuthMode const ( AuthModeSso AuthMode = "SSO" AuthModeIam AuthMode = "IAM" ) // Values returns all known values for AuthMode. Note that this can be expanded in // the future, and so it is only as up to date as the client. The ordering of this // slice is not guaranteed to be stable across updates. func (AuthMode) Values() []AuthMode { return []AuthMode{ "SSO", "IAM", } } type AutoScalingPolicyState string // Enum values for AutoScalingPolicyState const ( AutoScalingPolicyStatePending AutoScalingPolicyState = "PENDING" AutoScalingPolicyStateAttaching AutoScalingPolicyState = "ATTACHING" AutoScalingPolicyStateAttached AutoScalingPolicyState = "ATTACHED" AutoScalingPolicyStateDetaching AutoScalingPolicyState = "DETACHING" AutoScalingPolicyStateDetached AutoScalingPolicyState = "DETACHED" AutoScalingPolicyStateFailed AutoScalingPolicyState = "FAILED" ) // Values returns all known values for AutoScalingPolicyState. Note that this can // be expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (AutoScalingPolicyState) Values() []AutoScalingPolicyState { return []AutoScalingPolicyState{ "PENDING", "ATTACHING", "ATTACHED", "DETACHING", "DETACHED", "FAILED", } } type AutoScalingPolicyStateChangeReasonCode string // Enum values for AutoScalingPolicyStateChangeReasonCode const ( AutoScalingPolicyStateChangeReasonCodeUserRequest AutoScalingPolicyStateChangeReasonCode = "USER_REQUEST" AutoScalingPolicyStateChangeReasonCodeProvisionFailure AutoScalingPolicyStateChangeReasonCode = "PROVISION_FAILURE" AutoScalingPolicyStateChangeReasonCodeCleanupFailure AutoScalingPolicyStateChangeReasonCode = "CLEANUP_FAILURE" ) // Values returns all known values for AutoScalingPolicyStateChangeReasonCode. // Note that this can be expanded in the future, and so it is only as up to date as // the client. The ordering of this slice is not guaranteed to be stable across // updates. func (AutoScalingPolicyStateChangeReasonCode) Values() []AutoScalingPolicyStateChangeReasonCode { return []AutoScalingPolicyStateChangeReasonCode{ "USER_REQUEST", "PROVISION_FAILURE", "CLEANUP_FAILURE", } } type CancelStepsRequestStatus string // Enum values for CancelStepsRequestStatus const ( CancelStepsRequestStatusSubmitted CancelStepsRequestStatus = "SUBMITTED" CancelStepsRequestStatusFailed CancelStepsRequestStatus = "FAILED" ) // Values returns all known values for CancelStepsRequestStatus. Note that this // can be expanded in the future, and so it is only as up to date as the client. // The ordering of this slice is not guaranteed to be stable across updates. func (CancelStepsRequestStatus) Values() []CancelStepsRequestStatus { return []CancelStepsRequestStatus{ "SUBMITTED", "FAILED", } } type ClusterState string // Enum values for ClusterState const ( ClusterStateStarting ClusterState = "STARTING" ClusterStateBootstrapping ClusterState = "BOOTSTRAPPING" ClusterStateRunning ClusterState = "RUNNING" ClusterStateWaiting ClusterState = "WAITING" ClusterStateTerminating ClusterState = "TERMINATING" ClusterStateTerminated ClusterState = "TERMINATED" ClusterStateTerminatedWithErrors ClusterState = "TERMINATED_WITH_ERRORS" ) // Values returns all known values for ClusterState. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (ClusterState) Values() []ClusterState { return []ClusterState{ "STARTING", "BOOTSTRAPPING", "RUNNING", "WAITING", "TERMINATING", "TERMINATED", "TERMINATED_WITH_ERRORS", } } type ClusterStateChangeReasonCode string // Enum values for ClusterStateChangeReasonCode const ( ClusterStateChangeReasonCodeInternalError ClusterStateChangeReasonCode = "INTERNAL_ERROR" ClusterStateChangeReasonCodeValidationError ClusterStateChangeReasonCode = "VALIDATION_ERROR" ClusterStateChangeReasonCodeInstanceFailure ClusterStateChangeReasonCode = "INSTANCE_FAILURE" ClusterStateChangeReasonCodeInstanceFleetTimeout ClusterStateChangeReasonCode = "INSTANCE_FLEET_TIMEOUT" ClusterStateChangeReasonCodeBootstrapFailure ClusterStateChangeReasonCode = "BOOTSTRAP_FAILURE" ClusterStateChangeReasonCodeUserRequest ClusterStateChangeReasonCode = "USER_REQUEST" ClusterStateChangeReasonCodeStepFailure ClusterStateChangeReasonCode = "STEP_FAILURE" ClusterStateChangeReasonCodeAllStepsCompleted ClusterStateChangeReasonCode = "ALL_STEPS_COMPLETED" ) // Values returns all known values for ClusterStateChangeReasonCode. Note that // this can be expanded in the future, and so it is only as up to date as the // client. The ordering of this slice is not guaranteed to be stable across // updates. func (ClusterStateChangeReasonCode) Values() []ClusterStateChangeReasonCode { return []ClusterStateChangeReasonCode{ "INTERNAL_ERROR", "VALIDATION_ERROR", "INSTANCE_FAILURE", "INSTANCE_FLEET_TIMEOUT", "BOOTSTRAP_FAILURE", "USER_REQUEST", "STEP_FAILURE", "ALL_STEPS_COMPLETED", } } type ComparisonOperator string // Enum values for ComparisonOperator const ( ComparisonOperatorGreaterThanOrEqual ComparisonOperator = "GREATER_THAN_OR_EQUAL" ComparisonOperatorGreaterThan ComparisonOperator = "GREATER_THAN" ComparisonOperatorLessThan ComparisonOperator = "LESS_THAN" ComparisonOperatorLessThanOrEqual ComparisonOperator = "LESS_THAN_OR_EQUAL" ) // Values returns all known values for ComparisonOperator. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (ComparisonOperator) Values() []ComparisonOperator { return []ComparisonOperator{ "GREATER_THAN_OR_EQUAL", "GREATER_THAN", "LESS_THAN", "LESS_THAN_OR_EQUAL", } } type ComputeLimitsUnitType string // Enum values for ComputeLimitsUnitType const ( ComputeLimitsUnitTypeInstanceFleetUnits ComputeLimitsUnitType = "InstanceFleetUnits" ComputeLimitsUnitTypeInstances ComputeLimitsUnitType = "Instances" ComputeLimitsUnitTypeVcpu ComputeLimitsUnitType = "VCPU" ) // Values returns all known values for ComputeLimitsUnitType. Note that this can // be expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (ComputeLimitsUnitType) Values() []ComputeLimitsUnitType { return []ComputeLimitsUnitType{ "InstanceFleetUnits", "Instances", "VCPU", } } type ExecutionEngineType string // Enum values for ExecutionEngineType const ( ExecutionEngineTypeEmr ExecutionEngineType = "EMR" ) // Values returns all known values for ExecutionEngineType. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (ExecutionEngineType) Values() []ExecutionEngineType { return []ExecutionEngineType{ "EMR", } } type IdentityType string // Enum values for IdentityType const ( IdentityTypeUser IdentityType = "USER" IdentityTypeGroup IdentityType = "GROUP" ) // Values returns all known values for IdentityType. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (IdentityType) Values() []IdentityType { return []IdentityType{ "USER", "GROUP", } } type InstanceCollectionType string // Enum values for InstanceCollectionType const ( InstanceCollectionTypeInstanceFleet InstanceCollectionType = "INSTANCE_FLEET" InstanceCollectionTypeInstanceGroup InstanceCollectionType = "INSTANCE_GROUP" ) // Values returns all known values for InstanceCollectionType. Note that this can // be expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (InstanceCollectionType) Values() []InstanceCollectionType { return []InstanceCollectionType{ "INSTANCE_FLEET", "INSTANCE_GROUP", } } type InstanceFleetState string // Enum values for InstanceFleetState const ( InstanceFleetStateProvisioning InstanceFleetState = "PROVISIONING" InstanceFleetStateBootstrapping InstanceFleetState = "BOOTSTRAPPING" InstanceFleetStateRunning InstanceFleetState = "RUNNING" InstanceFleetStateResizing InstanceFleetState = "RESIZING" InstanceFleetStateSuspended InstanceFleetState = "SUSPENDED" InstanceFleetStateTerminating InstanceFleetState = "TERMINATING" InstanceFleetStateTerminated InstanceFleetState = "TERMINATED" ) // Values returns all known values for InstanceFleetState. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (InstanceFleetState) Values() []InstanceFleetState { return []InstanceFleetState{ "PROVISIONING", "BOOTSTRAPPING", "RUNNING", "RESIZING", "SUSPENDED", "TERMINATING", "TERMINATED", } } type InstanceFleetStateChangeReasonCode string // Enum values for InstanceFleetStateChangeReasonCode const ( InstanceFleetStateChangeReasonCodeInternalError InstanceFleetStateChangeReasonCode = "INTERNAL_ERROR" InstanceFleetStateChangeReasonCodeValidationError InstanceFleetStateChangeReasonCode = "VALIDATION_ERROR" InstanceFleetStateChangeReasonCodeInstanceFailure InstanceFleetStateChangeReasonCode = "INSTANCE_FAILURE" InstanceFleetStateChangeReasonCodeClusterTerminated InstanceFleetStateChangeReasonCode = "CLUSTER_TERMINATED" ) // Values returns all known values for InstanceFleetStateChangeReasonCode. Note // that this can be expanded in the future, and so it is only as up to date as the // client. The ordering of this slice is not guaranteed to be stable across // updates. func (InstanceFleetStateChangeReasonCode) Values() []InstanceFleetStateChangeReasonCode { return []InstanceFleetStateChangeReasonCode{ "INTERNAL_ERROR", "VALIDATION_ERROR", "INSTANCE_FAILURE", "CLUSTER_TERMINATED", } } type InstanceFleetType string // Enum values for InstanceFleetType const ( InstanceFleetTypeMaster InstanceFleetType = "MASTER" InstanceFleetTypeCore InstanceFleetType = "CORE" InstanceFleetTypeTask InstanceFleetType = "TASK" ) // Values returns all known values for InstanceFleetType. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (InstanceFleetType) Values() []InstanceFleetType { return []InstanceFleetType{ "MASTER", "CORE", "TASK", } } type InstanceGroupState string // Enum values for InstanceGroupState const ( InstanceGroupStateProvisioning InstanceGroupState = "PROVISIONING" InstanceGroupStateBootstrapping InstanceGroupState = "BOOTSTRAPPING" InstanceGroupStateRunning InstanceGroupState = "RUNNING" InstanceGroupStateReconfiguring InstanceGroupState = "RECONFIGURING" InstanceGroupStateResizing InstanceGroupState = "RESIZING" InstanceGroupStateSuspended InstanceGroupState = "SUSPENDED" InstanceGroupStateTerminating InstanceGroupState = "TERMINATING" InstanceGroupStateTerminated InstanceGroupState = "TERMINATED" InstanceGroupStateArrested InstanceGroupState = "ARRESTED" InstanceGroupStateShuttingDown InstanceGroupState = "SHUTTING_DOWN" InstanceGroupStateEnded InstanceGroupState = "ENDED" ) // Values returns all known values for InstanceGroupState. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (InstanceGroupState) Values() []InstanceGroupState { return []InstanceGroupState{ "PROVISIONING", "BOOTSTRAPPING", "RUNNING", "RECONFIGURING", "RESIZING", "SUSPENDED", "TERMINATING", "TERMINATED", "ARRESTED", "SHUTTING_DOWN", "ENDED", } } type InstanceGroupStateChangeReasonCode string // Enum values for InstanceGroupStateChangeReasonCode const ( InstanceGroupStateChangeReasonCodeInternalError InstanceGroupStateChangeReasonCode = "INTERNAL_ERROR" InstanceGroupStateChangeReasonCodeValidationError InstanceGroupStateChangeReasonCode = "VALIDATION_ERROR" InstanceGroupStateChangeReasonCodeInstanceFailure InstanceGroupStateChangeReasonCode = "INSTANCE_FAILURE" InstanceGroupStateChangeReasonCodeClusterTerminated InstanceGroupStateChangeReasonCode = "CLUSTER_TERMINATED" ) // Values returns all known values for InstanceGroupStateChangeReasonCode. Note // that this can be expanded in the future, and so it is only as up to date as the // client. The ordering of this slice is not guaranteed to be stable across // updates. func (InstanceGroupStateChangeReasonCode) Values() []InstanceGroupStateChangeReasonCode { return []InstanceGroupStateChangeReasonCode{ "INTERNAL_ERROR", "VALIDATION_ERROR", "INSTANCE_FAILURE", "CLUSTER_TERMINATED", } } type InstanceGroupType string // Enum values for InstanceGroupType const ( InstanceGroupTypeMaster InstanceGroupType = "MASTER" InstanceGroupTypeCore InstanceGroupType = "CORE" InstanceGroupTypeTask InstanceGroupType = "TASK" ) // Values returns all known values for InstanceGroupType. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (InstanceGroupType) Values() []InstanceGroupType { return []InstanceGroupType{ "MASTER", "CORE", "TASK", } } type InstanceRoleType string // Enum values for InstanceRoleType const ( InstanceRoleTypeMaster InstanceRoleType = "MASTER" InstanceRoleTypeCore InstanceRoleType = "CORE" InstanceRoleTypeTask InstanceRoleType = "TASK" ) // Values returns all known values for InstanceRoleType. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (InstanceRoleType) Values() []InstanceRoleType { return []InstanceRoleType{ "MASTER", "CORE", "TASK", } } type InstanceState string // Enum values for InstanceState const ( InstanceStateAwaitingFulfillment InstanceState = "AWAITING_FULFILLMENT" InstanceStateProvisioning InstanceState = "PROVISIONING" InstanceStateBootstrapping InstanceState = "BOOTSTRAPPING" InstanceStateRunning InstanceState = "RUNNING" InstanceStateTerminated InstanceState = "TERMINATED" ) // Values returns all known values for InstanceState. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (InstanceState) Values() []InstanceState { return []InstanceState{ "AWAITING_FULFILLMENT", "PROVISIONING", "BOOTSTRAPPING", "RUNNING", "TERMINATED", } } type InstanceStateChangeReasonCode string // Enum values for InstanceStateChangeReasonCode const ( InstanceStateChangeReasonCodeInternalError InstanceStateChangeReasonCode = "INTERNAL_ERROR" InstanceStateChangeReasonCodeValidationError InstanceStateChangeReasonCode = "VALIDATION_ERROR" InstanceStateChangeReasonCodeInstanceFailure InstanceStateChangeReasonCode = "INSTANCE_FAILURE" InstanceStateChangeReasonCodeBootstrapFailure InstanceStateChangeReasonCode = "BOOTSTRAP_FAILURE" InstanceStateChangeReasonCodeClusterTerminated InstanceStateChangeReasonCode = "CLUSTER_TERMINATED" ) // Values returns all known values for InstanceStateChangeReasonCode. Note that // this can be expanded in the future, and so it is only as up to date as the // client. The ordering of this slice is not guaranteed to be stable across // updates. func (InstanceStateChangeReasonCode) Values() []InstanceStateChangeReasonCode { return []InstanceStateChangeReasonCode{ "INTERNAL_ERROR", "VALIDATION_ERROR", "INSTANCE_FAILURE", "BOOTSTRAP_FAILURE", "CLUSTER_TERMINATED", } } type JobFlowExecutionState string // Enum values for JobFlowExecutionState const ( JobFlowExecutionStateStarting JobFlowExecutionState = "STARTING" JobFlowExecutionStateBootstrapping JobFlowExecutionState = "BOOTSTRAPPING" JobFlowExecutionStateRunning JobFlowExecutionState = "RUNNING" JobFlowExecutionStateWaiting JobFlowExecutionState = "WAITING" JobFlowExecutionStateShuttingDown JobFlowExecutionState = "SHUTTING_DOWN" JobFlowExecutionStateTerminated JobFlowExecutionState = "TERMINATED" JobFlowExecutionStateCompleted JobFlowExecutionState = "COMPLETED" JobFlowExecutionStateFailed JobFlowExecutionState = "FAILED" ) // Values returns all known values for JobFlowExecutionState. Note that this can // be expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (JobFlowExecutionState) Values() []JobFlowExecutionState { return []JobFlowExecutionState{ "STARTING", "BOOTSTRAPPING", "RUNNING", "WAITING", "SHUTTING_DOWN", "TERMINATED", "COMPLETED", "FAILED", } } type MarketType string // Enum values for MarketType const ( MarketTypeOnDemand MarketType = "ON_DEMAND" MarketTypeSpot MarketType = "SPOT" ) // Values returns all known values for MarketType. Note that this can be expanded // in the future, and so it is only as up to date as the client. The ordering of // this slice is not guaranteed to be stable across updates. func (MarketType) Values() []MarketType { return []MarketType{ "ON_DEMAND", "SPOT", } } type NotebookExecutionStatus string // Enum values for NotebookExecutionStatus const ( NotebookExecutionStatusStartPending NotebookExecutionStatus = "START_PENDING" NotebookExecutionStatusStarting NotebookExecutionStatus = "STARTING" NotebookExecutionStatusRunning NotebookExecutionStatus = "RUNNING" NotebookExecutionStatusFinishing NotebookExecutionStatus = "FINISHING" NotebookExecutionStatusFinished NotebookExecutionStatus = "FINISHED" NotebookExecutionStatusFailing NotebookExecutionStatus = "FAILING" NotebookExecutionStatusFailed NotebookExecutionStatus = "FAILED" NotebookExecutionStatusStopPending NotebookExecutionStatus = "STOP_PENDING" NotebookExecutionStatusStopping NotebookExecutionStatus = "STOPPING" NotebookExecutionStatusStopped NotebookExecutionStatus = "STOPPED" ) // Values returns all known values for NotebookExecutionStatus. Note that this can // be expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (NotebookExecutionStatus) Values() []NotebookExecutionStatus { return []NotebookExecutionStatus{ "START_PENDING", "STARTING", "RUNNING", "FINISHING", "FINISHED", "FAILING", "FAILED", "STOP_PENDING", "STOPPING", "STOPPED", } } type OnDemandCapacityReservationPreference string // Enum values for OnDemandCapacityReservationPreference const ( OnDemandCapacityReservationPreferenceOpen OnDemandCapacityReservationPreference = "open" OnDemandCapacityReservationPreferenceNone OnDemandCapacityReservationPreference = "none" ) // Values returns all known values for OnDemandCapacityReservationPreference. Note // that this can be expanded in the future, and so it is only as up to date as the // client. The ordering of this slice is not guaranteed to be stable across // updates. func (OnDemandCapacityReservationPreference) Values() []OnDemandCapacityReservationPreference { return []OnDemandCapacityReservationPreference{ "open", "none", } } type OnDemandCapacityReservationUsageStrategy string // Enum values for OnDemandCapacityReservationUsageStrategy const ( OnDemandCapacityReservationUsageStrategyUseCapacityReservationsFirst OnDemandCapacityReservationUsageStrategy = "use-capacity-reservations-first" ) // Values returns all known values for OnDemandCapacityReservationUsageStrategy. // Note that this can be expanded in the future, and so it is only as up to date as // the client. The ordering of this slice is not guaranteed to be stable across // updates. func (OnDemandCapacityReservationUsageStrategy) Values() []OnDemandCapacityReservationUsageStrategy { return []OnDemandCapacityReservationUsageStrategy{ "use-capacity-reservations-first", } } type OnDemandProvisioningAllocationStrategy string // Enum values for OnDemandProvisioningAllocationStrategy const ( OnDemandProvisioningAllocationStrategyLowestPrice OnDemandProvisioningAllocationStrategy = "lowest-price" ) // Values returns all known values for OnDemandProvisioningAllocationStrategy. // Note that this can be expanded in the future, and so it is only as up to date as // the client. The ordering of this slice is not guaranteed to be stable across // updates. func (OnDemandProvisioningAllocationStrategy) Values() []OnDemandProvisioningAllocationStrategy { return []OnDemandProvisioningAllocationStrategy{ "lowest-price", } } type OutputNotebookFormat string // Enum values for OutputNotebookFormat const ( OutputNotebookFormatHtml OutputNotebookFormat = "HTML" ) // Values returns all known values for OutputNotebookFormat. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (OutputNotebookFormat) Values() []OutputNotebookFormat { return []OutputNotebookFormat{ "HTML", } } type PlacementGroupStrategy string // Enum values for PlacementGroupStrategy const ( PlacementGroupStrategySpread PlacementGroupStrategy = "SPREAD" PlacementGroupStrategyPartition PlacementGroupStrategy = "PARTITION" PlacementGroupStrategyCluster PlacementGroupStrategy = "CLUSTER" PlacementGroupStrategyNone PlacementGroupStrategy = "NONE" ) // Values returns all known values for PlacementGroupStrategy. Note that this can // be expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (PlacementGroupStrategy) Values() []PlacementGroupStrategy { return []PlacementGroupStrategy{ "SPREAD", "PARTITION", "CLUSTER", "NONE", } } type ReconfigurationType string // Enum values for ReconfigurationType const ( ReconfigurationTypeOverwrite ReconfigurationType = "OVERWRITE" ReconfigurationTypeMerge ReconfigurationType = "MERGE" ) // Values returns all known values for ReconfigurationType. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (ReconfigurationType) Values() []ReconfigurationType { return []ReconfigurationType{ "OVERWRITE", "MERGE", } } type RepoUpgradeOnBoot string // Enum values for RepoUpgradeOnBoot const ( RepoUpgradeOnBootSecurity RepoUpgradeOnBoot = "SECURITY" RepoUpgradeOnBootNone RepoUpgradeOnBoot = "NONE" ) // Values returns all known values for RepoUpgradeOnBoot. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (RepoUpgradeOnBoot) Values() []RepoUpgradeOnBoot { return []RepoUpgradeOnBoot{ "SECURITY", "NONE", } } type ScaleDownBehavior string // Enum values for ScaleDownBehavior const ( ScaleDownBehaviorTerminateAtInstanceHour ScaleDownBehavior = "TERMINATE_AT_INSTANCE_HOUR" ScaleDownBehaviorTerminateAtTaskCompletion ScaleDownBehavior = "TERMINATE_AT_TASK_COMPLETION" ) // Values returns all known values for ScaleDownBehavior. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (ScaleDownBehavior) Values() []ScaleDownBehavior { return []ScaleDownBehavior{ "TERMINATE_AT_INSTANCE_HOUR", "TERMINATE_AT_TASK_COMPLETION", } } type SpotProvisioningAllocationStrategy string // Enum values for SpotProvisioningAllocationStrategy const ( SpotProvisioningAllocationStrategyCapacityOptimized SpotProvisioningAllocationStrategy = "capacity-optimized" SpotProvisioningAllocationStrategyPriceCapacityOptimized SpotProvisioningAllocationStrategy = "price-capacity-optimized" SpotProvisioningAllocationStrategyLowestPrice SpotProvisioningAllocationStrategy = "lowest-price" SpotProvisioningAllocationStrategyDiversified SpotProvisioningAllocationStrategy = "diversified" ) // Values returns all known values for SpotProvisioningAllocationStrategy. Note // that this can be expanded in the future, and so it is only as up to date as the // client. The ordering of this slice is not guaranteed to be stable across // updates. func (SpotProvisioningAllocationStrategy) Values() []SpotProvisioningAllocationStrategy { return []SpotProvisioningAllocationStrategy{ "capacity-optimized", "price-capacity-optimized", "lowest-price", "diversified", } } type SpotProvisioningTimeoutAction string // Enum values for SpotProvisioningTimeoutAction const ( SpotProvisioningTimeoutActionSwitchToOnDemand SpotProvisioningTimeoutAction = "SWITCH_TO_ON_DEMAND" SpotProvisioningTimeoutActionTerminateCluster SpotProvisioningTimeoutAction = "TERMINATE_CLUSTER" ) // Values returns all known values for SpotProvisioningTimeoutAction. Note that // this can be expanded in the future, and so it is only as up to date as the // client. The ordering of this slice is not guaranteed to be stable across // updates. func (SpotProvisioningTimeoutAction) Values() []SpotProvisioningTimeoutAction { return []SpotProvisioningTimeoutAction{ "SWITCH_TO_ON_DEMAND", "TERMINATE_CLUSTER", } } type Statistic string // Enum values for Statistic const ( StatisticSampleCount Statistic = "SAMPLE_COUNT" StatisticAverage Statistic = "AVERAGE" StatisticSum Statistic = "SUM" StatisticMinimum Statistic = "MINIMUM" StatisticMaximum Statistic = "MAXIMUM" ) // Values returns all known values for Statistic. Note that this can be expanded // in the future, and so it is only as up to date as the client. The ordering of // this slice is not guaranteed to be stable across updates. func (Statistic) Values() []Statistic { return []Statistic{ "SAMPLE_COUNT", "AVERAGE", "SUM", "MINIMUM", "MAXIMUM", } } type StepCancellationOption string // Enum values for StepCancellationOption const ( StepCancellationOptionSendInterrupt StepCancellationOption = "SEND_INTERRUPT" StepCancellationOptionTerminateProcess StepCancellationOption = "TERMINATE_PROCESS" ) // Values returns all known values for StepCancellationOption. Note that this can // be expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (StepCancellationOption) Values() []StepCancellationOption { return []StepCancellationOption{ "SEND_INTERRUPT", "TERMINATE_PROCESS", } } type StepExecutionState string // Enum values for StepExecutionState const ( StepExecutionStatePending StepExecutionState = "PENDING" StepExecutionStateRunning StepExecutionState = "RUNNING" StepExecutionStateContinue StepExecutionState = "CONTINUE" StepExecutionStateCompleted StepExecutionState = "COMPLETED" StepExecutionStateCancelled StepExecutionState = "CANCELLED" StepExecutionStateFailed StepExecutionState = "FAILED" StepExecutionStateInterrupted StepExecutionState = "INTERRUPTED" ) // Values returns all known values for StepExecutionState. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (StepExecutionState) Values() []StepExecutionState { return []StepExecutionState{ "PENDING", "RUNNING", "CONTINUE", "COMPLETED", "CANCELLED", "FAILED", "INTERRUPTED", } } type StepState string // Enum values for StepState const ( StepStatePending StepState = "PENDING" StepStateCancelPending StepState = "CANCEL_PENDING" StepStateRunning StepState = "RUNNING" StepStateCompleted StepState = "COMPLETED" StepStateCancelled StepState = "CANCELLED" StepStateFailed StepState = "FAILED" StepStateInterrupted StepState = "INTERRUPTED" ) // Values returns all known values for StepState. Note that this can be expanded // in the future, and so it is only as up to date as the client. The ordering of // this slice is not guaranteed to be stable across updates. func (StepState) Values() []StepState { return []StepState{ "PENDING", "CANCEL_PENDING", "RUNNING", "COMPLETED", "CANCELLED", "FAILED", "INTERRUPTED", } } type StepStateChangeReasonCode string // Enum values for StepStateChangeReasonCode const ( StepStateChangeReasonCodeNone StepStateChangeReasonCode = "NONE" ) // Values returns all known values for StepStateChangeReasonCode. Note that this // can be expanded in the future, and so it is only as up to date as the client. // The ordering of this slice is not guaranteed to be stable across updates. func (StepStateChangeReasonCode) Values() []StepStateChangeReasonCode { return []StepStateChangeReasonCode{ "NONE", } } type Unit string // Enum values for Unit const ( UnitNone Unit = "NONE" UnitSeconds Unit = "SECONDS" UnitMicroSeconds Unit = "MICRO_SECONDS" UnitMilliSeconds Unit = "MILLI_SECONDS" UnitBytes Unit = "BYTES" UnitKiloBytes Unit = "KILO_BYTES" UnitMegaBytes Unit = "MEGA_BYTES" UnitGigaBytes Unit = "GIGA_BYTES" UnitTeraBytes Unit = "TERA_BYTES" UnitBits Unit = "BITS" UnitKiloBits Unit = "KILO_BITS" UnitMegaBits Unit = "MEGA_BITS" UnitGigaBits Unit = "GIGA_BITS" UnitTeraBits Unit = "TERA_BITS" UnitPercent Unit = "PERCENT" UnitCount Unit = "COUNT" UnitBytesPerSecond Unit = "BYTES_PER_SECOND" UnitKiloBytesPerSecond Unit = "KILO_BYTES_PER_SECOND" UnitMegaBytesPerSecond Unit = "MEGA_BYTES_PER_SECOND" UnitGigaBytesPerSecond Unit = "GIGA_BYTES_PER_SECOND" UnitTeraBytesPerSecond Unit = "TERA_BYTES_PER_SECOND" UnitBitsPerSecond Unit = "BITS_PER_SECOND" UnitKiloBitsPerSecond Unit = "KILO_BITS_PER_SECOND" UnitMegaBitsPerSecond Unit = "MEGA_BITS_PER_SECOND" UnitGigaBitsPerSecond Unit = "GIGA_BITS_PER_SECOND" UnitTeraBitsPerSecond Unit = "TERA_BITS_PER_SECOND" UnitCountPerSecond Unit = "COUNT_PER_SECOND" ) // Values returns all known values for Unit. Note that this can be expanded in the // future, and so it is only as up to date as the client. The ordering of this // slice is not guaranteed to be stable across updates. func (Unit) Values() []Unit { return []Unit{ "NONE", "SECONDS", "MICRO_SECONDS", "MILLI_SECONDS", "BYTES", "KILO_BYTES", "MEGA_BYTES", "GIGA_BYTES", "TERA_BYTES", "BITS", "KILO_BITS", "MEGA_BITS", "GIGA_BITS", "TERA_BITS", "PERCENT", "COUNT", "BYTES_PER_SECOND", "KILO_BYTES_PER_SECOND", "MEGA_BYTES_PER_SECOND", "GIGA_BYTES_PER_SECOND", "TERA_BYTES_PER_SECOND", "BITS_PER_SECOND", "KILO_BITS_PER_SECOND", "MEGA_BITS_PER_SECOND", "GIGA_BITS_PER_SECOND", "TERA_BITS_PER_SECOND", "COUNT_PER_SECOND", } }