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

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,

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]],

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],

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

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

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[s