Literals#
Auto-generated documentation for EMR type annotations stubs module mypy-boto3-emr.
ActionOnFailureType#
# ActionOnFailureType usage example
from mypy_boto3_emr.literals import ActionOnFailureType
def get_value() -> ActionOnFailureType:
return "CANCEL_AND_WAIT"
# ActionOnFailureType definition
ActionOnFailureType = Literal[
"CANCEL_AND_WAIT",
"CONTINUE",
"TERMINATE_CLUSTER",
"TERMINATE_JOB_FLOW",
]
AdjustmentTypeType#
# AdjustmentTypeType usage example
from mypy_boto3_emr.literals import AdjustmentTypeType
def get_value() -> AdjustmentTypeType:
return "CHANGE_IN_CAPACITY"
# AdjustmentTypeType definition
AdjustmentTypeType = Literal[
"CHANGE_IN_CAPACITY",
"EXACT_CAPACITY",
"PERCENT_CHANGE_IN_CAPACITY",
]
AuthModeType#
# AuthModeType usage example
from mypy_boto3_emr.literals import AuthModeType
def get_value() -> AuthModeType:
return "IAM"
# AuthModeType definition
AuthModeType = Literal[
"IAM",
"SSO",
]
AutoScalingPolicyStateChangeReasonCodeType#
# AutoScalingPolicyStateChangeReasonCodeType usage example
from mypy_boto3_emr.literals import AutoScalingPolicyStateChangeReasonCodeType
def get_value() -> AutoScalingPolicyStateChangeReasonCodeType:
return "CLEANUP_FAILURE"
# AutoScalingPolicyStateChangeReasonCodeType definition
AutoScalingPolicyStateChangeReasonCodeType = Literal[
"CLEANUP_FAILURE",
"PROVISION_FAILURE",
"USER_REQUEST",
]
AutoScalingPolicyStateType#
# AutoScalingPolicyStateType usage example
from mypy_boto3_emr.literals import AutoScalingPolicyStateType
def get_value() -> AutoScalingPolicyStateType:
return "ATTACHED"
# AutoScalingPolicyStateType definition
AutoScalingPolicyStateType = Literal[
"ATTACHED",
"ATTACHING",
"DETACHED",
"DETACHING",
"FAILED",
"PENDING",
]
CancelStepsRequestStatusType#
# CancelStepsRequestStatusType usage example
from mypy_boto3_emr.literals import CancelStepsRequestStatusType
def get_value() -> CancelStepsRequestStatusType:
return "FAILED"
# CancelStepsRequestStatusType definition
CancelStepsRequestStatusType = Literal[
"FAILED",
"SUBMITTED",
]
ClusterRunningWaiterName#
# ClusterRunningWaiterName usage example
from mypy_boto3_emr.literals import ClusterRunningWaiterName
def get_value() -> ClusterRunningWaiterName:
return "cluster_running"
# ClusterRunningWaiterName definition
ClusterRunningWaiterName = Literal[
"cluster_running",
]
ClusterStateChangeReasonCodeType#
# ClusterStateChangeReasonCodeType usage example
from mypy_boto3_emr.literals import ClusterStateChangeReasonCodeType
def get_value() -> ClusterStateChangeReasonCodeType:
return "ALL_STEPS_COMPLETED"
# ClusterStateChangeReasonCodeType definition
ClusterStateChangeReasonCodeType = Literal[
"ALL_STEPS_COMPLETED",
"BOOTSTRAP_FAILURE",
"INSTANCE_FAILURE",
"INSTANCE_FLEET_TIMEOUT",
"INTERNAL_ERROR",
"STEP_FAILURE",
"USER_REQUEST",
"VALIDATION_ERROR",
]
ClusterStateType#
# ClusterStateType usage example
from mypy_boto3_emr.literals import ClusterStateType
def get_value() -> ClusterStateType:
return "BOOTSTRAPPING"
# ClusterStateType definition
ClusterStateType = Literal[
"BOOTSTRAPPING",
"RUNNING",
"STARTING",
"TERMINATED",
"TERMINATED_WITH_ERRORS",
"TERMINATING",
"WAITING",
]
ClusterTerminatedWaiterName#
# ClusterTerminatedWaiterName usage example
from mypy_boto3_emr.literals import ClusterTerminatedWaiterName
def get_value() -> ClusterTerminatedWaiterName:
return "cluster_terminated"
# ClusterTerminatedWaiterName definition
ClusterTerminatedWaiterName = Literal[
"cluster_terminated",
]
ComparisonOperatorType#
# ComparisonOperatorType usage example
from mypy_boto3_emr.literals import ComparisonOperatorType
def get_value() -> ComparisonOperatorType:
return "GREATER_THAN"
# ComparisonOperatorType definition
ComparisonOperatorType = Literal[
"GREATER_THAN",
"GREATER_THAN_OR_EQUAL",
"LESS_THAN",
"LESS_THAN_OR_EQUAL",
]
ComputeLimitsUnitTypeType#
# ComputeLimitsUnitTypeType usage example
from mypy_boto3_emr.literals import ComputeLimitsUnitTypeType
def get_value() -> ComputeLimitsUnitTypeType:
return "InstanceFleetUnits"
# ComputeLimitsUnitTypeType definition
ComputeLimitsUnitTypeType = Literal[
"InstanceFleetUnits",
"Instances",
"VCPU",
]
ExecutionEngineTypeType#
# ExecutionEngineTypeType usage example
from mypy_boto3_emr.literals import ExecutionEngineTypeType
def get_value() -> ExecutionEngineTypeType:
return "EMR"
# ExecutionEngineTypeType definition
ExecutionEngineTypeType = Literal[
"EMR",
]
IdcUserAssignmentType#
# IdcUserAssignmentType usage example
from mypy_boto3_emr.literals import IdcUserAssignmentType
def get_value() -> IdcUserAssignmentType:
return "OPTIONAL"
# IdcUserAssignmentType definition
IdcUserAssignmentType = Literal[
"OPTIONAL",
"REQUIRED",
]
IdentityTypeType#
# IdentityTypeType usage example
from mypy_boto3_emr.literals import IdentityTypeType
def get_value() -> IdentityTypeType:
return "GROUP"
# IdentityTypeType definition
IdentityTypeType = Literal[
"GROUP",
"USER",
]
InstanceCollectionTypeType#
# InstanceCollectionTypeType usage example
from mypy_boto3_emr.literals import InstanceCollectionTypeType
def get_value() -> InstanceCollectionTypeType:
return "INSTANCE_FLEET"
# InstanceCollectionTypeType definition
InstanceCollectionTypeType = Literal[
"INSTANCE_FLEET",
"INSTANCE_GROUP",
]
InstanceFleetStateChangeReasonCodeType#
# InstanceFleetStateChangeReasonCodeType usage example
from mypy_boto3_emr.literals import InstanceFleetStateChangeReasonCodeType
def get_value() -> InstanceFleetStateChangeReasonCodeType:
return "CLUSTER_TERMINATED"
# InstanceFleetStateChangeReasonCodeType definition
InstanceFleetStateChangeReasonCodeType = Literal[
"CLUSTER_TERMINATED",
"INSTANCE_FAILURE",
"INTERNAL_ERROR",
"VALIDATION_ERROR",
]
InstanceFleetStateType#
# InstanceFleetStateType usage example
from mypy_boto3_emr.literals import InstanceFleetStateType
def get_value() -> InstanceFleetStateType:
return "BOOTSTRAPPING"
# InstanceFleetStateType definition
InstanceFleetStateType = Literal[
"BOOTSTRAPPING",
"PROVISIONING",
"RESIZING",
"RUNNING",
"SUSPENDED",
"TERMINATED",
"TERMINATING",
]
InstanceFleetTypeType#
# InstanceFleetTypeType usage example
from mypy_boto3_emr.literals import InstanceFleetTypeType
def get_value() -> InstanceFleetTypeType:
return "CORE"
# InstanceFleetTypeType definition
InstanceFleetTypeType = Literal[
"CORE",
"MASTER",
"TASK",
]
InstanceGroupStateChangeReasonCodeType#
# InstanceGroupStateChangeReasonCodeType usage example
from mypy_boto3_emr.literals import InstanceGroupStateChangeReasonCodeType
def get_value() -> InstanceGroupStateChangeReasonCodeType:
return "CLUSTER_TERMINATED"
# InstanceGroupStateChangeReasonCodeType definition
InstanceGroupStateChangeReasonCodeType = Literal[
"CLUSTER_TERMINATED",
"INSTANCE_FAILURE",
"INTERNAL_ERROR",
"VALIDATION_ERROR",
]
InstanceGroupStateType#
# InstanceGroupStateType usage example
from mypy_boto3_emr.literals import InstanceGroupStateType
def get_value() -> InstanceGroupStateType:
return "ARRESTED"
# InstanceGroupStateType definition
InstanceGroupStateType = Literal[
"ARRESTED",
"BOOTSTRAPPING",
"ENDED",
"PROVISIONING",
"RECONFIGURING",
"RESIZING",
"RUNNING",
"SHUTTING_DOWN",
"SUSPENDED",
"TERMINATED",
"TERMINATING",
]
InstanceGroupTypeType#
# InstanceGroupTypeType usage example
from mypy_boto3_emr.literals import InstanceGroupTypeType
def get_value() -> InstanceGroupTypeType:
return "CORE"
# InstanceGroupTypeType definition
InstanceGroupTypeType = Literal[
"CORE",
"MASTER",
"TASK",
]
InstanceRoleTypeType#
# InstanceRoleTypeType usage example
from mypy_boto3_emr.literals import InstanceRoleTypeType
def get_value() -> InstanceRoleTypeType:
return "CORE"
# InstanceRoleTypeType definition
InstanceRoleTypeType = Literal[
"CORE",
"MASTER",
"TASK",
]
InstanceStateChangeReasonCodeType#
# InstanceStateChangeReasonCodeType usage example
from mypy_boto3_emr.literals import InstanceStateChangeReasonCodeType
def get_value() -> InstanceStateChangeReasonCodeType:
return "BOOTSTRAP_FAILURE"
# InstanceStateChangeReasonCodeType definition
InstanceStateChangeReasonCodeType = Literal[
"BOOTSTRAP_FAILURE",
"CLUSTER_TERMINATED",
"INSTANCE_FAILURE",
"INTERNAL_ERROR",
"VALIDATION_ERROR",
]
InstanceStateType#
# InstanceStateType usage example
from mypy_boto3_emr.literals import InstanceStateType
def get_value() -> InstanceStateType:
return "AWAITING_FULFILLMENT"
# InstanceStateType definition
InstanceStateType = Literal[
"AWAITING_FULFILLMENT",
"BOOTSTRAPPING",
"PROVISIONING",
"RUNNING",
"TERMINATED",
]
JobFlowExecutionStateType#
# JobFlowExecutionStateType usage example
from mypy_boto3_emr.literals import JobFlowExecutionStateType
def get_value() -> JobFlowExecutionStateType:
return "BOOTSTRAPPING"
# JobFlowExecutionStateType definition
JobFlowExecutionStateType = Literal[
"BOOTSTRAPPING",
"COMPLETED",
"FAILED",
"RUNNING",
"SHUTTING_DOWN",
"STARTING",
"TERMINATED",
"WAITING",
]
ListBootstrapActionsPaginatorName#
# ListBootstrapActionsPaginatorName usage example
from mypy_boto3_emr.literals import ListBootstrapActionsPaginatorName
def get_value() -> ListBootstrapActionsPaginatorName:
return "list_bootstrap_actions"
# ListBootstrapActionsPaginatorName definition
ListBootstrapActionsPaginatorName = Literal[
"list_bootstrap_actions",
]
ListClustersPaginatorName#
# ListClustersPaginatorName usage example
from mypy_boto3_emr.literals import ListClustersPaginatorName
def get_value() -> ListClustersPaginatorName:
return "list_clusters"
# ListClustersPaginatorName definition
ListClustersPaginatorName = Literal[
"list_clusters",
]
ListInstanceFleetsPaginatorName#
# ListInstanceFleetsPaginatorName usage example
from mypy_boto3_emr.literals import ListInstanceFleetsPaginatorName
def get_value() -> ListInstanceFleetsPaginatorName:
return "list_instance_fleets"
# ListInstanceFleetsPaginatorName definition
ListInstanceFleetsPaginatorName = Literal[
"list_instance_fleets",
]
ListInstanceGroupsPaginatorName#
# ListInstanceGroupsPaginatorName usage example
from mypy_boto3_emr.literals import ListInstanceGroupsPaginatorName
def get_value() -> ListInstanceGroupsPaginatorName:
return "list_instance_groups"
# ListInstanceGroupsPaginatorName definition
ListInstanceGroupsPaginatorName = Literal[
"list_instance_groups",
]
ListInstancesPaginatorName#
# ListInstancesPaginatorName usage example
from mypy_boto3_emr.literals import ListInstancesPaginatorName
def get_value() -> ListInstancesPaginatorName:
return "list_instances"
# ListInstancesPaginatorName definition
ListInstancesPaginatorName = Literal[
"list_instances",
]
ListNotebookExecutionsPaginatorName#
# ListNotebookExecutionsPaginatorName usage example
from mypy_boto3_emr.literals import ListNotebookExecutionsPaginatorName
def get_value() -> ListNotebookExecutionsPaginatorName:
return "list_notebook_executions"
# ListNotebookExecutionsPaginatorName definition
ListNotebookExecutionsPaginatorName = Literal[
"list_notebook_executions",
]
ListSecurityConfigurationsPaginatorName#
# ListSecurityConfigurationsPaginatorName usage example
from mypy_boto3_emr.literals import ListSecurityConfigurationsPaginatorName
def get_value() -> ListSecurityConfigurationsPaginatorName:
return "list_security_configurations"
# ListSecurityConfigurationsPaginatorName definition
ListSecurityConfigurationsPaginatorName = Literal[
"list_security_configurations",
]
ListStepsPaginatorName#
# ListStepsPaginatorName usage example
from mypy_boto3_emr.literals import ListStepsPaginatorName
def get_value() -> ListStepsPaginatorName:
return "list_steps"
# ListStepsPaginatorName definition
ListStepsPaginatorName = Literal[
"list_steps",
]
ListStudioSessionMappingsPaginatorName#
# ListStudioSessionMappingsPaginatorName usage example
from mypy_boto3_emr.literals import ListStudioSessionMappingsPaginatorName
def get_value() -> ListStudioSessionMappingsPaginatorName:
return "list_studio_session_mappings"
# ListStudioSessionMappingsPaginatorName definition
ListStudioSessionMappingsPaginatorName = Literal[
"list_studio_session_mappings",
]
ListStudiosPaginatorName#
# ListStudiosPaginatorName usage example
from mypy_boto3_emr.literals import ListStudiosPaginatorName
def get_value() -> ListStudiosPaginatorName:
return "list_studios"
# ListStudiosPaginatorName definition
ListStudiosPaginatorName = Literal[
"list_studios",
]
MarketTypeType#
# MarketTypeType usage example
from mypy_boto3_emr.literals import MarketTypeType
def get_value() -> MarketTypeType:
return "ON_DEMAND"
# MarketTypeType definition
MarketTypeType = Literal[
"ON_DEMAND",
"SPOT",
]
NotebookExecutionStatusType#