Skip to content

Type definitions#

Index > EMR > Type definitions

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

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

ApplicationUnionTypeDef#

# ApplicationUnionTypeDef definition

ApplicationUnionTypeDef = Union[
    ApplicationTypeDef,  # (1)
    ApplicationOutputTypeDef,  # (2)
]
  1. See ApplicationTypeDef
  2. See ApplicationOutputTypeDef

ConfigurationUnionTypeDef#

# ConfigurationUnionTypeDef definition

ConfigurationUnionTypeDef = Union[
    ConfigurationTypeDef,  # (1)
    ConfigurationOutputTypeDef,  # (2)
]
  1. See ConfigurationTypeDef
  2. See ConfigurationOutputTypeDef

InstanceResizePolicyUnionTypeDef#

# InstanceResizePolicyUnionTypeDef definition

InstanceResizePolicyUnionTypeDef = Union[
    InstanceResizePolicyTypeDef,  # (1)
    InstanceResizePolicyOutputTypeDef,  # (2)
]
  1. See InstanceResizePolicyTypeDef
  2. See InstanceResizePolicyOutputTypeDef

PlacementTypeUnionTypeDef#

# PlacementTypeUnionTypeDef definition

PlacementTypeUnionTypeDef = Union[
    PlacementTypeTypeDef,  # (1)
    PlacementTypeOutputTypeDef,  # (2)
]
  1. See PlacementTypeTypeDef
  2. See PlacementTypeOutputTypeDef

ScriptBootstrapActionConfigUnionTypeDef#

# ScriptBootstrapActionConfigUnionTypeDef definition

ScriptBootstrapActionConfigUnionTypeDef = Union[
    ScriptBootstrapActionConfigTypeDef,  # (1)
    ScriptBootstrapActionConfigOutputTypeDef,  # (2)
]
  1. See ScriptBootstrapActionConfigTypeDef
  2. See ScriptBootstrapActionConfigOutputTypeDef

CloudWatchAlarmDefinitionUnionTypeDef#

# CloudWatchAlarmDefinitionUnionTypeDef definition

CloudWatchAlarmDefinitionUnionTypeDef = Union[
    CloudWatchAlarmDefinitionTypeDef,  # (1)
    CloudWatchAlarmDefinitionOutputTypeDef,  # (2)
]
  1. See CloudWatchAlarmDefinitionTypeDef
  2. See CloudWatchAlarmDefinitionOutputTypeDef

HadoopJarStepConfigUnionTypeDef#

# HadoopJarStepConfigUnionTypeDef definition

HadoopJarStepConfigUnionTypeDef = Union[
    HadoopJarStepConfigTypeDef,  # (1)
    HadoopJarStepConfigOutputTypeDef,  # (2)
]
  1. See HadoopJarStepConfigTypeDef
  2. See HadoopJarStepConfigOutputTypeDef

ShrinkPolicyUnionTypeDef#

# ShrinkPolicyUnionTypeDef definition

ShrinkPolicyUnionTypeDef = Union[
    ShrinkPolicyTypeDef,  # (1)
    ShrinkPolicyOutputTypeDef,  # (2)
]
  1. See ShrinkPolicyTypeDef
  2. See ShrinkPolicyOutputTypeDef

BootstrapActionConfigUnionTypeDef#

# BootstrapActionConfigUnionTypeDef definition

BootstrapActionConfigUnionTypeDef = Union[
    BootstrapActionConfigTypeDef,  # (1)
    BootstrapActionConfigOutputTypeDef,  # (2)
]
  1. See BootstrapActionConfigTypeDef
  2. See BootstrapActionConfigOutputTypeDef

ScalingTriggerUnionTypeDef#

# ScalingTriggerUnionTypeDef definition

ScalingTriggerUnionTypeDef = Union[
    ScalingTriggerTypeDef,  # (1)
    ScalingTriggerOutputTypeDef,  # (2)
]
  1. See ScalingTriggerTypeDef
  2. See ScalingTriggerOutputTypeDef

StepConfigUnionTypeDef#

# StepConfigUnionTypeDef definition

StepConfigUnionTypeDef = Union[
    StepConfigTypeDef,  # (1)
    StepConfigOutputTypeDef,  # (2)
]
  1. See StepConfigTypeDef
  2. See StepConfigOutputTypeDef

ScalingRuleUnionTypeDef#

# ScalingRuleUnionTypeDef definition

ScalingRuleUnionTypeDef = Union[
    ScalingRuleTypeDef,  # (1)
    ScalingRuleOutputTypeDef,  # (2)
]
  1. See ScalingRuleTypeDef
  2. See ScalingRuleOutputTypeDef

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

ApplicationOutputTypeDef#

# ApplicationOutputTypeDef definition

class ApplicationOutputTypeDef(TypedDict):
    Name: NotRequired[str],
    Version: NotRequired[str],
    Args: NotRequired[List[str]],
    AdditionalInfo: NotRequired[Dict[str, str]],

ApplicationTypeDef#

# ApplicationTypeDef definition

class ApplicationTypeDef(TypedDict):
    Name: NotRequired[str],
    Version: NotRequired[str],
    Args: NotRequired[Sequence[str]],
    AdditionalInfo: NotRequired[Mapping[str, str]],

ScalingConstraintsTypeDef#

# ScalingConstraintsTypeDef definition

class ScalingConstraintsTypeDef(TypedDict):
    MinCapacity: int,
    MaxCapacity: int,

AutoScalingPolicyStateChangeReasonTypeDef#

# AutoScalingPolicyStateChangeReasonTypeDef definition

class AutoScalingPolicyStateChangeReasonTypeDef(TypedDict):
    Code: NotRequired[AutoScalingPolicyStateChangeReasonCodeType],  # (1)
    Message: NotRequired[str],
  1. See AutoScalingPolicyStateChangeReasonCodeType

AutoTerminationPolicyTypeDef#

# AutoTerminationPolicyTypeDef definition

class AutoTerminationPolicyTypeDef(TypedDict):
    IdleTimeout: NotRequired[int],

BlockPublicAccessConfigurationMetadataTypeDef#

# BlockPublicAccessConfigurationMetadataTypeDef definition

class BlockPublicAccessConfigurationMetadataTypeDef(TypedDict):
    CreationDateTime: datetime,
    CreatedByArn: str,

PortRangeTypeDef#

# PortRangeTypeDef definition

class PortRangeTypeDef(TypedDict):
    MinRange: int,
    MaxRange: NotRequired[int],

ScriptBootstrapActionConfigOutputTypeDef#

# ScriptBootstrapActionConfigOutputTypeDef definition

class ScriptBootstrapActionConfigOutputTypeDef(TypedDict):
    Path: str,
    Args: NotRequired[List[str]],

CancelStepsInfoTypeDef#

# CancelStepsInfoTypeDef definition

class CancelStepsInfoTypeDef(TypedDict):
    StepId: NotRequired[str],
    Status: NotRequired[CancelStepsRequestStatusType],  # (1)
    Reason: NotRequired[str],
  1. See CancelStepsRequestStatusType

CancelStepsInputRequestTypeDef#

# CancelStepsInputRequestTypeDef definition

class CancelStepsInputRequestTypeDef(TypedDict):
    ClusterId: str,
    StepIds: Sequence[str],
    StepCancellationOption: NotRequired[StepCancellationOptionType],  # (1)
  1. See StepCancellationOptionType

MetricDimensionTypeDef#

# MetricDimensionTypeDef definition

class MetricDimensionTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

ClusterStateChangeReasonTypeDef#

# ClusterStateChangeReasonTypeDef definition

class ClusterStateChangeReasonTypeDef(TypedDict):
    Code: NotRequired[ClusterStateChangeReasonCodeType],  # (1)
    Message: NotRequired[str],
  1. See ClusterStateChangeReasonCodeType

ClusterTimelineTypeDef#

# ClusterTimelineTypeDef definition

class ClusterTimelineTypeDef(TypedDict):
    CreationDateTime: NotRequired[datetime],
    ReadyDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],

ErrorDetailTypeDef#

# ErrorDetailTypeDef definition

class ErrorDetailTypeDef(TypedDict):
    ErrorCode: NotRequired[str],
    ErrorData: NotRequired[List[Dict[str, str]]],
    ErrorMessage: NotRequired[str],

ConfigurationOutputTypeDef#

# ConfigurationOutputTypeDef definition

class ConfigurationOutputTypeDef(TypedDict):
    Classification: NotRequired[str],
    Configurations: NotRequired[List[Dict[str, Any]]],
    Properties: NotRequired[Dict[str, str]],

Ec2InstanceAttributesTypeDef#

# Ec2InstanceAttributesTypeDef definition

class Ec2InstanceAttributesTypeDef(TypedDict):
    Ec2KeyName: NotRequired[str],
    Ec2SubnetId: NotRequired[str],
    RequestedEc2SubnetIds: NotRequired[List[str]],
    Ec2AvailabilityZone: NotRequired[str],
    RequestedEc2AvailabilityZones: NotRequired[List[str]],
    IamInstanceProfile: NotRequired[str],
    EmrManagedMasterSecurityGroup: NotRequired[str],
    EmrManagedSlaveSecurityGroup: NotRequired[str],
    ServiceAccessSecurityGroup: NotRequired[str],
    AdditionalMasterSecurityGroups: NotRequired[List[str]],
    AdditionalSlaveSecurityGroups: NotRequired[List[str]],

KerberosAttributesTypeDef#

# KerberosAttributesTypeDef definition

class KerberosAttributesTypeDef(TypedDict):
    Realm: str,
    KdcAdminPassword: str,
    CrossRealmTrustPrincipalPassword: NotRequired[str],
    ADDomainJoinUser: NotRequired[str],
    ADDomainJoinPassword: NotRequired[str],

PlacementGroupConfigTypeDef#

# PlacementGroupConfigTypeDef definition

class PlacementGroupConfigTypeDef(TypedDict):
    InstanceRole: InstanceRoleTypeType,  # (1)
    PlacementStrategy: NotRequired[PlacementGroupStrategyType],  # (2)
  1. See InstanceRoleTypeType
  2. See PlacementGroupStrategyType

CommandTypeDef#

# CommandTypeDef definition

class CommandTypeDef(TypedDict):
    Name: NotRequired[str],
    ScriptPath: NotRequired[str],
    Args: NotRequired[List[str]],

ComputeLimitsTypeDef#

# ComputeLimitsTypeDef definition

class ComputeLimitsTypeDef(TypedDict):
    UnitType: ComputeLimitsUnitTypeType,  # (1)
    MinimumCapacityUnits: int,
    MaximumCapacityUnits: int,
    MaximumOnDemandCapacityUnits: NotRequired[int],
    MaximumCoreCapacityUnits: NotRequired[int],
  1. See ComputeLimitsUnitTypeType

ConfigurationPaginatorTypeDef#

# ConfigurationPaginatorTypeDef definition

class ConfigurationPaginatorTypeDef(TypedDict):
    Classification: NotRequired[str],
    Configurations: NotRequired[List[Dict[str, Any]]],
    Properties: NotRequired[Dict[str, str]],

ConfigurationTypeDef#

# ConfigurationTypeDef definition

class ConfigurationTypeDef(TypedDict):
    Classification: NotRequired[str],
    Configurations: NotRequired[Sequence[Mapping[str, Any]]],
    Properties: NotRequired[Mapping[str, str]],

CreateSecurityConfigurationInputRequestTypeDef#

# CreateSecurityConfigurationInputRequestTypeDef definition

