Skip to content

Typed dictionaries

Index > EMR > Typed dictionaries

Auto-generated documentation for EMR type annotations stubs module mypy-boto3-emr.

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

TagTypeDef

Usage Example
from mypy_boto3_emr.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }
Definition
class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

ApplicationTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ApplicationTypeDef

def get_value() -> ApplicationTypeDef:
    return {
        "Name": ...,
    }
Definition
class ApplicationTypeDef(TypedDict):
    Name: NotRequired[str],
    Version: NotRequired[str],
    Args: NotRequired[List[str]],
    AdditionalInfo: NotRequired[Dict[str, str]],

ScalingConstraintsTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ScalingConstraintsTypeDef

def get_value() -> ScalingConstraintsTypeDef:
    return {
        "MinCapacity": ...,
        "MaxCapacity": ...,
    }
Definition
class ScalingConstraintsTypeDef(TypedDict):
    MinCapacity: int,
    MaxCapacity: int,

AutoScalingPolicyStateChangeReasonTypeDef

Usage Example
from mypy_boto3_emr.type_defs import AutoScalingPolicyStateChangeReasonTypeDef

def get_value() -> AutoScalingPolicyStateChangeReasonTypeDef:
    return {
        "Code": ...,
    }
Definition
class AutoScalingPolicyStateChangeReasonTypeDef(TypedDict):
    Code: NotRequired[AutoScalingPolicyStateChangeReasonCodeType],  # (1)
    Message: NotRequired[str],
  1. See AutoScalingPolicyStateChangeReasonCodeType

AutoTerminationPolicyTypeDef

Usage Example
from mypy_boto3_emr.type_defs import AutoTerminationPolicyTypeDef

def get_value() -> AutoTerminationPolicyTypeDef:
    return {
        "IdleTimeout": ...,
    }
Definition
class AutoTerminationPolicyTypeDef(TypedDict):
    IdleTimeout: NotRequired[int],

BlockPublicAccessConfigurationMetadataTypeDef

Usage Example
from mypy_boto3_emr.type_defs import BlockPublicAccessConfigurationMetadataTypeDef

def get_value() -> BlockPublicAccessConfigurationMetadataTypeDef:
    return {
        "CreationDateTime": ...,
        "CreatedByArn": ...,
    }
Definition
class BlockPublicAccessConfigurationMetadataTypeDef(TypedDict):
    CreationDateTime: datetime,
    CreatedByArn: str,

PortRangeTypeDef

Usage Example
from mypy_boto3_emr.type_defs import PortRangeTypeDef

def get_value() -> PortRangeTypeDef:
    return {
        "MinRange": ...,
    }
Definition
class PortRangeTypeDef(TypedDict):
    MinRange: int,
    MaxRange: NotRequired[int],

ScriptBootstrapActionConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ScriptBootstrapActionConfigTypeDef

def get_value() -> ScriptBootstrapActionConfigTypeDef:
    return {
        "Path": ...,
    }
Definition
class ScriptBootstrapActionConfigTypeDef(TypedDict):
    Path: str,
    Args: NotRequired[List[str]],

CancelStepsInfoTypeDef

Usage Example
from mypy_boto3_emr.type_defs import CancelStepsInfoTypeDef

def get_value() -> CancelStepsInfoTypeDef:
    return {
        "StepId": ...,
    }
Definition
class CancelStepsInfoTypeDef(TypedDict):
    StepId: NotRequired[str],
    Status: NotRequired[CancelStepsRequestStatusType],  # (1)
    Reason: NotRequired[str],
  1. See CancelStepsRequestStatusType

CancelStepsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import CancelStepsInputRequestTypeDef

def get_value() -> CancelStepsInputRequestTypeDef:
    return {
        "ClusterId": ...,
        "StepIds": ...,
    }
Definition
class CancelStepsInputRequestTypeDef(TypedDict):
    ClusterId: str,
    StepIds: Sequence[str],
    StepCancellationOption: NotRequired[StepCancellationOptionType],  # (1)
  1. See StepCancellationOptionType

MetricDimensionTypeDef

Usage Example
from mypy_boto3_emr.type_defs import MetricDimensionTypeDef

def get_value() -> MetricDimensionTypeDef:
    return {
        "Key": ...,
    }
Definition
class MetricDimensionTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

ClusterStateChangeReasonTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ClusterStateChangeReasonTypeDef

def get_value() -> ClusterStateChangeReasonTypeDef:
    return {
        "Code": ...,
    }
Definition
class ClusterStateChangeReasonTypeDef(TypedDict):
    Code: NotRequired[ClusterStateChangeReasonCodeType],  # (1)
    Message: NotRequired[str],
  1. See ClusterStateChangeReasonCodeType

ClusterTimelineTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ClusterTimelineTypeDef

def get_value() -> ClusterTimelineTypeDef:
    return {
        "CreationDateTime": ...,
    }
Definition
class ClusterTimelineTypeDef(TypedDict):
    CreationDateTime: NotRequired[datetime],
    ReadyDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],

Ec2InstanceAttributesTypeDef

Usage Example
from mypy_boto3_emr.type_defs import Ec2InstanceAttributesTypeDef

def get_value() -> Ec2InstanceAttributesTypeDef:
    return {
        "Ec2KeyName": ...,
    }
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

Usage Example
from mypy_boto3_emr.type_defs import KerberosAttributesTypeDef

def get_value() -> KerberosAttributesTypeDef:
    return {
        "Realm": ...,
        "KdcAdminPassword": ...,
    }
Definition
class KerberosAttributesTypeDef(TypedDict):
    Realm: str,
    KdcAdminPassword: str,
    CrossRealmTrustPrincipalPassword: NotRequired[str],
    ADDomainJoinUser: NotRequired[str],
    ADDomainJoinPassword: NotRequired[str],

PlacementGroupConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import PlacementGroupConfigTypeDef

def get_value() -> PlacementGroupConfigTypeDef:
    return {
        "InstanceRole": ...,
    }
Definition
class PlacementGroupConfigTypeDef(TypedDict):
    InstanceRole: InstanceRoleTypeType,  # (1)
    PlacementStrategy: NotRequired[PlacementGroupStrategyType],  # (2)
  1. See InstanceRoleTypeType
  2. See PlacementGroupStrategyType

CommandTypeDef

Usage Example
from mypy_boto3_emr.type_defs import CommandTypeDef

def get_value() -> CommandTypeDef:
    return {
        "Name": ...,
    }
Definition
class CommandTypeDef(TypedDict):
    Name: NotRequired[str],
    ScriptPath: NotRequired[str],
    Args: NotRequired[List[str]],

ComputeLimitsTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ComputeLimitsTypeDef

def get_value() -> ComputeLimitsTypeDef:
    return {
        "UnitType": ...,
        "MinimumCapacityUnits": ...,
        "MaximumCapacityUnits": ...,
    }
Definition
class ComputeLimitsTypeDef(TypedDict):
    UnitType: ComputeLimitsUnitTypeType,  # (1)
    MinimumCapacityUnits: int,
    MaximumCapacityUnits: int,
    MaximumOnDemandCapacityUnits: NotRequired[int],
    MaximumCoreCapacityUnits: NotRequired[int],
  1. See ComputeLimitsUnitTypeType

ConfigurationTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ConfigurationTypeDef

def get_value() -> ConfigurationTypeDef:
    return {
        "Classification": ...,
    }
Definition
class ConfigurationTypeDef(TypedDict):
    Classification: NotRequired[str],
    Configurations: NotRequired[Sequence[ConfigurationTypeDef]],  # (1)
    Properties: NotRequired[Mapping[str, str]],
  1. See ConfigurationTypeDef

CreateSecurityConfigurationInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import CreateSecurityConfigurationInputRequestTypeDef

def get_value() -> CreateSecurityConfigurationInputRequestTypeDef:
    return {
        "Name": ...,
        "SecurityConfiguration": ...,
    }
Definition
class CreateSecurityConfigurationInputRequestTypeDef(TypedDict):
    Name: str,
    SecurityConfiguration: str,

CreateStudioSessionMappingInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import CreateStudioSessionMappingInputRequestTypeDef

def get_value() -> CreateStudioSessionMappingInputRequestTypeDef:
    return {
        "StudioId": ...,
        "IdentityType": ...,
        "SessionPolicyArn": ...,
    }
Definition
class CreateStudioSessionMappingInputRequestTypeDef(TypedDict):
    StudioId: str,
    IdentityType: IdentityTypeType,  # (1)
    SessionPolicyArn: str,
    IdentityId: NotRequired[str],
    IdentityName: NotRequired[str],
  1. See IdentityTypeType

UsernamePasswordTypeDef

Usage Example
from mypy_boto3_emr.type_defs import UsernamePasswordTypeDef

def get_value() -> UsernamePasswordTypeDef:
    return {
        "Username": ...,
    }
Definition
class UsernamePasswordTypeDef(TypedDict):
    Username: NotRequired[str],
    Password: NotRequired[str],

DeleteSecurityConfigurationInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DeleteSecurityConfigurationInputRequestTypeDef

def get_value() -> DeleteSecurityConfigurationInputRequestTypeDef:
    return {
        "Name": ...,
    }
Definition
class DeleteSecurityConfigurationInputRequestTypeDef(TypedDict):
    Name: str,

DeleteStudioInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DeleteStudioInputRequestTypeDef

def get_value() -> DeleteStudioInputRequestTypeDef:
    return {
        "StudioId": ...,
    }
Definition
class DeleteStudioInputRequestTypeDef(TypedDict):
    StudioId: str,

DeleteStudioSessionMappingInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DeleteStudioSessionMappingInputRequestTypeDef

def get_value() -> DeleteStudioSessionMappingInputRequestTypeDef:
    return {
        "StudioId": ...,
        "IdentityType": ...,
    }
Definition
class DeleteStudioSessionMappingInputRequestTypeDef(TypedDict):
    StudioId: str,
    IdentityType: IdentityTypeType,  # (1)
    IdentityId: NotRequired[str],
    IdentityName: NotRequired[str],
  1. See IdentityTypeType

WaiterConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import WaiterConfigTypeDef

def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }
Definition
class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

DescribeClusterInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeClusterInputRequestTypeDef

def get_value() -> DescribeClusterInputRequestTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class DescribeClusterInputRequestTypeDef(TypedDict):
    ClusterId: str,

DescribeJobFlowsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeJobFlowsInputRequestTypeDef

def get_value() -> DescribeJobFlowsInputRequestTypeDef:
    return {
        "CreatedAfter": ...,
    }
Definition
class DescribeJobFlowsInputRequestTypeDef(TypedDict):
    CreatedAfter: NotRequired[Union[datetime, str]],
    CreatedBefore: NotRequired[Union[datetime, str]],
    JobFlowIds: NotRequired[Sequence[str]],
    JobFlowStates: NotRequired[Sequence[JobFlowExecutionStateType]],  # (1)
  1. See JobFlowExecutionStateType

DescribeNotebookExecutionInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeNotebookExecutionInputRequestTypeDef

def get_value() -> DescribeNotebookExecutionInputRequestTypeDef:
    return {
        "NotebookExecutionId": ...,
    }
Definition
class DescribeNotebookExecutionInputRequestTypeDef(TypedDict):
    NotebookExecutionId: str,

DescribeReleaseLabelInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeReleaseLabelInputRequestTypeDef

def get_value() -> DescribeReleaseLabelInputRequestTypeDef:
    return {
        "ReleaseLabel": ...,
    }
Definition
class DescribeReleaseLabelInputRequestTypeDef(TypedDict):
    ReleaseLabel: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

OSReleaseTypeDef

Usage Example
from mypy_boto3_emr.type_defs import OSReleaseTypeDef

def get_value() -> OSReleaseTypeDef:
    return {
        "Label": ...,
    }
Definition
class OSReleaseTypeDef(TypedDict):
    Label: NotRequired[str],

SimplifiedApplicationTypeDef

Usage Example
from mypy_boto3_emr.type_defs import SimplifiedApplicationTypeDef

def get_value() -> SimplifiedApplicationTypeDef:
    return {
        "Name": ...,
    }
Definition
class SimplifiedApplicationTypeDef(TypedDict):
    Name: NotRequired[str],
    Version: NotRequired[str],

DescribeSecurityConfigurationInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeSecurityConfigurationInputRequestTypeDef

def get_value() -> DescribeSecurityConfigurationInputRequestTypeDef:
    return {
        "Name": ...,
    }
Definition
class DescribeSecurityConfigurationInputRequestTypeDef(TypedDict):
    Name: str,

DescribeStepInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeStepInputRequestTypeDef

def get_value() -> DescribeStepInputRequestTypeDef:
    return {
        "ClusterId": ...,
        "StepId": ...,
    }
Definition
class DescribeStepInputRequestTypeDef(TypedDict):
    ClusterId: str,
    StepId: str,

DescribeStudioInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeStudioInputRequestTypeDef

def get_value() -> DescribeStudioInputRequestTypeDef:
    return {
        "StudioId": ...,
    }
Definition
class DescribeStudioInputRequestTypeDef(TypedDict):
    StudioId: str,

VolumeSpecificationTypeDef

Usage Example
from mypy_boto3_emr.type_defs import VolumeSpecificationTypeDef

def get_value() -> VolumeSpecificationTypeDef:
    return {
        "VolumeType": ...,
        "SizeInGB": ...,
    }
Definition
class VolumeSpecificationTypeDef(TypedDict):
    VolumeType: str,
    SizeInGB: int,
    Iops: NotRequired[int],
    Throughput: NotRequired[int],

EbsVolumeTypeDef

Usage Example
from mypy_boto3_emr.type_defs import EbsVolumeTypeDef

def get_value() -> EbsVolumeTypeDef:
    return {
        "Device": ...,
    }
Definition
class EbsVolumeTypeDef(TypedDict):
    Device: NotRequired[str],
    VolumeId: NotRequired[str],

ExecutionEngineConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ExecutionEngineConfigTypeDef

def get_value() -> ExecutionEngineConfigTypeDef:
    return {
        "Id": ...,
    }
Definition
class ExecutionEngineConfigTypeDef(TypedDict):
    Id: str,
    Type: NotRequired[ExecutionEngineTypeType],  # (1)
    MasterInstanceSecurityGroupId: NotRequired[str],
  1. See ExecutionEngineTypeType

FailureDetailsTypeDef

Usage Example
from mypy_boto3_emr.type_defs import FailureDetailsTypeDef

def get_value() -> FailureDetailsTypeDef:
    return {
        "Reason": ...,
    }
Definition
class FailureDetailsTypeDef(TypedDict):
    Reason: NotRequired[str],
    Message: NotRequired[str],
    LogFile: NotRequired[str],

GetAutoTerminationPolicyInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import GetAutoTerminationPolicyInputRequestTypeDef

def get_value() -> GetAutoTerminationPolicyInputRequestTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class GetAutoTerminationPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,

GetClusterSessionCredentialsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import GetClusterSessionCredentialsInputRequestTypeDef

def get_value() -> GetClusterSessionCredentialsInputRequestTypeDef:
    return {
        "ClusterId": ...,
        "ExecutionRoleArn": ...,
    }
Definition
class GetClusterSessionCredentialsInputRequestTypeDef(TypedDict):
    ClusterId: str,
    ExecutionRoleArn: str,

GetManagedScalingPolicyInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import GetManagedScalingPolicyInputRequestTypeDef

def get_value() -> GetManagedScalingPolicyInputRequestTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class GetManagedScalingPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,

GetStudioSessionMappingInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import GetStudioSessionMappingInputRequestTypeDef

def get_value() -> GetStudioSessionMappingInputRequestTypeDef:
    return {
        "StudioId": ...,
        "IdentityType": ...,
    }
Definition
class GetStudioSessionMappingInputRequestTypeDef(TypedDict):
    StudioId: str,
    IdentityType: IdentityTypeType,  # (1)
    IdentityId: NotRequired[str],
    IdentityName: NotRequired[str],
  1. See IdentityTypeType

SessionMappingDetailTypeDef

Usage Example
from mypy_boto3_emr.type_defs import SessionMappingDetailTypeDef

def get_value() -> SessionMappingDetailTypeDef:
    return {
        "StudioId": ...,
    }
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],
  1. See IdentityTypeType

KeyValueTypeDef

Usage Example
from mypy_boto3_emr.type_defs import KeyValueTypeDef

def get_value() -> KeyValueTypeDef:
    return {
        "Key": ...,
    }
Definition
class KeyValueTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

HadoopStepConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import HadoopStepConfigTypeDef

def get_value() -> HadoopStepConfigTypeDef:
    return {
        "Jar": ...,
    }
Definition
class HadoopStepConfigTypeDef(TypedDict):
    Jar: NotRequired[str],
    Properties: NotRequired[Dict[str, str]],
    MainClass: NotRequired[str],
    Args: NotRequired[List[str]],

SpotProvisioningSpecificationTypeDef

Usage Example
from mypy_boto3_emr.type_defs import SpotProvisioningSpecificationTypeDef

def get_value() -> SpotProvisioningSpecificationTypeDef:
    return {
        "TimeoutDurationMinutes": ...,
        "TimeoutAction": ...,
    }
Definition
class SpotProvisioningSpecificationTypeDef(TypedDict):
    TimeoutDurationMinutes: int,
    TimeoutAction: SpotProvisioningTimeoutActionType,  # (1)
    BlockDurationMinutes: NotRequired[int],
    AllocationStrategy: NotRequired[SpotProvisioningAllocationStrategyType],  # (2)
  1. See SpotProvisioningTimeoutActionType
  2. See SpotProvisioningAllocationStrategyType

OnDemandResizingSpecificationTypeDef

Usage Example
from mypy_boto3_emr.type_defs import OnDemandResizingSpecificationTypeDef

def get_value() -> OnDemandResizingSpecificationTypeDef:
    return {
        "TimeoutDurationMinutes": ...,
    }
Definition
class OnDemandResizingSpecificationTypeDef(TypedDict):
    TimeoutDurationMinutes: int,

SpotResizingSpecificationTypeDef

Usage Example
from mypy_boto3_emr.type_defs import SpotResizingSpecificationTypeDef

def get_value() -> SpotResizingSpecificationTypeDef:
    return {
        "TimeoutDurationMinutes": ...,
    }
Definition
class SpotResizingSpecificationTypeDef(TypedDict):
    TimeoutDurationMinutes: int,

InstanceFleetStateChangeReasonTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceFleetStateChangeReasonTypeDef

def get_value() -> InstanceFleetStateChangeReasonTypeDef:
    return {
        "Code": ...,
    }
Definition
class InstanceFleetStateChangeReasonTypeDef(TypedDict):
    Code: NotRequired[InstanceFleetStateChangeReasonCodeType],  # (1)
    Message: NotRequired[str],
  1. See InstanceFleetStateChangeReasonCodeType

InstanceFleetTimelineTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceFleetTimelineTypeDef

def get_value() -> InstanceFleetTimelineTypeDef:
    return {
        "CreationDateTime": ...,
    }
Definition
class InstanceFleetTimelineTypeDef(TypedDict):
    CreationDateTime: NotRequired[datetime],
    ReadyDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],

InstanceGroupDetailTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceGroupDetailTypeDef

def get_value() -> InstanceGroupDetailTypeDef:
    return {
        "Market": ...,
        "InstanceRole": ...,
        "InstanceType": ...,
        "InstanceRequestCount": ...,
        "InstanceRunningCount": ...,
        "State": ...,
        "CreationDateTime": ...,
    }
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],
  1. See MarketTypeType
  2. See InstanceRoleTypeType
  3. See InstanceGroupStateType

InstanceGroupStateChangeReasonTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceGroupStateChangeReasonTypeDef

def get_value() -> InstanceGroupStateChangeReasonTypeDef:
    return {
        "Code": ...,
    }
Definition
class InstanceGroupStateChangeReasonTypeDef(TypedDict):
    Code: NotRequired[InstanceGroupStateChangeReasonCodeType],  # (1)
    Message: NotRequired[str],
  1. See InstanceGroupStateChangeReasonCodeType

InstanceGroupTimelineTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceGroupTimelineTypeDef

def get_value() -> InstanceGroupTimelineTypeDef:
    return {
        "CreationDateTime": ...,
    }
Definition
class InstanceGroupTimelineTypeDef(TypedDict):
    CreationDateTime: NotRequired[datetime],
    ReadyDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],

InstanceResizePolicyTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceResizePolicyTypeDef

def get_value() -> InstanceResizePolicyTypeDef:
    return {
        "InstancesToTerminate": ...,
    }
Definition
class InstanceResizePolicyTypeDef(TypedDict):
    InstancesToTerminate: NotRequired[List[str]],
    InstancesToProtect: NotRequired[List[str]],
    InstanceTerminationTimeout: NotRequired[int],

InstanceStateChangeReasonTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceStateChangeReasonTypeDef

def get_value() -> InstanceStateChangeReasonTypeDef:
    return {
        "Code": ...,
    }
Definition
class InstanceStateChangeReasonTypeDef(TypedDict):
    Code: NotRequired[InstanceStateChangeReasonCodeType],  # (1)
    Message: NotRequired[str],
  1. See InstanceStateChangeReasonCodeType

InstanceTimelineTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceTimelineTypeDef

def get_value() -> InstanceTimelineTypeDef:
    return {
        "CreationDateTime": ...,
    }
