Type definitions#
Auto-generated documentation for EMR type annotations stubs module mypy-boto3-emr.
TimestampTypeDef#
# TimestampTypeDef Union usage example
from mypy_boto3_emr.type_defs import TimestampTypeDef
def get_value() -> TimestampTypeDef:
return ...
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
ApplicationUnionTypeDef#
# ApplicationUnionTypeDef Union usage example
from mypy_boto3_emr.type_defs import ApplicationUnionTypeDef
def get_value() -> ApplicationUnionTypeDef:
return ...
# ApplicationUnionTypeDef definition
ApplicationUnionTypeDef = Union[
ApplicationTypeDef, # (1)
ApplicationOutputTypeDef, # (2)
]
ConfigurationUnionTypeDef#
# ConfigurationUnionTypeDef Union usage example
from mypy_boto3_emr.type_defs import ConfigurationUnionTypeDef
def get_value() -> ConfigurationUnionTypeDef:
return ...
# ConfigurationUnionTypeDef definition
ConfigurationUnionTypeDef = Union[
ConfigurationTypeDef, # (1)
ConfigurationOutputTypeDef, # (2)
]
InstanceResizePolicyUnionTypeDef#
# InstanceResizePolicyUnionTypeDef Union usage example
from mypy_boto3_emr.type_defs import InstanceResizePolicyUnionTypeDef
def get_value() -> InstanceResizePolicyUnionTypeDef:
return ...
# InstanceResizePolicyUnionTypeDef definition
InstanceResizePolicyUnionTypeDef = Union[
InstanceResizePolicyTypeDef, # (1)
InstanceResizePolicyOutputTypeDef, # (2)
]
PlacementTypeUnionTypeDef#
# PlacementTypeUnionTypeDef Union usage example
from mypy_boto3_emr.type_defs import PlacementTypeUnionTypeDef
def get_value() -> PlacementTypeUnionTypeDef:
return ...
# PlacementTypeUnionTypeDef definition
PlacementTypeUnionTypeDef = Union[
PlacementTypeTypeDef, # (1)
PlacementTypeOutputTypeDef, # (2)
]
ScriptBootstrapActionConfigUnionTypeDef#
# ScriptBootstrapActionConfigUnionTypeDef Union usage example
from mypy_boto3_emr.type_defs import ScriptBootstrapActionConfigUnionTypeDef
def get_value() -> ScriptBootstrapActionConfigUnionTypeDef:
return ...
# ScriptBootstrapActionConfigUnionTypeDef definition
ScriptBootstrapActionConfigUnionTypeDef = Union[
ScriptBootstrapActionConfigTypeDef, # (1)
ScriptBootstrapActionConfigOutputTypeDef, # (2)
]
BlockPublicAccessConfigurationUnionTypeDef#
# BlockPublicAccessConfigurationUnionTypeDef Union usage example
from mypy_boto3_emr.type_defs import BlockPublicAccessConfigurationUnionTypeDef
def get_value() -> BlockPublicAccessConfigurationUnionTypeDef:
return ...
# BlockPublicAccessConfigurationUnionTypeDef definition
BlockPublicAccessConfigurationUnionTypeDef = Union[
BlockPublicAccessConfigurationTypeDef, # (1)
BlockPublicAccessConfigurationOutputTypeDef, # (2)
]
CloudWatchAlarmDefinitionUnionTypeDef#
# CloudWatchAlarmDefinitionUnionTypeDef Union usage example
from mypy_boto3_emr.type_defs import CloudWatchAlarmDefinitionUnionTypeDef
def get_value() -> CloudWatchAlarmDefinitionUnionTypeDef:
return ...
# CloudWatchAlarmDefinitionUnionTypeDef definition
CloudWatchAlarmDefinitionUnionTypeDef = Union[
CloudWatchAlarmDefinitionTypeDef, # (1)
CloudWatchAlarmDefinitionOutputTypeDef, # (2)
]
HadoopJarStepConfigUnionTypeDef#
# HadoopJarStepConfigUnionTypeDef Union usage example
from mypy_boto3_emr.type_defs import HadoopJarStepConfigUnionTypeDef
def get_value() -> HadoopJarStepConfigUnionTypeDef:
return ...
# HadoopJarStepConfigUnionTypeDef definition
HadoopJarStepConfigUnionTypeDef = Union[
HadoopJarStepConfigTypeDef, # (1)
HadoopJarStepConfigOutputTypeDef, # (2)
]
ShrinkPolicyUnionTypeDef#
# ShrinkPolicyUnionTypeDef Union usage example
from mypy_boto3_emr.type_defs import ShrinkPolicyUnionTypeDef
def get_value() -> ShrinkPolicyUnionTypeDef:
return ...
# ShrinkPolicyUnionTypeDef definition
ShrinkPolicyUnionTypeDef = Union[
ShrinkPolicyTypeDef, # (1)
ShrinkPolicyOutputTypeDef, # (2)
]
BootstrapActionConfigUnionTypeDef#
# BootstrapActionConfigUnionTypeDef Union usage example
from mypy_boto3_emr.type_defs import BootstrapActionConfigUnionTypeDef
def get_value() -> BootstrapActionConfigUnionTypeDef:
return ...
# BootstrapActionConfigUnionTypeDef definition
BootstrapActionConfigUnionTypeDef = Union[
BootstrapActionConfigTypeDef, # (1)
BootstrapActionConfigOutputTypeDef, # (2)
]
ScalingTriggerUnionTypeDef#
# ScalingTriggerUnionTypeDef Union usage example
from mypy_boto3_emr.type_defs import ScalingTriggerUnionTypeDef
def get_value() -> ScalingTriggerUnionTypeDef:
return ...
# ScalingTriggerUnionTypeDef definition
ScalingTriggerUnionTypeDef = Union[
ScalingTriggerTypeDef, # (1)
ScalingTriggerOutputTypeDef, # (2)
]
StepConfigUnionTypeDef#
# StepConfigUnionTypeDef Union usage example
from mypy_boto3_emr.type_defs import StepConfigUnionTypeDef
def get_value() -> StepConfigUnionTypeDef:
return ...
# StepConfigUnionTypeDef definition
StepConfigUnionTypeDef = Union[
StepConfigTypeDef, # (1)
StepConfigOutputTypeDef, # (2)
]
ScalingRuleUnionTypeDef#
# ScalingRuleUnionTypeDef Union usage example
from mypy_boto3_emr.type_defs import ScalingRuleUnionTypeDef
def get_value() -> ScalingRuleUnionTypeDef:
return ...
# ScalingRuleUnionTypeDef definition
ScalingRuleUnionTypeDef = Union[
ScalingRuleTypeDef, # (1)
ScalingRuleOutputTypeDef, # (2)
]
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
TagTypeDef#
# TagTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"Key": ...,
}
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
ApplicationOutputTypeDef#
# ApplicationOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ApplicationOutputTypeDef
def get_value() -> ApplicationOutputTypeDef:
return {
"Name": ...,
}
# ApplicationOutputTypeDef definition
class ApplicationOutputTypeDef(TypedDict):
Name: NotRequired[str],
Version: NotRequired[str],
Args: NotRequired[List[str]],
AdditionalInfo: NotRequired[Dict[str, str]],
ApplicationTypeDef#
# ApplicationTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ApplicationTypeDef
def get_value() -> ApplicationTypeDef:
return {
"Name": ...,
}
# ApplicationTypeDef definition
class ApplicationTypeDef(TypedDict):
Name: NotRequired[str],
Version: NotRequired[str],
Args: NotRequired[Sequence[str]],
AdditionalInfo: NotRequired[Mapping[str, str]],
ScalingConstraintsTypeDef#
# ScalingConstraintsTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ScalingConstraintsTypeDef
def get_value() -> ScalingConstraintsTypeDef:
return {
"MinCapacity": ...,
}
# ScalingConstraintsTypeDef definition
class ScalingConstraintsTypeDef(TypedDict):
MinCapacity: int,
MaxCapacity: int,
AutoScalingPolicyStateChangeReasonTypeDef#
# AutoScalingPolicyStateChangeReasonTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import AutoScalingPolicyStateChangeReasonTypeDef
def get_value() -> AutoScalingPolicyStateChangeReasonTypeDef:
return {
"Code": ...,
}
# AutoScalingPolicyStateChangeReasonTypeDef definition
class AutoScalingPolicyStateChangeReasonTypeDef(TypedDict):
Code: NotRequired[AutoScalingPolicyStateChangeReasonCodeType], # (1)
Message: NotRequired[str],
AutoTerminationPolicyTypeDef#
# AutoTerminationPolicyTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import AutoTerminationPolicyTypeDef
def get_value() -> AutoTerminationPolicyTypeDef:
return {
"IdleTimeout": ...,
}
# AutoTerminationPolicyTypeDef definition
class AutoTerminationPolicyTypeDef(TypedDict):
IdleTimeout: NotRequired[int],
BlockPublicAccessConfigurationMetadataTypeDef#
# BlockPublicAccessConfigurationMetadataTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import BlockPublicAccessConfigurationMetadataTypeDef
def get_value() -> BlockPublicAccessConfigurationMetadataTypeDef:
return {
"CreationDateTime": ...,
}
# BlockPublicAccessConfigurationMetadataTypeDef definition
class BlockPublicAccessConfigurationMetadataTypeDef(TypedDict):
CreationDateTime: datetime,
CreatedByArn: str,
PortRangeTypeDef#
# PortRangeTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import PortRangeTypeDef
def get_value() -> PortRangeTypeDef:
return {
"MinRange": ...,
}
# PortRangeTypeDef definition
class PortRangeTypeDef(TypedDict):
MinRange: int,
MaxRange: NotRequired[int],
ScriptBootstrapActionConfigOutputTypeDef#
# ScriptBootstrapActionConfigOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ScriptBootstrapActionConfigOutputTypeDef
def get_value() -> ScriptBootstrapActionConfigOutputTypeDef:
return {
"Path": ...,
}
# ScriptBootstrapActionConfigOutputTypeDef definition
class ScriptBootstrapActionConfigOutputTypeDef(TypedDict):
Path: str,
Args: NotRequired[List[str]],
CancelStepsInfoTypeDef#
# CancelStepsInfoTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import CancelStepsInfoTypeDef
def get_value() -> CancelStepsInfoTypeDef:
return {
"StepId": ...,
}
# CancelStepsInfoTypeDef definition
class CancelStepsInfoTypeDef(TypedDict):
StepId: NotRequired[str],
Status: NotRequired[CancelStepsRequestStatusType], # (1)
Reason: NotRequired[str],
CancelStepsInputTypeDef#
# CancelStepsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import CancelStepsInputTypeDef
def get_value() -> CancelStepsInputTypeDef:
return {
"ClusterId": ...,
}
# CancelStepsInputTypeDef definition
class CancelStepsInputTypeDef(TypedDict):
ClusterId: str,
StepIds: Sequence[str],
StepCancellationOption: NotRequired[StepCancellationOptionType], # (1)
MetricDimensionTypeDef#
# MetricDimensionTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import MetricDimensionTypeDef
def get_value() -> MetricDimensionTypeDef:
return {
"Key": ...,
}
# MetricDimensionTypeDef definition
class MetricDimensionTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
ClusterStateChangeReasonTypeDef#
# ClusterStateChangeReasonTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ClusterStateChangeReasonTypeDef
def get_value() -> ClusterStateChangeReasonTypeDef:
return {
"Code": ...,
}
# ClusterStateChangeReasonTypeDef definition
class ClusterStateChangeReasonTypeDef(TypedDict):
Code: NotRequired[ClusterStateChangeReasonCodeType], # (1)
Message: NotRequired[str],
ClusterTimelineTypeDef#
# ClusterTimelineTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ClusterTimelineTypeDef
def get_value() -> ClusterTimelineTypeDef:
return {
"CreationDateTime": ...,
}
# ClusterTimelineTypeDef definition
class ClusterTimelineTypeDef(TypedDict):
CreationDateTime: NotRequired[datetime],
ReadyDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
ErrorDetailTypeDef#
# ErrorDetailTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ErrorDetailTypeDef
def get_value() -> ErrorDetailTypeDef:
return {
"ErrorCode": ...,
}
# ErrorDetailTypeDef definition
class ErrorDetailTypeDef(TypedDict):
ErrorCode: NotRequired[str],
ErrorData: NotRequired[List[Dict[str, str]]],
ErrorMessage: NotRequired[str],
ConfigurationOutputTypeDef#
# ConfigurationOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ConfigurationOutputTypeDef
def get_value() -> ConfigurationOutputTypeDef:
return {
"Classification": ...,
}
# ConfigurationOutputTypeDef definition
class ConfigurationOutputTypeDef(TypedDict):
Classification: NotRequired[str],
Configurations: NotRequired[List[Dict[str, Any]]],
Properties: NotRequired[Dict[str, str]],
Ec2InstanceAttributesTypeDef#
# Ec2InstanceAttributesTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import Ec2InstanceAttributesTypeDef
def get_value() -> Ec2InstanceAttributesTypeDef:
return {
"Ec2KeyName": ...,
}
# Ec2InstanceAttributesTypeDef definition
class Ec2InstanceAttributesTypeDef(TypedDict):
Ec2KeyName: NotRequired[str],
Ec2SubnetId: NotRequired[str],
RequestedEc2SubnetIds: NotRequired[List[str]],
Ec2AvailabilityZone: NotRequired[str],
RequestedEc2AvailabilityZones: NotRequired[List[str]],
IamInstanceProfile: NotRequired[str],
EmrManagedMasterSecurityGroup: NotRequired[str],
EmrManagedSlaveSecurityGroup: NotRequired[str],
ServiceAccessSecurityGroup: NotRequired[str],
AdditionalMasterSecurityGroups: NotRequired[List[str]],
AdditionalSlaveSecurityGroups: NotRequired[List[str]],
KerberosAttributesTypeDef#
# KerberosAttributesTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import KerberosAttributesTypeDef
def get_value() -> KerberosAttributesTypeDef:
return {
"Realm": ...,
}
# KerberosAttributesTypeDef definition
class KerberosAttributesTypeDef(TypedDict):
Realm: str,
KdcAdminPassword: str,
CrossRealmTrustPrincipalPassword: NotRequired[str],
ADDomainJoinUser: NotRequired[str],
ADDomainJoinPassword: NotRequired[str],
PlacementGroupConfigTypeDef#
# PlacementGroupConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import PlacementGroupConfigTypeDef
def get_value() -> PlacementGroupConfigTypeDef:
return {
"InstanceRole": ...,
}
# PlacementGroupConfigTypeDef definition
class PlacementGroupConfigTypeDef(TypedDict):
InstanceRole: InstanceRoleTypeType, # (1)
PlacementStrategy: NotRequired[PlacementGroupStrategyType], # (2)
CommandTypeDef#
# CommandTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import CommandTypeDef
def get_value() -> CommandTypeDef:
return {
"Name": ...,
}
# CommandTypeDef definition
class CommandTypeDef(TypedDict):
Name: NotRequired[str],
ScriptPath: NotRequired[str],
Args: NotRequired[List[str]],
ComputeLimitsTypeDef#
# ComputeLimitsTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ComputeLimitsTypeDef
def get_value() -> ComputeLimitsTypeDef:
return {
"UnitType": ...,
}
# ComputeLimitsTypeDef definition
class ComputeLimitsTypeDef(TypedDict):
UnitType: ComputeLimitsUnitTypeType, # (1)
MinimumCapacityUnits: int,
MaximumCapacityUnits: int,
MaximumOnDemandCapacityUnits: NotRequired[int],
MaximumCoreCapacityUnits: NotRequired[int],
ConfigurationPaginatorTypeDef#
# ConfigurationPaginatorTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ConfigurationPaginatorTypeDef
def get_value() -> ConfigurationPaginatorTypeDef:
return {
"Classification": ...,
}
# ConfigurationPaginatorTypeDef definition
class ConfigurationPaginatorTypeDef(TypedDict):
Classification: NotRequired[str],
Configurations: NotRequired[List[Dict[str, Any]]],
Properties: NotRequired[Dict[str, str]],
ConfigurationTypeDef#
# ConfigurationTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ConfigurationTypeDef
def get_value() -> ConfigurationTypeDef:
return {
"Classification": ...,
}
# ConfigurationTypeDef definition
class ConfigurationTypeDef(TypedDict):
Classification: NotRequired[str],
Configurations: NotRequired[Sequence[Mapping[str, Any]]],
Properties: NotRequired[Mapping[str, str]],
CreateSecurityConfigurationInputTypeDef#
# CreateSecurityConfigurationInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import CreateSecurityConfigurationInputTypeDef
def get_value() -> CreateSecurityConfigurationInputTypeDef:
return {
"Name": ...,
}
# CreateSecurityConfigurationInputTypeDef definition
class CreateSecurityConfigurationInputTypeDef(TypedDict):
Name: str,
SecurityConfiguration: str,
CreateStudioSessionMappingInputTypeDef#
# CreateStudioSessionMappingInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import CreateStudioSessionMappingInputTypeDef
def get_value() -> CreateStudioSessionMappingInputTypeDef:
return {
"StudioId": ...,
}
# CreateStudioSessionMappingInputTypeDef definition
class CreateStudioSessionMappingInputTypeDef(TypedDict):
StudioId: str,
IdentityType: IdentityTypeType, # (1)
SessionPolicyArn: str,
IdentityId: NotRequired[str],
IdentityName: NotRequired[str],
- See IdentityTypeType
UsernamePasswordTypeDef#
# UsernamePasswordTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import UsernamePasswordTypeDef
def get_value() -> UsernamePasswordTypeDef:
return {
"Username": ...,
}
# UsernamePasswordTypeDef definition
class UsernamePasswordTypeDef(TypedDict):
Username: NotRequired[str],
Password: NotRequired[str],
DeleteSecurityConfigurationInputTypeDef#
# DeleteSecurityConfigurationInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DeleteSecurityConfigurationInputTypeDef
def get_value() -> DeleteSecurityConfigurationInputTypeDef:
return {
"Name": ...,
}
# DeleteSecurityConfigurationInputTypeDef definition
class DeleteSecurityConfigurationInputTypeDef(TypedDict):
Name: str,
DeleteStudioInputTypeDef#
# DeleteStudioInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DeleteStudioInputTypeDef
def get_value() -> DeleteStudioInputTypeDef:
return {
"StudioId": ...,
}
# DeleteStudioInputTypeDef definition
class DeleteStudioInputTypeDef(TypedDict):
StudioId: str,
DeleteStudioSessionMappingInputTypeDef#
# DeleteStudioSessionMappingInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DeleteStudioSessionMappingInputTypeDef
def get_value() -> DeleteStudioSessionMappingInputTypeDef:
return {
"StudioId": ...,
}
# DeleteStudioSessionMappingInputTypeDef definition
class DeleteStudioSessionMappingInputTypeDef(TypedDict):
StudioId: str,
IdentityType: IdentityTypeType, # (1)
IdentityId: NotRequired[str],
IdentityName: NotRequired[str],
- See IdentityTypeType
DescribeClusterInputTypeDef#
# DescribeClusterInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeClusterInputTypeDef
def get_value() -> DescribeClusterInputTypeDef:
return {
"ClusterId": ...,
}
# DescribeClusterInputTypeDef definition
class DescribeClusterInputTypeDef(TypedDict):
ClusterId: str,
WaiterConfigTypeDef#
# WaiterConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import WaiterConfigTypeDef
def get_value() -> WaiterConfigTypeDef:
return {
"Delay": ...,
}
# WaiterConfigTypeDef definition
class WaiterConfigTypeDef(TypedDict):
Delay: NotRequired[int],
MaxAttempts: NotRequired[int],
DescribeNotebookExecutionInputTypeDef#
# DescribeNotebookExecutionInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeNotebookExecutionInputTypeDef
def get_value() -> DescribeNotebookExecutionInputTypeDef:
return {
"NotebookExecutionId": ...,
}
# DescribeNotebookExecutionInputTypeDef definition
class DescribeNotebookExecutionInputTypeDef(TypedDict):
NotebookExecutionId: str,
DescribeReleaseLabelInputTypeDef#
# DescribeReleaseLabelInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeReleaseLabelInputTypeDef
def get_value() -> DescribeReleaseLabelInputTypeDef:
return {
"ReleaseLabel": ...,
}
# DescribeReleaseLabelInputTypeDef definition
class DescribeReleaseLabelInputTypeDef(TypedDict):
ReleaseLabel: NotRequired[str],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
OSReleaseTypeDef#
# OSReleaseTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import OSReleaseTypeDef
def get_value() -> OSReleaseTypeDef:
return {
"Label": ...,
}
# OSReleaseTypeDef definition
class OSReleaseTypeDef(TypedDict):
Label: NotRequired[str],
SimplifiedApplicationTypeDef#
# SimplifiedApplicationTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import SimplifiedApplicationTypeDef
def get_value() -> SimplifiedApplicationTypeDef:
return {
"Name": ...,
}
# SimplifiedApplicationTypeDef definition
class SimplifiedApplicationTypeDef(TypedDict):
Name: NotRequired[str],
Version: NotRequired[str],
DescribeSecurityConfigurationInputTypeDef#
# DescribeSecurityConfigurationInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeSecurityConfigurationInputTypeDef
def get_value() -> DescribeSecurityConfigurationInputTypeDef:
return {
"Name": ...,
}
# DescribeSecurityConfigurationInputTypeDef definition
class DescribeSecurityConfigurationInputTypeDef(TypedDict):
Name: str,
DescribeStepInputTypeDef#
# DescribeStepInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeStepInputTypeDef
def get_value() -> DescribeStepInputTypeDef:
return {
"ClusterId": ...,
}
# DescribeStepInputTypeDef definition
class DescribeStepInputTypeDef(TypedDict):
ClusterId: str,
StepId: str,
DescribeStudioInputTypeDef#
# DescribeStudioInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeStudioInputTypeDef
def get_value() -> DescribeStudioInputTypeDef:
return {
"StudioId": ...,
}
# DescribeStudioInputTypeDef definition
class DescribeStudioInputTypeDef(TypedDict):
StudioId: str,
VolumeSpecificationTypeDef#
# VolumeSpecificationTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import VolumeSpecificationTypeDef
def get_value() -> VolumeSpecificationTypeDef:
return {
"VolumeType": ...,
}
# VolumeSpecificationTypeDef definition
class VolumeSpecificationTypeDef(TypedDict):
VolumeType: str,
SizeInGB: int,
Iops: NotRequired[int],
Throughput: NotRequired[int],
EbsVolumeTypeDef#
# EbsVolumeTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import EbsVolumeTypeDef
def get_value() -> EbsVolumeTypeDef:
return {
"Device": ...,
}
# EbsVolumeTypeDef definition
class EbsVolumeTypeDef(TypedDict):
Device: NotRequired[str],
VolumeId: NotRequired[str],
ExecutionEngineConfigTypeDef#
# ExecutionEngineConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ExecutionEngineConfigTypeDef
def get_value() -> ExecutionEngineConfigTypeDef:
return {
"Id": ...,
}
# ExecutionEngineConfigTypeDef definition
class ExecutionEngineConfigTypeDef(TypedDict):
Id: str,
Type: NotRequired[ExecutionEngineTypeType], # (1)
MasterInstanceSecurityGroupId: NotRequired[str],
ExecutionRoleArn: NotRequired[str],
FailureDetailsTypeDef#
# FailureDetailsTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import FailureDetailsTypeDef
def get_value() -> FailureDetailsTypeDef:
return {
"Reason": ...,
}
# FailureDetailsTypeDef definition
class FailureDetailsTypeDef(TypedDict):
Reason: NotRequired[str],
Message: NotRequired[str],
LogFile: NotRequired[str],
GetAutoTerminationPolicyInputTypeDef#
# GetAutoTerminationPolicyInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import GetAutoTerminationPolicyInputTypeDef
def get_value() -> GetAutoTerminationPolicyInputTypeDef:
return {
"ClusterId": ...,
}
# GetAutoTerminationPolicyInputTypeDef definition
class GetAutoTerminationPolicyInputTypeDef(TypedDict):
ClusterId: str,
GetClusterSessionCredentialsInputTypeDef#
# GetClusterSessionCredentialsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import GetClusterSessionCredentialsInputTypeDef
def get_value() -> GetClusterSessionCredentialsInputTypeDef:
return {
"ClusterId": ...,
}
# GetClusterSessionCredentialsInputTypeDef definition
class GetClusterSessionCredentialsInputTypeDef(TypedDict):
ClusterId: str,
ExecutionRoleArn: NotRequired[str],
GetManagedScalingPolicyInputTypeDef#
# GetManagedScalingPolicyInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import GetManagedScalingPolicyInputTypeDef
def get_value() -> GetManagedScalingPolicyInputTypeDef:
return {
"ClusterId": ...,
}
# GetManagedScalingPolicyInputTypeDef definition
class GetManagedScalingPolicyInputTypeDef(TypedDict):
ClusterId: str,
GetStudioSessionMappingInputTypeDef#
# GetStudioSessionMappingInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import GetStudioSessionMappingInputTypeDef
def get_value() -> GetStudioSessionMappingInputTypeDef:
return {
"StudioId": ...,
}
# GetStudioSessionMappingInputTypeDef definition
class GetStudioSessionMappingInputTypeDef(TypedDict):
StudioId: str,
IdentityType: IdentityTypeType, # (1)
IdentityId: NotRequired[str],
IdentityName: NotRequired[str],
- See IdentityTypeType
SessionMappingDetailTypeDef#
# SessionMappingDetailTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import SessionMappingDetailTypeDef
def get_value() -> SessionMappingDetailTypeDef:
return {
"StudioId": ...,
}
# SessionMappingDetailTypeDef definition
class SessionMappingDetailTypeDef(TypedDict):
StudioId: NotRequired[str],
IdentityId: NotRequired[str],
IdentityName: NotRequired[str],
IdentityType: NotRequired[IdentityTypeType], # (1)
SessionPolicyArn: NotRequired[str],
CreationTime: NotRequired[datetime],
LastModifiedTime: NotRequired[datetime],
- See IdentityTypeType
KeyValueTypeDef#
# KeyValueTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import KeyValueTypeDef
def get_value() -> KeyValueTypeDef:
return {
"Key": ...,
}
# KeyValueTypeDef definition
class KeyValueTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
HadoopStepConfigTypeDef#
# HadoopStepConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import HadoopStepConfigTypeDef
def get_value() -> HadoopStepConfigTypeDef:
return {
"Jar": ...,
}
# HadoopStepConfigTypeDef definition
class HadoopStepConfigTypeDef(TypedDict):
Jar: NotRequired[str],
Properties: NotRequired[Dict[str, str]],
MainClass: NotRequired[str],
Args: NotRequired[List[str]],
SpotProvisioningSpecificationTypeDef#
# SpotProvisioningSpecificationTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import SpotProvisioningSpecificationTypeDef
def get_value() -> SpotProvisioningSpecificationTypeDef:
return {
"TimeoutDurationMinutes": ...,
}
# SpotProvisioningSpecificationTypeDef definition
class SpotProvisioningSpecificationTypeDef(TypedDict):
TimeoutDurationMinutes: int,
TimeoutAction: SpotProvisioningTimeoutActionType, # (1)
BlockDurationMinutes: NotRequired[int],
AllocationStrategy: NotRequired[SpotProvisioningAllocationStrategyType], # (2)
SpotResizingSpecificationTypeDef#
# SpotResizingSpecificationTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import SpotResizingSpecificationTypeDef
def get_value() -> SpotResizingSpecificationTypeDef:
return {
"TimeoutDurationMinutes": ...,
}
# SpotResizingSpecificationTypeDef definition
class SpotResizingSpecificationTypeDef(TypedDict):
TimeoutDurationMinutes: NotRequired[int],
AllocationStrategy: NotRequired[SpotProvisioningAllocationStrategyType], # (1)
InstanceFleetStateChangeReasonTypeDef#
# InstanceFleetStateChangeReasonTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceFleetStateChangeReasonTypeDef
def get_value() -> InstanceFleetStateChangeReasonTypeDef:
return {
"Code": ...,
}
# InstanceFleetStateChangeReasonTypeDef definition
class InstanceFleetStateChangeReasonTypeDef(TypedDict):
Code: NotRequired[InstanceFleetStateChangeReasonCodeType], # (1)
Message: NotRequired[str],
InstanceFleetTimelineTypeDef#
# InstanceFleetTimelineTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceFleetTimelineTypeDef
def get_value() -> InstanceFleetTimelineTypeDef:
return {
"CreationDateTime": ...,
}
# InstanceFleetTimelineTypeDef definition
class InstanceFleetTimelineTypeDef(TypedDict):
CreationDateTime: NotRequired[datetime],
ReadyDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
InstanceGroupDetailTypeDef#
# InstanceGroupDetailTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceGroupDetailTypeDef
def get_value() -> InstanceGroupDetailTypeDef:
return {
"InstanceGroupId": ...,
}
# InstanceGroupDetailTypeDef definition
class InstanceGroupDetailTypeDef(TypedDict):
Market: MarketTypeType, # (1)
InstanceRole: InstanceRoleTypeType, # (2)
InstanceType: str,
InstanceRequestCount: int,
InstanceRunningCount: int,
State: InstanceGroupStateType, # (3)
CreationDateTime: datetime,
InstanceGroupId: NotRequired[str],
Name: NotRequired[str],
BidPrice: NotRequired[str],
LastStateChangeReason: NotRequired[str],
StartDateTime: NotRequired[datetime],
ReadyDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
CustomAmiId: NotRequired[str],
- See MarketTypeType
- See InstanceRoleTypeType
- See InstanceGroupStateType
InstanceGroupStateChangeReasonTypeDef#
# InstanceGroupStateChangeReasonTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceGroupStateChangeReasonTypeDef
def get_value() -> InstanceGroupStateChangeReasonTypeDef:
return {
"Code": ...,
}
# InstanceGroupStateChangeReasonTypeDef definition
class InstanceGroupStateChangeReasonTypeDef(TypedDict):
Code: NotRequired[InstanceGroupStateChangeReasonCodeType], # (1)
Message: NotRequired[str],
InstanceGroupTimelineTypeDef#
# InstanceGroupTimelineTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceGroupTimelineTypeDef
def get_value() -> InstanceGroupTimelineTypeDef:
return {
"CreationDateTime": ...,
}
# InstanceGroupTimelineTypeDef definition
class InstanceGroupTimelineTypeDef(TypedDict):
CreationDateTime: NotRequired[datetime],
ReadyDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
InstanceResizePolicyOutputTypeDef#
# InstanceResizePolicyOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceResizePolicyOutputTypeDef
def get_value() -> InstanceResizePolicyOutputTypeDef:
return {
"InstancesToTerminate": ...,
}
# InstanceResizePolicyOutputTypeDef definition
class InstanceResizePolicyOutputTypeDef(TypedDict):
InstancesToTerminate: NotRequired[List[str]],
InstancesToProtect: NotRequired[List[str]],
InstanceTerminationTimeout: NotRequired[int],
InstanceResizePolicyTypeDef#
# InstanceResizePolicyTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceResizePolicyTypeDef
def get_value() -> InstanceResizePolicyTypeDef:
return {
"InstancesToTerminate": ...,
}
# InstanceResizePolicyTypeDef definition
class InstanceResizePolicyTypeDef(TypedDict):
InstancesToTerminate: NotRequired[Sequence[str]],
InstancesToProtect: NotRequired[Sequence[str]],
InstanceTerminationTimeout: NotRequired[int],
InstanceStateChangeReasonTypeDef#
# InstanceStateChangeReasonTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceStateChangeReasonTypeDef
def get_value() -> InstanceStateChangeReasonTypeDef:
return {
"Code": ...,
}
# InstanceStateChangeReasonTypeDef definition
class InstanceStateChangeReasonTypeDef(TypedDict):
Code: NotRequired[InstanceStateChangeReasonCodeType], # (1)
Message: NotRequired[str],
InstanceTimelineTypeDef#
# InstanceTimelineTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceTimelineTypeDef
def get_value() -> InstanceTimelineTypeDef:
return {
"CreationDateTime": ...,
}
# InstanceTimelineTypeDef definition
class InstanceTimelineTypeDef(TypedDict):
CreationDateTime: NotRequired[datetime],
ReadyDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
JobFlowExecutionStatusDetailTypeDef#
# JobFlowExecutionStatusDetailTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import JobFlowExecutionStatusDetailTypeDef
def get_value() -> JobFlowExecutionStatusDetailTypeDef:
return {
"State": ...,
}
# JobFlowExecutionStatusDetailTypeDef definition
class JobFlowExecutionStatusDetailTypeDef(TypedDict):
State: JobFlowExecutionStateType, # (1)
CreationDateTime: datetime,
StartDateTime: NotRequired[datetime],
ReadyDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
LastStateChangeReason: NotRequired[str],
PlacementTypeOutputTypeDef#
# PlacementTypeOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import PlacementTypeOutputTypeDef
def get_value() -> PlacementTypeOutputTypeDef:
return {
"AvailabilityZone": ...,
}
# PlacementTypeOutputTypeDef definition
class PlacementTypeOutputTypeDef(TypedDict):
AvailabilityZone: NotRequired[str],
AvailabilityZones: NotRequired[List[str]],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListBootstrapActionsInputTypeDef#
# ListBootstrapActionsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListBootstrapActionsInputTypeDef
def get_value() -> ListBootstrapActionsInputTypeDef:
return {
"ClusterId": ...,
}
# ListBootstrapActionsInputTypeDef definition
class ListBootstrapActionsInputTypeDef(TypedDict):
ClusterId: str,
Marker: NotRequired[str],
ListInstanceFleetsInputTypeDef#
# ListInstanceFleetsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListInstanceFleetsInputTypeDef
def get_value() -> ListInstanceFleetsInputTypeDef:
return {
"ClusterId": ...,
}
# ListInstanceFleetsInputTypeDef definition
class ListInstanceFleetsInputTypeDef(TypedDict):
ClusterId: str,
Marker: NotRequired[str],
ListInstanceGroupsInputTypeDef#
# ListInstanceGroupsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListInstanceGroupsInputTypeDef
def get_value() -> ListInstanceGroupsInputTypeDef:
return {
"ClusterId": ...,
}
# ListInstanceGroupsInputTypeDef definition
class ListInstanceGroupsInputTypeDef(TypedDict):
ClusterId: str,
Marker: NotRequired[str],
ListInstancesInputTypeDef#
# ListInstancesInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListInstancesInputTypeDef
def get_value() -> ListInstancesInputTypeDef:
return {
"ClusterId": ...,
}
# ListInstancesInputTypeDef definition
class ListInstancesInputTypeDef(TypedDict):
ClusterId: str,
InstanceGroupId: NotRequired[str],
InstanceGroupTypes: NotRequired[Sequence[InstanceGroupTypeType]], # (1)
InstanceFleetId: NotRequired[str],
InstanceFleetType: NotRequired[InstanceFleetTypeType], # (2)
InstanceStates: NotRequired[Sequence[InstanceStateType]], # (3)
Marker: NotRequired[str],
ReleaseLabelFilterTypeDef#
# ReleaseLabelFilterTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ReleaseLabelFilterTypeDef
def get_value() -> ReleaseLabelFilterTypeDef:
return {
"Prefix": ...,
}
# ReleaseLabelFilterTypeDef definition
class ReleaseLabelFilterTypeDef(TypedDict):
Prefix: NotRequired[str],
Application: NotRequired[str],
ListSecurityConfigurationsInputTypeDef#
# ListSecurityConfigurationsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListSecurityConfigurationsInputTypeDef
def get_value() -> ListSecurityConfigurationsInputTypeDef:
return {
"Marker": ...,
}
# ListSecurityConfigurationsInputTypeDef definition
class ListSecurityConfigurationsInputTypeDef(TypedDict):
Marker: NotRequired[str],
SecurityConfigurationSummaryTypeDef#
# SecurityConfigurationSummaryTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import SecurityConfigurationSummaryTypeDef
def get_value() -> SecurityConfigurationSummaryTypeDef:
return {
"Name": ...,
}
# SecurityConfigurationSummaryTypeDef definition
class SecurityConfigurationSummaryTypeDef(TypedDict):
Name: NotRequired[str],
CreationDateTime: NotRequired[datetime],
ListStepsInputTypeDef#
# ListStepsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListStepsInputTypeDef
def get_value() -> ListStepsInputTypeDef:
return {
"ClusterId": ...,
}
# ListStepsInputTypeDef definition
class ListStepsInputTypeDef(TypedDict):
ClusterId: str,
StepStates: NotRequired[Sequence[StepStateType]], # (1)
StepIds: NotRequired[Sequence[str]],
Marker: NotRequired[str],
- See StepStateType
ListStudioSessionMappingsInputTypeDef#
# ListStudioSessionMappingsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListStudioSessionMappingsInputTypeDef
def get_value() -> ListStudioSessionMappingsInputTypeDef:
return {
"StudioId": ...,
}
# ListStudioSessionMappingsInputTypeDef definition
class ListStudioSessionMappingsInputTypeDef(TypedDict):
StudioId: NotRequired[str],
IdentityType: NotRequired[IdentityTypeType], # (1)
Marker: NotRequired[str],
- See IdentityTypeType
SessionMappingSummaryTypeDef#
# SessionMappingSummaryTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import SessionMappingSummaryTypeDef
def get_value() -> SessionMappingSummaryTypeDef:
return {
"StudioId": ...,
}
# SessionMappingSummaryTypeDef definition
class SessionMappingSummaryTypeDef(TypedDict):
StudioId: NotRequired[str],
IdentityId: NotRequired[str],
IdentityName: NotRequired[str],
IdentityType: NotRequired[IdentityTypeType], # (1)
SessionPolicyArn: NotRequired[str],
CreationTime: NotRequired[datetime],
- See IdentityTypeType
ListStudiosInputTypeDef#
# ListStudiosInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListStudiosInputTypeDef
def get_value() -> ListStudiosInputTypeDef:
return {
"Marker": ...,
}
# ListStudiosInputTypeDef definition
class ListStudiosInputTypeDef(TypedDict):
Marker: NotRequired[str],
StudioSummaryTypeDef#
# StudioSummaryTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import StudioSummaryTypeDef
def get_value() -> StudioSummaryTypeDef:
return {
"StudioId": ...,
}
# StudioSummaryTypeDef definition
class StudioSummaryTypeDef(TypedDict):
StudioId: NotRequired[str],
Name: NotRequired[str],
VpcId: NotRequired[str],
Description: NotRequired[str],
Url: NotRequired[str],
AuthMode: NotRequired[AuthModeType], # (1)
CreationTime: NotRequired[datetime],
- See AuthModeType
ListSupportedInstanceTypesInputTypeDef#
# ListSupportedInstanceTypesInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListSupportedInstanceTypesInputTypeDef
def get_value() -> ListSupportedInstanceTypesInputTypeDef:
return {
"ReleaseLabel": ...,
}
# ListSupportedInstanceTypesInputTypeDef definition
class ListSupportedInstanceTypesInputTypeDef(TypedDict):
ReleaseLabel: str,
Marker: NotRequired[str],
SupportedInstanceTypeTypeDef#
# SupportedInstanceTypeTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import SupportedInstanceTypeTypeDef
def get_value() -> SupportedInstanceTypeTypeDef:
return {
"Type": ...,
}
# SupportedInstanceTypeTypeDef definition
class SupportedInstanceTypeTypeDef(TypedDict):
Type: NotRequired[str],
MemoryGB: NotRequired[float],
StorageGB: NotRequired[int],
VCPU: NotRequired[int],
Is64BitsOnly: NotRequired[bool],
InstanceFamilyId: NotRequired[str],
EbsOptimizedAvailable: NotRequired[bool],
EbsOptimizedByDefault: NotRequired[bool],
NumberOfDisks: NotRequired[int],
EbsStorageOnly: NotRequired[bool],
Architecture: NotRequired[str],
ModifyClusterInputTypeDef#
# ModifyClusterInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ModifyClusterInputTypeDef
def get_value() -> ModifyClusterInputTypeDef:
return {
"ClusterId": ...,
}
# ModifyClusterInputTypeDef definition
class ModifyClusterInputTypeDef(TypedDict):
ClusterId: str,
StepConcurrencyLevel: NotRequired[int],
NotebookS3LocationForOutputTypeDef#
# NotebookS3LocationForOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import NotebookS3LocationForOutputTypeDef
def get_value() -> NotebookS3LocationForOutputTypeDef:
return {
"Bucket": ...,
}
# NotebookS3LocationForOutputTypeDef definition
class NotebookS3LocationForOutputTypeDef(TypedDict):
Bucket: NotRequired[str],
Key: NotRequired[str],
OutputNotebookS3LocationForOutputTypeDef#
# OutputNotebookS3LocationForOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import OutputNotebookS3LocationForOutputTypeDef
def get_value() -> OutputNotebookS3LocationForOutputTypeDef:
return {
"Bucket": ...,
}
# OutputNotebookS3LocationForOutputTypeDef definition
class OutputNotebookS3LocationForOutputTypeDef(TypedDict):
Bucket: NotRequired[str],
Key: NotRequired[str],
NotebookS3LocationFromInputTypeDef#
# NotebookS3LocationFromInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import NotebookS3LocationFromInputTypeDef
def get_value() -> NotebookS3LocationFromInputTypeDef:
return {
"Bucket": ...,
}
# NotebookS3LocationFromInputTypeDef definition
class NotebookS3LocationFromInputTypeDef(TypedDict):
Bucket: NotRequired[str],
Key: NotRequired[str],
OnDemandCapacityReservationOptionsTypeDef#
# OnDemandCapacityReservationOptionsTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import OnDemandCapacityReservationOptionsTypeDef
def get_value() -> OnDemandCapacityReservationOptionsTypeDef:
return {
"UsageStrategy": ...,
}
# OnDemandCapacityReservationOptionsTypeDef definition
class OnDemandCapacityReservationOptionsTypeDef(TypedDict):
UsageStrategy: NotRequired[OnDemandCapacityReservationUsageStrategyType], # (1)
CapacityReservationPreference: NotRequired[OnDemandCapacityReservationPreferenceType], # (2)
CapacityReservationResourceGroupArn: NotRequired[str],
OutputNotebookS3LocationFromInputTypeDef#
# OutputNotebookS3LocationFromInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import OutputNotebookS3LocationFromInputTypeDef
def get_value() -> OutputNotebookS3LocationFromInputTypeDef:
return {
"Bucket": ...,
}
# OutputNotebookS3LocationFromInputTypeDef definition
class OutputNotebookS3LocationFromInputTypeDef(TypedDict):
Bucket: NotRequired[str],
Key: NotRequired[str],
PlacementTypeTypeDef#
# PlacementTypeTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import PlacementTypeTypeDef
def get_value() -> PlacementTypeTypeDef:
return {
"AvailabilityZone": ...,
}
# PlacementTypeTypeDef definition
class PlacementTypeTypeDef(TypedDict):
AvailabilityZone: NotRequired[str],
AvailabilityZones: NotRequired[Sequence[str]],
RemoveAutoScalingPolicyInputTypeDef#
# RemoveAutoScalingPolicyInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import RemoveAutoScalingPolicyInputTypeDef
def get_value() -> RemoveAutoScalingPolicyInputTypeDef:
return {
"ClusterId": ...,
}
# RemoveAutoScalingPolicyInputTypeDef definition
class RemoveAutoScalingPolicyInputTypeDef(TypedDict):
ClusterId: str,
InstanceGroupId: str,
RemoveAutoTerminationPolicyInputTypeDef#
# RemoveAutoTerminationPolicyInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import RemoveAutoTerminationPolicyInputTypeDef
def get_value() -> RemoveAutoTerminationPolicyInputTypeDef:
return {
"ClusterId": ...,
}
# RemoveAutoTerminationPolicyInputTypeDef definition
class RemoveAutoTerminationPolicyInputTypeDef(TypedDict):
ClusterId: str,
RemoveManagedScalingPolicyInputTypeDef#
# RemoveManagedScalingPolicyInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import RemoveManagedScalingPolicyInputTypeDef
def get_value() -> RemoveManagedScalingPolicyInputTypeDef:
return {
"ClusterId": ...,
}
# RemoveManagedScalingPolicyInputTypeDef definition
class RemoveManagedScalingPolicyInputTypeDef(TypedDict):
ClusterId: str,
RemoveTagsInputTypeDef#
# RemoveTagsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import RemoveTagsInputTypeDef
def get_value() -> RemoveTagsInputTypeDef:
return {
"ResourceId": ...,
}
# RemoveTagsInputTypeDef definition
class RemoveTagsInputTypeDef(TypedDict):
ResourceId: str,
TagKeys: Sequence[str],
SupportedProductConfigTypeDef#
# SupportedProductConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import SupportedProductConfigTypeDef
def get_value() -> SupportedProductConfigTypeDef:
return {
"Name": ...,
}
# SupportedProductConfigTypeDef definition
class SupportedProductConfigTypeDef(TypedDict):
Name: NotRequired[str],
Args: NotRequired[Sequence[str]],
SimpleScalingPolicyConfigurationTypeDef#
# SimpleScalingPolicyConfigurationTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import SimpleScalingPolicyConfigurationTypeDef
def get_value() -> SimpleScalingPolicyConfigurationTypeDef:
return {
"AdjustmentType": ...,
}
# SimpleScalingPolicyConfigurationTypeDef definition
class SimpleScalingPolicyConfigurationTypeDef(TypedDict):
ScalingAdjustment: int,
AdjustmentType: NotRequired[AdjustmentTypeType], # (1)
CoolDown: NotRequired[int],
ScriptBootstrapActionConfigTypeDef#
# ScriptBootstrapActionConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ScriptBootstrapActionConfigTypeDef
def get_value() -> ScriptBootstrapActionConfigTypeDef:
return {
"Path": ...,
}
# ScriptBootstrapActionConfigTypeDef definition
class ScriptBootstrapActionConfigTypeDef(TypedDict):
Path: str,
Args: NotRequired[Sequence[str]],
SetKeepJobFlowAliveWhenNoStepsInputTypeDef#
# SetKeepJobFlowAliveWhenNoStepsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import SetKeepJobFlowAliveWhenNoStepsInputTypeDef
def get_value() -> SetKeepJobFlowAliveWhenNoStepsInputTypeDef:
return {
"JobFlowIds": ...,
}
# SetKeepJobFlowAliveWhenNoStepsInputTypeDef definition
class SetKeepJobFlowAliveWhenNoStepsInputTypeDef(TypedDict):
JobFlowIds: Sequence[str],
KeepJobFlowAliveWhenNoSteps: bool,
SetTerminationProtectionInputTypeDef#
# SetTerminationProtectionInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import SetTerminationProtectionInputTypeDef
def get_value() -> SetTerminationProtectionInputTypeDef:
return {
"JobFlowIds": ...,
}
# SetTerminationProtectionInputTypeDef definition
class SetTerminationProtectionInputTypeDef(TypedDict):
JobFlowIds: Sequence[str],
TerminationProtected: bool,
SetUnhealthyNodeReplacementInputTypeDef#
# SetUnhealthyNodeReplacementInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import SetUnhealthyNodeReplacementInputTypeDef
def get_value() -> SetUnhealthyNodeReplacementInputTypeDef:
return {
"JobFlowIds": ...,
}
# SetUnhealthyNodeReplacementInputTypeDef definition
class SetUnhealthyNodeReplacementInputTypeDef(TypedDict):
JobFlowIds: Sequence[str],
UnhealthyNodeReplacement: bool,
SetVisibleToAllUsersInputTypeDef#
# SetVisibleToAllUsersInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import SetVisibleToAllUsersInputTypeDef
def get_value() -> SetVisibleToAllUsersInputTypeDef:
return {
"JobFlowIds": ...,
}
# SetVisibleToAllUsersInputTypeDef definition
class SetVisibleToAllUsersInputTypeDef(TypedDict):
JobFlowIds: Sequence[str],
VisibleToAllUsers: bool,
StepExecutionStatusDetailTypeDef#
# StepExecutionStatusDetailTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import StepExecutionStatusDetailTypeDef
def get_value() -> StepExecutionStatusDetailTypeDef:
return {
"State": ...,
}
# StepExecutionStatusDetailTypeDef definition
class StepExecutionStatusDetailTypeDef(TypedDict):
State: StepExecutionStateType, # (1)
CreationDateTime: datetime,
StartDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
LastStateChangeReason: NotRequired[str],
StepStateChangeReasonTypeDef#
# StepStateChangeReasonTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import StepStateChangeReasonTypeDef
def get_value() -> StepStateChangeReasonTypeDef:
return {
"Code": ...,
}
# StepStateChangeReasonTypeDef definition
class StepStateChangeReasonTypeDef(TypedDict):
Code: NotRequired[StepStateChangeReasonCodeType], # (1)
Message: NotRequired[str],
StepTimelineTypeDef#
# StepTimelineTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import StepTimelineTypeDef
def get_value() -> StepTimelineTypeDef:
return {
"CreationDateTime": ...,
}
# StepTimelineTypeDef definition
class StepTimelineTypeDef(TypedDict):
CreationDateTime: NotRequired[datetime],
StartDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
StopNotebookExecutionInputTypeDef#
# StopNotebookExecutionInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import StopNotebookExecutionInputTypeDef
def get_value() -> StopNotebookExecutionInputTypeDef:
return {
"NotebookExecutionId": ...,
}
# StopNotebookExecutionInputTypeDef definition
class StopNotebookExecutionInputTypeDef(TypedDict):
NotebookExecutionId: str,
TerminateJobFlowsInputTypeDef#
# TerminateJobFlowsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import TerminateJobFlowsInputTypeDef
def get_value() -> TerminateJobFlowsInputTypeDef:
return {
"JobFlowIds": ...,
}
# TerminateJobFlowsInputTypeDef definition
class TerminateJobFlowsInputTypeDef(TypedDict):
JobFlowIds: Sequence[str],
UpdateStudioInputTypeDef#
# UpdateStudioInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import UpdateStudioInputTypeDef
def get_value() -> UpdateStudioInputTypeDef:
return {
"StudioId": ...,
}
# UpdateStudioInputTypeDef definition
class UpdateStudioInputTypeDef(TypedDict):
StudioId: str,
Name: NotRequired[str],
Description: NotRequired[str],
SubnetIds: NotRequired[Sequence[str]],
DefaultS3Location: NotRequired[str],
EncryptionKeyArn: NotRequired[str],
UpdateStudioSessionMappingInputTypeDef#
# UpdateStudioSessionMappingInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import UpdateStudioSessionMappingInputTypeDef
def get_value() -> UpdateStudioSessionMappingInputTypeDef:
return {
"StudioId": ...,
}
# UpdateStudioSessionMappingInputTypeDef definition
class UpdateStudioSessionMappingInputTypeDef(TypedDict):
StudioId: str,
IdentityType: IdentityTypeType, # (1)
SessionPolicyArn: str,
IdentityId: NotRequired[str],
IdentityName: NotRequired[str],
- See IdentityTypeType
AddInstanceFleetOutputTypeDef#
# AddInstanceFleetOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import AddInstanceFleetOutputTypeDef
def get_value() -> AddInstanceFleetOutputTypeDef:
return {
"ClusterId": ...,
}
# AddInstanceFleetOutputTypeDef definition
class AddInstanceFleetOutputTypeDef(TypedDict):
ClusterId: str,
InstanceFleetId: str,
ClusterArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
AddInstanceGroupsOutputTypeDef#
# AddInstanceGroupsOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import AddInstanceGroupsOutputTypeDef
def get_value() -> AddInstanceGroupsOutputTypeDef:
return {
"JobFlowId": ...,
}
# AddInstanceGroupsOutputTypeDef definition
class AddInstanceGroupsOutputTypeDef(TypedDict):
JobFlowId: str,
InstanceGroupIds: List[str],
ClusterArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
AddJobFlowStepsOutputTypeDef#
# AddJobFlowStepsOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import AddJobFlowStepsOutputTypeDef
def get_value() -> AddJobFlowStepsOutputTypeDef:
return {
"StepIds": ...,
}
# AddJobFlowStepsOutputTypeDef definition
class AddJobFlowStepsOutputTypeDef(TypedDict):
StepIds: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateSecurityConfigurationOutputTypeDef#
# CreateSecurityConfigurationOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import CreateSecurityConfigurationOutputTypeDef
def get_value() -> CreateSecurityConfigurationOutputTypeDef:
return {
"Name": ...,
}
# CreateSecurityConfigurationOutputTypeDef definition
class CreateSecurityConfigurationOutputTypeDef(TypedDict):
Name: str,
CreationDateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateStudioOutputTypeDef#
# CreateStudioOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import CreateStudioOutputTypeDef
def get_value() -> CreateStudioOutputTypeDef:
return {
"StudioId": ...,
}
# CreateStudioOutputTypeDef definition
class CreateStudioOutputTypeDef(TypedDict):
StudioId: str,
Url: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeSecurityConfigurationOutputTypeDef#
# DescribeSecurityConfigurationOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeSecurityConfigurationOutputTypeDef
def get_value() -> DescribeSecurityConfigurationOutputTypeDef:
return {
"Name": ...,
}
# DescribeSecurityConfigurationOutputTypeDef definition
class DescribeSecurityConfigurationOutputTypeDef(TypedDict):
Name: str,
SecurityConfiguration: str,
CreationDateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListReleaseLabelsOutputTypeDef#
# ListReleaseLabelsOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListReleaseLabelsOutputTypeDef
def get_value() -> ListReleaseLabelsOutputTypeDef:
return {
"ReleaseLabels": ...,
}
# ListReleaseLabelsOutputTypeDef definition
class ListReleaseLabelsOutputTypeDef(TypedDict):
ReleaseLabels: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
NextToken: NotRequired[str],
ModifyClusterOutputTypeDef#
# ModifyClusterOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ModifyClusterOutputTypeDef
def get_value() -> ModifyClusterOutputTypeDef:
return {
"StepConcurrencyLevel": ...,
}
# ModifyClusterOutputTypeDef definition
class ModifyClusterOutputTypeDef(TypedDict):
StepConcurrencyLevel: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
RunJobFlowOutputTypeDef#
# RunJobFlowOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import RunJobFlowOutputTypeDef
def get_value() -> RunJobFlowOutputTypeDef:
return {
"JobFlowId": ...,
}
# RunJobFlowOutputTypeDef definition
class RunJobFlowOutputTypeDef(TypedDict):
JobFlowId: str,
ClusterArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartNotebookExecutionOutputTypeDef#
# StartNotebookExecutionOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import StartNotebookExecutionOutputTypeDef
def get_value() -> StartNotebookExecutionOutputTypeDef:
return {
"NotebookExecutionId": ...,
}
# StartNotebookExecutionOutputTypeDef definition
class StartNotebookExecutionOutputTypeDef(TypedDict):
NotebookExecutionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
AddTagsInputTypeDef#
# AddTagsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import AddTagsInputTypeDef
def get_value() -> AddTagsInputTypeDef:
return {
"ResourceId": ...,
}
# AddTagsInputTypeDef definition
class AddTagsInputTypeDef(TypedDict):
ResourceId: str,
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
CreateStudioInputTypeDef#
# CreateStudioInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import CreateStudioInputTypeDef
def get_value() -> CreateStudioInputTypeDef:
return {
"Name": ...,
}
# CreateStudioInputTypeDef definition
class CreateStudioInputTypeDef(TypedDict):
Name: str,
AuthMode: AuthModeType, # (1)
VpcId: str,
SubnetIds: Sequence[str],
ServiceRole: str,
WorkspaceSecurityGroupId: str,
EngineSecurityGroupId: str,
DefaultS3Location: str,
Description: NotRequired[str],
UserRole: NotRequired[str],
IdpAuthUrl: NotRequired[str],
IdpRelayStateParameterName: NotRequired[str],
Tags: NotRequired[Sequence[TagTypeDef]], # (2)
TrustedIdentityPropagationEnabled: NotRequired[bool],
IdcUserAssignment: NotRequired[IdcUserAssignmentType], # (3)
IdcInstanceArn: NotRequired[str],
EncryptionKeyArn: NotRequired[str],
- See AuthModeType
- See TagTypeDef
- See IdcUserAssignmentType
StudioTypeDef#
# StudioTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import StudioTypeDef
def get_value() -> StudioTypeDef:
return {
"StudioId": ...,
}
# StudioTypeDef definition
class StudioTypeDef(TypedDict):
StudioId: NotRequired[str],
StudioArn: NotRequired[str],
Name: NotRequired[str],
Description: NotRequired[str],
AuthMode: NotRequired[AuthModeType], # (1)
VpcId: NotRequired[str],
SubnetIds: NotRequired[List[str]],
ServiceRole: NotRequired[str],
UserRole: NotRequired[str],
WorkspaceSecurityGroupId: NotRequired[str],
EngineSecurityGroupId: NotRequired[str],
Url: NotRequired[str],
CreationTime: NotRequired[datetime],
DefaultS3Location: NotRequired[str],
IdpAuthUrl: NotRequired[str],
IdpRelayStateParameterName: NotRequired[str],
Tags: NotRequired[List[TagTypeDef]], # (2)
IdcInstanceArn: NotRequired[str],
TrustedIdentityPropagationEnabled: NotRequired[bool],
IdcUserAssignment: NotRequired[IdcUserAssignmentType], # (3)
EncryptionKeyArn: NotRequired[str],
- See AuthModeType
- See TagTypeDef
- See IdcUserAssignmentType
AutoScalingPolicyStatusTypeDef#
# AutoScalingPolicyStatusTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import AutoScalingPolicyStatusTypeDef
def get_value() -> AutoScalingPolicyStatusTypeDef:
return {
"State": ...,
}
# AutoScalingPolicyStatusTypeDef definition
class AutoScalingPolicyStatusTypeDef(TypedDict):
State: NotRequired[AutoScalingPolicyStateType], # (1)
StateChangeReason: NotRequired[AutoScalingPolicyStateChangeReasonTypeDef], # (2)
GetAutoTerminationPolicyOutputTypeDef#
# GetAutoTerminationPolicyOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import GetAutoTerminationPolicyOutputTypeDef
def get_value() -> GetAutoTerminationPolicyOutputTypeDef:
return {
"AutoTerminationPolicy": ...,
}
# GetAutoTerminationPolicyOutputTypeDef definition
class GetAutoTerminationPolicyOutputTypeDef(TypedDict):
AutoTerminationPolicy: AutoTerminationPolicyTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutAutoTerminationPolicyInputTypeDef#
# PutAutoTerminationPolicyInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import PutAutoTerminationPolicyInputTypeDef
def get_value() -> PutAutoTerminationPolicyInputTypeDef:
return {
"ClusterId": ...,
}
# PutAutoTerminationPolicyInputTypeDef definition
class PutAutoTerminationPolicyInputTypeDef(TypedDict):
ClusterId: str,
AutoTerminationPolicy: NotRequired[AutoTerminationPolicyTypeDef], # (1)
BlockPublicAccessConfigurationOutputTypeDef#
# BlockPublicAccessConfigurationOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import BlockPublicAccessConfigurationOutputTypeDef
def get_value() -> BlockPublicAccessConfigurationOutputTypeDef:
return {
"BlockPublicSecurityGroupRules": ...,
}
# BlockPublicAccessConfigurationOutputTypeDef definition
class BlockPublicAccessConfigurationOutputTypeDef(TypedDict):
BlockPublicSecurityGroupRules: bool,
PermittedPublicSecurityGroupRuleRanges: NotRequired[List[PortRangeTypeDef]], # (1)
- See PortRangeTypeDef
BlockPublicAccessConfigurationTypeDef#
# BlockPublicAccessConfigurationTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import BlockPublicAccessConfigurationTypeDef
def get_value() -> BlockPublicAccessConfigurationTypeDef:
return {
"BlockPublicSecurityGroupRules": ...,
}
# BlockPublicAccessConfigurationTypeDef definition
class BlockPublicAccessConfigurationTypeDef(TypedDict):
BlockPublicSecurityGroupRules: bool,
PermittedPublicSecurityGroupRuleRanges: NotRequired[Sequence[PortRangeTypeDef]], # (1)
- See PortRangeTypeDef
BootstrapActionConfigOutputTypeDef#
# BootstrapActionConfigOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import BootstrapActionConfigOutputTypeDef
def get_value() -> BootstrapActionConfigOutputTypeDef:
return {
"Name": ...,
}
# BootstrapActionConfigOutputTypeDef definition
class BootstrapActionConfigOutputTypeDef(TypedDict):
Name: str,
ScriptBootstrapAction: ScriptBootstrapActionConfigOutputTypeDef, # (1)
CancelStepsOutputTypeDef#
# CancelStepsOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import CancelStepsOutputTypeDef
def get_value() -> CancelStepsOutputTypeDef:
return {
"CancelStepsInfoList": ...,
}
# CancelStepsOutputTypeDef definition
class CancelStepsOutputTypeDef(TypedDict):
CancelStepsInfoList: List[CancelStepsInfoTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CloudWatchAlarmDefinitionOutputTypeDef#
# CloudWatchAlarmDefinitionOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import CloudWatchAlarmDefinitionOutputTypeDef
def get_value() -> CloudWatchAlarmDefinitionOutputTypeDef:
return {
"ComparisonOperator": ...,
}
# CloudWatchAlarmDefinitionOutputTypeDef definition
class CloudWatchAlarmDefinitionOutputTypeDef(TypedDict):
ComparisonOperator: ComparisonOperatorType, # (1)
MetricName: str,
Period: int,
Threshold: float,
EvaluationPeriods: NotRequired[int],
Namespace: NotRequired[str],
Statistic: NotRequired[StatisticType], # (2)
Unit: NotRequired[UnitType], # (3)
Dimensions: NotRequired[List[MetricDimensionTypeDef]], # (4)
- See ComparisonOperatorType
- See StatisticType
- See UnitType
- See MetricDimensionTypeDef
CloudWatchAlarmDefinitionTypeDef#
# CloudWatchAlarmDefinitionTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import CloudWatchAlarmDefinitionTypeDef
def get_value() -> CloudWatchAlarmDefinitionTypeDef:
return {
"ComparisonOperator": ...,
}
# CloudWatchAlarmDefinitionTypeDef definition
class CloudWatchAlarmDefinitionTypeDef(TypedDict):
ComparisonOperator: ComparisonOperatorType, # (1)
MetricName: str,
Period: int,
Threshold: float,
EvaluationPeriods: NotRequired[int],
Namespace: NotRequired[str],
Statistic: NotRequired[StatisticType], # (2)
Unit: NotRequired[UnitType], # (3)
Dimensions: NotRequired[Sequence[MetricDimensionTypeDef]], # (4)
- See ComparisonOperatorType
- See StatisticType
- See UnitType
- See MetricDimensionTypeDef
ClusterStatusTypeDef#
# ClusterStatusTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ClusterStatusTypeDef
def get_value() -> ClusterStatusTypeDef:
return {
"State": ...,
}
# ClusterStatusTypeDef definition
class ClusterStatusTypeDef(TypedDict):
State: NotRequired[ClusterStateType], # (1)
StateChangeReason: NotRequired[ClusterStateChangeReasonTypeDef], # (2)
Timeline: NotRequired[ClusterTimelineTypeDef], # (3)
ErrorDetails: NotRequired[List[ErrorDetailTypeDef]], # (4)
- See ClusterStateType
- See ClusterStateChangeReasonTypeDef
- See ClusterTimelineTypeDef
- See ErrorDetailTypeDef
ListBootstrapActionsOutputTypeDef#
# ListBootstrapActionsOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListBootstrapActionsOutputTypeDef
def get_value() -> ListBootstrapActionsOutputTypeDef:
return {
"BootstrapActions": ...,
}
# ListBootstrapActionsOutputTypeDef definition
class ListBootstrapActionsOutputTypeDef(TypedDict):
BootstrapActions: List[CommandTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ManagedScalingPolicyTypeDef#
# ManagedScalingPolicyTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ManagedScalingPolicyTypeDef
def get_value() -> ManagedScalingPolicyTypeDef:
return {
"ComputeLimits": ...,
}
# ManagedScalingPolicyTypeDef definition
class ManagedScalingPolicyTypeDef(TypedDict):
ComputeLimits: NotRequired[ComputeLimitsTypeDef], # (1)
UtilizationPerformanceIndex: NotRequired[int],
ScalingStrategy: NotRequired[ScalingStrategyType], # (2)
CredentialsTypeDef#
# CredentialsTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import CredentialsTypeDef
def get_value() -> CredentialsTypeDef:
return {
"UsernamePassword": ...,
}
# CredentialsTypeDef definition
class CredentialsTypeDef(TypedDict):
UsernamePassword: NotRequired[UsernamePasswordTypeDef], # (1)
DescribeClusterInputWaitExtraTypeDef#
# DescribeClusterInputWaitExtraTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeClusterInputWaitExtraTypeDef
def get_value() -> DescribeClusterInputWaitExtraTypeDef:
return {
"ClusterId": ...,
}
# DescribeClusterInputWaitExtraTypeDef definition
class DescribeClusterInputWaitExtraTypeDef(TypedDict):
ClusterId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeClusterInputWaitTypeDef#
# DescribeClusterInputWaitTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeClusterInputWaitTypeDef
def get_value() -> DescribeClusterInputWaitTypeDef:
return {
"ClusterId": ...,
}
# DescribeClusterInputWaitTypeDef definition
class DescribeClusterInputWaitTypeDef(TypedDict):
ClusterId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeStepInputWaitTypeDef#
# DescribeStepInputWaitTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeStepInputWaitTypeDef
def get_value() -> DescribeStepInputWaitTypeDef:
return {
"ClusterId": ...,
}
# DescribeStepInputWaitTypeDef definition
class DescribeStepInputWaitTypeDef(TypedDict):
ClusterId: str,
StepId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeJobFlowsInputTypeDef#
# DescribeJobFlowsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeJobFlowsInputTypeDef
def get_value() -> DescribeJobFlowsInputTypeDef:
return {
"CreatedAfter": ...,
}
# DescribeJobFlowsInputTypeDef definition
class DescribeJobFlowsInputTypeDef(TypedDict):
CreatedAfter: NotRequired[TimestampTypeDef],
CreatedBefore: NotRequired[TimestampTypeDef],
JobFlowIds: NotRequired[Sequence[str]],
JobFlowStates: NotRequired[Sequence[JobFlowExecutionStateType]], # (1)
ListClustersInputTypeDef#
# ListClustersInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListClustersInputTypeDef
def get_value() -> ListClustersInputTypeDef:
return {
"CreatedAfter": ...,
}
# ListClustersInputTypeDef definition
class ListClustersInputTypeDef(TypedDict):
CreatedAfter: NotRequired[TimestampTypeDef],
CreatedBefore: NotRequired[TimestampTypeDef],
ClusterStates: NotRequired[Sequence[ClusterStateType]], # (1)
Marker: NotRequired[str],
- See ClusterStateType
ListNotebookExecutionsInputTypeDef#
# ListNotebookExecutionsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListNotebookExecutionsInputTypeDef
def get_value() -> ListNotebookExecutionsInputTypeDef:
return {
"EditorId": ...,
}
# ListNotebookExecutionsInputTypeDef definition
class ListNotebookExecutionsInputTypeDef(TypedDict):
EditorId: NotRequired[str],
Status: NotRequired[NotebookExecutionStatusType], # (1)
From: NotRequired[TimestampTypeDef],
To: NotRequired[TimestampTypeDef],
Marker: NotRequired[str],
ExecutionEngineId: NotRequired[str],
DescribeReleaseLabelOutputTypeDef#
# DescribeReleaseLabelOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeReleaseLabelOutputTypeDef
def get_value() -> DescribeReleaseLabelOutputTypeDef:
return {
"ReleaseLabel": ...,
}
# DescribeReleaseLabelOutputTypeDef definition
class DescribeReleaseLabelOutputTypeDef(TypedDict):
ReleaseLabel: str,
Applications: List[SimplifiedApplicationTypeDef], # (1)
AvailableOSReleases: List[OSReleaseTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
NextToken: NotRequired[str],
EbsBlockDeviceConfigTypeDef#
# EbsBlockDeviceConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import EbsBlockDeviceConfigTypeDef
def get_value() -> EbsBlockDeviceConfigTypeDef:
return {
"VolumeSpecification": ...,
}
# EbsBlockDeviceConfigTypeDef definition
class EbsBlockDeviceConfigTypeDef(TypedDict):
VolumeSpecification: VolumeSpecificationTypeDef, # (1)
VolumesPerInstance: NotRequired[int],
EbsBlockDeviceTypeDef#
# EbsBlockDeviceTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import EbsBlockDeviceTypeDef
def get_value() -> EbsBlockDeviceTypeDef:
return {
"VolumeSpecification": ...,
}
# EbsBlockDeviceTypeDef definition
class EbsBlockDeviceTypeDef(TypedDict):
VolumeSpecification: NotRequired[VolumeSpecificationTypeDef], # (1)
Device: NotRequired[str],
GetStudioSessionMappingOutputTypeDef#
# GetStudioSessionMappingOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import GetStudioSessionMappingOutputTypeDef
def get_value() -> GetStudioSessionMappingOutputTypeDef:
return {
"SessionMapping": ...,
}
# GetStudioSessionMappingOutputTypeDef definition
class GetStudioSessionMappingOutputTypeDef(TypedDict):
SessionMapping: SessionMappingDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
HadoopJarStepConfigOutputTypeDef#
# HadoopJarStepConfigOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import HadoopJarStepConfigOutputTypeDef
def get_value() -> HadoopJarStepConfigOutputTypeDef:
return {
"Properties": ...,
}
# HadoopJarStepConfigOutputTypeDef definition
class HadoopJarStepConfigOutputTypeDef(TypedDict):
Jar: str,
Properties: NotRequired[List[KeyValueTypeDef]], # (1)
MainClass: NotRequired[str],
Args: NotRequired[List[str]],
- See KeyValueTypeDef
HadoopJarStepConfigTypeDef#
# HadoopJarStepConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import HadoopJarStepConfigTypeDef
def get_value() -> HadoopJarStepConfigTypeDef:
return {
"Properties": ...,
}
# HadoopJarStepConfigTypeDef definition
class HadoopJarStepConfigTypeDef(TypedDict):
Jar: str,
Properties: NotRequired[Sequence[KeyValueTypeDef]], # (1)
MainClass: NotRequired[str],
Args: NotRequired[Sequence[str]],
- See KeyValueTypeDef
InstanceFleetStatusTypeDef#
# InstanceFleetStatusTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceFleetStatusTypeDef
def get_value() -> InstanceFleetStatusTypeDef:
return {
"State": ...,
}
# InstanceFleetStatusTypeDef definition
class InstanceFleetStatusTypeDef(TypedDict):
State: NotRequired[InstanceFleetStateType], # (1)
StateChangeReason: NotRequired[InstanceFleetStateChangeReasonTypeDef], # (2)
Timeline: NotRequired[InstanceFleetTimelineTypeDef], # (3)
- See InstanceFleetStateType
- See InstanceFleetStateChangeReasonTypeDef
- See InstanceFleetTimelineTypeDef
InstanceGroupStatusTypeDef#
# InstanceGroupStatusTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceGroupStatusTypeDef
def get_value() -> InstanceGroupStatusTypeDef:
return {
"State": ...,
}
# InstanceGroupStatusTypeDef definition
class InstanceGroupStatusTypeDef(TypedDict):
State: NotRequired[InstanceGroupStateType], # (1)
StateChangeReason: NotRequired[InstanceGroupStateChangeReasonTypeDef], # (2)
Timeline: NotRequired[InstanceGroupTimelineTypeDef], # (3)
- See InstanceGroupStateType
- See InstanceGroupStateChangeReasonTypeDef
- See InstanceGroupTimelineTypeDef
ShrinkPolicyOutputTypeDef#
# ShrinkPolicyOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ShrinkPolicyOutputTypeDef
def get_value() -> ShrinkPolicyOutputTypeDef:
return {
"DecommissionTimeout": ...,
}
# ShrinkPolicyOutputTypeDef definition
class ShrinkPolicyOutputTypeDef(TypedDict):
DecommissionTimeout: NotRequired[int],
InstanceResizePolicy: NotRequired[InstanceResizePolicyOutputTypeDef], # (1)
InstanceStatusTypeDef#
# InstanceStatusTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceStatusTypeDef
def get_value() -> InstanceStatusTypeDef:
return {
"State": ...,
}
# InstanceStatusTypeDef definition
class InstanceStatusTypeDef(TypedDict):
State: NotRequired[InstanceStateType], # (1)
StateChangeReason: NotRequired[InstanceStateChangeReasonTypeDef], # (2)
Timeline: NotRequired[InstanceTimelineTypeDef], # (3)
JobFlowInstancesDetailTypeDef#
# JobFlowInstancesDetailTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import JobFlowInstancesDetailTypeDef
def get_value() -> JobFlowInstancesDetailTypeDef:
return {
"MasterInstanceType": ...,
}
# JobFlowInstancesDetailTypeDef definition
class JobFlowInstancesDetailTypeDef(TypedDict):
MasterInstanceType: str,
SlaveInstanceType: str,
InstanceCount: int,
MasterPublicDnsName: NotRequired[str],
MasterInstanceId: NotRequired[str],
InstanceGroups: NotRequired[List[InstanceGroupDetailTypeDef]], # (1)
NormalizedInstanceHours: NotRequired[int],
Ec2KeyName: NotRequired[str],
Ec2SubnetId: NotRequired[str],
Placement: NotRequired[PlacementTypeOutputTypeDef], # (2)
KeepJobFlowAliveWhenNoSteps: NotRequired[bool],
TerminationProtected: NotRequired[bool],
UnhealthyNodeReplacement: NotRequired[bool],
HadoopVersion: NotRequired[str],
ListBootstrapActionsInputPaginateTypeDef#
# ListBootstrapActionsInputPaginateTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListBootstrapActionsInputPaginateTypeDef
def get_value() -> ListBootstrapActionsInputPaginateTypeDef:
return {
"ClusterId": ...,
}
# ListBootstrapActionsInputPaginateTypeDef definition
class ListBootstrapActionsInputPaginateTypeDef(TypedDict):
ClusterId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListClustersInputPaginateTypeDef#
# ListClustersInputPaginateTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListClustersInputPaginateTypeDef
def get_value() -> ListClustersInputPaginateTypeDef:
return {
"CreatedAfter": ...,
}
# ListClustersInputPaginateTypeDef definition
class ListClustersInputPaginateTypeDef(TypedDict):
CreatedAfter: NotRequired[TimestampTypeDef],
CreatedBefore: NotRequired[TimestampTypeDef],
ClusterStates: NotRequired[Sequence[ClusterStateType]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListInstanceFleetsInputPaginateTypeDef#
# ListInstanceFleetsInputPaginateTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListInstanceFleetsInputPaginateTypeDef
def get_value() -> ListInstanceFleetsInputPaginateTypeDef:
return {
"ClusterId": ...,
}
# ListInstanceFleetsInputPaginateTypeDef definition
class ListInstanceFleetsInputPaginateTypeDef(TypedDict):
ClusterId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListInstanceGroupsInputPaginateTypeDef#
# ListInstanceGroupsInputPaginateTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListInstanceGroupsInputPaginateTypeDef
def get_value() -> ListInstanceGroupsInputPaginateTypeDef:
return {
"ClusterId": ...,
}
# ListInstanceGroupsInputPaginateTypeDef definition
class ListInstanceGroupsInputPaginateTypeDef(TypedDict):
ClusterId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListInstancesInputPaginateTypeDef#
# ListInstancesInputPaginateTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListInstancesInputPaginateTypeDef
def get_value() -> ListInstancesInputPaginateTypeDef:
return {
"ClusterId": ...,
}
# ListInstancesInputPaginateTypeDef definition
class ListInstancesInputPaginateTypeDef(TypedDict):
ClusterId: str,
InstanceGroupId: NotRequired[str],
InstanceGroupTypes: NotRequired[Sequence[InstanceGroupTypeType]], # (1)
InstanceFleetId: NotRequired[str],
InstanceFleetType: NotRequired[InstanceFleetTypeType], # (2)
InstanceStates: NotRequired[Sequence[InstanceStateType]], # (3)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (4)
- See InstanceGroupTypeType
- See InstanceFleetTypeType
- See InstanceStateType
- See PaginatorConfigTypeDef
ListNotebookExecutionsInputPaginateTypeDef#
# ListNotebookExecutionsInputPaginateTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListNotebookExecutionsInputPaginateTypeDef
def get_value() -> ListNotebookExecutionsInputPaginateTypeDef:
return {
"EditorId": ...,
}
# ListNotebookExecutionsInputPaginateTypeDef definition
class ListNotebookExecutionsInputPaginateTypeDef(TypedDict):
EditorId: NotRequired[str],
Status: NotRequired[NotebookExecutionStatusType], # (1)
From: NotRequired[TimestampTypeDef],
To: NotRequired[TimestampTypeDef],
ExecutionEngineId: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListSecurityConfigurationsInputPaginateTypeDef#
# ListSecurityConfigurationsInputPaginateTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListSecurityConfigurationsInputPaginateTypeDef
def get_value() -> ListSecurityConfigurationsInputPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListSecurityConfigurationsInputPaginateTypeDef definition
class ListSecurityConfigurationsInputPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListStepsInputPaginateTypeDef#
# ListStepsInputPaginateTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListStepsInputPaginateTypeDef
def get_value() -> ListStepsInputPaginateTypeDef:
return {
"ClusterId": ...,
}
# ListStepsInputPaginateTypeDef definition
class ListStepsInputPaginateTypeDef(TypedDict):
ClusterId: str,
StepStates: NotRequired[Sequence[StepStateType]], # (1)
StepIds: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See StepStateType
- See PaginatorConfigTypeDef
ListStudioSessionMappingsInputPaginateTypeDef#
# ListStudioSessionMappingsInputPaginateTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListStudioSessionMappingsInputPaginateTypeDef
def get_value() -> ListStudioSessionMappingsInputPaginateTypeDef:
return {
"StudioId": ...,
}
# ListStudioSessionMappingsInputPaginateTypeDef definition
class ListStudioSessionMappingsInputPaginateTypeDef(TypedDict):
StudioId: NotRequired[str],
IdentityType: NotRequired[IdentityTypeType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListStudiosInputPaginateTypeDef#
# ListStudiosInputPaginateTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListStudiosInputPaginateTypeDef
def get_value() -> ListStudiosInputPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListStudiosInputPaginateTypeDef definition
class ListStudiosInputPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListReleaseLabelsInputTypeDef#
# ListReleaseLabelsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListReleaseLabelsInputTypeDef
def get_value() -> ListReleaseLabelsInputTypeDef:
return {
"Filters": ...,
}
# ListReleaseLabelsInputTypeDef definition
class ListReleaseLabelsInputTypeDef(TypedDict):
Filters: NotRequired[ReleaseLabelFilterTypeDef], # (1)
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListSecurityConfigurationsOutputTypeDef#
# ListSecurityConfigurationsOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListSecurityConfigurationsOutputTypeDef
def get_value() -> ListSecurityConfigurationsOutputTypeDef:
return {
"SecurityConfigurations": ...,
}
# ListSecurityConfigurationsOutputTypeDef definition
class ListSecurityConfigurationsOutputTypeDef(TypedDict):
SecurityConfigurations: List[SecurityConfigurationSummaryTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListStudioSessionMappingsOutputTypeDef#
# ListStudioSessionMappingsOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListStudioSessionMappingsOutputTypeDef
def get_value() -> ListStudioSessionMappingsOutputTypeDef:
return {
"SessionMappings": ...,
}
# ListStudioSessionMappingsOutputTypeDef definition
class ListStudioSessionMappingsOutputTypeDef(TypedDict):
SessionMappings: List[SessionMappingSummaryTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListStudiosOutputTypeDef#
# ListStudiosOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListStudiosOutputTypeDef
def get_value() -> ListStudiosOutputTypeDef:
return {
"Studios": ...,
}
# ListStudiosOutputTypeDef definition
class ListStudiosOutputTypeDef(TypedDict):
Studios: List[StudioSummaryTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListSupportedInstanceTypesOutputTypeDef#
# ListSupportedInstanceTypesOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListSupportedInstanceTypesOutputTypeDef
def get_value() -> ListSupportedInstanceTypesOutputTypeDef:
return {
"SupportedInstanceTypes": ...,
}
# ListSupportedInstanceTypesOutputTypeDef definition
class ListSupportedInstanceTypesOutputTypeDef(TypedDict):
SupportedInstanceTypes: List[SupportedInstanceTypeTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NotebookExecutionSummaryTypeDef#
# NotebookExecutionSummaryTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import NotebookExecutionSummaryTypeDef
def get_value() -> NotebookExecutionSummaryTypeDef:
return {
"NotebookExecutionId": ...,
}
# NotebookExecutionSummaryTypeDef definition
class NotebookExecutionSummaryTypeDef(TypedDict):
NotebookExecutionId: NotRequired[str],
EditorId: NotRequired[str],
NotebookExecutionName: NotRequired[str],
Status: NotRequired[NotebookExecutionStatusType], # (1)
StartTime: NotRequired[datetime],
EndTime: NotRequired[datetime],
NotebookS3Location: NotRequired[NotebookS3LocationForOutputTypeDef], # (2)
ExecutionEngineId: NotRequired[str],
NotebookExecutionTypeDef#
# NotebookExecutionTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import NotebookExecutionTypeDef
def get_value() -> NotebookExecutionTypeDef:
return {
"NotebookExecutionId": ...,
}
# NotebookExecutionTypeDef definition
class NotebookExecutionTypeDef(TypedDict):
NotebookExecutionId: NotRequired[str],
EditorId: NotRequired[str],
ExecutionEngine: NotRequired[ExecutionEngineConfigTypeDef], # (1)
NotebookExecutionName: NotRequired[str],
NotebookParams: NotRequired[str],
Status: NotRequired[NotebookExecutionStatusType], # (2)
StartTime: NotRequired[datetime],
EndTime: NotRequired[datetime],
Arn: NotRequired[str],
OutputNotebookURI: NotRequired[str],
LastStateChangeReason: NotRequired[str],
NotebookInstanceSecurityGroupId: NotRequired[str],
Tags: NotRequired[List[TagTypeDef]], # (3)
NotebookS3Location: NotRequired[NotebookS3LocationForOutputTypeDef], # (4)
OutputNotebookS3Location: NotRequired[OutputNotebookS3LocationForOutputTypeDef], # (5)
OutputNotebookFormat: NotRequired[OutputNotebookFormatType], # (6)
EnvironmentVariables: NotRequired[Dict[str, str]],
- See ExecutionEngineConfigTypeDef
- See NotebookExecutionStatusType
- See TagTypeDef
- See NotebookS3LocationForOutputTypeDef
- See OutputNotebookS3LocationForOutputTypeDef
- See OutputNotebookFormatType
OnDemandProvisioningSpecificationTypeDef#
# OnDemandProvisioningSpecificationTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import OnDemandProvisioningSpecificationTypeDef
def get_value() -> OnDemandProvisioningSpecificationTypeDef:
return {
"AllocationStrategy": ...,
}
# OnDemandProvisioningSpecificationTypeDef definition
class OnDemandProvisioningSpecificationTypeDef(TypedDict):
AllocationStrategy: OnDemandProvisioningAllocationStrategyType, # (1)
CapacityReservationOptions: NotRequired[OnDemandCapacityReservationOptionsTypeDef], # (2)
OnDemandResizingSpecificationTypeDef#
# OnDemandResizingSpecificationTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import OnDemandResizingSpecificationTypeDef
def get_value() -> OnDemandResizingSpecificationTypeDef:
return {
"TimeoutDurationMinutes": ...,
}
# OnDemandResizingSpecificationTypeDef definition
class OnDemandResizingSpecificationTypeDef(TypedDict):
TimeoutDurationMinutes: NotRequired[int],
AllocationStrategy: NotRequired[OnDemandProvisioningAllocationStrategyType], # (1)
CapacityReservationOptions: NotRequired[OnDemandCapacityReservationOptionsTypeDef], # (2)
StartNotebookExecutionInputTypeDef#
# StartNotebookExecutionInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import StartNotebookExecutionInputTypeDef
def get_value() -> StartNotebookExecutionInputTypeDef:
return {
"ExecutionEngine": ...,
}
# StartNotebookExecutionInputTypeDef definition
class StartNotebookExecutionInputTypeDef(TypedDict):
ExecutionEngine: ExecutionEngineConfigTypeDef, # (1)
ServiceRole: str,
EditorId: NotRequired[str],
RelativePath: NotRequired[str],
NotebookExecutionName: NotRequired[str],
NotebookParams: NotRequired[str],
NotebookInstanceSecurityGroupId: NotRequired[str],
Tags: NotRequired[Sequence[TagTypeDef]], # (2)
NotebookS3Location: NotRequired[NotebookS3LocationFromInputTypeDef], # (3)
OutputNotebookS3Location: NotRequired[OutputNotebookS3LocationFromInputTypeDef], # (4)
OutputNotebookFormat: NotRequired[OutputNotebookFormatType], # (5)
EnvironmentVariables: NotRequired[Mapping[str, str]],
- See ExecutionEngineConfigTypeDef
- See TagTypeDef
- See NotebookS3LocationFromInputTypeDef
- See OutputNotebookS3LocationFromInputTypeDef
- See OutputNotebookFormatType
ScalingActionTypeDef#
# ScalingActionTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ScalingActionTypeDef
def get_value() -> ScalingActionTypeDef:
return {
"Market": ...,
}
# ScalingActionTypeDef definition
class ScalingActionTypeDef(TypedDict):
SimpleScalingPolicyConfiguration: SimpleScalingPolicyConfigurationTypeDef, # (2)
Market: NotRequired[MarketTypeType], # (1)
StepStatusTypeDef#
# StepStatusTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import StepStatusTypeDef
def get_value() -> StepStatusTypeDef:
return {
"State": ...,
}
# StepStatusTypeDef definition
class StepStatusTypeDef(TypedDict):
State: NotRequired[StepStateType], # (1)
StateChangeReason: NotRequired[StepStateChangeReasonTypeDef], # (2)
FailureDetails: NotRequired[FailureDetailsTypeDef], # (3)
Timeline: NotRequired[StepTimelineTypeDef], # (4)
- See StepStateType
- See StepStateChangeReasonTypeDef
- See FailureDetailsTypeDef
- See StepTimelineTypeDef
DescribeStudioOutputTypeDef#
# DescribeStudioOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeStudioOutputTypeDef
def get_value() -> DescribeStudioOutputTypeDef:
return {
"Studio": ...,
}
# DescribeStudioOutputTypeDef definition
class DescribeStudioOutputTypeDef(TypedDict):
Studio: StudioTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See StudioTypeDef
- See ResponseMetadataTypeDef
GetBlockPublicAccessConfigurationOutputTypeDef#
# GetBlockPublicAccessConfigurationOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import GetBlockPublicAccessConfigurationOutputTypeDef
def get_value() -> GetBlockPublicAccessConfigurationOutputTypeDef:
return {
"BlockPublicAccessConfiguration": ...,
}
# GetBlockPublicAccessConfigurationOutputTypeDef definition
class GetBlockPublicAccessConfigurationOutputTypeDef(TypedDict):
BlockPublicAccessConfiguration: BlockPublicAccessConfigurationOutputTypeDef, # (1)
BlockPublicAccessConfigurationMetadata: BlockPublicAccessConfigurationMetadataTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See BlockPublicAccessConfigurationOutputTypeDef
- See BlockPublicAccessConfigurationMetadataTypeDef
- See ResponseMetadataTypeDef
BootstrapActionDetailTypeDef#
# BootstrapActionDetailTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import BootstrapActionDetailTypeDef
def get_value() -> BootstrapActionDetailTypeDef:
return {
"BootstrapActionConfig": ...,
}
# BootstrapActionDetailTypeDef definition
class BootstrapActionDetailTypeDef(TypedDict):
BootstrapActionConfig: NotRequired[BootstrapActionConfigOutputTypeDef], # (1)
ScalingTriggerOutputTypeDef#
# ScalingTriggerOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ScalingTriggerOutputTypeDef
def get_value() -> ScalingTriggerOutputTypeDef:
return {
"CloudWatchAlarmDefinition": ...,
}
# ScalingTriggerOutputTypeDef definition
class ScalingTriggerOutputTypeDef(TypedDict):
CloudWatchAlarmDefinition: CloudWatchAlarmDefinitionOutputTypeDef, # (1)
ClusterSummaryTypeDef#
# ClusterSummaryTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ClusterSummaryTypeDef
def get_value() -> ClusterSummaryTypeDef:
return {
"Id": ...,
}
# ClusterSummaryTypeDef definition
class ClusterSummaryTypeDef(TypedDict):
Id: NotRequired[str],
Name: NotRequired[str],
Status: NotRequired[ClusterStatusTypeDef], # (1)
NormalizedInstanceHours: NotRequired[int],
ClusterArn: NotRequired[str],
OutpostArn: NotRequired[str],
ClusterTypeDef#
# ClusterTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ClusterTypeDef
def get_value() -> ClusterTypeDef:
return {
"Id": ...,
}
# ClusterTypeDef definition
class ClusterTypeDef(TypedDict):
Id: NotRequired[str],
Name: NotRequired[str],
Status: NotRequired[ClusterStatusTypeDef], # (1)
Ec2InstanceAttributes: NotRequired[Ec2InstanceAttributesTypeDef], # (2)
InstanceCollectionType: NotRequired[InstanceCollectionTypeType], # (3)
LogUri: NotRequired[str],
LogEncryptionKmsKeyId: NotRequired[str],
RequestedAmiVersion: NotRequired[str],
RunningAmiVersion: NotRequired[str],
ReleaseLabel: NotRequired[str],
AutoTerminate: NotRequired[bool],
TerminationProtected: NotRequired[bool],
UnhealthyNodeReplacement: NotRequired[bool],
VisibleToAllUsers: NotRequired[bool],
Applications: NotRequired[List[ApplicationOutputTypeDef]], # (4)
Tags: NotRequired[List[TagTypeDef]], # (5)
ServiceRole: NotRequired[str],
NormalizedInstanceHours: NotRequired[int],
MasterPublicDnsName: NotRequired[str],
Configurations: NotRequired[List[ConfigurationOutputTypeDef]], # (6)
SecurityConfiguration: NotRequired[str],
AutoScalingRole: NotRequired[str],
ScaleDownBehavior: NotRequired[ScaleDownBehaviorType], # (7)
CustomAmiId: NotRequired[str],
EbsRootVolumeSize: NotRequired[int],
RepoUpgradeOnBoot: NotRequired[RepoUpgradeOnBootType], # (8)
KerberosAttributes: NotRequired[KerberosAttributesTypeDef], # (9)
ClusterArn: NotRequired[str],
OutpostArn: NotRequired[str],
StepConcurrencyLevel: NotRequired[int],
PlacementGroups: NotRequired[List[PlacementGroupConfigTypeDef]], # (10)
OSReleaseLabel: NotRequired[str],
EbsRootVolumeIops: NotRequired[int],
EbsRootVolumeThroughput: NotRequired[int],
- See ClusterStatusTypeDef
- See Ec2InstanceAttributesTypeDef
- See InstanceCollectionTypeType
- See ApplicationOutputTypeDef
- See TagTypeDef
- See ConfigurationOutputTypeDef
- See ScaleDownBehaviorType
- See RepoUpgradeOnBootType
- See KerberosAttributesTypeDef
- See PlacementGroupConfigTypeDef
GetManagedScalingPolicyOutputTypeDef#
# GetManagedScalingPolicyOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import GetManagedScalingPolicyOutputTypeDef
def get_value() -> GetManagedScalingPolicyOutputTypeDef:
return {
"ManagedScalingPolicy": ...,
}
# GetManagedScalingPolicyOutputTypeDef definition
class GetManagedScalingPolicyOutputTypeDef(TypedDict):
ManagedScalingPolicy: ManagedScalingPolicyTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutManagedScalingPolicyInputTypeDef#
# PutManagedScalingPolicyInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import PutManagedScalingPolicyInputTypeDef
def get_value() -> PutManagedScalingPolicyInputTypeDef:
return {
"ClusterId": ...,
}
# PutManagedScalingPolicyInputTypeDef definition
class PutManagedScalingPolicyInputTypeDef(TypedDict):
ClusterId: str,
ManagedScalingPolicy: ManagedScalingPolicyTypeDef, # (1)
GetClusterSessionCredentialsOutputTypeDef#
# GetClusterSessionCredentialsOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import GetClusterSessionCredentialsOutputTypeDef
def get_value() -> GetClusterSessionCredentialsOutputTypeDef:
return {
"Credentials": ...,
}
# GetClusterSessionCredentialsOutputTypeDef definition
class GetClusterSessionCredentialsOutputTypeDef(TypedDict):
Credentials: CredentialsTypeDef, # (1)
ExpiresAt: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
EbsConfigurationTypeDef#
# EbsConfigurationTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import EbsConfigurationTypeDef
def get_value() -> EbsConfigurationTypeDef:
return {
"EbsBlockDeviceConfigs": ...,
}
# EbsConfigurationTypeDef definition
class EbsConfigurationTypeDef(TypedDict):
EbsBlockDeviceConfigs: NotRequired[Sequence[EbsBlockDeviceConfigTypeDef]], # (1)
EbsOptimized: NotRequired[bool],
InstanceTypeSpecificationPaginatorTypeDef#
# InstanceTypeSpecificationPaginatorTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceTypeSpecificationPaginatorTypeDef
def get_value() -> InstanceTypeSpecificationPaginatorTypeDef:
return {
"InstanceType": ...,
}
# InstanceTypeSpecificationPaginatorTypeDef definition
class InstanceTypeSpecificationPaginatorTypeDef(TypedDict):
InstanceType: NotRequired[str],
WeightedCapacity: NotRequired[int],
BidPrice: NotRequired[str],
BidPriceAsPercentageOfOnDemandPrice: NotRequired[float],
Configurations: NotRequired[List[ConfigurationPaginatorTypeDef]], # (1)
EbsBlockDevices: NotRequired[List[EbsBlockDeviceTypeDef]], # (2)
EbsOptimized: NotRequired[bool],
CustomAmiId: NotRequired[str],
Priority: NotRequired[float],
InstanceTypeSpecificationTypeDef#
# InstanceTypeSpecificationTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceTypeSpecificationTypeDef
def get_value() -> InstanceTypeSpecificationTypeDef:
return {
"InstanceType": ...,
}
# InstanceTypeSpecificationTypeDef definition
class InstanceTypeSpecificationTypeDef(TypedDict):
InstanceType: NotRequired[str],
WeightedCapacity: NotRequired[int],
BidPrice: NotRequired[str],
BidPriceAsPercentageOfOnDemandPrice: NotRequired[float],
Configurations: NotRequired[List[ConfigurationOutputTypeDef]], # (1)
EbsBlockDevices: NotRequired[List[EbsBlockDeviceTypeDef]], # (2)
EbsOptimized: NotRequired[bool],
CustomAmiId: NotRequired[str],
Priority: NotRequired[float],
StepConfigOutputTypeDef#
# StepConfigOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import StepConfigOutputTypeDef
def get_value() -> StepConfigOutputTypeDef:
return {
"Name": ...,
}
# StepConfigOutputTypeDef definition
class StepConfigOutputTypeDef(TypedDict):
Name: str,
HadoopJarStep: HadoopJarStepConfigOutputTypeDef, # (2)
ActionOnFailure: NotRequired[ActionOnFailureType], # (1)
ShrinkPolicyTypeDef#
# ShrinkPolicyTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ShrinkPolicyTypeDef
def get_value() -> ShrinkPolicyTypeDef:
return {
"DecommissionTimeout": ...,
}
# ShrinkPolicyTypeDef definition
class ShrinkPolicyTypeDef(TypedDict):
DecommissionTimeout: NotRequired[int],
InstanceResizePolicy: NotRequired[InstanceResizePolicyUnionTypeDef], # (1)
InstanceTypeDef#
# InstanceTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceTypeDef
def get_value() -> InstanceTypeDef:
return {
"Id": ...,
}
# InstanceTypeDef definition
class InstanceTypeDef(TypedDict):
Id: NotRequired[str],
Ec2InstanceId: NotRequired[str],
PublicDnsName: NotRequired[str],
PublicIpAddress: NotRequired[str],
PrivateDnsName: NotRequired[str],
PrivateIpAddress: NotRequired[str],
Status: NotRequired[InstanceStatusTypeDef], # (1)
InstanceGroupId: NotRequired[str],
InstanceFleetId: NotRequired[str],
Market: NotRequired[MarketTypeType], # (2)
InstanceType: NotRequired[str],
EbsVolumes: NotRequired[List[EbsVolumeTypeDef]], # (3)
- See InstanceStatusTypeDef
- See MarketTypeType
- See EbsVolumeTypeDef
ListNotebookExecutionsOutputTypeDef#
# ListNotebookExecutionsOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListNotebookExecutionsOutputTypeDef
def get_value() -> ListNotebookExecutionsOutputTypeDef:
return {
"NotebookExecutions": ...,
}
# ListNotebookExecutionsOutputTypeDef definition
class ListNotebookExecutionsOutputTypeDef(TypedDict):
NotebookExecutions: List[NotebookExecutionSummaryTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeNotebookExecutionOutputTypeDef#
# DescribeNotebookExecutionOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeNotebookExecutionOutputTypeDef
def get_value() -> DescribeNotebookExecutionOutputTypeDef:
return {
"NotebookExecution": ...,
}
# DescribeNotebookExecutionOutputTypeDef definition
class DescribeNotebookExecutionOutputTypeDef(TypedDict):
NotebookExecution: NotebookExecutionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
InstanceFleetProvisioningSpecificationsTypeDef#
# InstanceFleetProvisioningSpecificationsTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceFleetProvisioningSpecificationsTypeDef
def get_value() -> InstanceFleetProvisioningSpecificationsTypeDef:
return {
"SpotSpecification": ...,
}
# InstanceFleetProvisioningSpecificationsTypeDef definition
class InstanceFleetProvisioningSpecificationsTypeDef(TypedDict):
SpotSpecification: NotRequired[SpotProvisioningSpecificationTypeDef], # (1)
OnDemandSpecification: NotRequired[OnDemandProvisioningSpecificationTypeDef], # (2)
InstanceFleetResizingSpecificationsTypeDef#
# InstanceFleetResizingSpecificationsTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceFleetResizingSpecificationsTypeDef
def get_value() -> InstanceFleetResizingSpecificationsTypeDef:
return {
"SpotResizeSpecification": ...,
}
# InstanceFleetResizingSpecificationsTypeDef definition
class InstanceFleetResizingSpecificationsTypeDef(TypedDict):
SpotResizeSpecification: NotRequired[SpotResizingSpecificationTypeDef], # (1)
OnDemandResizeSpecification: NotRequired[OnDemandResizingSpecificationTypeDef], # (2)
BootstrapActionConfigTypeDef#
# BootstrapActionConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import BootstrapActionConfigTypeDef
def get_value() -> BootstrapActionConfigTypeDef:
return {
"Name": ...,
}
# BootstrapActionConfigTypeDef definition
class BootstrapActionConfigTypeDef(TypedDict):
Name: str,
ScriptBootstrapAction: ScriptBootstrapActionConfigUnionTypeDef, # (1)
StepSummaryTypeDef#
# StepSummaryTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import StepSummaryTypeDef
def get_value() -> StepSummaryTypeDef:
return {
"Id": ...,
}
# StepSummaryTypeDef definition
class StepSummaryTypeDef(TypedDict):
Id: NotRequired[str],
Name: NotRequired[str],
Config: NotRequired[HadoopStepConfigTypeDef], # (1)
ActionOnFailure: NotRequired[ActionOnFailureType], # (2)
Status: NotRequired[StepStatusTypeDef], # (3)
StepTypeDef#
# StepTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import StepTypeDef
def get_value() -> StepTypeDef:
return {
"Id": ...,
}
# StepTypeDef definition
class StepTypeDef(TypedDict):
Id: NotRequired[str],
Name: NotRequired[str],
Config: NotRequired[HadoopStepConfigTypeDef], # (1)
ActionOnFailure: NotRequired[ActionOnFailureType], # (2)
Status: NotRequired[StepStatusTypeDef], # (3)
ExecutionRoleArn: NotRequired[str],
PutBlockPublicAccessConfigurationInputTypeDef#
# PutBlockPublicAccessConfigurationInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import PutBlockPublicAccessConfigurationInputTypeDef
def get_value() -> PutBlockPublicAccessConfigurationInputTypeDef:
return {
"BlockPublicAccessConfiguration": ...,
}
# PutBlockPublicAccessConfigurationInputTypeDef definition
class PutBlockPublicAccessConfigurationInputTypeDef(TypedDict):
BlockPublicAccessConfiguration: BlockPublicAccessConfigurationUnionTypeDef, # (1)
ScalingRuleOutputTypeDef#
# ScalingRuleOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ScalingRuleOutputTypeDef
def get_value() -> ScalingRuleOutputTypeDef:
return {
"Name": ...,
}
# ScalingRuleOutputTypeDef definition
class ScalingRuleOutputTypeDef(TypedDict):
Name: str,
Action: ScalingActionTypeDef, # (1)
Trigger: ScalingTriggerOutputTypeDef, # (2)
Description: NotRequired[str],
ScalingTriggerTypeDef#
# ScalingTriggerTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ScalingTriggerTypeDef
def get_value() -> ScalingTriggerTypeDef:
return {
"CloudWatchAlarmDefinition": ...,
}
# ScalingTriggerTypeDef definition
class ScalingTriggerTypeDef(TypedDict):
CloudWatchAlarmDefinition: CloudWatchAlarmDefinitionUnionTypeDef, # (1)
ListClustersOutputTypeDef#
# ListClustersOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListClustersOutputTypeDef
def get_value() -> ListClustersOutputTypeDef:
return {
"Clusters": ...,
}
# ListClustersOutputTypeDef definition
class ListClustersOutputTypeDef(TypedDict):
Clusters: List[ClusterSummaryTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeClusterOutputTypeDef#
# DescribeClusterOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeClusterOutputTypeDef
def get_value() -> DescribeClusterOutputTypeDef:
return {
"Cluster": ...,
}
# DescribeClusterOutputTypeDef definition
class DescribeClusterOutputTypeDef(TypedDict):
Cluster: ClusterTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
InstanceTypeConfigTypeDef#
# InstanceTypeConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceTypeConfigTypeDef
def get_value() -> InstanceTypeConfigTypeDef:
return {
"InstanceType": ...,
}
# InstanceTypeConfigTypeDef definition
class InstanceTypeConfigTypeDef(TypedDict):
InstanceType: str,
WeightedCapacity: NotRequired[int],
BidPrice: NotRequired[str],
BidPriceAsPercentageOfOnDemandPrice: NotRequired[float],
EbsConfiguration: NotRequired[EbsConfigurationTypeDef], # (1)
Configurations: NotRequired[Sequence[ConfigurationUnionTypeDef]], # (2)
CustomAmiId: NotRequired[str],
Priority: NotRequired[float],
StepDetailTypeDef#
# StepDetailTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import StepDetailTypeDef
def get_value() -> StepDetailTypeDef:
return {
"StepConfig": ...,
}
# StepDetailTypeDef definition
class StepDetailTypeDef(TypedDict):
StepConfig: StepConfigOutputTypeDef, # (1)
ExecutionStatusDetail: StepExecutionStatusDetailTypeDef, # (2)
StepConfigTypeDef#
# StepConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import StepConfigTypeDef
def get_value() -> StepConfigTypeDef:
return {
"Name": ...,
}
# StepConfigTypeDef definition
class StepConfigTypeDef(TypedDict):
Name: str,
HadoopJarStep: HadoopJarStepConfigUnionTypeDef, # (2)
ActionOnFailure: NotRequired[ActionOnFailureType], # (1)
ListInstancesOutputTypeDef#
# ListInstancesOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListInstancesOutputTypeDef
def get_value() -> ListInstancesOutputTypeDef:
return {
"Instances": ...,
}
# ListInstancesOutputTypeDef definition
class ListInstancesOutputTypeDef(TypedDict):
Instances: List[InstanceTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
InstanceFleetPaginatorTypeDef#
# InstanceFleetPaginatorTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceFleetPaginatorTypeDef
def get_value() -> InstanceFleetPaginatorTypeDef:
return {
"Id": ...,
}
# InstanceFleetPaginatorTypeDef definition
class InstanceFleetPaginatorTypeDef(TypedDict):
Id: NotRequired[str],
Name: NotRequired[str],
Status: NotRequired[InstanceFleetStatusTypeDef], # (1)
InstanceFleetType: NotRequired[InstanceFleetTypeType], # (2)
TargetOnDemandCapacity: NotRequired[int],
TargetSpotCapacity: NotRequired[int],
ProvisionedOnDemandCapacity: NotRequired[int],
ProvisionedSpotCapacity: NotRequired[int],
InstanceTypeSpecifications: NotRequired[List[InstanceTypeSpecificationPaginatorTypeDef]], # (3)
LaunchSpecifications: NotRequired[InstanceFleetProvisioningSpecificationsTypeDef], # (4)
ResizeSpecifications: NotRequired[InstanceFleetResizingSpecificationsTypeDef], # (5)
Context: NotRequired[str],
- See InstanceFleetStatusTypeDef
- See InstanceFleetTypeType
- See InstanceTypeSpecificationPaginatorTypeDef
- See InstanceFleetProvisioningSpecificationsTypeDef
- See InstanceFleetResizingSpecificationsTypeDef
InstanceFleetTypeDef#
# InstanceFleetTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceFleetTypeDef
def get_value() -> InstanceFleetTypeDef:
return {
"Id": ...,
}
# InstanceFleetTypeDef definition
class InstanceFleetTypeDef(TypedDict):
Id: NotRequired[str],
Name: NotRequired[str],
Status: NotRequired[InstanceFleetStatusTypeDef], # (1)
InstanceFleetType: NotRequired[InstanceFleetTypeType], # (2)
TargetOnDemandCapacity: NotRequired[int],
TargetSpotCapacity: NotRequired[int],
ProvisionedOnDemandCapacity: NotRequired[int],
ProvisionedSpotCapacity: NotRequired[int],
InstanceTypeSpecifications: NotRequired[List[InstanceTypeSpecificationTypeDef]], # (3)
LaunchSpecifications: NotRequired[InstanceFleetProvisioningSpecificationsTypeDef], # (4)
ResizeSpecifications: NotRequired[InstanceFleetResizingSpecificationsTypeDef], # (5)
Context: NotRequired[str],
- See InstanceFleetStatusTypeDef
- See InstanceFleetTypeType
- See InstanceTypeSpecificationTypeDef
- See InstanceFleetProvisioningSpecificationsTypeDef
- See InstanceFleetResizingSpecificationsTypeDef
ListStepsOutputTypeDef#
# ListStepsOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListStepsOutputTypeDef
def get_value() -> ListStepsOutputTypeDef:
return {
"Steps": ...,
}
# ListStepsOutputTypeDef definition
class ListStepsOutputTypeDef(TypedDict):
Steps: List[StepSummaryTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeStepOutputTypeDef#
# DescribeStepOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeStepOutputTypeDef
def get_value() -> DescribeStepOutputTypeDef:
return {
"Step": ...,
}
# DescribeStepOutputTypeDef definition
class DescribeStepOutputTypeDef(TypedDict):
Step: StepTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See StepTypeDef
- See ResponseMetadataTypeDef
AutoScalingPolicyDescriptionTypeDef#
# AutoScalingPolicyDescriptionTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import AutoScalingPolicyDescriptionTypeDef
def get_value() -> AutoScalingPolicyDescriptionTypeDef:
return {
"Status": ...,
}
# AutoScalingPolicyDescriptionTypeDef definition
class AutoScalingPolicyDescriptionTypeDef(TypedDict):
Status: NotRequired[AutoScalingPolicyStatusTypeDef], # (1)
Constraints: NotRequired[ScalingConstraintsTypeDef], # (2)
Rules: NotRequired[List[ScalingRuleOutputTypeDef]], # (3)
InstanceFleetConfigTypeDef#
# InstanceFleetConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceFleetConfigTypeDef
def get_value() -> InstanceFleetConfigTypeDef:
return {
"Name": ...,
}
# InstanceFleetConfigTypeDef definition
class InstanceFleetConfigTypeDef(TypedDict):
InstanceFleetType: InstanceFleetTypeType, # (1)
Name: NotRequired[str],
TargetOnDemandCapacity: NotRequired[int],
TargetSpotCapacity: NotRequired[int],
InstanceTypeConfigs: NotRequired[Sequence[InstanceTypeConfigTypeDef]], # (2)
LaunchSpecifications: NotRequired[InstanceFleetProvisioningSpecificationsTypeDef], # (3)
ResizeSpecifications: NotRequired[InstanceFleetResizingSpecificationsTypeDef], # (4)
Context: NotRequired[str],
- See InstanceFleetTypeType
- See InstanceTypeConfigTypeDef
- See InstanceFleetProvisioningSpecificationsTypeDef
- See InstanceFleetResizingSpecificationsTypeDef
InstanceFleetModifyConfigTypeDef#
# InstanceFleetModifyConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceFleetModifyConfigTypeDef
def get_value() -> InstanceFleetModifyConfigTypeDef:
return {
"InstanceFleetId": ...,
}
# InstanceFleetModifyConfigTypeDef definition
class InstanceFleetModifyConfigTypeDef(TypedDict):
InstanceFleetId: str,
TargetOnDemandCapacity: NotRequired[int],
TargetSpotCapacity: NotRequired[int],
ResizeSpecifications: NotRequired[InstanceFleetResizingSpecificationsTypeDef], # (1)
InstanceTypeConfigs: NotRequired[Sequence[InstanceTypeConfigTypeDef]], # (2)
Context: NotRequired[str],
JobFlowDetailTypeDef#
# JobFlowDetailTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import JobFlowDetailTypeDef
def get_value() -> JobFlowDetailTypeDef:
return {
"JobFlowId": ...,
}
# JobFlowDetailTypeDef definition
class JobFlowDetailTypeDef(TypedDict):
JobFlowId: str,
Name: str,
ExecutionStatusDetail: JobFlowExecutionStatusDetailTypeDef, # (1)
Instances: JobFlowInstancesDetailTypeDef, # (2)
LogUri: NotRequired[str],
LogEncryptionKmsKeyId: NotRequired[str],
AmiVersion: NotRequired[str],
Steps: NotRequired[List[StepDetailTypeDef]], # (3)
BootstrapActions: NotRequired[List[BootstrapActionDetailTypeDef]], # (4)
SupportedProducts: NotRequired[List[str]],
VisibleToAllUsers: NotRequired[bool],
JobFlowRole: NotRequired[str],
ServiceRole: NotRequired[str],
AutoScalingRole: NotRequired[str],
ScaleDownBehavior: NotRequired[ScaleDownBehaviorType], # (5)
- See JobFlowExecutionStatusDetailTypeDef
- See JobFlowInstancesDetailTypeDef
- See StepDetailTypeDef
- See BootstrapActionDetailTypeDef
- See ScaleDownBehaviorType
InstanceGroupModifyConfigTypeDef#
# InstanceGroupModifyConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceGroupModifyConfigTypeDef
def get_value() -> InstanceGroupModifyConfigTypeDef:
return {
"InstanceGroupId": ...,
}
# InstanceGroupModifyConfigTypeDef definition
class InstanceGroupModifyConfigTypeDef(TypedDict):
InstanceGroupId: str,
InstanceCount: NotRequired[int],
EC2InstanceIdsToTerminate: NotRequired[Sequence[str]],
ShrinkPolicy: NotRequired[ShrinkPolicyUnionTypeDef], # (1)
ReconfigurationType: NotRequired[ReconfigurationTypeType], # (2)
Configurations: NotRequired[Sequence[ConfigurationUnionTypeDef]], # (3)
- See ShrinkPolicyTypeDef ShrinkPolicyOutputTypeDef
- See ReconfigurationTypeType
- See ConfigurationTypeDef ConfigurationOutputTypeDef
ListInstanceFleetsOutputPaginatorTypeDef#
# ListInstanceFleetsOutputPaginatorTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListInstanceFleetsOutputPaginatorTypeDef
def get_value() -> ListInstanceFleetsOutputPaginatorTypeDef:
return {
"InstanceFleets": ...,
}
# ListInstanceFleetsOutputPaginatorTypeDef definition
class ListInstanceFleetsOutputPaginatorTypeDef(TypedDict):
InstanceFleets: List[InstanceFleetPaginatorTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListInstanceFleetsOutputTypeDef#
# ListInstanceFleetsOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListInstanceFleetsOutputTypeDef
def get_value() -> ListInstanceFleetsOutputTypeDef:
return {
"InstanceFleets": ...,
}
# ListInstanceFleetsOutputTypeDef definition
class ListInstanceFleetsOutputTypeDef(TypedDict):
InstanceFleets: List[InstanceFleetTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
InstanceGroupPaginatorTypeDef#
# InstanceGroupPaginatorTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceGroupPaginatorTypeDef
def get_value() -> InstanceGroupPaginatorTypeDef:
return {
"Id": ...,
}
# InstanceGroupPaginatorTypeDef definition
class InstanceGroupPaginatorTypeDef(TypedDict):
Id: NotRequired[str],
Name: NotRequired[str],
Market: NotRequired[MarketTypeType], # (1)
InstanceGroupType: NotRequired[InstanceGroupTypeType], # (2)
BidPrice: NotRequired[str],
InstanceType: NotRequired[str],
RequestedInstanceCount: NotRequired[int],
RunningInstanceCount: NotRequired[int],
Status: NotRequired[InstanceGroupStatusTypeDef], # (3)
Configurations: NotRequired[List[ConfigurationPaginatorTypeDef]], # (4)
ConfigurationsVersion: NotRequired[int],
LastSuccessfullyAppliedConfigurations: NotRequired[List[ConfigurationPaginatorTypeDef]], # (4)
LastSuccessfullyAppliedConfigurationsVersion: NotRequired[int],
EbsBlockDevices: NotRequired[List[EbsBlockDeviceTypeDef]], # (6)
EbsOptimized: NotRequired[bool],
ShrinkPolicy: NotRequired[ShrinkPolicyOutputTypeDef], # (7)
AutoScalingPolicy: NotRequired[AutoScalingPolicyDescriptionTypeDef], # (8)
CustomAmiId: NotRequired[str],
- See MarketTypeType
- See InstanceGroupTypeType
- See InstanceGroupStatusTypeDef
- See ConfigurationPaginatorTypeDef
- See ConfigurationPaginatorTypeDef
- See EbsBlockDeviceTypeDef
- See ShrinkPolicyOutputTypeDef
- See AutoScalingPolicyDescriptionTypeDef
InstanceGroupTypeDef#
# InstanceGroupTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceGroupTypeDef
def get_value() -> InstanceGroupTypeDef:
return {
"Id": ...,
}
# InstanceGroupTypeDef definition
class InstanceGroupTypeDef(TypedDict):
Id: NotRequired[str],
Name: NotRequired[str],
Market: NotRequired[MarketTypeType], # (1)
InstanceGroupType: NotRequired[InstanceGroupTypeType], # (2)
BidPrice: NotRequired[str],
InstanceType: NotRequired[str],
RequestedInstanceCount: NotRequired[int],
RunningInstanceCount: NotRequired[int],
Status: NotRequired[InstanceGroupStatusTypeDef], # (3)
Configurations: NotRequired[List[ConfigurationOutputTypeDef]], # (4)
ConfigurationsVersion: NotRequired[int],
LastSuccessfullyAppliedConfigurations: NotRequired[List[ConfigurationOutputTypeDef]], # (4)
LastSuccessfullyAppliedConfigurationsVersion: NotRequired[int],
EbsBlockDevices: NotRequired[List[EbsBlockDeviceTypeDef]], # (6)
EbsOptimized: NotRequired[bool],
ShrinkPolicy: NotRequired[ShrinkPolicyOutputTypeDef], # (7)
AutoScalingPolicy: NotRequired[AutoScalingPolicyDescriptionTypeDef], # (8)
CustomAmiId: NotRequired[str],
- See MarketTypeType
- See InstanceGroupTypeType
- See InstanceGroupStatusTypeDef
- See ConfigurationOutputTypeDef
- See ConfigurationOutputTypeDef
- See EbsBlockDeviceTypeDef
- See ShrinkPolicyOutputTypeDef
- See AutoScalingPolicyDescriptionTypeDef
PutAutoScalingPolicyOutputTypeDef#
# PutAutoScalingPolicyOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import PutAutoScalingPolicyOutputTypeDef
def get_value() -> PutAutoScalingPolicyOutputTypeDef:
return {
"ClusterId": ...,
}
# PutAutoScalingPolicyOutputTypeDef definition
class PutAutoScalingPolicyOutputTypeDef(TypedDict):
ClusterId: str,
InstanceGroupId: str,
AutoScalingPolicy: AutoScalingPolicyDescriptionTypeDef, # (1)
ClusterArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ScalingRuleTypeDef#
# ScalingRuleTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ScalingRuleTypeDef
def get_value() -> ScalingRuleTypeDef:
return {
"Name": ...,
}
# ScalingRuleTypeDef definition
class ScalingRuleTypeDef(TypedDict):
Name: str,
Action: ScalingActionTypeDef, # (1)
Trigger: ScalingTriggerUnionTypeDef, # (2)
Description: NotRequired[str],
AddInstanceFleetInputTypeDef#
# AddInstanceFleetInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import AddInstanceFleetInputTypeDef
def get_value() -> AddInstanceFleetInputTypeDef:
return {
"ClusterId": ...,
}
# AddInstanceFleetInputTypeDef definition
class AddInstanceFleetInputTypeDef(TypedDict):
ClusterId: str,
InstanceFleet: InstanceFleetConfigTypeDef, # (1)
ModifyInstanceFleetInputTypeDef#
# ModifyInstanceFleetInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ModifyInstanceFleetInputTypeDef
def get_value() -> ModifyInstanceFleetInputTypeDef:
return {
"ClusterId": ...,
}
# ModifyInstanceFleetInputTypeDef definition
class ModifyInstanceFleetInputTypeDef(TypedDict):
ClusterId: str,
InstanceFleet: InstanceFleetModifyConfigTypeDef, # (1)
DescribeJobFlowsOutputTypeDef#
# DescribeJobFlowsOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import DescribeJobFlowsOutputTypeDef
def get_value() -> DescribeJobFlowsOutputTypeDef:
return {
"JobFlows": ...,
}
# DescribeJobFlowsOutputTypeDef definition
class DescribeJobFlowsOutputTypeDef(TypedDict):
JobFlows: List[JobFlowDetailTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AddJobFlowStepsInputTypeDef#
# AddJobFlowStepsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import AddJobFlowStepsInputTypeDef
def get_value() -> AddJobFlowStepsInputTypeDef:
return {
"JobFlowId": ...,
}
# AddJobFlowStepsInputTypeDef definition
class AddJobFlowStepsInputTypeDef(TypedDict):
JobFlowId: str,
Steps: Sequence[StepConfigUnionTypeDef], # (1)
ExecutionRoleArn: NotRequired[str],
ModifyInstanceGroupsInputTypeDef#
# ModifyInstanceGroupsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ModifyInstanceGroupsInputTypeDef
def get_value() -> ModifyInstanceGroupsInputTypeDef:
return {
"ClusterId": ...,
}
# ModifyInstanceGroupsInputTypeDef definition
class ModifyInstanceGroupsInputTypeDef(TypedDict):
ClusterId: NotRequired[str],
InstanceGroups: NotRequired[Sequence[InstanceGroupModifyConfigTypeDef]], # (1)
ListInstanceGroupsOutputPaginatorTypeDef#
# ListInstanceGroupsOutputPaginatorTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListInstanceGroupsOutputPaginatorTypeDef
def get_value() -> ListInstanceGroupsOutputPaginatorTypeDef:
return {
"InstanceGroups": ...,
}
# ListInstanceGroupsOutputPaginatorTypeDef definition
class ListInstanceGroupsOutputPaginatorTypeDef(TypedDict):
InstanceGroups: List[InstanceGroupPaginatorTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListInstanceGroupsOutputTypeDef#
# ListInstanceGroupsOutputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import ListInstanceGroupsOutputTypeDef
def get_value() -> ListInstanceGroupsOutputTypeDef:
return {
"InstanceGroups": ...,
}
# ListInstanceGroupsOutputTypeDef definition
class ListInstanceGroupsOutputTypeDef(TypedDict):
InstanceGroups: List[InstanceGroupTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AutoScalingPolicyTypeDef#
# AutoScalingPolicyTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import AutoScalingPolicyTypeDef
def get_value() -> AutoScalingPolicyTypeDef:
return {
"Constraints": ...,
}
# AutoScalingPolicyTypeDef definition
class AutoScalingPolicyTypeDef(TypedDict):
Constraints: ScalingConstraintsTypeDef, # (1)
Rules: Sequence[ScalingRuleUnionTypeDef], # (2)
InstanceGroupConfigTypeDef#
# InstanceGroupConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import InstanceGroupConfigTypeDef
def get_value() -> InstanceGroupConfigTypeDef:
return {
"Name": ...,
}
# InstanceGroupConfigTypeDef definition
class InstanceGroupConfigTypeDef(TypedDict):
InstanceRole: InstanceRoleTypeType, # (2)
InstanceType: str,
InstanceCount: int,
Name: NotRequired[str],
Market: NotRequired[MarketTypeType], # (1)
BidPrice: NotRequired[str],
Configurations: NotRequired[Sequence[ConfigurationUnionTypeDef]], # (3)
EbsConfiguration: NotRequired[EbsConfigurationTypeDef], # (4)
AutoScalingPolicy: NotRequired[AutoScalingPolicyTypeDef], # (5)
CustomAmiId: NotRequired[str],
- See MarketTypeType
- See InstanceRoleTypeType
- See ConfigurationTypeDef ConfigurationOutputTypeDef
- See EbsConfigurationTypeDef
- See AutoScalingPolicyTypeDef
PutAutoScalingPolicyInputTypeDef#
# PutAutoScalingPolicyInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import PutAutoScalingPolicyInputTypeDef
def get_value() -> PutAutoScalingPolicyInputTypeDef:
return {
"ClusterId": ...,
}
# PutAutoScalingPolicyInputTypeDef definition
class PutAutoScalingPolicyInputTypeDef(TypedDict):
ClusterId: str,
InstanceGroupId: str,
AutoScalingPolicy: AutoScalingPolicyTypeDef, # (1)
AddInstanceGroupsInputTypeDef#
# AddInstanceGroupsInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import AddInstanceGroupsInputTypeDef
def get_value() -> AddInstanceGroupsInputTypeDef:
return {
"InstanceGroups": ...,
}
# AddInstanceGroupsInputTypeDef definition
class AddInstanceGroupsInputTypeDef(TypedDict):
InstanceGroups: Sequence[InstanceGroupConfigTypeDef], # (1)
JobFlowId: str,
JobFlowInstancesConfigTypeDef#
# JobFlowInstancesConfigTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import JobFlowInstancesConfigTypeDef
def get_value() -> JobFlowInstancesConfigTypeDef:
return {
"MasterInstanceType": ...,
}
# JobFlowInstancesConfigTypeDef definition
class JobFlowInstancesConfigTypeDef(TypedDict):
MasterInstanceType: NotRequired[str],
SlaveInstanceType: NotRequired[str],
InstanceCount: NotRequired[int],
InstanceGroups: NotRequired[Sequence[InstanceGroupConfigTypeDef]], # (1)
InstanceFleets: NotRequired[Sequence[InstanceFleetConfigTypeDef]], # (2)
Ec2KeyName: NotRequired[str],
Placement: NotRequired[PlacementTypeUnionTypeDef], # (3)
KeepJobFlowAliveWhenNoSteps: NotRequired[bool],
TerminationProtected: NotRequired[bool],
UnhealthyNodeReplacement: NotRequired[bool],
HadoopVersion: NotRequired[str],
Ec2SubnetId: NotRequired[str],
Ec2SubnetIds: NotRequired[Sequence[str]],
EmrManagedMasterSecurityGroup: NotRequired[str],
EmrManagedSlaveSecurityGroup: NotRequired[str],
ServiceAccessSecurityGroup: NotRequired[str],
AdditionalMasterSecurityGroups: NotRequired[Sequence[str]],
AdditionalSlaveSecurityGroups: NotRequired[Sequence[str]],
- See InstanceGroupConfigTypeDef
- See InstanceFleetConfigTypeDef
- See PlacementTypeTypeDef PlacementTypeOutputTypeDef
RunJobFlowInputTypeDef#
# RunJobFlowInputTypeDef TypedDict usage example
from mypy_boto3_emr.type_defs import RunJobFlowInputTypeDef
def get_value() -> RunJobFlowInputTypeDef:
return {
"Name": ...,
}
# RunJobFlowInputTypeDef definition
class RunJobFlowInputTypeDef(TypedDict):
Name: str,
Instances: JobFlowInstancesConfigTypeDef, # (1)
LogUri: NotRequired[str],
LogEncryptionKmsKeyId: NotRequired[str],
AdditionalInfo: NotRequired[str],
AmiVersion: NotRequired[str],
ReleaseLabel: NotRequired[str],
Steps: NotRequired[Sequence[StepConfigUnionTypeDef]], # (2)
BootstrapActions: NotRequired[Sequence[BootstrapActionConfigUnionTypeDef]], # (3)
SupportedProducts: NotRequired[Sequence[str]],
NewSupportedProducts: NotRequired[Sequence[SupportedProductConfigTypeDef]], # (4)
Applications: NotRequired[Sequence[ApplicationUnionTypeDef]], # (5)
Configurations: NotRequired[Sequence[ConfigurationUnionTypeDef]], # (6)
VisibleToAllUsers: NotRequired[bool],
JobFlowRole: NotRequired[str],
ServiceRole: NotRequired[str],
Tags: NotRequired[Sequence[TagTypeDef]], # (7)
SecurityConfiguration: NotRequired[str],
AutoScalingRole: NotRequired[str],
ScaleDownBehavior: NotRequired[ScaleDownBehaviorType], # (8)
CustomAmiId: NotRequired[str],
EbsRootVolumeSize: NotRequired[int],
RepoUpgradeOnBoot: NotRequired[RepoUpgradeOnBootType], # (9)
KerberosAttributes: NotRequired[KerberosAttributesTypeDef], # (10)
StepConcurrencyLevel: NotRequired[int],
ManagedScalingPolicy: NotRequired[ManagedScalingPolicyTypeDef], # (11)
PlacementGroupConfigs: NotRequired[Sequence[PlacementGroupConfigTypeDef]], # (12)
AutoTerminationPolicy: NotRequired[AutoTerminationPolicyTypeDef], # (13)
OSReleaseLabel: NotRequired[str],
EbsRootVolumeIops: NotRequired[int],
EbsRootVolumeThroughput: NotRequired[int],
- See JobFlowInstancesConfigTypeDef
- See StepConfigTypeDef StepConfigOutputTypeDef
- See BootstrapActionConfigTypeDef BootstrapActionConfigOutputTypeDef
- See SupportedProductConfigTypeDef
- See ApplicationTypeDef ApplicationOutputTypeDef
- See ConfigurationTypeDef ConfigurationOutputTypeDef
- See TagTypeDef
- See ScaleDownBehaviorType
- See RepoUpgradeOnBootType
- See KerberosAttributesTypeDef
- See ManagedScalingPolicyTypeDef
- See PlacementGroupConfigTypeDef
- See AutoTerminationPolicyTypeDef