class CreateSecurityConfigurationInputRequestTypeDef(TypedDict):
    Name: str,
    SecurityConfiguration: str,

CreateStudioSessionMappingInputRequestTypeDef#

# CreateStudioSessionMappingInputRequestTypeDef definition

class CreateStudioSessionMappingInputRequestTypeDef(TypedDict):
    StudioId: str,
    IdentityType: IdentityTypeType,  # (1)
    SessionPolicyArn: str,
    IdentityId: NotRequired[str],
    IdentityName: NotRequired[str],
  1. See IdentityTypeType

UsernamePasswordTypeDef#

# UsernamePasswordTypeDef definition

class UsernamePasswordTypeDef(TypedDict):
    Username: NotRequired[str],
    Password: NotRequired[str],

DeleteSecurityConfigurationInputRequestTypeDef#

# DeleteSecurityConfigurationInputRequestTypeDef definition

class DeleteSecurityConfigurationInputRequestTypeDef(TypedDict):
    Name: str,

DeleteStudioInputRequestTypeDef#

# DeleteStudioInputRequestTypeDef definition

class DeleteStudioInputRequestTypeDef(TypedDict):
    StudioId: str,

DeleteStudioSessionMappingInputRequestTypeDef#

# DeleteStudioSessionMappingInputRequestTypeDef definition

class DeleteStudioSessionMappingInputRequestTypeDef(TypedDict):
    StudioId: str,
    IdentityType: IdentityTypeType,  # (1)
    IdentityId: NotRequired[str],
    IdentityName: NotRequired[str],
  1. See IdentityTypeType

WaiterConfigTypeDef#

# WaiterConfigTypeDef definition

class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

DescribeClusterInputRequestTypeDef#

# DescribeClusterInputRequestTypeDef definition

class DescribeClusterInputRequestTypeDef(TypedDict):
    ClusterId: str,

DescribeNotebookExecutionInputRequestTypeDef#

# DescribeNotebookExecutionInputRequestTypeDef definition

class DescribeNotebookExecutionInputRequestTypeDef(TypedDict):
    NotebookExecutionId: str,

DescribeReleaseLabelInputRequestTypeDef#

# DescribeReleaseLabelInputRequestTypeDef definition

class DescribeReleaseLabelInputRequestTypeDef(TypedDict):
    ReleaseLabel: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

OSReleaseTypeDef#

# OSReleaseTypeDef definition

class OSReleaseTypeDef(TypedDict):
    Label: NotRequired[str],

SimplifiedApplicationTypeDef#

# SimplifiedApplicationTypeDef definition

class SimplifiedApplicationTypeDef(TypedDict):
    Name: NotRequired[str],
    Version: NotRequired[str],

DescribeSecurityConfigurationInputRequestTypeDef#

# DescribeSecurityConfigurationInputRequestTypeDef definition

class DescribeSecurityConfigurationInputRequestTypeDef(TypedDict):
    Name: str,

DescribeStepInputRequestTypeDef#

# DescribeStepInputRequestTypeDef definition

class DescribeStepInputRequestTypeDef(TypedDict):
    ClusterId: str,
    StepId: str,

DescribeStudioInputRequestTypeDef#

# DescribeStudioInputRequestTypeDef definition

class DescribeStudioInputRequestTypeDef(TypedDict):
    StudioId: str,

VolumeSpecificationTypeDef#

# VolumeSpecificationTypeDef definition

class VolumeSpecificationTypeDef(TypedDict):
    VolumeType: str,
    SizeInGB: int,
    Iops: NotRequired[int],
    Throughput: NotRequired[int],

EbsVolumeTypeDef#

# EbsVolumeTypeDef definition

class EbsVolumeTypeDef(TypedDict):
    Device: NotRequired[str],
    VolumeId: NotRequired[str],

ExecutionEngineConfigTypeDef#

# ExecutionEngineConfigTypeDef definition

class ExecutionEngineConfigTypeDef(TypedDict):
    Id: str,
    Type: NotRequired[ExecutionEngineTypeType],  # (1)
    MasterInstanceSecurityGroupId: NotRequired[str],
    ExecutionRoleArn: NotRequired[str],
  1. See ExecutionEngineTypeType

FailureDetailsTypeDef#

# FailureDetailsTypeDef definition

class FailureDetailsTypeDef(TypedDict):
    Reason: NotRequired[str],
    Message: NotRequired[str],
    LogFile: NotRequired[str],

GetAutoTerminationPolicyInputRequestTypeDef#

# GetAutoTerminationPolicyInputRequestTypeDef definition

class GetAutoTerminationPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,

GetClusterSessionCredentialsInputRequestTypeDef#

# GetClusterSessionCredentialsInputRequestTypeDef definition

class GetClusterSessionCredentialsInputRequestTypeDef(TypedDict):
    ClusterId: str,
    ExecutionRoleArn: NotRequired[str],

GetManagedScalingPolicyInputRequestTypeDef#

# GetManagedScalingPolicyInputRequestTypeDef definition

class GetManagedScalingPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,

GetStudioSessionMappingInputRequestTypeDef#

# GetStudioSessionMappingInputRequestTypeDef definition

class GetStudioSessionMappingInputRequestTypeDef(TypedDict):
    StudioId: str,
    IdentityType: IdentityTypeType,  # (1)
    IdentityId: NotRequired[str],
    IdentityName: NotRequired[str],
  1. See IdentityTypeType

SessionMappingDetailTypeDef#

# SessionMappingDetailTypeDef definition

class SessionMappingDetailTypeDef(TypedDict):
    StudioId: NotRequired[str],
    IdentityId: NotRequired[str],
    IdentityName: NotRequired[str],
    IdentityType: NotRequired[IdentityTypeType],  # (1)
    SessionPolicyArn: NotRequired[str],
    CreationTime: NotRequired[datetime],
    LastModifiedTime: NotRequired[datetime],
  1. See IdentityTypeType

KeyValueTypeDef#

# KeyValueTypeDef definition

class KeyValueTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

HadoopStepConfigTypeDef#

# HadoopStepConfigTypeDef definition

class HadoopStepConfigTypeDef(TypedDict):
    Jar: NotRequired[str],
    Properties: NotRequired[Dict[str, str]],
    MainClass: NotRequired[str],
    Args: NotRequired[List[str]],

SpotProvisioningSpecificationTypeDef#

# SpotProvisioningSpecificationTypeDef definition

class SpotProvisioningSpecificationTypeDef(TypedDict):
    TimeoutDurationMinutes: int,
    TimeoutAction: SpotProvisioningTimeoutActionType,  # (1)
    BlockDurationMinutes: NotRequired[int],
    AllocationStrategy: NotRequired[SpotProvisioningAllocationStrategyType],  # (2)
  1. See SpotProvisioningTimeoutActionType
  2. See SpotProvisioningAllocationStrategyType

SpotResizingSpecificationTypeDef#

# SpotResizingSpecificationTypeDef definition

class SpotResizingSpecificationTypeDef(TypedDict):
    TimeoutDurationMinutes: NotRequired[int],
    AllocationStrategy: NotRequired[SpotProvisioningAllocationStrategyType],  # (1)
  1. See SpotProvisioningAllocationStrategyType

InstanceFleetStateChangeReasonTypeDef#

# InstanceFleetStateChangeReasonTypeDef definition

class InstanceFleetStateChangeReasonTypeDef(TypedDict):
    Code: NotRequired[InstanceFleetStateChangeReasonCodeType],  # (1)
    Message: NotRequired[str],
  1. See InstanceFleetStateChangeReasonCodeType

InstanceFleetTimelineTypeDef#

# InstanceFleetTimelineTypeDef definition

class InstanceFleetTimelineTypeDef(TypedDict):
    CreationDateTime: NotRequired[datetime],
    ReadyDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],

InstanceGroupDetailTypeDef#

# InstanceGroupDetailTypeDef definition

class InstanceGroupDetailTypeDef(TypedDict):
    Market: MarketTypeType,  # (1)
    InstanceRole: InstanceRoleTypeType,  # (2)
    InstanceType: str,
    InstanceRequestCount: int,
    InstanceRunningCount: int,
    State: InstanceGroupStateType,  # (3)
    CreationDateTime: datetime,
    InstanceGroupId: NotRequired[str],
    Name: NotRequired[str],
    BidPrice: NotRequired[str],
    LastStateChangeReason: NotRequired[str],
    StartDateTime: NotRequired[datetime],
    ReadyDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],
    CustomAmiId: NotRequired[str],
  1. See MarketTypeType
  2. See InstanceRoleTypeType
  3. See InstanceGroupStateType

InstanceGroupStateChangeReasonTypeDef#

# InstanceGroupStateChangeReasonTypeDef definition

class InstanceGroupStateChangeReasonTypeDef(TypedDict):
    Code: NotRequired[InstanceGroupStateChangeReasonCodeType],  # (1)
    Message: NotRequired[str],
  1. See InstanceGroupStateChangeReasonCodeType

InstanceGroupTimelineTypeDef#

# InstanceGroupTimelineTypeDef definition

class InstanceGroupTimelineTypeDef(TypedDict):
    CreationDateTime: NotRequired[datetime],
    ReadyDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],

InstanceResizePolicyOutputTypeDef#

# InstanceResizePolicyOutputTypeDef definition

class InstanceResizePolicyOutputTypeDef(TypedDict):
    InstancesToTerminate: NotRequired[List[str]],
    InstancesToProtect: NotRequired[List[str]],
    InstanceTerminationTimeout: NotRequired[int],

InstanceResizePolicyTypeDef#

# InstanceResizePolicyTypeDef definition

class InstanceResizePolicyTypeDef(TypedDict):
    InstancesToTerminate: NotRequired[Sequence[str]],
    InstancesToProtect: NotRequired[Sequence[str]],
    InstanceTerminationTimeout: NotRequired[int],

InstanceStateChangeReasonTypeDef#

# InstanceStateChangeReasonTypeDef definition

class InstanceStateChangeReasonTypeDef(TypedDict):
    Code: NotRequired[InstanceStateChangeReasonCodeType],  # (1)
    Message: NotRequired[str],
  1. See InstanceStateChangeReasonCodeType

InstanceTimelineTypeDef#

# InstanceTimelineTypeDef definition

class InstanceTimelineTypeDef(TypedDict):
    CreationDateTime: NotRequired[datetime],
    ReadyDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],

JobFlowExecutionStatusDetailTypeDef#

# JobFlowExecutionStatusDetailTypeDef definition

class JobFlowExecutionStatusDetailTypeDef(TypedDict):
    State: JobFlowExecutionStateType,  # (1)
    CreationDateTime: datetime,
    StartDateTime: NotRequired[datetime],
    ReadyDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],
    LastStateChangeReason: NotRequired[str],
  1. See JobFlowExecutionStateType

PlacementTypeOutputTypeDef#

# PlacementTypeOutputTypeDef definition

class PlacementTypeOutputTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    AvailabilityZones: NotRequired[List[str]],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListBootstrapActionsInputRequestTypeDef#

# ListBootstrapActionsInputRequestTypeDef definition

class ListBootstrapActionsInputRequestTypeDef(TypedDict):
    ClusterId: str,
    Marker: NotRequired[str],

ListInstanceFleetsInputRequestTypeDef#

# ListInstanceFleetsInputRequestTypeDef definition

class ListInstanceFleetsInputRequestTypeDef(TypedDict):
    ClusterId: str,
    Marker: NotRequired[str],

ListInstanceGroupsInputRequestTypeDef#

# ListInstanceGroupsInputRequestTypeDef definition

