EMR module#
Index > EMR
Auto-generated documentation for EMR type annotations stubs module mypy-boto3-emr.
How to install#
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and EMR
.
From PyPI with pip#
Install boto3-stubs
for EMR
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[emr]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[emr]'
# standalone installation
python -m pip install mypy-boto3-emr
How to uninstall#
python -m pip uninstall -y mypy-boto3-emr
Usage#
Code samples can be found in Examples.
EMRClient#
Type annotations and code completion for boto3.client("emr")
as EMRClient
boto3 documentation
# EMRClient usage example
from boto3.session import Session
from mypy_boto3_emr.client import EMRClient
def get_client() -> EMRClient:
return Session().client("emr")
Paginators#
Type annotations and code completion for paginators
from boto3.client("emr").get_paginator("...")
.
# ListBootstrapActionsPaginator usage example
from boto3.session import Session
from mypy_boto3_emr.paginator import ListBootstrapActionsPaginator
def get_list_bootstrap_actions_paginator() -> ListBootstrapActionsPaginator:
return Session().client("emr").get_paginator("list_bootstrap_actions"))
- ListBootstrapActionsPaginator
- ListClustersPaginator
- ListInstanceFleetsPaginator
- ListInstanceGroupsPaginator
- ListInstancesPaginator
- ListNotebookExecutionsPaginator
- ListSecurityConfigurationsPaginator
- ListStepsPaginator
- ListStudioSessionMappingsPaginator
- ListStudiosPaginator
Waiters#
Type annotations and code completion for waiters
from boto3.client("emr").get_waiter("...")
.
# ClusterRunningWaiter usage example
from boto3.session import Session
from mypy_boto3_emr.waiter import ClusterRunningWaiter
def get_cluster_running_waiter() -> ClusterRunningWaiter:
return Session().client("emr").get_waiter("cluster_running")
Literals#
Type annotations for literals used in methods and schema.
# ActionOnFailureType usage example
from mypy_boto3_emr.literals import ActionOnFailureType
def get_value() -> ActionOnFailureType:
return "CANCEL_AND_WAIT"
- ActionOnFailureType
- AdjustmentTypeType
- AuthModeType
- AutoScalingPolicyStateChangeReasonCodeType
- AutoScalingPolicyStateType
- CancelStepsRequestStatusType
- ClusterRunningWaiterName
- ClusterStateChangeReasonCodeType
- ClusterStateType
- ClusterTerminatedWaiterName
- ComparisonOperatorType
- ComputeLimitsUnitTypeType
- ExecutionEngineTypeType
- IdcUserAssignmentType
- IdentityTypeType
- InstanceCollectionTypeType
- InstanceFleetStateChangeReasonCodeType
- InstanceFleetStateType
- InstanceFleetTypeType
- InstanceGroupStateChangeReasonCodeType
- InstanceGroupStateType
- InstanceGroupTypeType
- InstanceRoleTypeType
- InstanceStateChangeReasonCodeType
- InstanceStateType
- JobFlowExecutionStateType
- ListBootstrapActionsPaginatorName
- ListClustersPaginatorName
- ListInstanceFleetsPaginatorName
- ListInstanceGroupsPaginatorName
- ListInstancesPaginatorName
- ListNotebookExecutionsPaginatorName
- ListSecurityConfigurationsPaginatorName
- ListStepsPaginatorName
- ListStudioSessionMappingsPaginatorName
- ListStudiosPaginatorName
- MarketTypeType
- NotebookExecutionStatusType
- OnDemandCapacityReservationPreferenceType
- OnDemandCapacityReservationUsageStrategyType
- OnDemandProvisioningAllocationStrategyType
- OutputNotebookFormatType
- PlacementGroupStrategyType
- ReconfigurationTypeType
- RepoUpgradeOnBootType
- ScaleDownBehaviorType
- SpotProvisioningAllocationStrategyType
- SpotProvisioningTimeoutActionType
- StatisticType
- StepCancellationOptionType
- StepCompleteWaiterName
- StepExecutionStateType
- StepStateChangeReasonCodeType
- StepStateType
- UnitType
- EMRServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- WaiterName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- ResponseMetadataTypeDef
- TagTypeDef
- ApplicationOutputTypeDef
- ApplicationTypeDef
- ScalingConstraintsTypeDef
- AutoScalingPolicyStateChangeReasonTypeDef
- AutoTerminationPolicyTypeDef
- BlockPublicAccessConfigurationMetadataTypeDef
- PortRangeTypeDef
- ScriptBootstrapActionConfigOutputTypeDef
- CancelStepsInfoTypeDef
- CancelStepsInputRequestTypeDef
- MetricDimensionTypeDef
- ClusterStateChangeReasonTypeDef
- ClusterTimelineTypeDef
- ErrorDetailTypeDef
- ConfigurationOutputTypeDef
- Ec2InstanceAttributesTypeDef
- KerberosAttributesTypeDef
- PlacementGroupConfigTypeDef
- CommandTypeDef
- ComputeLimitsTypeDef
- ConfigurationPaginatorTypeDef
- ConfigurationTypeDef
- CreateSecurityConfigurationInputRequestTypeDef
- CreateStudioSessionMappingInputRequestTypeDef
- UsernamePasswordTypeDef
- DeleteSecurityConfigurationInputRequestTypeDef
- DeleteStudioInputRequestTypeDef
- DeleteStudioSessionMappingInputRequestTypeDef
- WaiterConfigTypeDef
- DescribeClusterInputRequestTypeDef
- TimestampTypeDef
- DescribeNotebookExecutionInputRequestTypeDef
- DescribeReleaseLabelInputRequestTypeDef
- OSReleaseTypeDef
- SimplifiedApplicationTypeDef
- DescribeSecurityConfigurationInputRequestTypeDef
- DescribeStepInputRequestTypeDef
- DescribeStudioInputRequestTypeDef
- VolumeSpecificationTypeDef
- EbsVolumeTypeDef
- ExecutionEngineConfigTypeDef
- FailureDetailsTypeDef
- GetAutoTerminationPolicyInputRequestTypeDef
- GetClusterSessionCredentialsInputRequestTypeDef
- GetManagedScalingPolicyInputRequestTypeDef
- GetStudioSessionMappingInputRequestTypeDef
- SessionMappingDetailTypeDef
- KeyValueTypeDef
- HadoopStepConfigTypeDef
- SpotProvisioningSpecificationTypeDef
- SpotResizingSpecificationTypeDef
- InstanceFleetStateChangeReasonTypeDef
- InstanceFleetTimelineTypeDef
- InstanceGroupDetailTypeDef
- InstanceGroupStateChangeReasonTypeDef
- InstanceGroupTimelineTypeDef
- InstanceResizePolicyOutputTypeDef
- InstanceResizePolicyTypeDef
- InstanceStateChangeReasonTypeDef
- InstanceTimelineTypeDef
- JobFlowExecutionStatusDetailTypeDef
- PlacementTypeOutputTypeDef
- PaginatorConfigTypeDef
- ListBootstrapActionsInputRequestTypeDef
- ListInstanceFleetsInputRequestTypeDef
- ListInstanceGroupsInputRequestTypeDef
- ListInstancesInputRequestTypeDef
- ReleaseLabelFilterTypeDef
- ListSecurityConfigurationsInputRequestTypeDef
- SecurityConfigurationSummaryTypeDef
- ListStepsInputRequestTypeDef
- ListStudioSessionMappingsInputRequestTypeDef
- SessionMappingSummaryTypeDef
- ListStudiosInputRequestTypeDef
- StudioSummaryTypeDef
- ListSupportedInstanceTypesInputRequestTypeDef
- SupportedInstanceTypeTypeDef
- ModifyClusterInputRequestTypeDef
- NotebookS3LocationForOutputTypeDef
- OutputNotebookS3LocationForOutputTypeDef
- NotebookS3LocationFromInputTypeDef
- OnDemandCapacityReservationOptionsTypeDef
- OutputNotebookS3LocationFromInputTypeDef
- PlacementTypeTypeDef
- RemoveAutoScalingPolicyInputRequestTypeDef
- RemoveAutoTerminationPolicyInputRequestTypeDef
- RemoveManagedScalingPolicyInputRequestTypeDef
- RemoveTagsInputRequestTypeDef
- SupportedProductConfigTypeDef
- SimpleScalingPolicyConfigurationTypeDef
- ScriptBootstrapActionConfigTypeDef
- SetKeepJobFlowAliveWhenNoStepsInputRequestTypeDef
- SetTerminationProtectionInputRequestTypeDef
- SetUnhealthyNodeReplacementInputRequestTypeDef
- SetVisibleToAllUsersInputRequestTypeDef
- StepExecutionStatusDetailTypeDef
- StepStateChangeReasonTypeDef
- StepTimelineTypeDef
- StopNotebookExecutionInputRequestTypeDef
- TerminateJobFlowsInputRequestTypeDef
- UpdateStudioInputRequestTypeDef
- UpdateStudioSessionMappingInputRequestTypeDef
- AddInstanceFleetOutputTypeDef
- AddInstanceGroupsOutputTypeDef
- AddJobFlowStepsOutputTypeDef
- CreateSecurityConfigurationOutputTypeDef
- CreateStudioOutputTypeDef
- DescribeSecurityConfigurationOutputTypeDef
- EmptyResponseMetadataTypeDef
- ListReleaseLabelsOutputTypeDef
- ModifyClusterOutputTypeDef
- RunJobFlowOutputTypeDef
- StartNotebookExecutionOutputTypeDef
- AddTagsInputRequestTypeDef
- CreateStudioInputRequestTypeDef
- StudioTypeDef
- ApplicationUnionTypeDef
- AutoScalingPolicyStatusTypeDef
- GetAutoTerminationPolicyOutputTypeDef
- PutAutoTerminationPolicyInputRequestTypeDef
- BlockPublicAccessConfigurationOutputTypeDef
- BlockPublicAccessConfigurationTypeDef
- BootstrapActionConfigOutputTypeDef
- CancelStepsOutputTypeDef
- CloudWatchAlarmDefinitionOutputTypeDef
- CloudWatchAlarmDefinitionTypeDef
- ClusterStatusTypeDef
- ListBootstrapActionsOutputTypeDef
- ManagedScalingPolicyTypeDef
- ConfigurationUnionTypeDef
- CredentialsTypeDef
- DescribeClusterInputClusterRunningWaitTypeDef
- DescribeClusterInputClusterTerminatedWaitTypeDef
- DescribeStepInputStepCompleteWaitTypeDef
- DescribeJobFlowsInputRequestTypeDef
- ListClustersInputRequestTypeDef
- ListNotebookExecutionsInputRequestTypeDef
- DescribeReleaseLabelOutputTypeDef
- EbsBlockDeviceConfigTypeDef
- EbsBlockDeviceTypeDef
- GetStudioSessionMappingOutputTypeDef
- HadoopJarStepConfigOutputTypeDef
- HadoopJarStepConfigTypeDef
- InstanceFleetStatusTypeDef
- InstanceGroupStatusTypeDef
- ShrinkPolicyOutputTypeDef
- InstanceResizePolicyUnionTypeDef
- InstanceStatusTypeDef
- JobFlowInstancesDetailTypeDef
- ListBootstrapActionsInputListBootstrapActionsPaginateTypeDef
- ListClustersInputListClustersPaginateTypeDef
- ListInstanceFleetsInputListInstanceFleetsPaginateTypeDef
- ListInstanceGroupsInputListInstanceGroupsPaginateTypeDef
- ListInstancesInputListInstancesPaginateTypeDef
- ListNotebookExecutionsInputListNotebookExecutionsPaginateTypeDef
- ListSecurityConfigurationsInputListSecurityConfigurationsPaginateTypeDef
- ListStepsInputListStepsPaginateTypeDef
- ListStudioSessionMappingsInputListStudioSessionMappingsPaginateTypeDef
- ListStudiosInputListStudiosPaginateTypeDef
- ListReleaseLabelsInputRequestTypeDef
- ListSecurityConfigurationsOutputTypeDef
- ListStudioSessionMappingsOutputTypeDef
- ListStudiosOutputTypeDef
- ListSupportedInstanceTypesOutputTypeDef
- NotebookExecutionSummaryTypeDef
- NotebookExecutionTypeDef
- OnDemandProvisioningSpecificationTypeDef
- OnDemandResizingSpecificationTypeDef
- StartNotebookExecutionInputRequestTypeDef
- PlacementTypeUnionTypeDef
- ScalingActionTypeDef
- ScriptBootstrapActionConfigUnionTypeDef
- StepStatusTypeDef
- DescribeStudioOutputTypeDef
- GetBlockPublicAccessConfigurationOutputTypeDef
- PutBlockPublicAccessConfigurationInputRequestTypeDef
- BootstrapActionDetailTypeDef
- ScalingTriggerOutputTypeDef
- CloudWatchAlarmDefinitionUnionTypeDef
- ClusterSummaryTypeDef
- ClusterTypeDef
- GetManagedScalingPolicyOutputTypeDef
- PutManagedScalingPolicyInputRequestTypeDef
- GetClusterSessionCredentialsOutputTypeDef
- EbsConfigurationTypeDef
- InstanceTypeSpecificationPaginatorTypeDef
- InstanceTypeSpecificationTypeDef
- StepConfigOutputTypeDef
- HadoopJarStepConfigUnionTypeDef
- ShrinkPolicyTypeDef
- InstanceTypeDef
- ListNotebookExecutionsOutputTypeDef
- DescribeNotebookExecutionOutputTypeDef
- InstanceFleetProvisioningSpecificationsTypeDef
- InstanceFleetResizingSpecificationsTypeDef
- BootstrapActionConfigTypeDef
- StepSummaryTypeDef
- StepTypeDef
- ScalingRuleOutputTypeDef
- ScalingTriggerTypeDef
- ListClustersOutputTypeDef
- DescribeClusterOutputTypeDef
- InstanceTypeConfigTypeDef
- StepDetailTypeDef
- StepConfigTypeDef
- ShrinkPolicyUnionTypeDef
- ListInstancesOutputTypeDef
- InstanceFleetPaginatorTypeDef
- InstanceFleetTypeDef
- BootstrapActionConfigUnionTypeDef
- ListStepsOutputTypeDef
- DescribeStepOutputTypeDef
- AutoScalingPolicyDescriptionTypeDef
- ScalingTriggerUnionTypeDef
- InstanceFleetConfigTypeDef
- InstanceFleetModifyConfigTypeDef
- JobFlowDetailTypeDef
- StepConfigUnionTypeDef
- InstanceGroupModifyConfigTypeDef
- ListInstanceFleetsOutputPaginatorTypeDef
- ListInstanceFleetsOutputTypeDef
- InstanceGroupPaginatorTypeDef
- InstanceGroupTypeDef
- PutAutoScalingPolicyOutputTypeDef
- ScalingRuleTypeDef
- AddInstanceFleetInputRequestTypeDef
- ModifyInstanceFleetInputRequestTypeDef
- DescribeJobFlowsOutputTypeDef
- AddJobFlowStepsInputRequestTypeDef
- ModifyInstanceGroupsInputRequestTypeDef
- ListInstanceGroupsOutputPaginatorTypeDef
- ListInstanceGroupsOutputTypeDef
- ScalingRuleUnionTypeDef
- AutoScalingPolicyTypeDef
- InstanceGroupConfigTypeDef
- PutAutoScalingPolicyInputRequestTypeDef
- AddInstanceGroupsInputRequestTypeDef
- JobFlowInstancesConfigTypeDef
- RunJobFlowInputRequestTypeDef