Definition
class InstanceTimelineTypeDef(TypedDict):
    CreationDateTime: NotRequired[datetime],
    ReadyDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],

JobFlowExecutionStatusDetailTypeDef

Usage Example
from mypy_boto3_emr.type_defs import JobFlowExecutionStatusDetailTypeDef

def get_value() -> JobFlowExecutionStatusDetailTypeDef:
    return {
        "State": ...,
        "CreationDateTime": ...,
    }
Definition
class JobFlowExecutionStatusDetailTypeDef(TypedDict):
    State: JobFlowExecutionStateType,  # (1)
    CreationDateTime: datetime,
    StartDateTime: NotRequired[datetime],
    ReadyDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],
    LastStateChangeReason: NotRequired[str],
  1. See JobFlowExecutionStateType

PlacementTypeTypeDef

Usage Example
from mypy_boto3_emr.type_defs import PlacementTypeTypeDef

def get_value() -> PlacementTypeTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class PlacementTypeTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    AvailabilityZones: NotRequired[List[str]],

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListBootstrapActionsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListBootstrapActionsInputRequestTypeDef

def get_value() -> ListBootstrapActionsInputRequestTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class ListBootstrapActionsInputRequestTypeDef(TypedDict):
    ClusterId: str,
    Marker: NotRequired[str],

ListClustersInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListClustersInputRequestTypeDef

def get_value() -> ListClustersInputRequestTypeDef:
    return {
        "CreatedAfter": ...,
    }
Definition
class ListClustersInputRequestTypeDef(TypedDict):
    CreatedAfter: NotRequired[Union[datetime, str]],
    CreatedBefore: NotRequired[Union[datetime, str]],
    ClusterStates: NotRequired[Sequence[ClusterStateType]],  # (1)
    Marker: NotRequired[str],
  1. See ClusterStateType

ListInstanceFleetsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListInstanceFleetsInputRequestTypeDef

def get_value() -> ListInstanceFleetsInputRequestTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class ListInstanceFleetsInputRequestTypeDef(TypedDict):
    ClusterId: str,
    Marker: NotRequired[str],

ListInstanceGroupsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListInstanceGroupsInputRequestTypeDef

def get_value() -> ListInstanceGroupsInputRequestTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class ListInstanceGroupsInputRequestTypeDef(TypedDict):
    ClusterId: str,
    Marker: NotRequired[str],

ListInstancesInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListInstancesInputRequestTypeDef

def get_value() -> ListInstancesInputRequestTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class ListInstancesInputRequestTypeDef(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],
  1. See InstanceGroupTypeType
  2. See InstanceFleetTypeType
  3. See InstanceStateType

ListNotebookExecutionsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListNotebookExecutionsInputRequestTypeDef

def get_value() -> ListNotebookExecutionsInputRequestTypeDef:
    return {
        "EditorId": ...,
    }
Definition
class ListNotebookExecutionsInputRequestTypeDef(TypedDict):
    EditorId: NotRequired[str],
    Status: NotRequired[NotebookExecutionStatusType],  # (1)
    From: NotRequired[Union[datetime, str]],
    To: NotRequired[Union[datetime, str]],
    Marker: NotRequired[str],
  1. See NotebookExecutionStatusType

NotebookExecutionSummaryTypeDef

Usage Example
from mypy_boto3_emr.type_defs import NotebookExecutionSummaryTypeDef

def get_value() -> NotebookExecutionSummaryTypeDef:
    return {
        "NotebookExecutionId": ...,
    }
Definition
class NotebookExecutionSummaryTypeDef(TypedDict):
    NotebookExecutionId: NotRequired[str],
    EditorId: NotRequired[str],
    NotebookExecutionName: NotRequired[str],
    Status: NotRequired[NotebookExecutionStatusType],  # (1)
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
  1. See NotebookExecutionStatusType

ReleaseLabelFilterTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ReleaseLabelFilterTypeDef

def get_value() -> ReleaseLabelFilterTypeDef:
    return {
        "Prefix": ...,
    }
Definition
class ReleaseLabelFilterTypeDef(TypedDict):
    Prefix: NotRequired[str],
    Application: NotRequired[str],

ListSecurityConfigurationsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListSecurityConfigurationsInputRequestTypeDef

def get_value() -> ListSecurityConfigurationsInputRequestTypeDef:
    return {
        "Marker": ...,
    }
Definition
class ListSecurityConfigurationsInputRequestTypeDef(TypedDict):
    Marker: NotRequired[str],

SecurityConfigurationSummaryTypeDef

Usage Example
from mypy_boto3_emr.type_defs import SecurityConfigurationSummaryTypeDef

def get_value() -> SecurityConfigurationSummaryTypeDef:
    return {
        "Name": ...,
    }
Definition
class SecurityConfigurationSummaryTypeDef(TypedDict):
    Name: NotRequired[str],
    CreationDateTime: NotRequired[datetime],

ListStepsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListStepsInputRequestTypeDef

def get_value() -> ListStepsInputRequestTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class ListStepsInputRequestTypeDef(TypedDict):
    ClusterId: str,
    StepStates: NotRequired[Sequence[StepStateType]],  # (1)
    StepIds: NotRequired[Sequence[str]],
    Marker: NotRequired[str],
  1. See StepStateType

ListStudioSessionMappingsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListStudioSessionMappingsInputRequestTypeDef

def get_value() -> ListStudioSessionMappingsInputRequestTypeDef:
    return {
        "StudioId": ...,
    }
Definition
class ListStudioSessionMappingsInputRequestTypeDef(TypedDict):
    StudioId: NotRequired[str],
    IdentityType: NotRequired[IdentityTypeType],  # (1)
    Marker: NotRequired[str],
  1. See IdentityTypeType

SessionMappingSummaryTypeDef

Usage Example
from mypy_boto3_emr.type_defs import SessionMappingSummaryTypeDef

def get_value() -> SessionMappingSummaryTypeDef:
    return {
        "StudioId": ...,
    }
Definition
class SessionMappingSummaryTypeDef(TypedDict):
    StudioId: NotRequired[str],
    IdentityId: NotRequired[str],
    IdentityName: NotRequired[str],
    IdentityType: NotRequired[IdentityTypeType],  # (1)
    SessionPolicyArn: NotRequired[str],
    CreationTime: NotRequired[datetime],
  1. See IdentityTypeType

ListStudiosInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListStudiosInputRequestTypeDef

def get_value() -> ListStudiosInputRequestTypeDef:
    return {
        "Marker": ...,
    }
Definition
class ListStudiosInputRequestTypeDef(TypedDict):
    Marker: NotRequired[str],

StudioSummaryTypeDef

Usage Example
from mypy_boto3_emr.type_defs import StudioSummaryTypeDef

def get_value() -> StudioSummaryTypeDef:
    return {
        "StudioId": ...,
    }
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],
  1. See AuthModeType

ModifyClusterInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ModifyClusterInputRequestTypeDef

def get_value() -> ModifyClusterInputRequestTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class ModifyClusterInputRequestTypeDef(TypedDict):
    ClusterId: str,
    StepConcurrencyLevel: NotRequired[int],

OnDemandCapacityReservationOptionsTypeDef

Usage Example
from mypy_boto3_emr.type_defs import OnDemandCapacityReservationOptionsTypeDef

def get_value() -> OnDemandCapacityReservationOptionsTypeDef:
    return {
        "UsageStrategy": ...,
    }
Definition
class OnDemandCapacityReservationOptionsTypeDef(TypedDict):
    UsageStrategy: NotRequired[OnDemandCapacityReservationUsageStrategyType],  # (1)
    CapacityReservationPreference: NotRequired[OnDemandCapacityReservationPreferenceType],  # (2)
    CapacityReservationResourceGroupArn: NotRequired[str],
  1. See OnDemandCapacityReservationUsageStrategyType
  2. See OnDemandCapacityReservationPreferenceType

RemoveAutoScalingPolicyInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import RemoveAutoScalingPolicyInputRequestTypeDef

def get_value() -> RemoveAutoScalingPolicyInputRequestTypeDef:
    return {
        "ClusterId": ...,
        "InstanceGroupId": ...,
    }
Definition
class RemoveAutoScalingPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,
    InstanceGroupId: str,

RemoveAutoTerminationPolicyInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import RemoveAutoTerminationPolicyInputRequestTypeDef

def get_value() -> RemoveAutoTerminationPolicyInputRequestTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class RemoveAutoTerminationPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,

RemoveManagedScalingPolicyInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import RemoveManagedScalingPolicyInputRequestTypeDef

def get_value() -> RemoveManagedScalingPolicyInputRequestTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class RemoveManagedScalingPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,

RemoveTagsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import RemoveTagsInputRequestTypeDef

def get_value() -> RemoveTagsInputRequestTypeDef:
    return {
        "ResourceId": ...,
        "TagKeys": ...,
    }
Definition
class RemoveTagsInputRequestTypeDef(TypedDict):
    ResourceId: str,
    TagKeys: Sequence[str],

SupportedProductConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import SupportedProductConfigTypeDef

def get_value() -> SupportedProductConfigTypeDef:
    return {
        "Name": ...,
    }
Definition
class SupportedProductConfigTypeDef(TypedDict):
    Name: NotRequired[str],
    Args: NotRequired[Sequence[str]],

SimpleScalingPolicyConfigurationTypeDef

Usage Example
from mypy_boto3_emr.type_defs import SimpleScalingPolicyConfigurationTypeDef

def get_value() -> SimpleScalingPolicyConfigurationTypeDef:
    return {
        "ScalingAdjustment": ...,
    }
Definition
class SimpleScalingPolicyConfigurationTypeDef(TypedDict):
    ScalingAdjustment: int,
    AdjustmentType: NotRequired[AdjustmentTypeType],  # (1)
    CoolDown: NotRequired[int],
  1. See AdjustmentTypeType

SetTerminationProtectionInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import SetTerminationProtectionInputRequestTypeDef

def get_value() -> SetTerminationProtectionInputRequestTypeDef:
    return {
        "JobFlowIds": ...,
        "TerminationProtected": ...,
    }
Definition
class SetTerminationProtectionInputRequestTypeDef(TypedDict):
    JobFlowIds: Sequence[str],
    TerminationProtected: bool,

SetVisibleToAllUsersInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import SetVisibleToAllUsersInputRequestTypeDef

def get_value() -> SetVisibleToAllUsersInputRequestTypeDef:
    return {
        "JobFlowIds": ...,
        "VisibleToAllUsers": ...,
    }
Definition
class SetVisibleToAllUsersInputRequestTypeDef(TypedDict):
    JobFlowIds: Sequence[str],
    VisibleToAllUsers: bool,

StepExecutionStatusDetailTypeDef

Usage Example
from mypy_boto3_emr.type_defs import StepExecutionStatusDetailTypeDef