class ListInstanceGroupsInputRequestTypeDef(TypedDict):
    ClusterId: str,
    Marker: NotRequired[str],

ListInstancesInputRequestTypeDef#

# ListInstancesInputRequestTypeDef 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

ReleaseLabelFilterTypeDef#

# ReleaseLabelFilterTypeDef definition

class ReleaseLabelFilterTypeDef(TypedDict):
    Prefix: NotRequired[str],
    Application: NotRequired[str],

ListSecurityConfigurationsInputRequestTypeDef#

# ListSecurityConfigurationsInputRequestTypeDef definition

class ListSecurityConfigurationsInputRequestTypeDef(TypedDict):
    Marker: NotRequired[str],

SecurityConfigurationSummaryTypeDef#

# SecurityConfigurationSummaryTypeDef definition

class SecurityConfigurationSummaryTypeDef(TypedDict):
    Name: NotRequired[str],
    CreationDateTime: NotRequired[datetime],

ListStepsInputRequestTypeDef#

# ListStepsInputRequestTypeDef definition

class ListStepsInputRequestTypeDef(TypedDict):
    ClusterId: str,
    StepStates: NotRequired[Sequence[StepStateType]],  # (1)
    StepIds: NotRequired[Sequence[str]],
    Marker: NotRequired[str],
  1. See StepStateType

ListStudioSessionMappingsInputRequestTypeDef#

# ListStudioSessionMappingsInputRequestTypeDef definition

class ListStudioSessionMappingsInputRequestTypeDef(TypedDict):
    StudioId: NotRequired[str],
    IdentityType: NotRequired[IdentityTypeType],  # (1)
    Marker: NotRequired[str],
  1. See IdentityTypeType

SessionMappingSummaryTypeDef#

# SessionMappingSummaryTypeDef 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#

# ListStudiosInputRequestTypeDef definition

class ListStudiosInputRequestTypeDef(TypedDict):
    Marker: NotRequired[str],

StudioSummaryTypeDef#

# StudioSummaryTypeDef definition

class StudioSummaryTypeDef(TypedDict):
    StudioId: NotRequired[str],
    Name: NotRequired[str],
    VpcId: NotRequired[str],
    Description: NotRequired[str],
    Url: NotRequired[str],
    AuthMode: NotRequired[AuthModeType],  # (1)
    CreationTime: NotRequired[datetime],
  1. See AuthModeType

ListSupportedInstanceTypesInputRequestTypeDef#

# ListSupportedInstanceTypesInputRequestTypeDef definition

class ListSupportedInstanceTypesInputRequestTypeDef(TypedDict):
    ReleaseLabel: str,
    Marker: NotRequired[str],

SupportedInstanceTypeTypeDef#

# SupportedInstanceTypeTypeDef definition

class SupportedInstanceTypeTypeDef(TypedDict):
    Type: NotRequired[str],
    MemoryGB: NotRequired[float],
    StorageGB: NotRequired[int],
    VCPU: NotRequired[int],
    Is64BitsOnly: NotRequired[bool],
    InstanceFamilyId: NotRequired[str],
    EbsOptimizedAvailable: NotRequired[bool],
    EbsOptimizedByDefault: NotRequired[bool],
    NumberOfDisks: NotRequired[int],
    EbsStorageOnly: NotRequired[bool],
    Architecture: NotRequired[str],

ModifyClusterInputRequestTypeDef#

# ModifyClusterInputRequestTypeDef definition

class ModifyClusterInputRequestTypeDef(TypedDict):
    ClusterId: str,
    StepConcurrencyLevel: NotRequired[int],

NotebookS3LocationForOutputTypeDef#

# NotebookS3LocationForOutputTypeDef definition

class NotebookS3LocationForOutputTypeDef(TypedDict):
    Bucket: NotRequired[str],
    Key: NotRequired[str],

OutputNotebookS3LocationForOutputTypeDef#

# OutputNotebookS3LocationForOutputTypeDef definition

class OutputNotebookS3LocationForOutputTypeDef(TypedDict):
    Bucket: NotRequired[str],
    Key: NotRequired[str],

NotebookS3LocationFromInputTypeDef#

# NotebookS3LocationFromInputTypeDef definition

class NotebookS3LocationFromInputTypeDef(TypedDict):
    Bucket: NotRequired[str],
    Key: NotRequired[str],

OnDemandCapacityReservationOptionsTypeDef#

# OnDemandCapacityReservationOptionsTypeDef definition

class OnDemandCapacityReservationOptionsTypeDef(TypedDict):
    UsageStrategy: NotRequired[OnDemandCapacityReservationUsageStrategyType],  # (1)
    CapacityReservationPreference: NotRequired[OnDemandCapacityReservationPreferenceType],  # (2)
    CapacityReservationResourceGroupArn: NotRequired[str],
  1. See OnDemandCapacityReservationUsageStrategyType
  2. See OnDemandCapacityReservationPreferenceType

OutputNotebookS3LocationFromInputTypeDef#

# OutputNotebookS3LocationFromInputTypeDef definition

class OutputNotebookS3LocationFromInputTypeDef(TypedDict):
    Bucket: NotRequired[str],
    Key: NotRequired[str],

PlacementTypeTypeDef#

# PlacementTypeTypeDef definition

class PlacementTypeTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    AvailabilityZones: NotRequired[Sequence[str]],

RemoveAutoScalingPolicyInputRequestTypeDef#

# RemoveAutoScalingPolicyInputRequestTypeDef definition

class RemoveAutoScalingPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,
    InstanceGroupId: str,

RemoveAutoTerminationPolicyInputRequestTypeDef#

# RemoveAutoTerminationPolicyInputRequestTypeDef definition

class RemoveAutoTerminationPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,

RemoveManagedScalingPolicyInputRequestTypeDef#

# RemoveManagedScalingPolicyInputRequestTypeDef definition

class RemoveManagedScalingPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,

RemoveTagsInputRequestTypeDef#

# RemoveTagsInputRequestTypeDef definition

class RemoveTagsInputRequestTypeDef(TypedDict):
    ResourceId: str,
    TagKeys: Sequence[str],

SupportedProductConfigTypeDef#

# SupportedProductConfigTypeDef definition

class SupportedProductConfigTypeDef(TypedDict):
    Name: NotRequired[str],
    Args: NotRequired[Sequence[str]],

SimpleScalingPolicyConfigurationTypeDef#

# SimpleScalingPolicyConfigurationTypeDef definition

class SimpleScalingPolicyConfigurationTypeDef(TypedDict):
    ScalingAdjustment: int,
    AdjustmentType: NotRequired[AdjustmentTypeType],  # (1)
    CoolDown: NotRequired[int],
  1. See AdjustmentTypeType

ScriptBootstrapActionConfigTypeDef#

# ScriptBootstrapActionConfigTypeDef definition

class ScriptBootstrapActionConfigTypeDef(TypedDict):
    Path: str,
    Args: NotRequired[Sequence[str]],

SetKeepJobFlowAliveWhenNoStepsInputRequestTypeDef#

# SetKeepJobFlowAliveWhenNoStepsInputRequestTypeDef definition

class SetKeepJobFlowAliveWhenNoStepsInputRequestTypeDef(TypedDict):
    JobFlowIds: Sequence[str],
    KeepJobFlowAliveWhenNoSteps: bool,

SetTerminationProtectionInputRequestTypeDef#

# SetTerminationProtectionInputRequestTypeDef definition

class SetTerminationProtectionInputRequestTypeDef(TypedDict):
    JobFlowIds: Sequence[str],
    TerminationProtected: bool,

SetUnhealthyNodeReplacementInputRequestTypeDef#

# SetUnhealthyNodeReplacementInputRequestTypeDef definition

class SetUnhealthyNodeReplacementInputRequestTypeDef(TypedDict):
    JobFlowIds: Sequence[str],
    UnhealthyNodeReplacement: bool,

SetVisibleToAllUsersInputRequestTypeDef#

# SetVisibleToAllUsersInputRequestTypeDef definition

class SetVisibleToAllUsersInputRequestTypeDef(TypedDict):
    JobFlowIds: Sequence[str],
    VisibleToAllUsers: bool,

StepExecutionStatusDetailTypeDef#

# StepExecutionStatusDetailTypeDef definition

class StepExecutionStatusDetailTypeDef(TypedDict):
    State: StepExecutionStateType,  # (1)
    CreationDateTime: datetime,
    StartDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],
    LastStateChangeReason: NotRequired[str],
  1. See StepExecutionStateType

StepStateChangeReasonTypeDef#

# StepStateChangeReasonTypeDef definition

class StepStateChangeReasonTypeDef(TypedDict):
    Code: NotRequired[StepStateChangeReasonCodeType],  # (1)
    Message: NotRequired[str],
  1. See StepStateChangeReasonCodeType

StepTimelineTypeDef#

# StepTimelineTypeDef definition

class StepTimelineTypeDef(TypedDict):
    CreationDateTime: NotRequired[datetime],
    StartDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],

StopNotebookExecutionInputRequestTypeDef#

# StopNotebookExecutionInputRequestTypeDef definition

class StopNotebookExecutionInputRequestTypeDef(TypedDict):
    NotebookExecutionId: str,

TerminateJobFlowsInputRequestTypeDef#

# TerminateJobFlowsInputRequestTypeDef definition

class TerminateJobFlowsInputRequestTypeDef(TypedDict):
    JobFlowIds: Sequence[str],

UpdateStudioInputRequestTypeDef#

# UpdateStudioInputRequestTypeDef definition

class UpdateStudioInputRequestTypeDef(TypedDict):
    StudioId: str,
    Name: NotRequired[str],
    Description: NotRequired[str],
    SubnetIds: NotRequired[Sequence[str]],
    DefaultS3Location: NotRequired[str],
    EncryptionKeyArn: NotRequired[str],

UpdateStudioSessionMappingInputRequestTypeDef#

# UpdateStudioSessionMappingInputRequestTypeDef definition

class UpdateStudioSessionMappingInputRequestTypeDef(TypedDict):
    StudioId: str,
    IdentityType: IdentityTypeType,  # (1)
    SessionPolicyArn: str,
    IdentityId: NotRequired[str],
    IdentityName: NotRequired[str],
  1. See IdentityTypeType

AddInstanceFleetOutputTypeDef#

# AddInstanceFleetOutputTypeDef definition

class AddInstanceFleetOutputTypeDef(TypedDict):
    ClusterId: str,
    InstanceFleetId: str,
    ClusterArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AddInstanceGroupsOutputTypeDef#

# AddInstanceGroupsOutputTypeDef definition

class AddInstanceGroupsOutputTypeDef(TypedDict):
    JobFlowId: str,
    InstanceGroupIds: List[str],
    ClusterArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AddJobFlowStepsOutputTypeDef#

# AddJobFlowStepsOutputTypeDef definition

class AddJobFlowStepsOutputTypeDef(TypedDict):
    StepIds: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateSecurityConfigurationOutputTypeDef#

# CreateSecurityConfigurationOutputTypeDef definition

class CreateSecurityConfigurationOutputTypeDef(TypedDict):
    Name: str,
    CreationDateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateStudioOutputTypeDef#

# CreateStudioOutputTypeDef definition

class CreateStudioOutputTypeDef(TypedDict):
    StudioId: str,
    Url: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeSecurityConfigurationOutputTypeDef#

# DescribeSecurityConfigurationOutputTypeDef definition

class DescribeSecurityConfigurationOutputTypeDef(TypedDict):
    Name: str,
    SecurityConfiguration: str,
    CreationDateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListReleaseLabelsOutputTypeDef#

