EMR module#
Index > EMR
Auto-generated documentation for EMR type annotations stubs module types-boto3-emr.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3
AWS SDK. - Add
EMR
service. - Use provided commands to install generated packages.
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 types-boto3
for EMR
service.
# install with boto3 type annotations
python -m pip install 'types-boto3[emr]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-boto3-lite[emr]'
# standalone installation
python -m pip install types-boto3-emr
How to uninstall#
python -m pip uninstall -y types-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 types_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 types_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 types_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 types_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
- ScalingStrategyType
- 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
- DescribeClusterInputRequestTypeDef
- WaiterConfigTypeDef
- 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
- DescribeClusterInputWaitTypeDef
- DescribeStepInputWaitTypeDef
- DescribeJobFlowsInputRequestTypeDef
- ListClustersInputRequestTypeDef
- ListNotebookExecutionsInputRequestTypeDef
- DescribeReleaseLabelOutputTypeDef
- EbsBlockDeviceConfigTypeDef
- EbsBlockDeviceTypeDef
- GetStudioSessionMappingOutputTypeDef
- HadoopJarStepConfigOutputTypeDef
- HadoopJarStepConfigTypeDef
- InstanceFleetStatusTypeDef
- InstanceGroupStatusTypeDef
- ShrinkPolicyOutputTypeDef
- InstanceResizePolicyUnionTypeDef
- InstanceStatusTypeDef
- JobFlowInstancesDetailTypeDef
- ListBootstrapActionsInputPaginateTypeDef
- ListClustersInputPaginateTypeDef
- ListInstanceFleetsInputPaginateTypeDef
- ListInstanceGroupsInputPaginateTypeDef
- ListInstancesInputPaginateTypeDef
- ListNotebookExecutionsInputPaginateTypeDef
- ListSecurityConfigurationsInputPaginateTypeDef
- ListStepsInputPaginateTypeDef
- ListStudioSessionMappingsInputPaginateTypeDef
- ListStudiosInputPaginateTypeDef
- 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