def get_value() -> StepExecutionStatusDetailTypeDef:
    return {
        "State": ...,
        "CreationDateTime": ...,
    }
Definition
class StepExecutionStatusDetailTypeDef(TypedDict):
    State: StepExecutionStateType,  # (1)
    CreationDateTime: datetime,
    StartDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],
    LastStateChangeReason: NotRequired[str],
  1. See StepExecutionStateType

StepStateChangeReasonTypeDef

Usage Example
from mypy_boto3_emr.type_defs import StepStateChangeReasonTypeDef

def get_value() -> StepStateChangeReasonTypeDef:
    return {
        "Code": ...,
    }
Definition
class StepStateChangeReasonTypeDef(TypedDict):
    Code: NotRequired[StepStateChangeReasonCodeType],  # (1)
    Message: NotRequired[str],
  1. See StepStateChangeReasonCodeType

StepTimelineTypeDef

Usage Example
from mypy_boto3_emr.type_defs import StepTimelineTypeDef

def get_value() -> StepTimelineTypeDef:
    return {
        "CreationDateTime": ...,
    }
Definition
class StepTimelineTypeDef(TypedDict):
    CreationDateTime: NotRequired[datetime],
    StartDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],

StopNotebookExecutionInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import StopNotebookExecutionInputRequestTypeDef

def get_value() -> StopNotebookExecutionInputRequestTypeDef:
    return {
        "NotebookExecutionId": ...,
    }
Definition
class StopNotebookExecutionInputRequestTypeDef(TypedDict):
    NotebookExecutionId: str,

TerminateJobFlowsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import TerminateJobFlowsInputRequestTypeDef

def get_value() -> TerminateJobFlowsInputRequestTypeDef:
    return {
        "JobFlowIds": ...,
    }
Definition
class TerminateJobFlowsInputRequestTypeDef(TypedDict):
    JobFlowIds: Sequence[str],

UpdateStudioInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import UpdateStudioInputRequestTypeDef

def get_value() -> UpdateStudioInputRequestTypeDef:
    return {
        "StudioId": ...,
    }
Definition
class UpdateStudioInputRequestTypeDef(TypedDict):
    StudioId: str,
    Name: NotRequired[str],
    Description: NotRequired[str],
    SubnetIds: NotRequired[Sequence[str]],
    DefaultS3Location: NotRequired[str],

UpdateStudioSessionMappingInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import UpdateStudioSessionMappingInputRequestTypeDef

def get_value() -> UpdateStudioSessionMappingInputRequestTypeDef:
    return {
        "StudioId": ...,
        "IdentityType": ...,
        "SessionPolicyArn": ...,
    }
Definition
class UpdateStudioSessionMappingInputRequestTypeDef(TypedDict):
    StudioId: str,
    IdentityType: IdentityTypeType,  # (1)
    SessionPolicyArn: str,
    IdentityId: NotRequired[str],
    IdentityName: NotRequired[str],
  1. See IdentityTypeType

AddInstanceFleetOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import AddInstanceFleetOutputTypeDef