# ListReleaseLabelsOutputTypeDef definition

class ListReleaseLabelsOutputTypeDef(TypedDict):
    ReleaseLabels: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    NextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ModifyClusterOutputTypeDef#

# ModifyClusterOutputTypeDef definition

class ModifyClusterOutputTypeDef(TypedDict):
    StepConcurrencyLevel: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RunJobFlowOutputTypeDef#

# RunJobFlowOutputTypeDef definition

class RunJobFlowOutputTypeDef(TypedDict):
    JobFlowId: str,
    ClusterArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartNotebookExecutionOutputTypeDef#

# StartNotebookExecutionOutputTypeDef definition

class StartNotebookExecutionOutputTypeDef(TypedDict):
    NotebookExecutionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AddTagsInputRequestTypeDef#

# AddTagsInputRequestTypeDef definition

class AddTagsInputRequestTypeDef(TypedDict):
    ResourceId: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateStudioInputRequestTypeDef#

# CreateStudioInputRequestTypeDef 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)
    TrustedIdentityPropagationEnabled: NotRequired[bool],
    IdcUserAssignment: NotRequired[IdcUserAssignmentType],  # (3)
    IdcInstanceArn: NotRequired[str],
    EncryptionKeyArn: NotRequired[str],
  1. See AuthModeType
  2. See TagTypeDef
  3. See IdcUserAssignmentType

StudioTypeDef#

# StudioTypeDef definition

class StudioTypeDef(TypedDict):
    StudioId: NotRequired[str],
    StudioArn: NotRequired[str],
    Name: NotRequired[str],
    Description: NotRequired[str],
    AuthMode: NotRequired[AuthModeType],  # (1)
    VpcId: NotRequired[str],
    SubnetIds: NotRequired[List[str]],
    ServiceRole: NotRequired[str],
    UserRole: NotRequired[str],
    WorkspaceSecurityGroupId: NotRequired[str],
    EngineSecurityGroupId: NotRequired[str],
    Url: NotRequired[str],
    CreationTime: NotRequired[datetime],
    DefaultS3Location: NotRequired[str],
    IdpAuthUrl: NotRequired[str],
    IdpRelayStateParameterName: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    IdcInstanceArn: NotRequired[str],
    TrustedIdentityPropagationEnabled: NotRequired[bool],
    IdcUserAssignment: NotRequired[IdcUserAssignmentType],  # (3)
    EncryptionKeyArn: NotRequired[str],
  1. See AuthModeType
  2. See TagTypeDef
  3. See IdcUserAssignmentType

AutoScalingPolicyStatusTypeDef#

# AutoScalingPolicyStatusTypeDef definition

class AutoScalingPolicyStatusTypeDef(TypedDict):
    State: NotRequired[AutoScalingPolicyStateType],  # (1)
    StateChangeReason: NotRequired[AutoScalingPolicyStateChangeReasonTypeDef],  # (2)
  1. See AutoScalingPolicyStateType
  2. See AutoScalingPolicyStateChangeReasonTypeDef

GetAutoTerminationPolicyOutputTypeDef#

# GetAutoTerminationPolicyOutputTypeDef definition

class GetAutoTerminationPolicyOutputTypeDef(TypedDict):
    AutoTerminationPolicy: AutoTerminationPolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoTerminationPolicyTypeDef
  2. See ResponseMetadataTypeDef

PutAutoTerminationPolicyInputRequestTypeDef#

# PutAutoTerminationPolicyInputRequestTypeDef definition

class PutAutoTerminationPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,
    AutoTerminationPolicy: NotRequired[AutoTerminationPolicyTypeDef],  # (1)
  1. See AutoTerminationPolicyTypeDef

BlockPublicAccessConfigurationOutputTypeDef#

# BlockPublicAccessConfigurationOutputTypeDef definition

class BlockPublicAccessConfigurationOutputTypeDef(TypedDict):
    BlockPublicSecurityGroupRules: bool,
    PermittedPublicSecurityGroupRuleRanges: NotRequired[List[PortRangeTypeDef]],  # (1)
  1. See PortRangeTypeDef

BlockPublicAccessConfigurationTypeDef#

# BlockPublicAccessConfigurationTypeDef definition

class BlockPublicAccessConfigurationTypeDef(TypedDict):
    BlockPublicSecurityGroupRules: bool,
    PermittedPublicSecurityGroupRuleRanges: NotRequired[Sequence[PortRangeTypeDef]],  # (1)
  1. See PortRangeTypeDef

BootstrapActionConfigOutputTypeDef#

# BootstrapActionConfigOutputTypeDef definition

class BootstrapActionConfigOutputTypeDef(TypedDict):
    Name: str,
    ScriptBootstrapAction: ScriptBootstrapActionConfigOutputTypeDef,  # (1)
  1. See ScriptBootstrapActionConfigOutputTypeDef

CancelStepsOutputTypeDef#

# CancelStepsOutputTypeDef definition