def get_value() -> AddInstanceFleetOutputTypeDef:
    return {
        "ClusterId": ...,
        "InstanceFleetId": ...,
        "ClusterArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class AddInstanceFleetOutputTypeDef(TypedDict):
    ClusterId: str,
    InstanceFleetId: str,
    ClusterArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AddInstanceGroupsOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import AddInstanceGroupsOutputTypeDef

def get_value() -> AddInstanceGroupsOutputTypeDef:
    return {
        "JobFlowId": ...,
        "InstanceGroupIds": ...,
        "ClusterArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class AddInstanceGroupsOutputTypeDef(TypedDict):
    JobFlowId: str,
    InstanceGroupIds: List[str],
    ClusterArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AddJobFlowStepsOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import AddJobFlowStepsOutputTypeDef

def get_value() -> AddJobFlowStepsOutputTypeDef:
    return {
        "StepIds": ...,
        "ResponseMetadata": ...,
    }
Definition
class AddJobFlowStepsOutputTypeDef(TypedDict):
    StepIds: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateSecurityConfigurationOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import CreateSecurityConfigurationOutputTypeDef

def get_value() -> CreateSecurityConfigurationOutputTypeDef:
    return {
        "Name": ...,
        "CreationDateTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateSecurityConfigurationOutputTypeDef(TypedDict):
    Name: str,
    CreationDateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateStudioOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import CreateStudioOutputTypeDef

def get_value() -> CreateStudioOutputTypeDef:
    return {
        "StudioId": ...,
        "Url": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateStudioOutputTypeDef(TypedDict):
    StudioId: str,
    Url: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeSecurityConfigurationOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeSecurityConfigurationOutputTypeDef

def get_value() -> DescribeSecurityConfigurationOutputTypeDef:
    return {
        "Name": ...,
        "SecurityConfiguration": ...,
        "CreationDateTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSecurityConfigurationOutputTypeDef(TypedDict):
    Name: str,
    SecurityConfiguration: str,
    CreationDateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_emr.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListReleaseLabelsOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListReleaseLabelsOutputTypeDef

def get_value() -> ListReleaseLabelsOutputTypeDef:
    return {
        "ReleaseLabels": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListReleaseLabelsOutputTypeDef(TypedDict):
    ReleaseLabels: List[str],
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyClusterOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ModifyClusterOutputTypeDef

def get_value() -> ModifyClusterOutputTypeDef:
    return {
        "StepConcurrencyLevel": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyClusterOutputTypeDef(TypedDict):
    StepConcurrencyLevel: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RunJobFlowOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import RunJobFlowOutputTypeDef

def get_value() -> RunJobFlowOutputTypeDef:
    return {
        "JobFlowId": ...,
        "ClusterArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class RunJobFlowOutputTypeDef(TypedDict):
    JobFlowId: str,
    ClusterArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartNotebookExecutionOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import StartNotebookExecutionOutputTypeDef

def get_value() -> StartNotebookExecutionOutputTypeDef:
    return {
        "NotebookExecutionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartNotebookExecutionOutputTypeDef(TypedDict):
    NotebookExecutionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AddTagsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import AddTagsInputRequestTypeDef

def get_value() -> AddTagsInputRequestTypeDef:
    return {
        "ResourceId": ...,
        "Tags": ...,
    }
Definition
class AddTagsInputRequestTypeDef(TypedDict):
    ResourceId: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateStudioInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import CreateStudioInputRequestTypeDef

def get_value() -> CreateStudioInputRequestTypeDef:
    return {
        "Name": ...,
        "AuthMode": ...,
        "VpcId": ...,
        "SubnetIds": ...,
        "ServiceRole": ...,
        "WorkspaceSecurityGroupId": ...,
        "EngineSecurityGroupId": ...,
        "DefaultS3Location": ...,
    }
Definition
class CreateStudioInputRequestTypeDef(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)
  1. See AuthModeType
  2. See TagTypeDef

StudioTypeDef

Usage Example
from mypy_boto3_emr.type_defs import StudioTypeDef

def get_value() -> StudioTypeDef:
    return {
        "StudioId": ...,
    }
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)
  1. See AuthModeType
  2. See TagTypeDef

AutoScalingPolicyStatusTypeDef

Usage Example
from mypy_boto3_emr.type_defs import AutoScalingPolicyStatusTypeDef

def get_value() -> AutoScalingPolicyStatusTypeDef:
    return {
        "State": ...,
    }
Definition
class AutoScalingPolicyStatusTypeDef(TypedDict):
    State: NotRequired[AutoScalingPolicyStateType],  # (1)
    StateChangeReason: NotRequired[AutoScalingPolicyStateChangeReasonTypeDef],  # (2)
  1. See AutoScalingPolicyStateType
  2. See AutoScalingPolicyStateChangeReasonTypeDef

GetAutoTerminationPolicyOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import GetAutoTerminationPolicyOutputTypeDef

def get_value() -> GetAutoTerminationPolicyOutputTypeDef:
    return {
        "AutoTerminationPolicy": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAutoTerminationPolicyOutputTypeDef(TypedDict):
    AutoTerminationPolicy: AutoTerminationPolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoTerminationPolicyTypeDef
  2. See ResponseMetadataTypeDef

PutAutoTerminationPolicyInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import PutAutoTerminationPolicyInputRequestTypeDef

def get_value() -> PutAutoTerminationPolicyInputRequestTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class PutAutoTerminationPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,
    AutoTerminationPolicy: NotRequired[AutoTerminationPolicyTypeDef],  # (1)
  1. See AutoTerminationPolicyTypeDef

BlockPublicAccessConfigurationTypeDef

Usage Example
from mypy_boto3_emr.type_defs import BlockPublicAccessConfigurationTypeDef

def get_value() -> BlockPublicAccessConfigurationTypeDef:
    return {
        "BlockPublicSecurityGroupRules": ...,
    }
Definition
class BlockPublicAccessConfigurationTypeDef(TypedDict):
    BlockPublicSecurityGroupRules: bool,
    PermittedPublicSecurityGroupRuleRanges: NotRequired[List[PortRangeTypeDef]],  # (1)
  1. See PortRangeTypeDef

BootstrapActionConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import BootstrapActionConfigTypeDef

def get_value() -> BootstrapActionConfigTypeDef:
    return {
        "Name": ...,
        "ScriptBootstrapAction": ...,
    }
Definition
class BootstrapActionConfigTypeDef(TypedDict):
    Name: str,
    ScriptBootstrapAction: ScriptBootstrapActionConfigTypeDef,  # (1)
  1. See ScriptBootstrapActionConfigTypeDef

CancelStepsOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import CancelStepsOutputTypeDef

def get_value() -> CancelStepsOutputTypeDef:
    return {
        "CancelStepsInfoList": ...,
        "ResponseMetadata": ...,
    }
Definition
class CancelStepsOutputTypeDef(TypedDict):
    CancelStepsInfoList: List[CancelStepsInfoTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CancelStepsInfoTypeDef
  2. See ResponseMetadataTypeDef

CloudWatchAlarmDefinitionTypeDef

Usage Example
from mypy_boto3_emr.type_defs import CloudWatchAlarmDefinitionTypeDef

def get_value() -> CloudWatchAlarmDefinitionTypeDef:
    return {
        "ComparisonOperator": ...,
        "MetricName": ...,
        "Period": ...,
        "Threshold": ...,
    }
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)
  1. See ComparisonOperatorType
  2. See StatisticType
  3. See UnitType
  4. See MetricDimensionTypeDef

ClusterStatusTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ClusterStatusTypeDef

def get_value() -> ClusterStatusTypeDef:
    return {
        "State": ...,
    }
Definition
class ClusterStatusTypeDef(TypedDict):
    State: NotRequired[ClusterStateType],  # (1)
    StateChangeReason: NotRequired[ClusterStateChangeReasonTypeDef],  # (2)
    Timeline: NotRequired[ClusterTimelineTypeDef],  # (3)
  1. See ClusterStateType
  2. See ClusterStateChangeReasonTypeDef
  3. See ClusterTimelineTypeDef

ListBootstrapActionsOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListBootstrapActionsOutputTypeDef

def get_value() -> ListBootstrapActionsOutputTypeDef:
    return {
        "BootstrapActions": ...,
        "Marker": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListBootstrapActionsOutputTypeDef(TypedDict):
    BootstrapActions: List[CommandTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CommandTypeDef
  2. See ResponseMetadataTypeDef

ManagedScalingPolicyTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ManagedScalingPolicyTypeDef

def get_value() -> ManagedScalingPolicyTypeDef:
    return {
        "ComputeLimits": ...,
    }
Definition
class ManagedScalingPolicyTypeDef(TypedDict):
    ComputeLimits: NotRequired[ComputeLimitsTypeDef],  # (1)
  1. See ComputeLimitsTypeDef

CredentialsTypeDef

Usage Example
from mypy_boto3_emr.type_defs import CredentialsTypeDef

def get_value() -> CredentialsTypeDef:
    return {
        "UsernamePassword": ...,
    }
Definition
class CredentialsTypeDef(TypedDict):
    UsernamePassword: NotRequired[UsernamePasswordTypeDef],  # (1)
  1. See UsernamePasswordTypeDef

DescribeClusterInputClusterRunningWaitTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeClusterInputClusterRunningWaitTypeDef

def get_value() -> DescribeClusterInputClusterRunningWaitTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class DescribeClusterInputClusterRunningWaitTypeDef(TypedDict):
    ClusterId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeClusterInputClusterTerminatedWaitTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeClusterInputClusterTerminatedWaitTypeDef

def get_value() -> DescribeClusterInputClusterTerminatedWaitTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class DescribeClusterInputClusterTerminatedWaitTypeDef(TypedDict):
    ClusterId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeStepInputStepCompleteWaitTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeStepInputStepCompleteWaitTypeDef

def get_value() -> DescribeStepInputStepCompleteWaitTypeDef:
    return {
        "ClusterId": ...,
        "StepId": ...,
    }
Definition
class DescribeStepInputStepCompleteWaitTypeDef(TypedDict):
    ClusterId: str,
    StepId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeReleaseLabelOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeReleaseLabelOutputTypeDef

def get_value() -> DescribeReleaseLabelOutputTypeDef:
    return {
        "ReleaseLabel": ...,
        "Applications": ...,
        "NextToken": ...,
        "AvailableOSReleases": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeReleaseLabelOutputTypeDef(TypedDict):
    ReleaseLabel: str,
    Applications: List[SimplifiedApplicationTypeDef],  # (1)
    NextToken: str,
    AvailableOSReleases: List[OSReleaseTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SimplifiedApplicationTypeDef
  2. See OSReleaseTypeDef
  3. See ResponseMetadataTypeDef

EbsBlockDeviceConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import EbsBlockDeviceConfigTypeDef

def get_value() -> EbsBlockDeviceConfigTypeDef:
    return {
        "VolumeSpecification": ...,
    }
Definition
class EbsBlockDeviceConfigTypeDef(TypedDict):
    VolumeSpecification: VolumeSpecificationTypeDef,  # (1)
    VolumesPerInstance: NotRequired[int],
  1. See VolumeSpecificationTypeDef

EbsBlockDeviceTypeDef

Usage Example
from mypy_boto3_emr.type_defs import EbsBlockDeviceTypeDef

def get_value() -> EbsBlockDeviceTypeDef:
    return {
        "VolumeSpecification": ...,
    }
Definition
class EbsBlockDeviceTypeDef(TypedDict):
    VolumeSpecification: NotRequired[VolumeSpecificationTypeDef],  # (1)
    Device: NotRequired[str],
  1. See VolumeSpecificationTypeDef

NotebookExecutionTypeDef

Usage Example
from mypy_boto3_emr.type_defs import NotebookExecutionTypeDef

def get_value() -> NotebookExecutionTypeDef:
    return {
        "NotebookExecutionId": ...,
    }
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)
  1. See ExecutionEngineConfigTypeDef
  2. See NotebookExecutionStatusType
  3. See TagTypeDef

StartNotebookExecutionInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import StartNotebookExecutionInputRequestTypeDef

def get_value() -> StartNotebookExecutionInputRequestTypeDef:
    return {
        "EditorId": ...,
        "RelativePath": ...,
        "ExecutionEngine": ...,
        "ServiceRole": ...,
    }
Definition
class StartNotebookExecutionInputRequestTypeDef(TypedDict):
    EditorId: str,
    RelativePath: str,
    ExecutionEngine: ExecutionEngineConfigTypeDef,  # (1)
    ServiceRole: str,
    NotebookExecutionName: NotRequired[str],
    NotebookParams: NotRequired[str],
    NotebookInstanceSecurityGroupId: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See ExecutionEngineConfigTypeDef
  2. See TagTypeDef

GetStudioSessionMappingOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import GetStudioSessionMappingOutputTypeDef

def get_value() -> GetStudioSessionMappingOutputTypeDef:
    return {
        "SessionMapping": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetStudioSessionMappingOutputTypeDef(TypedDict):
    SessionMapping: SessionMappingDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SessionMappingDetailTypeDef
  2. See ResponseMetadataTypeDef

HadoopJarStepConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import HadoopJarStepConfigTypeDef

def get_value() -> HadoopJarStepConfigTypeDef:
    return {
        "Jar": ...,
    }
Definition
class HadoopJarStepConfigTypeDef(TypedDict):
    Jar: str,
    Properties: NotRequired[Sequence[KeyValueTypeDef]],  # (1)
    MainClass: NotRequired[str],
    Args: NotRequired[Sequence[str]],
  1. See KeyValueTypeDef

InstanceFleetResizingSpecificationsTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceFleetResizingSpecificationsTypeDef

def get_value() -> InstanceFleetResizingSpecificationsTypeDef:
    return {
        "SpotResizeSpecification": ...,
    }
Definition
class InstanceFleetResizingSpecificationsTypeDef(TypedDict):
    SpotResizeSpecification: NotRequired[SpotResizingSpecificationTypeDef],  # (1)
    OnDemandResizeSpecification: NotRequired[OnDemandResizingSpecificationTypeDef],  # (2)
  1. See SpotResizingSpecificationTypeDef
  2. See OnDemandResizingSpecificationTypeDef

InstanceFleetStatusTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceFleetStatusTypeDef

def get_value() -> InstanceFleetStatusTypeDef:
    return {
        "State": ...,
    }
Definition
class InstanceFleetStatusTypeDef(TypedDict):
    State: NotRequired[InstanceFleetStateType],  # (1)
    StateChangeReason: NotRequired[InstanceFleetStateChangeReasonTypeDef],  # (2)
    Timeline: NotRequired[InstanceFleetTimelineTypeDef],  # (3)
  1. See InstanceFleetStateType
  2. See InstanceFleetStateChangeReasonTypeDef
  3. See InstanceFleetTimelineTypeDef

InstanceGroupStatusTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceGroupStatusTypeDef

def get_value() -> InstanceGroupStatusTypeDef:
    return {
        "State": ...,
    }
Definition
class InstanceGroupStatusTypeDef(TypedDict):
    State: NotRequired[InstanceGroupStateType],  # (1)
    StateChangeReason: NotRequired[InstanceGroupStateChangeReasonTypeDef],  # (2)
    Timeline: NotRequired[InstanceGroupTimelineTypeDef],  # (3)
  1. See InstanceGroupStateType
  2. See InstanceGroupStateChangeReasonTypeDef
  3. See InstanceGroupTimelineTypeDef

ShrinkPolicyTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ShrinkPolicyTypeDef

def get_value() -> ShrinkPolicyTypeDef:
    return {
        "DecommissionTimeout": ...,
    }
Definition
class ShrinkPolicyTypeDef(TypedDict):
    DecommissionTimeout: NotRequired[int],
    InstanceResizePolicy: NotRequired[InstanceResizePolicyTypeDef],  # (1)
  1. See InstanceResizePolicyTypeDef

InstanceStatusTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceStatusTypeDef

def get_value() -> InstanceStatusTypeDef:
    return {
        "State": ...,
    }
Definition
class InstanceStatusTypeDef(TypedDict):
    State: NotRequired[InstanceStateType],  # (1)
    StateChangeReason: NotRequired[InstanceStateChangeReasonTypeDef],  # (2)
    Timeline: NotRequired[InstanceTimelineTypeDef],  # (3)
  1. See InstanceStateType
  2. See InstanceStateChangeReasonTypeDef
  3. See InstanceTimelineTypeDef

JobFlowInstancesDetailTypeDef

Usage Example
from mypy_boto3_emr.type_defs import JobFlowInstancesDetailTypeDef

def get_value() -> JobFlowInstancesDetailTypeDef:
    return {
        "MasterInstanceType": ...,
        "SlaveInstanceType": ...,
        "InstanceCount": ...,
    }
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[PlacementTypeTypeDef],  # (2)
    KeepJobFlowAliveWhenNoSteps: NotRequired[bool],
    TerminationProtected: NotRequired[bool],
    HadoopVersion: NotRequired[str],
  1. See InstanceGroupDetailTypeDef
  2. See PlacementTypeTypeDef

ListBootstrapActionsInputListBootstrapActionsPaginateTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListBootstrapActionsInputListBootstrapActionsPaginateTypeDef

def get_value() -> ListBootstrapActionsInputListBootstrapActionsPaginateTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class ListBootstrapActionsInputListBootstrapActionsPaginateTypeDef(TypedDict):
    ClusterId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListClustersInputListClustersPaginateTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListClustersInputListClustersPaginateTypeDef

def get_value() -> ListClustersInputListClustersPaginateTypeDef:
    return {
        "CreatedAfter": ...,
    }
Definition
class ListClustersInputListClustersPaginateTypeDef(TypedDict):
    CreatedAfter: NotRequired[Union[datetime, str]],
    CreatedBefore: NotRequired[Union[datetime, str]],
    ClusterStates: NotRequired[Sequence[ClusterStateType]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ClusterStateType
  2. See PaginatorConfigTypeDef

ListInstanceFleetsInputListInstanceFleetsPaginateTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListInstanceFleetsInputListInstanceFleetsPaginateTypeDef

def get_value() -> ListInstanceFleetsInputListInstanceFleetsPaginateTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class ListInstanceFleetsInputListInstanceFleetsPaginateTypeDef(TypedDict):
    ClusterId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListInstanceGroupsInputListInstanceGroupsPaginateTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListInstanceGroupsInputListInstanceGroupsPaginateTypeDef

def get_value() -> ListInstanceGroupsInputListInstanceGroupsPaginateTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class ListInstanceGroupsInputListInstanceGroupsPaginateTypeDef(TypedDict):
    ClusterId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListInstancesInputListInstancesPaginateTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListInstancesInputListInstancesPaginateTypeDef

def get_value() -> ListInstancesInputListInstancesPaginateTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class ListInstancesInputListInstancesPaginateTypeDef(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)
  1. See InstanceGroupTypeType
  2. See InstanceFleetTypeType
  3. See InstanceStateType
  4. See PaginatorConfigTypeDef

ListNotebookExecutionsInputListNotebookExecutionsPaginateTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListNotebookExecutionsInputListNotebookExecutionsPaginateTypeDef

def get_value() -> ListNotebookExecutionsInputListNotebookExecutionsPaginateTypeDef:
    return {
        "EditorId": ...,
    }
Definition
class ListNotebookExecutionsInputListNotebookExecutionsPaginateTypeDef(TypedDict):
    EditorId: NotRequired[str],
    Status: NotRequired[NotebookExecutionStatusType],  # (1)
    From: NotRequired[Union[datetime, str]],
    To: NotRequired[Union[datetime, str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See NotebookExecutionStatusType
  2. See PaginatorConfigTypeDef

ListSecurityConfigurationsInputListSecurityConfigurationsPaginateTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListSecurityConfigurationsInputListSecurityConfigurationsPaginateTypeDef

def get_value() -> ListSecurityConfigurationsInputListSecurityConfigurationsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListSecurityConfigurationsInputListSecurityConfigurationsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListStepsInputListStepsPaginateTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListStepsInputListStepsPaginateTypeDef

def get_value() -> ListStepsInputListStepsPaginateTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class ListStepsInputListStepsPaginateTypeDef(TypedDict):
    ClusterId: str,
    StepStates: NotRequired[Sequence[StepStateType]],  # (1)
    StepIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See StepStateType
  2. See PaginatorConfigTypeDef

ListStudioSessionMappingsInputListStudioSessionMappingsPaginateTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListStudioSessionMappingsInputListStudioSessionMappingsPaginateTypeDef

def get_value() -> ListStudioSessionMappingsInputListStudioSessionMappingsPaginateTypeDef:
    return {
        "StudioId": ...,
    }
Definition
class ListStudioSessionMappingsInputListStudioSessionMappingsPaginateTypeDef(TypedDict):
    StudioId: NotRequired[str],
    IdentityType: NotRequired[IdentityTypeType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See IdentityTypeType
  2. See PaginatorConfigTypeDef

ListStudiosInputListStudiosPaginateTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListStudiosInputListStudiosPaginateTypeDef

def get_value() -> ListStudiosInputListStudiosPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListStudiosInputListStudiosPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListNotebookExecutionsOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListNotebookExecutionsOutputTypeDef

def get_value() -> ListNotebookExecutionsOutputTypeDef:
    return {
        "NotebookExecutions": ...,
        "Marker": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListNotebookExecutionsOutputTypeDef(TypedDict):
    NotebookExecutions: List[NotebookExecutionSummaryTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotebookExecutionSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListReleaseLabelsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListReleaseLabelsInputRequestTypeDef

def get_value() -> ListReleaseLabelsInputRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class ListReleaseLabelsInputRequestTypeDef(TypedDict):
    Filters: NotRequired[ReleaseLabelFilterTypeDef],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See ReleaseLabelFilterTypeDef

ListSecurityConfigurationsOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListSecurityConfigurationsOutputTypeDef

def get_value() -> ListSecurityConfigurationsOutputTypeDef:
    return {
        "SecurityConfigurations": ...,
        "Marker": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListSecurityConfigurationsOutputTypeDef(TypedDict):
    SecurityConfigurations: List[SecurityConfigurationSummaryTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SecurityConfigurationSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListStudioSessionMappingsOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListStudioSessionMappingsOutputTypeDef

def get_value() -> ListStudioSessionMappingsOutputTypeDef:
    return {
        "SessionMappings": ...,
        "Marker": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListStudioSessionMappingsOutputTypeDef(TypedDict):
    SessionMappings: List[SessionMappingSummaryTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SessionMappingSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListStudiosOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListStudiosOutputTypeDef

def get_value() -> ListStudiosOutputTypeDef:
    return {
        "Studios": ...,
        "Marker": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListStudiosOutputTypeDef(TypedDict):
    Studios: List[StudioSummaryTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StudioSummaryTypeDef
  2. See ResponseMetadataTypeDef

OnDemandProvisioningSpecificationTypeDef

Usage Example
from mypy_boto3_emr.type_defs import OnDemandProvisioningSpecificationTypeDef

def get_value() -> OnDemandProvisioningSpecificationTypeDef:
    return {
        "AllocationStrategy": ...,
    }
Definition
class OnDemandProvisioningSpecificationTypeDef(TypedDict):
    AllocationStrategy: OnDemandProvisioningAllocationStrategyType,  # (1)
    CapacityReservationOptions: NotRequired[OnDemandCapacityReservationOptionsTypeDef],  # (2)
  1. See OnDemandProvisioningAllocationStrategyType
  2. See OnDemandCapacityReservationOptionsTypeDef

ScalingActionTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ScalingActionTypeDef

def get_value() -> ScalingActionTypeDef:
    return {
        "SimpleScalingPolicyConfiguration": ...,
    }
Definition
class ScalingActionTypeDef(TypedDict):
    SimpleScalingPolicyConfiguration: SimpleScalingPolicyConfigurationTypeDef,  # (2)
    Market: NotRequired[MarketTypeType],  # (1)
  1. See MarketTypeType
  2. See SimpleScalingPolicyConfigurationTypeDef

StepStatusTypeDef

Usage Example
from mypy_boto3_emr.type_defs import StepStatusTypeDef

def get_value() -> StepStatusTypeDef:
    return {
        "State": ...,
    }
Definition
class StepStatusTypeDef(TypedDict):
    State: NotRequired[StepStateType],  # (1)
    StateChangeReason: NotRequired[StepStateChangeReasonTypeDef],  # (2)
    FailureDetails: NotRequired[FailureDetailsTypeDef],  # (3)
    Timeline: NotRequired[StepTimelineTypeDef],  # (4)
  1. See StepStateType
  2. See StepStateChangeReasonTypeDef
  3. See FailureDetailsTypeDef
  4. See StepTimelineTypeDef

DescribeStudioOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeStudioOutputTypeDef

def get_value() -> DescribeStudioOutputTypeDef:
    return {
        "Studio": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeStudioOutputTypeDef(TypedDict):
    Studio: StudioTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StudioTypeDef
  2. See ResponseMetadataTypeDef

GetBlockPublicAccessConfigurationOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import GetBlockPublicAccessConfigurationOutputTypeDef

def get_value() -> GetBlockPublicAccessConfigurationOutputTypeDef:
    return {
        "BlockPublicAccessConfiguration": ...,
        "BlockPublicAccessConfigurationMetadata": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetBlockPublicAccessConfigurationOutputTypeDef(TypedDict):
    BlockPublicAccessConfiguration: BlockPublicAccessConfigurationTypeDef,  # (1)
    BlockPublicAccessConfigurationMetadata: BlockPublicAccessConfigurationMetadataTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See BlockPublicAccessConfigurationTypeDef
  2. See BlockPublicAccessConfigurationMetadataTypeDef
  3. See ResponseMetadataTypeDef

PutBlockPublicAccessConfigurationInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import PutBlockPublicAccessConfigurationInputRequestTypeDef

def get_value() -> PutBlockPublicAccessConfigurationInputRequestTypeDef:
    return {
        "BlockPublicAccessConfiguration": ...,
    }
Definition
class PutBlockPublicAccessConfigurationInputRequestTypeDef(TypedDict):
    BlockPublicAccessConfiguration: BlockPublicAccessConfigurationTypeDef,  # (1)
  1. See BlockPublicAccessConfigurationTypeDef

BootstrapActionDetailTypeDef

Usage Example
from mypy_boto3_emr.type_defs import BootstrapActionDetailTypeDef

def get_value() -> BootstrapActionDetailTypeDef:
    return {
        "BootstrapActionConfig": ...,
    }
Definition
class BootstrapActionDetailTypeDef(TypedDict):
    BootstrapActionConfig: NotRequired[BootstrapActionConfigTypeDef],  # (1)
  1. See BootstrapActionConfigTypeDef

ScalingTriggerTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ScalingTriggerTypeDef

def get_value() -> ScalingTriggerTypeDef:
    return {
        "CloudWatchAlarmDefinition": ...,
    }
Definition
class ScalingTriggerTypeDef(TypedDict):
    CloudWatchAlarmDefinition: CloudWatchAlarmDefinitionTypeDef,  # (1)
  1. See CloudWatchAlarmDefinitionTypeDef

ClusterSummaryTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ClusterSummaryTypeDef

def get_value() -> ClusterSummaryTypeDef:
    return {
        "Id": ...,
    }
Definition
class ClusterSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Status: NotRequired[ClusterStatusTypeDef],  # (1)
    NormalizedInstanceHours: NotRequired[int],
    ClusterArn: NotRequired[str],
    OutpostArn: NotRequired[str],
  1. See ClusterStatusTypeDef

ClusterTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ClusterTypeDef

def get_value() -> ClusterTypeDef:
    return {
        "Id": ...,
    }
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],
    VisibleToAllUsers: NotRequired[bool],
    Applications: NotRequired[List[ApplicationTypeDef]],  # (4)
    Tags: NotRequired[List[TagTypeDef]],  # (5)
    ServiceRole: NotRequired[str],
    NormalizedInstanceHours: NotRequired[int],
    MasterPublicDnsName: NotRequired[str],
    Configurations: NotRequired[List[ConfigurationTypeDef]],  # (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],
  1. See ClusterStatusTypeDef
  2. See Ec2InstanceAttributesTypeDef
  3. See InstanceCollectionTypeType
  4. See ApplicationTypeDef
  5. See TagTypeDef
  6. See ConfigurationTypeDef
  7. See ScaleDownBehaviorType
  8. See RepoUpgradeOnBootType
  9. See KerberosAttributesTypeDef
  10. See PlacementGroupConfigTypeDef

GetManagedScalingPolicyOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import GetManagedScalingPolicyOutputTypeDef

def get_value() -> GetManagedScalingPolicyOutputTypeDef:
    return {
        "ManagedScalingPolicy": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetManagedScalingPolicyOutputTypeDef(TypedDict):
    ManagedScalingPolicy: ManagedScalingPolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedScalingPolicyTypeDef
  2. See ResponseMetadataTypeDef

PutManagedScalingPolicyInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import PutManagedScalingPolicyInputRequestTypeDef

def get_value() -> PutManagedScalingPolicyInputRequestTypeDef:
    return {
        "ClusterId": ...,
        "ManagedScalingPolicy": ...,
    }
Definition
class PutManagedScalingPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,
    ManagedScalingPolicy: ManagedScalingPolicyTypeDef,  # (1)
  1. See ManagedScalingPolicyTypeDef

GetClusterSessionCredentialsOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import GetClusterSessionCredentialsOutputTypeDef

def get_value() -> GetClusterSessionCredentialsOutputTypeDef:
    return {
        "Credentials": ...,
        "ExpiresAt": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetClusterSessionCredentialsOutputTypeDef(TypedDict):
    Credentials: CredentialsTypeDef,  # (1)
    ExpiresAt: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CredentialsTypeDef
  2. See ResponseMetadataTypeDef

EbsConfigurationTypeDef

Usage Example
from mypy_boto3_emr.type_defs import EbsConfigurationTypeDef

def get_value() -> EbsConfigurationTypeDef:
    return {
        "EbsBlockDeviceConfigs": ...,
    }
Definition
class EbsConfigurationTypeDef(TypedDict):
    EbsBlockDeviceConfigs: NotRequired[Sequence[EbsBlockDeviceConfigTypeDef]],  # (1)
    EbsOptimized: NotRequired[bool],
  1. See EbsBlockDeviceConfigTypeDef

InstanceTypeSpecificationTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceTypeSpecificationTypeDef

def get_value() -> InstanceTypeSpecificationTypeDef:
    return {
        "InstanceType": ...,
    }
Definition
class InstanceTypeSpecificationTypeDef(TypedDict):
    InstanceType: NotRequired[str],
    WeightedCapacity: NotRequired[int],
    BidPrice: NotRequired[str],
    BidPriceAsPercentageOfOnDemandPrice: NotRequired[float],
    Configurations: NotRequired[List[ConfigurationTypeDef]],  # (1)
    EbsBlockDevices: NotRequired[List[EbsBlockDeviceTypeDef]],  # (2)
    EbsOptimized: NotRequired[bool],
    CustomAmiId: NotRequired[str],
  1. See ConfigurationTypeDef
  2. See EbsBlockDeviceTypeDef

DescribeNotebookExecutionOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeNotebookExecutionOutputTypeDef

def get_value() -> DescribeNotebookExecutionOutputTypeDef:
    return {
        "NotebookExecution": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeNotebookExecutionOutputTypeDef(TypedDict):
    NotebookExecution: NotebookExecutionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotebookExecutionTypeDef
  2. See ResponseMetadataTypeDef

StepConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import StepConfigTypeDef

def get_value() -> StepConfigTypeDef:
    return {
        "Name": ...,
        "HadoopJarStep": ...,
    }
Definition
class StepConfigTypeDef(TypedDict):
    Name: str,
    HadoopJarStep: HadoopJarStepConfigTypeDef,  # (2)
    ActionOnFailure: NotRequired[ActionOnFailureType],  # (1)
  1. See ActionOnFailureType
  2. See HadoopJarStepConfigTypeDef

InstanceFleetModifyConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceFleetModifyConfigTypeDef

def get_value() -> InstanceFleetModifyConfigTypeDef:
    return {
        "InstanceFleetId": ...,
    }
Definition
class InstanceFleetModifyConfigTypeDef(TypedDict):
    InstanceFleetId: str,
    TargetOnDemandCapacity: NotRequired[int],
    TargetSpotCapacity: NotRequired[int],
    ResizeSpecifications: NotRequired[InstanceFleetResizingSpecificationsTypeDef],  # (1)
  1. See InstanceFleetResizingSpecificationsTypeDef

InstanceGroupModifyConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceGroupModifyConfigTypeDef

def get_value() -> InstanceGroupModifyConfigTypeDef:
    return {
        "InstanceGroupId": ...,
    }
Definition
class InstanceGroupModifyConfigTypeDef(TypedDict):
    InstanceGroupId: str,
    InstanceCount: NotRequired[int],
    EC2InstanceIdsToTerminate: NotRequired[Sequence[str]],
    ShrinkPolicy: NotRequired[ShrinkPolicyTypeDef],  # (1)
    ReconfigurationType: NotRequired[ReconfigurationTypeType],  # (2)
    Configurations: NotRequired[Sequence[ConfigurationTypeDef]],  # (3)
  1. See ShrinkPolicyTypeDef
  2. See ReconfigurationTypeType
  3. See ConfigurationTypeDef

InstanceTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceTypeDef

def get_value() -> InstanceTypeDef:
    return {
        "Id": ...,
    }
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)
  1. See InstanceStatusTypeDef
  2. See MarketTypeType
  3. See EbsVolumeTypeDef

InstanceFleetProvisioningSpecificationsTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceFleetProvisioningSpecificationsTypeDef

def get_value() -> InstanceFleetProvisioningSpecificationsTypeDef:
    return {
        "SpotSpecification": ...,
    }
Definition
class InstanceFleetProvisioningSpecificationsTypeDef(TypedDict):
    SpotSpecification: NotRequired[SpotProvisioningSpecificationTypeDef],  # (1)
    OnDemandSpecification: NotRequired[OnDemandProvisioningSpecificationTypeDef],  # (2)
  1. See SpotProvisioningSpecificationTypeDef
  2. See OnDemandProvisioningSpecificationTypeDef

StepSummaryTypeDef

Usage Example
from mypy_boto3_emr.type_defs import StepSummaryTypeDef

def get_value() -> StepSummaryTypeDef:
    return {
        "Id": ...,
    }
Definition
class StepSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Config: NotRequired[HadoopStepConfigTypeDef],  # (1)
    ActionOnFailure: NotRequired[ActionOnFailureType],  # (2)
    Status: NotRequired[StepStatusTypeDef],  # (3)
  1. See HadoopStepConfigTypeDef
  2. See ActionOnFailureType
  3. See StepStatusTypeDef

StepTypeDef

Usage Example
from mypy_boto3_emr.type_defs import StepTypeDef

def get_value() -> StepTypeDef:
    return {
        "Id": ...,
    }
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],
  1. See HadoopStepConfigTypeDef
  2. See ActionOnFailureType
  3. See StepStatusTypeDef

ScalingRuleTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ScalingRuleTypeDef

def get_value() -> ScalingRuleTypeDef:
    return {
        "Name": ...,
        "Action": ...,
        "Trigger": ...,
    }
Definition
class ScalingRuleTypeDef(TypedDict):
    Name: str,
    Action: ScalingActionTypeDef,  # (1)
    Trigger: ScalingTriggerTypeDef,  # (2)
    Description: NotRequired[str],
  1. See ScalingActionTypeDef
  2. See ScalingTriggerTypeDef

ListClustersOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListClustersOutputTypeDef

def get_value() -> ListClustersOutputTypeDef:
    return {
        "Clusters": ...,
        "Marker": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListClustersOutputTypeDef(TypedDict):
    Clusters: List[ClusterSummaryTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClusterSummaryTypeDef
  2. See ResponseMetadataTypeDef

DescribeClusterOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeClusterOutputTypeDef

def get_value() -> DescribeClusterOutputTypeDef:
    return {
        "Cluster": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeClusterOutputTypeDef(TypedDict):
    Cluster: ClusterTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClusterTypeDef
  2. See ResponseMetadataTypeDef

InstanceTypeConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceTypeConfigTypeDef

def get_value() -> InstanceTypeConfigTypeDef:
    return {
        "InstanceType": ...,
    }
Definition
class InstanceTypeConfigTypeDef(TypedDict):
    InstanceType: str,
    WeightedCapacity: NotRequired[int],
    BidPrice: NotRequired[str],
    BidPriceAsPercentageOfOnDemandPrice: NotRequired[float],
    EbsConfiguration: NotRequired[EbsConfigurationTypeDef],  # (1)
    Configurations: NotRequired[Sequence[ConfigurationTypeDef]],  # (2)
    CustomAmiId: NotRequired[str],
  1. See EbsConfigurationTypeDef
  2. See ConfigurationTypeDef

AddJobFlowStepsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import AddJobFlowStepsInputRequestTypeDef

def get_value() -> AddJobFlowStepsInputRequestTypeDef:
    return {
        "JobFlowId": ...,
        "Steps": ...,
    }
Definition
class AddJobFlowStepsInputRequestTypeDef(TypedDict):
    JobFlowId: str,
    Steps: Sequence[StepConfigTypeDef],  # (1)
    ExecutionRoleArn: NotRequired[str],
  1. See StepConfigTypeDef

StepDetailTypeDef

Usage Example
from mypy_boto3_emr.type_defs import StepDetailTypeDef

def get_value() -> StepDetailTypeDef:
    return {
        "StepConfig": ...,
        "ExecutionStatusDetail": ...,
    }
Definition
class StepDetailTypeDef(TypedDict):
    StepConfig: StepConfigTypeDef,  # (1)
    ExecutionStatusDetail: StepExecutionStatusDetailTypeDef,  # (2)
  1. See StepConfigTypeDef
  2. See StepExecutionStatusDetailTypeDef

ModifyInstanceFleetInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ModifyInstanceFleetInputRequestTypeDef

def get_value() -> ModifyInstanceFleetInputRequestTypeDef:
    return {
        "ClusterId": ...,
        "InstanceFleet": ...,
    }
Definition
class ModifyInstanceFleetInputRequestTypeDef(TypedDict):
    ClusterId: str,
    InstanceFleet: InstanceFleetModifyConfigTypeDef,  # (1)
  1. See InstanceFleetModifyConfigTypeDef

ModifyInstanceGroupsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ModifyInstanceGroupsInputRequestTypeDef

def get_value() -> ModifyInstanceGroupsInputRequestTypeDef:
    return {
        "ClusterId": ...,
    }
Definition
class ModifyInstanceGroupsInputRequestTypeDef(TypedDict):
    ClusterId: NotRequired[str],
    InstanceGroups: NotRequired[Sequence[InstanceGroupModifyConfigTypeDef]],  # (1)
  1. See InstanceGroupModifyConfigTypeDef

ListInstancesOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListInstancesOutputTypeDef

def get_value() -> ListInstancesOutputTypeDef:
    return {
        "Instances": ...,
        "Marker": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListInstancesOutputTypeDef(TypedDict):
    Instances: List[InstanceTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceTypeDef
  2. See ResponseMetadataTypeDef

InstanceFleetTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceFleetTypeDef

def get_value() -> InstanceFleetTypeDef:
    return {
        "Id": ...,
    }
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)
  1. See InstanceFleetStatusTypeDef
  2. See InstanceFleetTypeType
  3. See InstanceTypeSpecificationTypeDef
  4. See InstanceFleetProvisioningSpecificationsTypeDef
  5. See InstanceFleetResizingSpecificationsTypeDef

ListStepsOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListStepsOutputTypeDef

def get_value() -> ListStepsOutputTypeDef:
    return {
        "Steps": ...,
        "Marker": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListStepsOutputTypeDef(TypedDict):
    Steps: List[StepSummaryTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StepSummaryTypeDef
  2. See ResponseMetadataTypeDef

DescribeStepOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeStepOutputTypeDef

def get_value() -> DescribeStepOutputTypeDef:
    return {
        "Step": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeStepOutputTypeDef(TypedDict):
    Step: StepTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StepTypeDef
  2. See ResponseMetadataTypeDef

AutoScalingPolicyDescriptionTypeDef

Usage Example
from mypy_boto3_emr.type_defs import AutoScalingPolicyDescriptionTypeDef

def get_value() -> AutoScalingPolicyDescriptionTypeDef:
    return {
        "Status": ...,
    }
Definition
class AutoScalingPolicyDescriptionTypeDef(TypedDict):
    Status: NotRequired[AutoScalingPolicyStatusTypeDef],  # (1)
    Constraints: NotRequired[ScalingConstraintsTypeDef],  # (2)
    Rules: NotRequired[List[ScalingRuleTypeDef]],  # (3)
  1. See AutoScalingPolicyStatusTypeDef
  2. See ScalingConstraintsTypeDef
  3. See ScalingRuleTypeDef

AutoScalingPolicyTypeDef

Usage Example
from mypy_boto3_emr.type_defs import AutoScalingPolicyTypeDef

def get_value() -> AutoScalingPolicyTypeDef:
    return {
        "Constraints": ...,
        "Rules": ...,
    }
Definition
class AutoScalingPolicyTypeDef(TypedDict):
    Constraints: ScalingConstraintsTypeDef,  # (1)
    Rules: Sequence[ScalingRuleTypeDef],  # (2)
  1. See ScalingConstraintsTypeDef
  2. See ScalingRuleTypeDef

InstanceFleetConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceFleetConfigTypeDef

def get_value() -> InstanceFleetConfigTypeDef:
    return {
        "InstanceFleetType": ...,
    }
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)
  1. See InstanceFleetTypeType
  2. See InstanceTypeConfigTypeDef
  3. See InstanceFleetProvisioningSpecificationsTypeDef
  4. See InstanceFleetResizingSpecificationsTypeDef

JobFlowDetailTypeDef

Usage Example
from mypy_boto3_emr.type_defs import JobFlowDetailTypeDef

def get_value() -> JobFlowDetailTypeDef:
    return {
        "JobFlowId": ...,
        "Name": ...,
        "ExecutionStatusDetail": ...,
        "Instances": ...,
    }
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)
  1. See JobFlowExecutionStatusDetailTypeDef
  2. See JobFlowInstancesDetailTypeDef
  3. See StepDetailTypeDef
  4. See BootstrapActionDetailTypeDef
  5. See ScaleDownBehaviorType

ListInstanceFleetsOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListInstanceFleetsOutputTypeDef

def get_value() -> ListInstanceFleetsOutputTypeDef:
    return {
        "InstanceFleets": ...,
        "Marker": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListInstanceFleetsOutputTypeDef(TypedDict):
    InstanceFleets: List[InstanceFleetTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceFleetTypeDef
  2. See ResponseMetadataTypeDef

InstanceGroupTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceGroupTypeDef

def get_value() -> InstanceGroupTypeDef:
    return {
        "Id": ...,
    }
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[ConfigurationTypeDef]],  # (4)
    ConfigurationsVersion: NotRequired[int],
    LastSuccessfullyAppliedConfigurations: NotRequired[List[ConfigurationTypeDef]],  # (4)
    LastSuccessfullyAppliedConfigurationsVersion: NotRequired[int],
    EbsBlockDevices: NotRequired[List[EbsBlockDeviceTypeDef]],  # (6)
    EbsOptimized: NotRequired[bool],
    ShrinkPolicy: NotRequired[ShrinkPolicyTypeDef],  # (7)
    AutoScalingPolicy: NotRequired[AutoScalingPolicyDescriptionTypeDef],  # (8)
    CustomAmiId: NotRequired[str],
  1. See MarketTypeType
  2. See InstanceGroupTypeType
  3. See InstanceGroupStatusTypeDef
  4. See ConfigurationTypeDef
  5. See ConfigurationTypeDef
  6. See EbsBlockDeviceTypeDef
  7. See ShrinkPolicyTypeDef
  8. See AutoScalingPolicyDescriptionTypeDef

PutAutoScalingPolicyOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import PutAutoScalingPolicyOutputTypeDef

def get_value() -> PutAutoScalingPolicyOutputTypeDef:
    return {
        "ClusterId": ...,
        "InstanceGroupId": ...,
        "AutoScalingPolicy": ...,
        "ClusterArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class PutAutoScalingPolicyOutputTypeDef(TypedDict):
    ClusterId: str,
    InstanceGroupId: str,
    AutoScalingPolicy: AutoScalingPolicyDescriptionTypeDef,  # (1)
    ClusterArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoScalingPolicyDescriptionTypeDef
  2. See ResponseMetadataTypeDef

InstanceGroupConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import InstanceGroupConfigTypeDef

def get_value() -> InstanceGroupConfigTypeDef:
    return {
        "InstanceRole": ...,
        "InstanceType": ...,
        "InstanceCount": ...,
    }
Definition
class InstanceGroupConfigTypeDef(TypedDict):
    InstanceRole: InstanceRoleTypeType,  # (2)
    InstanceType: str,
    InstanceCount: int,
    Name: NotRequired[str],
    Market: NotRequired[MarketTypeType],  # (1)
    BidPrice: NotRequired[str],
    Configurations: NotRequired[Sequence[ConfigurationTypeDef]],  # (3)
    EbsConfiguration: NotRequired[EbsConfigurationTypeDef],  # (4)
    AutoScalingPolicy: NotRequired[AutoScalingPolicyTypeDef],  # (5)
    CustomAmiId: NotRequired[str],
  1. See MarketTypeType
  2. See InstanceRoleTypeType
  3. See ConfigurationTypeDef
  4. See EbsConfigurationTypeDef
  5. See AutoScalingPolicyTypeDef

PutAutoScalingPolicyInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import PutAutoScalingPolicyInputRequestTypeDef

def get_value() -> PutAutoScalingPolicyInputRequestTypeDef:
    return {
        "ClusterId": ...,
        "InstanceGroupId": ...,
        "AutoScalingPolicy": ...,
    }
Definition
class PutAutoScalingPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,
    InstanceGroupId: str,
    AutoScalingPolicy: AutoScalingPolicyTypeDef,  # (1)
  1. See AutoScalingPolicyTypeDef

AddInstanceFleetInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import AddInstanceFleetInputRequestTypeDef

def get_value() -> AddInstanceFleetInputRequestTypeDef:
    return {
        "ClusterId": ...,
        "InstanceFleet": ...,
    }
Definition
class AddInstanceFleetInputRequestTypeDef(TypedDict):
    ClusterId: str,
    InstanceFleet: InstanceFleetConfigTypeDef,  # (1)
  1. See InstanceFleetConfigTypeDef

DescribeJobFlowsOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import DescribeJobFlowsOutputTypeDef

def get_value() -> DescribeJobFlowsOutputTypeDef:
    return {
        "JobFlows": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeJobFlowsOutputTypeDef(TypedDict):
    JobFlows: List[JobFlowDetailTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See JobFlowDetailTypeDef
  2. See ResponseMetadataTypeDef

ListInstanceGroupsOutputTypeDef

Usage Example
from mypy_boto3_emr.type_defs import ListInstanceGroupsOutputTypeDef

def get_value() -> ListInstanceGroupsOutputTypeDef:
    return {
        "InstanceGroups": ...,
        "Marker": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListInstanceGroupsOutputTypeDef(TypedDict):
    InstanceGroups: List[InstanceGroupTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceGroupTypeDef
  2. See ResponseMetadataTypeDef

AddInstanceGroupsInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import AddInstanceGroupsInputRequestTypeDef

def get_value() -> AddInstanceGroupsInputRequestTypeDef:
    return {
        "InstanceGroups": ...,
        "JobFlowId": ...,
    }
Definition
class AddInstanceGroupsInputRequestTypeDef(TypedDict):
    InstanceGroups: Sequence[InstanceGroupConfigTypeDef],  # (1)
    JobFlowId: str,
  1. See InstanceGroupConfigTypeDef

JobFlowInstancesConfigTypeDef

Usage Example
from mypy_boto3_emr.type_defs import JobFlowInstancesConfigTypeDef

def get_value() -> JobFlowInstancesConfigTypeDef:
    return {
        "MasterInstanceType": ...,
    }
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[PlacementTypeTypeDef],  # (3)
    KeepJobFlowAliveWhenNoSteps: NotRequired[bool],
    TerminationProtected: 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]],
  1. See InstanceGroupConfigTypeDef
  2. See InstanceFleetConfigTypeDef
  3. See PlacementTypeTypeDef

RunJobFlowInputRequestTypeDef

Usage Example
from mypy_boto3_emr.type_defs import RunJobFlowInputRequestTypeDef

def get_value() -> RunJobFlowInputRequestTypeDef:
    return {
        "Name": ...,
        "Instances": ...,
    }
Definition
class RunJobFlowInputRequestTypeDef(TypedDict):
    Name: str,
    Instances: JobFlowInstancesConfigTypeDef,  # (1)
    LogUri: NotRequired[str],
    LogEncryptionKmsKeyId: NotRequired[str],
    AdditionalInfo: NotRequired[str],
    AmiVersion: NotRequired[str],
    ReleaseLabel: NotRequired[str],
    Steps: NotRequired[Sequence[StepConfigTypeDef]],  # (2)
    BootstrapActions: NotRequired[Sequence[BootstrapActionConfigTypeDef]],  # (3)
    SupportedProducts: NotRequired[Sequence[str]],
    NewSupportedProducts: NotRequired[Sequence[SupportedProductConfigTypeDef]],  # (4)
    Applications: NotRequired[Sequence[ApplicationTypeDef]],  # (5)
    Configurations: NotRequired[Sequence[ConfigurationTypeDef]],  # (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],
  1. See JobFlowInstancesConfigTypeDef
  2. See StepConfigTypeDef
  3. See BootstrapActionConfigTypeDef
  4. See SupportedProductConfigTypeDef
  5. See ApplicationTypeDef
  6. See ConfigurationTypeDef
  7. See TagTypeDef
  8. See ScaleDownBehaviorType
  9. See RepoUpgradeOnBootType
  10. See KerberosAttributesTypeDef
  11. See ManagedScalingPolicyTypeDef
  12. See PlacementGroupConfigTypeDef
  13. See AutoTerminationPolicyTypeDef