class CancelStepsOutputTypeDef(TypedDict):
    CancelStepsInfoList: List[CancelStepsInfoTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CancelStepsInfoTypeDef
  2. See ResponseMetadataTypeDef

CloudWatchAlarmDefinitionOutputTypeDef#

# CloudWatchAlarmDefinitionOutputTypeDef definition

class CloudWatchAlarmDefinitionOutputTypeDef(TypedDict):
    ComparisonOperator: ComparisonOperatorType,  # (1)
    MetricName: str,
    Period: int,
    Threshold: float,
    EvaluationPeriods: NotRequired[int],
    Namespace: NotRequired[str],
    Statistic: NotRequired[StatisticType],  # (2)
    Unit: NotRequired[UnitType],  # (3)
    Dimensions: NotRequired[List[MetricDimensionTypeDef]],  # (4)
  1. See ComparisonOperatorType
  2. See StatisticType
  3. See UnitType
  4. See MetricDimensionTypeDef

CloudWatchAlarmDefinitionTypeDef#

# CloudWatchAlarmDefinitionTypeDef definition

class CloudWatchAlarmDefinitionTypeDef(TypedDict):
    ComparisonOperator: ComparisonOperatorType,  # (1)
    MetricName: str,
    Period: int,
    Threshold: float,
    EvaluationPeriods: NotRequired[int],
    Namespace: NotRequired[str],
    Statistic: NotRequired[StatisticType],  # (2)
    Unit: NotRequired[UnitType],  # (3)
    Dimensions: NotRequired[Sequence[MetricDimensionTypeDef]],  # (4)
  1. See ComparisonOperatorType
  2. See StatisticType
  3. See UnitType
  4. See MetricDimensionTypeDef

ClusterStatusTypeDef#

# ClusterStatusTypeDef definition

class ClusterStatusTypeDef(TypedDict):
    State: NotRequired[ClusterStateType],  # (1)
    StateChangeReason: NotRequired[ClusterStateChangeReasonTypeDef],  # (2)
    Timeline: NotRequired[ClusterTimelineTypeDef],  # (3)
    ErrorDetails: NotRequired[List[ErrorDetailTypeDef]],  # (4)
  1. See ClusterStateType
  2. See ClusterStateChangeReasonTypeDef
  3. See ClusterTimelineTypeDef
  4. See ErrorDetailTypeDef

ListBootstrapActionsOutputTypeDef#

# ListBootstrapActionsOutputTypeDef definition

class ListBootstrapActionsOutputTypeDef(TypedDict):
    BootstrapActions: List[CommandTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CommandTypeDef
  2. See ResponseMetadataTypeDef

ManagedScalingPolicyTypeDef#

# ManagedScalingPolicyTypeDef definition

class ManagedScalingPolicyTypeDef(TypedDict):
    ComputeLimits: NotRequired[ComputeLimitsTypeDef],  # (1)
  1. See ComputeLimitsTypeDef

CredentialsTypeDef#

# CredentialsTypeDef definition

class CredentialsTypeDef(TypedDict):
    UsernamePassword: NotRequired[UsernamePasswordTypeDef],  # (1)
  1. See UsernamePasswordTypeDef

DescribeClusterInputClusterRunningWaitTypeDef#

# DescribeClusterInputClusterRunningWaitTypeDef definition

class DescribeClusterInputClusterRunningWaitTypeDef(TypedDict):
    ClusterId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeClusterInputClusterTerminatedWaitTypeDef#

# DescribeClusterInputClusterTerminatedWaitTypeDef definition

class DescribeClusterInputClusterTerminatedWaitTypeDef(TypedDict):
    ClusterId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeStepInputStepCompleteWaitTypeDef#

# DescribeStepInputStepCompleteWaitTypeDef definition

class DescribeStepInputStepCompleteWaitTypeDef(TypedDict):
    ClusterId: str,
    StepId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeJobFlowsInputRequestTypeDef#

# DescribeJobFlowsInputRequestTypeDef definition

class DescribeJobFlowsInputRequestTypeDef(TypedDict):
    CreatedAfter: NotRequired[TimestampTypeDef],
    CreatedBefore: NotRequired[TimestampTypeDef],
    JobFlowIds: NotRequired[Sequence[str]],
    JobFlowStates: NotRequired[Sequence[JobFlowExecutionStateType]],  # (1)
  1. See JobFlowExecutionStateType

ListClustersInputRequestTypeDef#

# ListClustersInputRequestTypeDef definition

class ListClustersInputRequestTypeDef(TypedDict):
    CreatedAfter: NotRequired[TimestampTypeDef],
    CreatedBefore: NotRequired[TimestampTypeDef],
    ClusterStates: NotRequired[Sequence[ClusterStateType]],  # (1)
    Marker: NotRequired[str],
  1. See ClusterStateType

ListNotebookExecutionsInputRequestTypeDef#

# ListNotebookExecutionsInputRequestTypeDef definition

class ListNotebookExecutionsInputRequestTypeDef(TypedDict):
    EditorId: NotRequired[str],
    Status: NotRequired[NotebookExecutionStatusType],  # (1)
    From: NotRequired[TimestampTypeDef],
    To: NotRequired[TimestampTypeDef],
    Marker: NotRequired[str],
    ExecutionEngineId: NotRequired[str],
  1. See NotebookExecutionStatusType

DescribeReleaseLabelOutputTypeDef#

# DescribeReleaseLabelOutputTypeDef definition

class DescribeReleaseLabelOutputTypeDef(TypedDict):
    ReleaseLabel: str,
    Applications: List[SimplifiedApplicationTypeDef],  # (1)
    AvailableOSReleases: List[OSReleaseTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
    NextToken: NotRequired[str],
  1. See SimplifiedApplicationTypeDef
  2. See OSReleaseTypeDef
  3. See ResponseMetadataTypeDef

EbsBlockDeviceConfigTypeDef#

# EbsBlockDeviceConfigTypeDef definition

class EbsBlockDeviceConfigTypeDef(TypedDict):
    VolumeSpecification: VolumeSpecificationTypeDef,  # (1)
    VolumesPerInstance: NotRequired[int],
  1. See VolumeSpecificationTypeDef

EbsBlockDeviceTypeDef#

# EbsBlockDeviceTypeDef definition

class EbsBlockDeviceTypeDef(TypedDict):
    VolumeSpecification: NotRequired[VolumeSpecificationTypeDef],  # (1)
    Device: NotRequired[str],
  1. See VolumeSpecificationTypeDef

GetStudioSessionMappingOutputTypeDef#

# GetStudioSessionMappingOutputTypeDef definition

class GetStudioSessionMappingOutputTypeDef(TypedDict):
    SessionMapping: SessionMappingDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SessionMappingDetailTypeDef
  2. See ResponseMetadataTypeDef

HadoopJarStepConfigOutputTypeDef#

# HadoopJarStepConfigOutputTypeDef definition

class HadoopJarStepConfigOutputTypeDef(TypedDict):
    Jar: str,
    Properties: NotRequired[List[KeyValueTypeDef]],  # (1)
    MainClass: NotRequired[str],
    Args: NotRequired[List[str]],
  1. See KeyValueTypeDef

HadoopJarStepConfigTypeDef#

# HadoopJarStepConfigTypeDef definition

class HadoopJarStepConfigTypeDef(TypedDict):
    Jar: str,
    Properties: NotRequired[Sequence[KeyValueTypeDef]],  # (1)
    MainClass: NotRequired[str],
    Args: NotRequired[Sequence[str]],
  1. See KeyValueTypeDef

InstanceFleetStatusTypeDef#

# InstanceFleetStatusTypeDef 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#

# InstanceGroupStatusTypeDef 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

ShrinkPolicyOutputTypeDef#

# ShrinkPolicyOutputTypeDef definition

class ShrinkPolicyOutputTypeDef(TypedDict):
    DecommissionTimeout: NotRequired[int],
    InstanceResizePolicy: NotRequired[InstanceResizePolicyOutputTypeDef],  # (1)
  1. See InstanceResizePolicyOutputTypeDef

InstanceStatusTypeDef#

# InstanceStatusTypeDef 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#

# JobFlowInstancesDetailTypeDef definition

class JobFlowInstancesDetailTypeDef(TypedDict):
    MasterInstanceType: str,
    SlaveInstanceType: str,
    InstanceCount: int,
    MasterPublicDnsName: NotRequired[str],
    MasterInstanceId: NotRequired[str],
    InstanceGroups: NotRequired[List[InstanceGroupDetailTypeDef]],  # (1)
    NormalizedInstanceHours: NotRequired[int],
    Ec2KeyName: NotRequired[str],
    Ec2SubnetId: NotRequired[str],
    Placement: NotRequired[PlacementTypeOutputTypeDef],  # (2)
    KeepJobFlowAliveWhenNoSteps: NotRequired[bool],
    TerminationProtected: NotRequired[bool],
    UnhealthyNodeReplacement: NotRequired[bool],
    HadoopVersion: NotRequired[str],
  1. See InstanceGroupDetailTypeDef
  2. See PlacementTypeOutputTypeDef

ListBootstrapActionsInputListBootstrapActionsPaginateTypeDef#

# ListBootstrapActionsInputListBootstrapActionsPaginateTypeDef definition

class ListBootstrapActionsInputListBootstrapActionsPaginateTypeDef(TypedDict):
    ClusterId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListClustersInputListClustersPaginateTypeDef#

# ListClustersInputListClustersPaginateTypeDef definition

class ListClustersInputListClustersPaginateTypeDef(TypedDict):
    CreatedAfter: NotRequired[TimestampTypeDef],
    CreatedBefore: NotRequired[TimestampTypeDef],
    ClusterStates: NotRequired[Sequence[ClusterStateType]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ClusterStateType
  2. See PaginatorConfigTypeDef

ListInstanceFleetsInputListInstanceFleetsPaginateTypeDef#

# ListInstanceFleetsInputListInstanceFleetsPaginateTypeDef definition

class ListInstanceFleetsInputListInstanceFleetsPaginateTypeDef(TypedDict):
    ClusterId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListInstanceGroupsInputListInstanceGroupsPaginateTypeDef#

# ListInstanceGroupsInputListInstanceGroupsPaginateTypeDef definition

class ListInstanceGroupsInputListInstanceGroupsPaginateTypeDef(TypedDict):
    ClusterId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListInstancesInputListInstancesPaginateTypeDef#

# ListInstancesInputListInstancesPaginateTypeDef 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#

# ListNotebookExecutionsInputListNotebookExecutionsPaginateTypeDef definition

class ListNotebookExecutionsInputListNotebookExecutionsPaginateTypeDef(TypedDict):
    EditorId: NotRequired[str],
    Status: NotRequired[NotebookExecutionStatusType],  # (1)
    From: NotRequired[TimestampTypeDef],
    To: NotRequired[TimestampTypeDef],
    ExecutionEngineId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See NotebookExecutionStatusType
  2. See PaginatorConfigTypeDef

ListSecurityConfigurationsInputListSecurityConfigurationsPaginateTypeDef#

# ListSecurityConfigurationsInputListSecurityConfigurationsPaginateTypeDef definition

class ListSecurityConfigurationsInputListSecurityConfigurationsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListStepsInputListStepsPaginateTypeDef#

# ListStepsInputListStepsPaginateTypeDef 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#

# ListStudioSessionMappingsInputListStudioSessionMappingsPaginateTypeDef definition

class ListStudioSessionMappingsInputListStudioSessionMappingsPaginateTypeDef(TypedDict):
    StudioId: NotRequired[str],
    IdentityType: NotRequired[IdentityTypeType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See IdentityTypeType
  2. See PaginatorConfigTypeDef

ListStudiosInputListStudiosPaginateTypeDef#

# ListStudiosInputListStudiosPaginateTypeDef definition

class ListStudiosInputListStudiosPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListReleaseLabelsInputRequestTypeDef#

# ListReleaseLabelsInputRequestTypeDef definition

class ListReleaseLabelsInputRequestTypeDef(TypedDict):
    Filters: NotRequired[ReleaseLabelFilterTypeDef],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See ReleaseLabelFilterTypeDef

ListSecurityConfigurationsOutputTypeDef#

# ListSecurityConfigurationsOutputTypeDef definition

class ListSecurityConfigurationsOutputTypeDef(TypedDict):
    SecurityConfigurations: List[SecurityConfigurationSummaryTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SecurityConfigurationSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListStudioSessionMappingsOutputTypeDef#

# ListStudioSessionMappingsOutputTypeDef definition

class ListStudioSessionMappingsOutputTypeDef(TypedDict):
    SessionMappings: List[SessionMappingSummaryTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SessionMappingSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListStudiosOutputTypeDef#

# ListStudiosOutputTypeDef definition

class ListStudiosOutputTypeDef(TypedDict):
    Studios: List[StudioSummaryTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StudioSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListSupportedInstanceTypesOutputTypeDef#

# ListSupportedInstanceTypesOutputTypeDef definition

class ListSupportedInstanceTypesOutputTypeDef(TypedDict):
    SupportedInstanceTypes: List[SupportedInstanceTypeTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SupportedInstanceTypeTypeDef
  2. See ResponseMetadataTypeDef

NotebookExecutionSummaryTypeDef#

# NotebookExecutionSummaryTypeDef definition

class NotebookExecutionSummaryTypeDef(TypedDict):
    NotebookExecutionId: NotRequired[str],
    EditorId: NotRequired[str],
    NotebookExecutionName: NotRequired[str],
    Status: NotRequired[NotebookExecutionStatusType],  # (1)
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    NotebookS3Location: NotRequired[NotebookS3LocationForOutputTypeDef],  # (2)
    ExecutionEngineId: NotRequired[str],
  1. See NotebookExecutionStatusType
  2. See NotebookS3LocationForOutputTypeDef

NotebookExecutionTypeDef#

# NotebookExecutionTypeDef definition

class NotebookExecutionTypeDef(TypedDict):
    NotebookExecutionId: NotRequired[str],
    EditorId: NotRequired[str],
    ExecutionEngine: NotRequired[ExecutionEngineConfigTypeDef],  # (1)
    NotebookExecutionName: NotRequired[str],
    NotebookParams: NotRequired[str],
    Status: NotRequired[NotebookExecutionStatusType],  # (2)
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    Arn: NotRequired[str],
    OutputNotebookURI: NotRequired[str],
    LastStateChangeReason: NotRequired[str],
    NotebookInstanceSecurityGroupId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (3)
    NotebookS3Location: NotRequired[NotebookS3LocationForOutputTypeDef],  # (4)
    OutputNotebookS3Location: NotRequired[OutputNotebookS3LocationForOutputTypeDef],  # (5)
    OutputNotebookFormat: NotRequired[OutputNotebookFormatType],  # (6)
    EnvironmentVariables: NotRequired[Dict[str, str]],
  1. See ExecutionEngineConfigTypeDef
  2. See NotebookExecutionStatusType
  3. See TagTypeDef
  4. See NotebookS3LocationForOutputTypeDef
  5. See OutputNotebookS3LocationForOutputTypeDef
  6. See OutputNotebookFormatType

OnDemandProvisioningSpecificationTypeDef#

# OnDemandProvisioningSpecificationTypeDef definition

class OnDemandProvisioningSpecificationTypeDef(TypedDict):
    AllocationStrategy: OnDemandProvisioningAllocationStrategyType,  # (1)
    CapacityReservationOptions: NotRequired[OnDemandCapacityReservationOptionsTypeDef],  # (2)
  1. See OnDemandProvisioningAllocationStrategyType
  2. See OnDemandCapacityReservationOptionsTypeDef

OnDemandResizingSpecificationTypeDef#

# OnDemandResizingSpecificationTypeDef definition

class OnDemandResizingSpecificationTypeDef(TypedDict):
    TimeoutDurationMinutes: NotRequired[int],
    AllocationStrategy: NotRequired[OnDemandProvisioningAllocationStrategyType],  # (1)
    CapacityReservationOptions: NotRequired[OnDemandCapacityReservationOptionsTypeDef],  # (2)
  1. See OnDemandProvisioningAllocationStrategyType
  2. See OnDemandCapacityReservationOptionsTypeDef

StartNotebookExecutionInputRequestTypeDef#

# StartNotebookExecutionInputRequestTypeDef definition

class StartNotebookExecutionInputRequestTypeDef(TypedDict):
    ExecutionEngine: ExecutionEngineConfigTypeDef,  # (1)
    ServiceRole: str,
    EditorId: NotRequired[str],
    RelativePath: NotRequired[str],
    NotebookExecutionName: NotRequired[str],
    NotebookParams: NotRequired[str],
    NotebookInstanceSecurityGroupId: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    NotebookS3Location: NotRequired[NotebookS3LocationFromInputTypeDef],  # (3)
    OutputNotebookS3Location: NotRequired[OutputNotebookS3LocationFromInputTypeDef],  # (4)
    OutputNotebookFormat: NotRequired[OutputNotebookFormatType],  # (5)
    EnvironmentVariables: NotRequired[Mapping[str, str]],
  1. See ExecutionEngineConfigTypeDef
  2. See TagTypeDef
  3. See NotebookS3LocationFromInputTypeDef
  4. See OutputNotebookS3LocationFromInputTypeDef
  5. See OutputNotebookFormatType

ScalingActionTypeDef#

# ScalingActionTypeDef definition

class ScalingActionTypeDef(TypedDict):
    SimpleScalingPolicyConfiguration: SimpleScalingPolicyConfigurationTypeDef,  # (2)
    Market: NotRequired[MarketTypeType],  # (1)
  1. See MarketTypeType
  2. See SimpleScalingPolicyConfigurationTypeDef

StepStatusTypeDef#

# StepStatusTypeDef 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#

# DescribeStudioOutputTypeDef definition

class DescribeStudioOutputTypeDef(TypedDict):
    Studio: StudioTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StudioTypeDef
  2. See ResponseMetadataTypeDef

GetBlockPublicAccessConfigurationOutputTypeDef#

# GetBlockPublicAccessConfigurationOutputTypeDef definition

class GetBlockPublicAccessConfigurationOutputTypeDef(TypedDict):
    BlockPublicAccessConfiguration: BlockPublicAccessConfigurationOutputTypeDef,  # (1)
    BlockPublicAccessConfigurationMetadata: BlockPublicAccessConfigurationMetadataTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See BlockPublicAccessConfigurationOutputTypeDef
  2. See BlockPublicAccessConfigurationMetadataTypeDef
  3. See ResponseMetadataTypeDef

PutBlockPublicAccessConfigurationInputRequestTypeDef#

# PutBlockPublicAccessConfigurationInputRequestTypeDef definition

class PutBlockPublicAccessConfigurationInputRequestTypeDef(TypedDict):
    BlockPublicAccessConfiguration: BlockPublicAccessConfigurationTypeDef,  # (1)
  1. See BlockPublicAccessConfigurationTypeDef

BootstrapActionDetailTypeDef#

# BootstrapActionDetailTypeDef definition

class BootstrapActionDetailTypeDef(TypedDict):
    BootstrapActionConfig: NotRequired[BootstrapActionConfigOutputTypeDef],  # (1)
  1. See BootstrapActionConfigOutputTypeDef

ScalingTriggerOutputTypeDef#

# ScalingTriggerOutputTypeDef definition

class ScalingTriggerOutputTypeDef(TypedDict):
    CloudWatchAlarmDefinition: CloudWatchAlarmDefinitionOutputTypeDef,  # (1)
  1. See CloudWatchAlarmDefinitionOutputTypeDef

ClusterSummaryTypeDef#

# ClusterSummaryTypeDef 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#

# ClusterTypeDef definition

class ClusterTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Status: NotRequired[ClusterStatusTypeDef],  # (1)
    Ec2InstanceAttributes: NotRequired[Ec2InstanceAttributesTypeDef],  # (2)
    InstanceCollectionType: NotRequired[InstanceCollectionTypeType],  # (3)
    LogUri: NotRequired[str],
    LogEncryptionKmsKeyId: NotRequired[str],
    RequestedAmiVersion: NotRequired[str],
    RunningAmiVersion: NotRequired[str],
    ReleaseLabel: NotRequired[str],
    AutoTerminate: NotRequired[bool],
    TerminationProtected: NotRequired[bool],
    UnhealthyNodeReplacement: NotRequired[bool],
    VisibleToAllUsers: NotRequired[bool],
    Applications: NotRequired[List[ApplicationOutputTypeDef]],  # (4)
    Tags: NotRequired[List[TagTypeDef]],  # (5)
    ServiceRole: NotRequired[str],
    NormalizedInstanceHours: NotRequired[int],
    MasterPublicDnsName: NotRequired[str],
    Configurations: NotRequired[List[ConfigurationOutputTypeDef]],  # (6)
    SecurityConfiguration: NotRequired[str],
    AutoScalingRole: NotRequired[str],
    ScaleDownBehavior: NotRequired[ScaleDownBehaviorType],  # (7)
    CustomAmiId: NotRequired[str],
    EbsRootVolumeSize: NotRequired[int],
    RepoUpgradeOnBoot: NotRequired[RepoUpgradeOnBootType],  # (8)
    KerberosAttributes: NotRequired[KerberosAttributesTypeDef],  # (9)
    ClusterArn: NotRequired[str],
    OutpostArn: NotRequired[str],
    StepConcurrencyLevel: NotRequired[int],
    PlacementGroups: NotRequired[List[PlacementGroupConfigTypeDef]],  # (10)
    OSReleaseLabel: NotRequired[str],
    EbsRootVolumeIops: NotRequired[int],
    EbsRootVolumeThroughput: NotRequired[int],
  1. See ClusterStatusTypeDef
  2. See Ec2InstanceAttributesTypeDef
  3. See InstanceCollectionTypeType
  4. See ApplicationOutputTypeDef
  5. See TagTypeDef
  6. See ConfigurationOutputTypeDef
  7. See ScaleDownBehaviorType
  8. See RepoUpgradeOnBootType
  9. See KerberosAttributesTypeDef
  10. See PlacementGroupConfigTypeDef

GetManagedScalingPolicyOutputTypeDef#

# GetManagedScalingPolicyOutputTypeDef definition

class GetManagedScalingPolicyOutputTypeDef(TypedDict):
    ManagedScalingPolicy: ManagedScalingPolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedScalingPolicyTypeDef
  2. See ResponseMetadataTypeDef

PutManagedScalingPolicyInputRequestTypeDef#

# PutManagedScalingPolicyInputRequestTypeDef definition

class PutManagedScalingPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,
    ManagedScalingPolicy: ManagedScalingPolicyTypeDef,  # (1)
  1. See ManagedScalingPolicyTypeDef

GetClusterSessionCredentialsOutputTypeDef#

# GetClusterSessionCredentialsOutputTypeDef definition

class GetClusterSessionCredentialsOutputTypeDef(TypedDict):
    Credentials: CredentialsTypeDef,  # (1)
    ExpiresAt: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CredentialsTypeDef
  2. See ResponseMetadataTypeDef

EbsConfigurationTypeDef#

# EbsConfigurationTypeDef definition

class EbsConfigurationTypeDef(TypedDict):
    EbsBlockDeviceConfigs: NotRequired[Sequence[EbsBlockDeviceConfigTypeDef]],  # (1)
    EbsOptimized: NotRequired[bool],
  1. See EbsBlockDeviceConfigTypeDef

InstanceTypeSpecificationPaginatorTypeDef#

# InstanceTypeSpecificationPaginatorTypeDef definition

class InstanceTypeSpecificationPaginatorTypeDef(TypedDict):
    InstanceType: NotRequired[str],
    WeightedCapacity: NotRequired[int],
    BidPrice: NotRequired[str],
    BidPriceAsPercentageOfOnDemandPrice: NotRequired[float],
    Configurations: NotRequired[List[ConfigurationPaginatorTypeDef]],  # (1)
    EbsBlockDevices: NotRequired[List[EbsBlockDeviceTypeDef]],  # (2)
    EbsOptimized: NotRequired[bool],
    CustomAmiId: NotRequired[str],
    Priority: NotRequired[float],
  1. See ConfigurationPaginatorTypeDef
  2. See EbsBlockDeviceTypeDef

InstanceTypeSpecificationTypeDef#

# InstanceTypeSpecificationTypeDef definition

class InstanceTypeSpecificationTypeDef(TypedDict):
    InstanceType: NotRequired[str],
    WeightedCapacity: NotRequired[int],
    BidPrice: NotRequired[str],
    BidPriceAsPercentageOfOnDemandPrice: NotRequired[float],
    Configurations: NotRequired[List[ConfigurationOutputTypeDef]],  # (1)
    EbsBlockDevices: NotRequired[List[EbsBlockDeviceTypeDef]],  # (2)
    EbsOptimized: NotRequired[bool],
    CustomAmiId: NotRequired[str],
    Priority: NotRequired[float],
  1. See ConfigurationOutputTypeDef
  2. See EbsBlockDeviceTypeDef

StepConfigOutputTypeDef#

# StepConfigOutputTypeDef definition

class StepConfigOutputTypeDef(TypedDict):
    Name: str,
    HadoopJarStep: HadoopJarStepConfigOutputTypeDef,  # (2)
    ActionOnFailure: NotRequired[ActionOnFailureType],  # (1)
  1. See ActionOnFailureType
  2. See HadoopJarStepConfigOutputTypeDef

ShrinkPolicyTypeDef#

# ShrinkPolicyTypeDef definition

class ShrinkPolicyTypeDef(TypedDict):
    DecommissionTimeout: NotRequired[int],
    InstanceResizePolicy: NotRequired[InstanceResizePolicyUnionTypeDef],  # (1)
  1. See InstanceResizePolicyTypeDef InstanceResizePolicyOutputTypeDef

InstanceTypeDef#

# InstanceTypeDef definition

class InstanceTypeDef(TypedDict):
    Id: NotRequired[str],
    Ec2InstanceId: NotRequired[str],
    PublicDnsName: NotRequired[str],
    PublicIpAddress: NotRequired[str],
    PrivateDnsName: NotRequired[str],
    PrivateIpAddress: NotRequired[str],
    Status: NotRequired[InstanceStatusTypeDef],  # (1)
    InstanceGroupId: NotRequired[str],
    InstanceFleetId: NotRequired[str],
    Market: NotRequired[MarketTypeType],  # (2)
    InstanceType: NotRequired[str],
    EbsVolumes: NotRequired[List[EbsVolumeTypeDef]],  # (3)
  1. See InstanceStatusTypeDef
  2. See MarketTypeType
  3. See EbsVolumeTypeDef

ListNotebookExecutionsOutputTypeDef#

# ListNotebookExecutionsOutputTypeDef definition

class ListNotebookExecutionsOutputTypeDef(TypedDict):
    NotebookExecutions: List[NotebookExecutionSummaryTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotebookExecutionSummaryTypeDef
  2. See ResponseMetadataTypeDef

DescribeNotebookExecutionOutputTypeDef#

# DescribeNotebookExecutionOutputTypeDef definition

class DescribeNotebookExecutionOutputTypeDef(TypedDict):
    NotebookExecution: NotebookExecutionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotebookExecutionTypeDef
  2. See ResponseMetadataTypeDef

InstanceFleetProvisioningSpecificationsTypeDef#

# InstanceFleetProvisioningSpecificationsTypeDef definition

class InstanceFleetProvisioningSpecificationsTypeDef(TypedDict):
    SpotSpecification: NotRequired[SpotProvisioningSpecificationTypeDef],  # (1)
    OnDemandSpecification: NotRequired[OnDemandProvisioningSpecificationTypeDef],  # (2)
  1. See SpotProvisioningSpecificationTypeDef
  2. See OnDemandProvisioningSpecificationTypeDef

InstanceFleetResizingSpecificationsTypeDef#

# InstanceFleetResizingSpecificationsTypeDef definition

class InstanceFleetResizingSpecificationsTypeDef(TypedDict):
    SpotResizeSpecification: NotRequired[SpotResizingSpecificationTypeDef],  # (1)
    OnDemandResizeSpecification: NotRequired[OnDemandResizingSpecificationTypeDef],  # (2)
  1. See SpotResizingSpecificationTypeDef
  2. See OnDemandResizingSpecificationTypeDef

BootstrapActionConfigTypeDef#

# BootstrapActionConfigTypeDef definition

class BootstrapActionConfigTypeDef(TypedDict):
    Name: str,
    ScriptBootstrapAction: ScriptBootstrapActionConfigUnionTypeDef,  # (1)
  1. See ScriptBootstrapActionConfigTypeDef ScriptBootstrapActionConfigOutputTypeDef

StepSummaryTypeDef#

# StepSummaryTypeDef 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#

# StepTypeDef definition

class StepTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Config: NotRequired[HadoopStepConfigTypeDef],  # (1)
    ActionOnFailure: NotRequired[ActionOnFailureType],  # (2)
    Status: NotRequired[StepStatusTypeDef],  # (3)
    ExecutionRoleArn: NotRequired[str],
  1. See HadoopStepConfigTypeDef
  2. See ActionOnFailureType
  3. See StepStatusTypeDef

ScalingRuleOutputTypeDef#

# ScalingRuleOutputTypeDef definition

class ScalingRuleOutputTypeDef(TypedDict):
    Name: str,
    Action: ScalingActionTypeDef,  # (1)
    Trigger: ScalingTriggerOutputTypeDef,  # (2)
    Description: NotRequired[str],
  1. See ScalingActionTypeDef
  2. See ScalingTriggerOutputTypeDef

ScalingTriggerTypeDef#

# ScalingTriggerTypeDef definition

class ScalingTriggerTypeDef(TypedDict):
    CloudWatchAlarmDefinition: CloudWatchAlarmDefinitionUnionTypeDef,  # (1)
  1. See CloudWatchAlarmDefinitionTypeDef CloudWatchAlarmDefinitionOutputTypeDef

ListClustersOutputTypeDef#

# ListClustersOutputTypeDef definition

class ListClustersOutputTypeDef(TypedDict):
    Clusters: List[ClusterSummaryTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClusterSummaryTypeDef
  2. See ResponseMetadataTypeDef

DescribeClusterOutputTypeDef#

# DescribeClusterOutputTypeDef definition

class DescribeClusterOutputTypeDef(TypedDict):
    Cluster: ClusterTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClusterTypeDef
  2. See ResponseMetadataTypeDef

InstanceTypeConfigTypeDef#

# InstanceTypeConfigTypeDef definition

class InstanceTypeConfigTypeDef(TypedDict):
    InstanceType: str,
    WeightedCapacity: NotRequired[int],
    BidPrice: NotRequired[str],
    BidPriceAsPercentageOfOnDemandPrice: NotRequired[float],
    EbsConfiguration: NotRequired[EbsConfigurationTypeDef],  # (1)
    Configurations: NotRequired[Sequence[ConfigurationUnionTypeDef]],  # (2)
    CustomAmiId: NotRequired[str],
    Priority: NotRequired[float],
  1. See EbsConfigurationTypeDef
  2. See ConfigurationTypeDef ConfigurationOutputTypeDef

StepDetailTypeDef#

# StepDetailTypeDef definition

class StepDetailTypeDef(TypedDict):
    StepConfig: StepConfigOutputTypeDef,  # (1)
    ExecutionStatusDetail: StepExecutionStatusDetailTypeDef,  # (2)
  1. See StepConfigOutputTypeDef
  2. See StepExecutionStatusDetailTypeDef

StepConfigTypeDef#

# StepConfigTypeDef definition

class StepConfigTypeDef(TypedDict):
    Name: str,
    HadoopJarStep: HadoopJarStepConfigUnionTypeDef,  # (2)
    ActionOnFailure: NotRequired[ActionOnFailureType],  # (1)
  1. See ActionOnFailureType
  2. See HadoopJarStepConfigTypeDef HadoopJarStepConfigOutputTypeDef

ListInstancesOutputTypeDef#

# ListInstancesOutputTypeDef definition

class ListInstancesOutputTypeDef(TypedDict):
    Instances: List[InstanceTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceTypeDef
  2. See ResponseMetadataTypeDef

InstanceFleetPaginatorTypeDef#

# InstanceFleetPaginatorTypeDef definition

class InstanceFleetPaginatorTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Status: NotRequired[InstanceFleetStatusTypeDef],  # (1)
    InstanceFleetType: NotRequired[InstanceFleetTypeType],  # (2)
    TargetOnDemandCapacity: NotRequired[int],
    TargetSpotCapacity: NotRequired[int],
    ProvisionedOnDemandCapacity: NotRequired[int],
    ProvisionedSpotCapacity: NotRequired[int],
    InstanceTypeSpecifications: NotRequired[List[InstanceTypeSpecificationPaginatorTypeDef]],  # (3)
    LaunchSpecifications: NotRequired[InstanceFleetProvisioningSpecificationsTypeDef],  # (4)
    ResizeSpecifications: NotRequired[InstanceFleetResizingSpecificationsTypeDef],  # (5)
    Context: NotRequired[str],
  1. See InstanceFleetStatusTypeDef
  2. See InstanceFleetTypeType
  3. See InstanceTypeSpecificationPaginatorTypeDef
  4. See InstanceFleetProvisioningSpecificationsTypeDef
  5. See InstanceFleetResizingSpecificationsTypeDef

InstanceFleetTypeDef#

# InstanceFleetTypeDef definition

class InstanceFleetTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Status: NotRequired[InstanceFleetStatusTypeDef],  # (1)
    InstanceFleetType: NotRequired[InstanceFleetTypeType],  # (2)
    TargetOnDemandCapacity: NotRequired[int],
    TargetSpotCapacity: NotRequired[int],
    ProvisionedOnDemandCapacity: NotRequired[int],
    ProvisionedSpotCapacity: NotRequired[int],
    InstanceTypeSpecifications: NotRequired[List[InstanceTypeSpecificationTypeDef]],  # (3)
    LaunchSpecifications: NotRequired[InstanceFleetProvisioningSpecificationsTypeDef],  # (4)
    ResizeSpecifications: NotRequired[InstanceFleetResizingSpecificationsTypeDef],  # (5)
    Context: NotRequired[str],
  1. See InstanceFleetStatusTypeDef
  2. See InstanceFleetTypeType
  3. See InstanceTypeSpecificationTypeDef
  4. See InstanceFleetProvisioningSpecificationsTypeDef
  5. See InstanceFleetResizingSpecificationsTypeDef

ListStepsOutputTypeDef#

# ListStepsOutputTypeDef definition

class ListStepsOutputTypeDef(TypedDict):
    Steps: List[StepSummaryTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StepSummaryTypeDef
  2. See ResponseMetadataTypeDef

DescribeStepOutputTypeDef#

# DescribeStepOutputTypeDef definition

class DescribeStepOutputTypeDef(TypedDict):
    Step: StepTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StepTypeDef
  2. See ResponseMetadataTypeDef

AutoScalingPolicyDescriptionTypeDef#

# AutoScalingPolicyDescriptionTypeDef definition

class AutoScalingPolicyDescriptionTypeDef(TypedDict):
    Status: NotRequired[AutoScalingPolicyStatusTypeDef],  # (1)
    Constraints: NotRequired[ScalingConstraintsTypeDef],  # (2)
    Rules: NotRequired[List[ScalingRuleOutputTypeDef]],  # (3)
  1. See AutoScalingPolicyStatusTypeDef
  2. See ScalingConstraintsTypeDef
  3. See ScalingRuleOutputTypeDef

InstanceFleetConfigTypeDef#

# InstanceFleetConfigTypeDef definition

class InstanceFleetConfigTypeDef(TypedDict):
    InstanceFleetType: InstanceFleetTypeType,  # (1)
    Name: NotRequired[str],
    TargetOnDemandCapacity: NotRequired[int],
    TargetSpotCapacity: NotRequired[int],
    InstanceTypeConfigs: NotRequired[Sequence[InstanceTypeConfigTypeDef]],  # (2)
    LaunchSpecifications: NotRequired[InstanceFleetProvisioningSpecificationsTypeDef],  # (3)
    ResizeSpecifications: NotRequired[InstanceFleetResizingSpecificationsTypeDef],  # (4)
    Context: NotRequired[str],
  1. See InstanceFleetTypeType
  2. See InstanceTypeConfigTypeDef
  3. See InstanceFleetProvisioningSpecificationsTypeDef
  4. See InstanceFleetResizingSpecificationsTypeDef

InstanceFleetModifyConfigTypeDef#

# InstanceFleetModifyConfigTypeDef definition

class InstanceFleetModifyConfigTypeDef(TypedDict):
    InstanceFleetId: str,
    TargetOnDemandCapacity: NotRequired[int],
    TargetSpotCapacity: NotRequired[int],
    ResizeSpecifications: NotRequired[InstanceFleetResizingSpecificationsTypeDef],  # (1)
    InstanceTypeConfigs: NotRequired[Sequence[InstanceTypeConfigTypeDef]],  # (2)
    Context: NotRequired[str],
  1. See InstanceFleetResizingSpecificationsTypeDef
  2. See InstanceTypeConfigTypeDef

JobFlowDetailTypeDef#

# JobFlowDetailTypeDef definition

class JobFlowDetailTypeDef(TypedDict):
    JobFlowId: str,
    Name: str,
    ExecutionStatusDetail: JobFlowExecutionStatusDetailTypeDef,  # (1)
    Instances: JobFlowInstancesDetailTypeDef,  # (2)
    LogUri: NotRequired[str],
    LogEncryptionKmsKeyId: NotRequired[str],
    AmiVersion: NotRequired[str],
    Steps: NotRequired[List[StepDetailTypeDef]],  # (3)
    BootstrapActions: NotRequired[List[BootstrapActionDetailTypeDef]],  # (4)
    SupportedProducts: NotRequired[List[str]],
    VisibleToAllUsers: NotRequired[bool],
    JobFlowRole: NotRequired[str],
    ServiceRole: NotRequired[str],
    AutoScalingRole: NotRequired[str],
    ScaleDownBehavior: NotRequired[ScaleDownBehaviorType],  # (5)
  1. See JobFlowExecutionStatusDetailTypeDef
  2. See JobFlowInstancesDetailTypeDef
  3. See StepDetailTypeDef
  4. See BootstrapActionDetailTypeDef
  5. See ScaleDownBehaviorType

InstanceGroupModifyConfigTypeDef#

# InstanceGroupModifyConfigTypeDef definition

class InstanceGroupModifyConfigTypeDef(TypedDict):
    InstanceGroupId: str,
    InstanceCount: NotRequired[int],
    EC2InstanceIdsToTerminate: NotRequired[Sequence[str]],
    ShrinkPolicy: NotRequired[ShrinkPolicyUnionTypeDef],  # (1)
    ReconfigurationType: NotRequired[ReconfigurationTypeType],  # (2)
    Configurations: NotRequired[Sequence[ConfigurationUnionTypeDef]],  # (3)
  1. See ShrinkPolicyTypeDef ShrinkPolicyOutputTypeDef
  2. See ReconfigurationTypeType
  3. See ConfigurationTypeDef ConfigurationOutputTypeDef

ListInstanceFleetsOutputPaginatorTypeDef#

# ListInstanceFleetsOutputPaginatorTypeDef definition

class ListInstanceFleetsOutputPaginatorTypeDef(TypedDict):
    InstanceFleets: List[InstanceFleetPaginatorTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceFleetPaginatorTypeDef
  2. See ResponseMetadataTypeDef

ListInstanceFleetsOutputTypeDef#

# ListInstanceFleetsOutputTypeDef definition

class ListInstanceFleetsOutputTypeDef(TypedDict):
    InstanceFleets: List[InstanceFleetTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceFleetTypeDef
  2. See ResponseMetadataTypeDef

InstanceGroupPaginatorTypeDef#

# InstanceGroupPaginatorTypeDef definition

class InstanceGroupPaginatorTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Market: NotRequired[MarketTypeType],  # (1)
    InstanceGroupType: NotRequired[InstanceGroupTypeType],  # (2)
    BidPrice: NotRequired[str],
    InstanceType: NotRequired[str],
    RequestedInstanceCount: NotRequired[int],
    RunningInstanceCount: NotRequired[int],
    Status: NotRequired[InstanceGroupStatusTypeDef],  # (3)
    Configurations: NotRequired[List[ConfigurationPaginatorTypeDef]],  # (4)
    ConfigurationsVersion: NotRequired[int],
    LastSuccessfullyAppliedConfigurations: NotRequired[List[ConfigurationPaginatorTypeDef]],  # (4)
    LastSuccessfullyAppliedConfigurationsVersion: NotRequired[int],
    EbsBlockDevices: NotRequired[List[EbsBlockDeviceTypeDef]],  # (6)
    EbsOptimized: NotRequired[bool],
    ShrinkPolicy: NotRequired[ShrinkPolicyOutputTypeDef],  # (7)
    AutoScalingPolicy: NotRequired[AutoScalingPolicyDescriptionTypeDef],  # (8)
    CustomAmiId: NotRequired[str],
  1. See MarketTypeType
  2. See InstanceGroupTypeType
  3. See InstanceGroupStatusTypeDef
  4. See ConfigurationPaginatorTypeDef
  5. See ConfigurationPaginatorTypeDef
  6. See EbsBlockDeviceTypeDef
  7. See ShrinkPolicyOutputTypeDef
  8. See AutoScalingPolicyDescriptionTypeDef

InstanceGroupTypeDef#

# InstanceGroupTypeDef definition

class InstanceGroupTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Market: NotRequired[MarketTypeType],  # (1)
    InstanceGroupType: NotRequired[InstanceGroupTypeType],  # (2)
    BidPrice: NotRequired[str],
    InstanceType: NotRequired[str],
    RequestedInstanceCount: NotRequired[int],
    RunningInstanceCount: NotRequired[int],
    Status: NotRequired[InstanceGroupStatusTypeDef],  # (3)
    Configurations: NotRequired[List[ConfigurationOutputTypeDef]],  # (4)
    ConfigurationsVersion: NotRequired[int],
    LastSuccessfullyAppliedConfigurations: NotRequired[List[ConfigurationOutputTypeDef]],  # (4)
    LastSuccessfullyAppliedConfigurationsVersion: NotRequired[int],
    EbsBlockDevices: NotRequired[List[EbsBlockDeviceTypeDef]],  # (6)
    EbsOptimized: NotRequired[bool],
    ShrinkPolicy: NotRequired[ShrinkPolicyOutputTypeDef],  # (7)
    AutoScalingPolicy: NotRequired[AutoScalingPolicyDescriptionTypeDef],  # (8)
    CustomAmiId: NotRequired[str],
  1. See MarketTypeType
  2. See InstanceGroupTypeType
  3. See InstanceGroupStatusTypeDef
  4. See ConfigurationOutputTypeDef
  5. See ConfigurationOutputTypeDef
  6. See EbsBlockDeviceTypeDef
  7. See ShrinkPolicyOutputTypeDef
  8. See AutoScalingPolicyDescriptionTypeDef

PutAutoScalingPolicyOutputTypeDef#

# PutAutoScalingPolicyOutputTypeDef definition

class PutAutoScalingPolicyOutputTypeDef(TypedDict):
    ClusterId: str,
    InstanceGroupId: str,
    AutoScalingPolicy: AutoScalingPolicyDescriptionTypeDef,  # (1)
    ClusterArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoScalingPolicyDescriptionTypeDef
  2. See ResponseMetadataTypeDef

ScalingRuleTypeDef#

# ScalingRuleTypeDef definition

class ScalingRuleTypeDef(TypedDict):
    Name: str,
    Action: ScalingActionTypeDef,  # (1)
    Trigger: ScalingTriggerUnionTypeDef,  # (2)
    Description: NotRequired[str],
  1. See ScalingActionTypeDef
  2. See ScalingTriggerTypeDef ScalingTriggerOutputTypeDef

AddInstanceFleetInputRequestTypeDef#

# AddInstanceFleetInputRequestTypeDef definition

class AddInstanceFleetInputRequestTypeDef(TypedDict):
    ClusterId: str,
    InstanceFleet: InstanceFleetConfigTypeDef,  # (1)
  1. See InstanceFleetConfigTypeDef

ModifyInstanceFleetInputRequestTypeDef#

# ModifyInstanceFleetInputRequestTypeDef definition

class ModifyInstanceFleetInputRequestTypeDef(TypedDict):
    ClusterId: str,
    InstanceFleet: InstanceFleetModifyConfigTypeDef,  # (1)
  1. See InstanceFleetModifyConfigTypeDef

DescribeJobFlowsOutputTypeDef#

# DescribeJobFlowsOutputTypeDef definition

class DescribeJobFlowsOutputTypeDef(TypedDict):
    JobFlows: List[JobFlowDetailTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See JobFlowDetailTypeDef
  2. See ResponseMetadataTypeDef

AddJobFlowStepsInputRequestTypeDef#

# AddJobFlowStepsInputRequestTypeDef definition

class AddJobFlowStepsInputRequestTypeDef(TypedDict):
    JobFlowId: str,
    Steps: Sequence[StepConfigUnionTypeDef],  # (1)
    ExecutionRoleArn: NotRequired[str],
  1. See StepConfigTypeDef StepConfigOutputTypeDef

ModifyInstanceGroupsInputRequestTypeDef#

# ModifyInstanceGroupsInputRequestTypeDef definition

class ModifyInstanceGroupsInputRequestTypeDef(TypedDict):
    ClusterId: NotRequired[str],
    InstanceGroups: NotRequired[Sequence[InstanceGroupModifyConfigTypeDef]],  # (1)
  1. See InstanceGroupModifyConfigTypeDef

ListInstanceGroupsOutputPaginatorTypeDef#

# ListInstanceGroupsOutputPaginatorTypeDef definition

class ListInstanceGroupsOutputPaginatorTypeDef(TypedDict):
    InstanceGroups: List[InstanceGroupPaginatorTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceGroupPaginatorTypeDef
  2. See ResponseMetadataTypeDef

ListInstanceGroupsOutputTypeDef#

# ListInstanceGroupsOutputTypeDef definition

class ListInstanceGroupsOutputTypeDef(TypedDict):
    InstanceGroups: List[InstanceGroupTypeDef],  # (1)
    Marker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceGroupTypeDef
  2. See ResponseMetadataTypeDef

AutoScalingPolicyTypeDef#

# AutoScalingPolicyTypeDef definition

class AutoScalingPolicyTypeDef(TypedDict):
    Constraints: ScalingConstraintsTypeDef,  # (1)
    Rules: Sequence[ScalingRuleUnionTypeDef],  # (2)
  1. See ScalingConstraintsTypeDef
  2. See ScalingRuleTypeDef ScalingRuleOutputTypeDef

InstanceGroupConfigTypeDef#

# InstanceGroupConfigTypeDef definition

class InstanceGroupConfigTypeDef(TypedDict):
    InstanceRole: InstanceRoleTypeType,  # (2)
    InstanceType: str,
    InstanceCount: int,
    Name: NotRequired[str],
    Market: NotRequired[MarketTypeType],  # (1)
    BidPrice: NotRequired[str],
    Configurations: NotRequired[Sequence[ConfigurationUnionTypeDef]],  # (3)
    EbsConfiguration: NotRequired[EbsConfigurationTypeDef],  # (4)
    AutoScalingPolicy: NotRequired[AutoScalingPolicyTypeDef],  # (5)
    CustomAmiId: NotRequired[str],
  1. See MarketTypeType
  2. See InstanceRoleTypeType
  3. See ConfigurationTypeDef ConfigurationOutputTypeDef
  4. See EbsConfigurationTypeDef
  5. See AutoScalingPolicyTypeDef

PutAutoScalingPolicyInputRequestTypeDef#

# PutAutoScalingPolicyInputRequestTypeDef definition

class PutAutoScalingPolicyInputRequestTypeDef(TypedDict):
    ClusterId: str,
    InstanceGroupId: str,
    AutoScalingPolicy: AutoScalingPolicyTypeDef,  # (1)
  1. See AutoScalingPolicyTypeDef

AddInstanceGroupsInputRequestTypeDef#

# AddInstanceGroupsInputRequestTypeDef definition

class AddInstanceGroupsInputRequestTypeDef(TypedDict):
    InstanceGroups: Sequence[InstanceGroupConfigTypeDef],  # (1)
    JobFlowId: str,
  1. See InstanceGroupConfigTypeDef

JobFlowInstancesConfigTypeDef#

# JobFlowInstancesConfigTypeDef definition

class JobFlowInstancesConfigTypeDef(TypedDict):
    MasterInstanceType: NotRequired[str],
    SlaveInstanceType: NotRequired[str],
    InstanceCount: NotRequired[int],
    InstanceGroups: NotRequired[Sequence[InstanceGroupConfigTypeDef]],  # (1)
    InstanceFleets: NotRequired[Sequence[InstanceFleetConfigTypeDef]],  # (2)
    Ec2KeyName: NotRequired[str],
    Placement: NotRequired[PlacementTypeUnionTypeDef],  # (3)
    KeepJobFlowAliveWhenNoSteps: NotRequired[bool],
    TerminationProtected: NotRequired[bool],
    UnhealthyNodeReplacement: NotRequired[bool],
    HadoopVersion: NotRequired[str],
    Ec2SubnetId: NotRequired[str],
    Ec2SubnetIds: NotRequired[Sequence[str]],
    EmrManagedMasterSecurityGroup: NotRequired[str],
    EmrManagedSlaveSecurityGroup: NotRequired[str],
    ServiceAccessSecurityGroup: NotRequired[str],
    AdditionalMasterSecurityGroups: NotRequired[Sequence[str]],
    AdditionalSlaveSecurityGroups: NotRequired[Sequence[str]],
  1. See InstanceGroupConfigTypeDef
  2. See InstanceFleetConfigTypeDef
  3. See PlacementTypeTypeDef PlacementTypeOutputTypeDef

RunJobFlowInputRequestTypeDef#

# RunJobFlowInputRequestTypeDef 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[BootstrapActionConfigUnionTypeDef]],  # (3)
    SupportedProducts: NotRequired[Sequence[str]],
    NewSupportedProducts: NotRequired[Sequence[SupportedProductConfigTypeDef]],  # (4)
    Applications: NotRequired[Sequence[ApplicationUnionTypeDef]],  # (5)
    Configurations: NotRequired[Sequence[ConfigurationUnionTypeDef]],  # (6)
    VisibleToAllUsers: NotRequired[bool],
    JobFlowRole: NotRequired[str],
    ServiceRole: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (7)
    SecurityConfiguration: NotRequired[str],
    AutoScalingRole: NotRequired[str],
    ScaleDownBehavior: NotRequired[ScaleDownBehaviorType],  # (8)
    CustomAmiId: NotRequired[str],
    EbsRootVolumeSize: NotRequired[int],
    RepoUpgradeOnBoot: NotRequired[RepoUpgradeOnBootType],  # (9)
    KerberosAttributes: NotRequired[KerberosAttributesTypeDef],  # (10)
    StepConcurrencyLevel: NotRequired[int],
    ManagedScalingPolicy: NotRequired[ManagedScalingPolicyTypeDef],  # (11)
    PlacementGroupConfigs: NotRequired[Sequence[PlacementGroupConfigTypeDef]],  # (12)
    AutoTerminationPolicy: NotRequired[AutoTerminationPolicyTypeDef],  # (13)
    OSReleaseLabel: NotRequired[str],
    EbsRootVolumeIops: NotRequired[int],
    EbsRootVolumeThroughput: NotRequired[int],
  1. See JobFlowInstancesConfigTypeDef
  2. See StepConfigTypeDef
  3. See BootstrapActionConfigTypeDef BootstrapActionConfigOutputTypeDef
  4. See SupportedProductConfigTypeDef
  5. See ApplicationTypeDef ApplicationOutputTypeDef
  6. See ConfigurationTypeDef ConfigurationOutputTypeDef
  7. See TagTypeDef
  8. See ScaleDownBehaviorType
  9. See RepoUpgradeOnBootType
  10. See KerberosAttributesTypeDef
  11. See ManagedScalingPolicyTypeDef
  12. See PlacementGroupConfigTypeDef
  13. See AutoTerminationPolicyTypeDef