Typed dictionaries#
Auto-generated documentation for EMR type annotations stubs module mypy-boto3-emr.
AddInstanceFleetOutputTypeDef#
# AddInstanceFleetOutputTypeDef usage example
from mypy_boto3_emr.type_defs import AddInstanceFleetOutputTypeDef
def get_value() -> AddInstanceFleetOutputTypeDef:
return {
"ClusterId": ...,
"InstanceFleetId": ...,
"ClusterArn": ...,
"ResponseMetadata": ...,
}
# AddInstanceFleetOutputTypeDef definition
class AddInstanceFleetOutputTypeDef(TypedDict):
ClusterId: str,
InstanceFleetId: str,
ClusterArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
AddInstanceGroupsOutputTypeDef#
# AddInstanceGroupsOutputTypeDef usage example
from mypy_boto3_emr.type_defs import AddInstanceGroupsOutputTypeDef
def get_value() -> AddInstanceGroupsOutputTypeDef:
return {
"JobFlowId": ...,
"InstanceGroupIds": ...,
"ClusterArn": ...,
"ResponseMetadata": ...,
}
# AddInstanceGroupsOutputTypeDef definition
class AddInstanceGroupsOutputTypeDef(TypedDict):
JobFlowId: str,
InstanceGroupIds: List[str],
ClusterArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
AddJobFlowStepsOutputTypeDef#
# AddJobFlowStepsOutputTypeDef usage example
from mypy_boto3_emr.type_defs import AddJobFlowStepsOutputTypeDef
def get_value() -> AddJobFlowStepsOutputTypeDef:
return {
"StepIds": ...,
"ResponseMetadata": ...,
}
# AddJobFlowStepsOutputTypeDef definition
class AddJobFlowStepsOutputTypeDef(TypedDict):
StepIds: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
TagTypeDef#
# TagTypeDef usage example
from mypy_boto3_emr.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"Key": ...,
}
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
ApplicationTypeDef#
# ApplicationTypeDef usage example
from mypy_boto3_emr.type_defs import ApplicationTypeDef
def get_value() -> ApplicationTypeDef:
return {
"Name": ...,
}
# ApplicationTypeDef definition
class ApplicationTypeDef(TypedDict):
Name: NotRequired[str],
Version: NotRequired[str],
Args: NotRequired[List[str]],
AdditionalInfo: NotRequired[Dict[str, str]],
ScalingConstraintsTypeDef#
# ScalingConstraintsTypeDef usage example
from mypy_boto3_emr.type_defs import ScalingConstraintsTypeDef
def get_value() -> ScalingConstraintsTypeDef:
return {
"MinCapacity": ...,
"MaxCapacity": ...,
}
# ScalingConstraintsTypeDef definition
class ScalingConstraintsTypeDef(TypedDict):
MinCapacity: int,
MaxCapacity: int,
AutoScalingPolicyStateChangeReasonTypeDef#
# AutoScalingPolicyStateChangeReasonTypeDef usage example
from mypy_boto3_emr.type_defs import AutoScalingPolicyStateChangeReasonTypeDef
def get_value() -> AutoScalingPolicyStateChangeReasonTypeDef:
return {
"Code": ...,
}
# AutoScalingPolicyStateChangeReasonTypeDef definition
class AutoScalingPolicyStateChangeReasonTypeDef(TypedDict):
Code: NotRequired[AutoScalingPolicyStateChangeReasonCodeType], # (1)
Message: NotRequired[str],
AutoTerminationPolicyTypeDef#
# AutoTerminationPolicyTypeDef usage example
from mypy_boto3_emr.type_defs import AutoTerminationPolicyTypeDef
def get_value() -> AutoTerminationPolicyTypeDef:
return {
"IdleTimeout": ...,
}
# AutoTerminationPolicyTypeDef definition
class AutoTerminationPolicyTypeDef(TypedDict):
IdleTimeout: NotRequired[int],
BlockPublicAccessConfigurationMetadataTypeDef#
# BlockPublicAccessConfigurationMetadataTypeDef usage example
from mypy_boto3_emr.type_defs import BlockPublicAccessConfigurationMetadataTypeDef
def get_value() -> BlockPublicAccessConfigurationMetadataTypeDef:
return {
"CreationDateTime": ...,
"CreatedByArn": ...,
}
# BlockPublicAccessConfigurationMetadataTypeDef definition
class BlockPublicAccessConfigurationMetadataTypeDef(TypedDict):
CreationDateTime: datetime,
CreatedByArn: str,
PortRangeTypeDef#
# PortRangeTypeDef usage example
from mypy_boto3_emr.type_defs import PortRangeTypeDef
def get_value() -> PortRangeTypeDef:
return {
"MinRange": ...,
}
# PortRangeTypeDef definition
class PortRangeTypeDef(TypedDict):
MinRange: int,
MaxRange: NotRequired[int],
ScriptBootstrapActionConfigTypeDef#
# ScriptBootstrapActionConfigTypeDef usage example
from mypy_boto3_emr.type_defs import ScriptBootstrapActionConfigTypeDef
def get_value() -> ScriptBootstrapActionConfigTypeDef:
return {
"Path": ...,
}
# ScriptBootstrapActionConfigTypeDef definition
class ScriptBootstrapActionConfigTypeDef(TypedDict):
Path: str,
Args: NotRequired[List[str]],
CancelStepsInfoTypeDef#
# CancelStepsInfoTypeDef usage example
from mypy_boto3_emr.type_defs import CancelStepsInfoTypeDef
def get_value() -> CancelStepsInfoTypeDef:
return {
"StepId": ...,
}
# CancelStepsInfoTypeDef definition
class CancelStepsInfoTypeDef(TypedDict):
StepId: NotRequired[str],
Status: NotRequired[CancelStepsRequestStatusType], # (1)
Reason: NotRequired[str],
CancelStepsInputRequestTypeDef#
# CancelStepsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import CancelStepsInputRequestTypeDef
def get_value() -> CancelStepsInputRequestTypeDef:
return {
"ClusterId": ...,
"StepIds": ...,
}
# CancelStepsInputRequestTypeDef definition
class CancelStepsInputRequestTypeDef(TypedDict):
ClusterId: str,
StepIds: Sequence[str],
StepCancellationOption: NotRequired[StepCancellationOptionType], # (1)
MetricDimensionTypeDef#
# MetricDimensionTypeDef usage example
from mypy_boto3_emr.type_defs import MetricDimensionTypeDef
def get_value() -> MetricDimensionTypeDef:
return {
"Key": ...,
}
# MetricDimensionTypeDef definition
class MetricDimensionTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
ClusterStateChangeReasonTypeDef#
# ClusterStateChangeReasonTypeDef usage example
from mypy_boto3_emr.type_defs import ClusterStateChangeReasonTypeDef
def get_value() -> ClusterStateChangeReasonTypeDef:
return {
"Code": ...,
}
# ClusterStateChangeReasonTypeDef definition
class ClusterStateChangeReasonTypeDef(TypedDict):
Code: NotRequired[ClusterStateChangeReasonCodeType], # (1)
Message: NotRequired[str],
ClusterTimelineTypeDef#
# ClusterTimelineTypeDef usage example
from mypy_boto3_emr.type_defs import ClusterTimelineTypeDef
def get_value() -> ClusterTimelineTypeDef:
return {
"CreationDateTime": ...,
}
# ClusterTimelineTypeDef definition
class ClusterTimelineTypeDef(TypedDict):
CreationDateTime: NotRequired[datetime],
ReadyDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
ErrorDetailTypeDef#
# ErrorDetailTypeDef usage example
from mypy_boto3_emr.type_defs import ErrorDetailTypeDef
def get_value() -> ErrorDetailTypeDef:
return {
"ErrorCode": ...,
}
# ErrorDetailTypeDef definition
class ErrorDetailTypeDef(TypedDict):
ErrorCode: NotRequired[str],
ErrorData: NotRequired[List[Dict[str, str]]],
ErrorMessage: NotRequired[str],
Ec2InstanceAttributesTypeDef#
# Ec2InstanceAttributesTypeDef usage example
from mypy_boto3_emr.type_defs import Ec2InstanceAttributesTypeDef
def get_value() -> Ec2InstanceAttributesTypeDef:
return {
"Ec2KeyName": ...,
}
# Ec2InstanceAttributesTypeDef definition
class Ec2InstanceAttributesTypeDef(TypedDict):
Ec2KeyName: NotRequired[str],
Ec2SubnetId: NotRequired[str],
RequestedEc2SubnetIds: NotRequired[List[str]],
Ec2AvailabilityZone: NotRequired[str],
RequestedEc2AvailabilityZones: NotRequired[List[str]],
IamInstanceProfile: NotRequired[str],
EmrManagedMasterSecurityGroup: NotRequired[str],
EmrManagedSlaveSecurityGroup: NotRequired[str],
ServiceAccessSecurityGroup: NotRequired[str],
AdditionalMasterSecurityGroups: NotRequired[List[str]],
AdditionalSlaveSecurityGroups: NotRequired[List[str]],
KerberosAttributesTypeDef#
# KerberosAttributesTypeDef usage example
from mypy_boto3_emr.type_defs import KerberosAttributesTypeDef
def get_value() -> KerberosAttributesTypeDef:
return {
"Realm": ...,
"KdcAdminPassword": ...,
}
# KerberosAttributesTypeDef definition
class KerberosAttributesTypeDef(TypedDict):
Realm: str,
KdcAdminPassword: str,
CrossRealmTrustPrincipalPassword: NotRequired[str],
ADDomainJoinUser: NotRequired[str],
ADDomainJoinPassword: NotRequired[str],
PlacementGroupConfigTypeDef#
# PlacementGroupConfigTypeDef usage example
from mypy_boto3_emr.type_defs import PlacementGroupConfigTypeDef
def get_value() -> PlacementGroupConfigTypeDef:
return {
"InstanceRole": ...,
}
# PlacementGroupConfigTypeDef definition
class PlacementGroupConfigTypeDef(TypedDict):
InstanceRole: InstanceRoleTypeType, # (1)
PlacementStrategy: NotRequired[PlacementGroupStrategyType], # (2)
CommandTypeDef#
# CommandTypeDef usage example
from mypy_boto3_emr.type_defs import CommandTypeDef
def get_value() -> CommandTypeDef:
return {
"Name": ...,
}
# CommandTypeDef definition
class CommandTypeDef(TypedDict):
Name: NotRequired[str],
ScriptPath: NotRequired[str],
Args: NotRequired[List[str]],
ComputeLimitsTypeDef#
# ComputeLimitsTypeDef usage example
from mypy_boto3_emr.type_defs import ComputeLimitsTypeDef
def get_value() -> ComputeLimitsTypeDef:
return {
"UnitType": ...,
"MinimumCapacityUnits": ...,
"MaximumCapacityUnits": ...,
}
# ComputeLimitsTypeDef definition
class ComputeLimitsTypeDef(TypedDict):
UnitType: ComputeLimitsUnitTypeType, # (1)
MinimumCapacityUnits: int,
MaximumCapacityUnits: int,
MaximumOnDemandCapacityUnits: NotRequired[int],
MaximumCoreCapacityUnits: NotRequired[int],
ConfigurationTypeDef#
# ConfigurationTypeDef usage example
from mypy_boto3_emr.type_defs import ConfigurationTypeDef
def get_value() -> ConfigurationTypeDef:
return {
"Classification": ...,
}
# ConfigurationTypeDef definition
class ConfigurationTypeDef(TypedDict):
Classification: NotRequired[str],
Configurations: NotRequired[Sequence[ConfigurationTypeDef]], # (1)
Properties: NotRequired[Mapping[str, str]],
CreateSecurityConfigurationInputRequestTypeDef#
# CreateSecurityConfigurationInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import CreateSecurityConfigurationInputRequestTypeDef
def get_value() -> CreateSecurityConfigurationInputRequestTypeDef:
return {
"Name": ...,
"SecurityConfiguration": ...,
}
# CreateSecurityConfigurationInputRequestTypeDef definition
class CreateSecurityConfigurationInputRequestTypeDef(TypedDict):
Name: str,
SecurityConfiguration: str,
CreateSecurityConfigurationOutputTypeDef#
# CreateSecurityConfigurationOutputTypeDef usage example
from mypy_boto3_emr.type_defs import CreateSecurityConfigurationOutputTypeDef
def get_value() -> CreateSecurityConfigurationOutputTypeDef:
return {
"Name": ...,
"CreationDateTime": ...,
"ResponseMetadata": ...,
}
# CreateSecurityConfigurationOutputTypeDef definition
class CreateSecurityConfigurationOutputTypeDef(TypedDict):
Name: str,
CreationDateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateStudioOutputTypeDef#
# CreateStudioOutputTypeDef usage example
from mypy_boto3_emr.type_defs import CreateStudioOutputTypeDef
def get_value() -> CreateStudioOutputTypeDef:
return {
"StudioId": ...,
"Url": ...,
"ResponseMetadata": ...,
}
# CreateStudioOutputTypeDef definition
class CreateStudioOutputTypeDef(TypedDict):
StudioId: str,
Url: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateStudioSessionMappingInputRequestTypeDef#
# CreateStudioSessionMappingInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import CreateStudioSessionMappingInputRequestTypeDef
def get_value() -> CreateStudioSessionMappingInputRequestTypeDef:
return {
"StudioId": ...,
"IdentityType": ...,
"SessionPolicyArn": ...,
}
# CreateStudioSessionMappingInputRequestTypeDef definition
class CreateStudioSessionMappingInputRequestTypeDef(TypedDict):
StudioId: str,
IdentityType: IdentityTypeType, # (1)
SessionPolicyArn: str,
IdentityId: NotRequired[str],
IdentityName: NotRequired[str],
- See IdentityTypeType
UsernamePasswordTypeDef#
# UsernamePasswordTypeDef usage example
from mypy_boto3_emr.type_defs import UsernamePasswordTypeDef
def get_value() -> UsernamePasswordTypeDef:
return {
"Username": ...,
}
# UsernamePasswordTypeDef definition
class UsernamePasswordTypeDef(TypedDict):
Username: NotRequired[str],
Password: NotRequired[str],
DeleteSecurityConfigurationInputRequestTypeDef#
# DeleteSecurityConfigurationInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import DeleteSecurityConfigurationInputRequestTypeDef
def get_value() -> DeleteSecurityConfigurationInputRequestTypeDef:
return {
"Name": ...,
}
# DeleteSecurityConfigurationInputRequestTypeDef definition
class DeleteSecurityConfigurationInputRequestTypeDef(TypedDict):
Name: str,
DeleteStudioInputRequestTypeDef#
# DeleteStudioInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import DeleteStudioInputRequestTypeDef
def get_value() -> DeleteStudioInputRequestTypeDef:
return {
"StudioId": ...,
}
# DeleteStudioInputRequestTypeDef definition
class DeleteStudioInputRequestTypeDef(TypedDict):
StudioId: str,
DeleteStudioSessionMappingInputRequestTypeDef#
# DeleteStudioSessionMappingInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import DeleteStudioSessionMappingInputRequestTypeDef
def get_value() -> DeleteStudioSessionMappingInputRequestTypeDef:
return {
"StudioId": ...,
"IdentityType": ...,
}
# DeleteStudioSessionMappingInputRequestTypeDef definition
class DeleteStudioSessionMappingInputRequestTypeDef(TypedDict):
StudioId: str,
IdentityType: IdentityTypeType, # (1)
IdentityId: NotRequired[str],
IdentityName: NotRequired[str],
- See IdentityTypeType
WaiterConfigTypeDef#
# WaiterConfigTypeDef usage example
from mypy_boto3_emr.type_defs import WaiterConfigTypeDef
def get_value() -> WaiterConfigTypeDef:
return {
"Delay": ...,
}
# WaiterConfigTypeDef definition
class WaiterConfigTypeDef(TypedDict):
Delay: NotRequired[int],
MaxAttempts: NotRequired[int],
DescribeClusterInputRequestTypeDef#
# DescribeClusterInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeClusterInputRequestTypeDef
def get_value() -> DescribeClusterInputRequestTypeDef:
return {
"ClusterId": ...,
}
# DescribeClusterInputRequestTypeDef definition
class DescribeClusterInputRequestTypeDef(TypedDict):
ClusterId: str,
DescribeJobFlowsInputRequestTypeDef#
# DescribeJobFlowsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeJobFlowsInputRequestTypeDef
def get_value() -> DescribeJobFlowsInputRequestTypeDef:
return {
"CreatedAfter": ...,
}
# DescribeJobFlowsInputRequestTypeDef definition
class DescribeJobFlowsInputRequestTypeDef(TypedDict):
CreatedAfter: NotRequired[Union[datetime, str]],
CreatedBefore: NotRequired[Union[datetime, str]],
JobFlowIds: NotRequired[Sequence[str]],
JobFlowStates: NotRequired[Sequence[JobFlowExecutionStateType]], # (1)
DescribeNotebookExecutionInputRequestTypeDef#
# DescribeNotebookExecutionInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeNotebookExecutionInputRequestTypeDef
def get_value() -> DescribeNotebookExecutionInputRequestTypeDef:
return {
"NotebookExecutionId": ...,
}
# DescribeNotebookExecutionInputRequestTypeDef definition
class DescribeNotebookExecutionInputRequestTypeDef(TypedDict):
NotebookExecutionId: str,
DescribeReleaseLabelInputRequestTypeDef#
# DescribeReleaseLabelInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeReleaseLabelInputRequestTypeDef
def get_value() -> DescribeReleaseLabelInputRequestTypeDef:
return {
"ReleaseLabel": ...,
}
# DescribeReleaseLabelInputRequestTypeDef definition
class DescribeReleaseLabelInputRequestTypeDef(TypedDict):
ReleaseLabel: NotRequired[str],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
OSReleaseTypeDef#
# OSReleaseTypeDef usage example
from mypy_boto3_emr.type_defs import OSReleaseTypeDef
def get_value() -> OSReleaseTypeDef:
return {
"Label": ...,
}
# OSReleaseTypeDef definition
class OSReleaseTypeDef(TypedDict):
Label: NotRequired[str],
SimplifiedApplicationTypeDef#
# SimplifiedApplicationTypeDef usage example
from mypy_boto3_emr.type_defs import SimplifiedApplicationTypeDef
def get_value() -> SimplifiedApplicationTypeDef:
return {
"Name": ...,
}
# SimplifiedApplicationTypeDef definition
class SimplifiedApplicationTypeDef(TypedDict):
Name: NotRequired[str],
Version: NotRequired[str],
DescribeSecurityConfigurationInputRequestTypeDef#
# DescribeSecurityConfigurationInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeSecurityConfigurationInputRequestTypeDef
def get_value() -> DescribeSecurityConfigurationInputRequestTypeDef:
return {
"Name": ...,
}
# DescribeSecurityConfigurationInputRequestTypeDef definition
class DescribeSecurityConfigurationInputRequestTypeDef(TypedDict):
Name: str,
DescribeSecurityConfigurationOutputTypeDef#
# DescribeSecurityConfigurationOutputTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeSecurityConfigurationOutputTypeDef
def get_value() -> DescribeSecurityConfigurationOutputTypeDef:
return {
"Name": ...,
"SecurityConfiguration": ...,
"CreationDateTime": ...,
"ResponseMetadata": ...,
}
# DescribeSecurityConfigurationOutputTypeDef definition
class DescribeSecurityConfigurationOutputTypeDef(TypedDict):
Name: str,
SecurityConfiguration: str,
CreationDateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeStepInputRequestTypeDef#
# DescribeStepInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeStepInputRequestTypeDef
def get_value() -> DescribeStepInputRequestTypeDef:
return {
"ClusterId": ...,
"StepId": ...,
}
# DescribeStepInputRequestTypeDef definition
class DescribeStepInputRequestTypeDef(TypedDict):
ClusterId: str,
StepId: str,
DescribeStudioInputRequestTypeDef#
# DescribeStudioInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeStudioInputRequestTypeDef
def get_value() -> DescribeStudioInputRequestTypeDef:
return {
"StudioId": ...,
}
# DescribeStudioInputRequestTypeDef definition
class DescribeStudioInputRequestTypeDef(TypedDict):
StudioId: str,
VolumeSpecificationTypeDef#
# VolumeSpecificationTypeDef usage example
from mypy_boto3_emr.type_defs import VolumeSpecificationTypeDef
def get_value() -> VolumeSpecificationTypeDef:
return {
"VolumeType": ...,
"SizeInGB": ...,
}
# VolumeSpecificationTypeDef definition
class VolumeSpecificationTypeDef(TypedDict):
VolumeType: str,
SizeInGB: int,
Iops: NotRequired[int],
Throughput: NotRequired[int],
EbsVolumeTypeDef#
# EbsVolumeTypeDef usage example
from mypy_boto3_emr.type_defs import EbsVolumeTypeDef
def get_value() -> EbsVolumeTypeDef:
return {
"Device": ...,
}
# EbsVolumeTypeDef definition
class EbsVolumeTypeDef(TypedDict):
Device: NotRequired[str],
VolumeId: NotRequired[str],
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef usage example
from mypy_boto3_emr.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ExecutionEngineConfigTypeDef#
# ExecutionEngineConfigTypeDef usage example
from mypy_boto3_emr.type_defs import ExecutionEngineConfigTypeDef
def get_value() -> ExecutionEngineConfigTypeDef:
return {
"Id": ...,
}
# ExecutionEngineConfigTypeDef definition
class ExecutionEngineConfigTypeDef(TypedDict):
Id: str,
Type: NotRequired[ExecutionEngineTypeType], # (1)
MasterInstanceSecurityGroupId: NotRequired[str],
ExecutionRoleArn: NotRequired[str],
FailureDetailsTypeDef#
# FailureDetailsTypeDef usage example
from mypy_boto3_emr.type_defs import FailureDetailsTypeDef
def get_value() -> FailureDetailsTypeDef:
return {
"Reason": ...,
}
# FailureDetailsTypeDef definition
class FailureDetailsTypeDef(TypedDict):
Reason: NotRequired[str],
Message: NotRequired[str],
LogFile: NotRequired[str],
GetAutoTerminationPolicyInputRequestTypeDef#
# GetAutoTerminationPolicyInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import GetAutoTerminationPolicyInputRequestTypeDef
def get_value() -> GetAutoTerminationPolicyInputRequestTypeDef:
return {
"ClusterId": ...,
}
# GetAutoTerminationPolicyInputRequestTypeDef definition
class GetAutoTerminationPolicyInputRequestTypeDef(TypedDict):
ClusterId: str,
GetClusterSessionCredentialsInputRequestTypeDef#
# GetClusterSessionCredentialsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import GetClusterSessionCredentialsInputRequestTypeDef
def get_value() -> GetClusterSessionCredentialsInputRequestTypeDef:
return {
"ClusterId": ...,
"ExecutionRoleArn": ...,
}
# GetClusterSessionCredentialsInputRequestTypeDef definition
class GetClusterSessionCredentialsInputRequestTypeDef(TypedDict):
ClusterId: str,
ExecutionRoleArn: str,
GetManagedScalingPolicyInputRequestTypeDef#
# GetManagedScalingPolicyInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import GetManagedScalingPolicyInputRequestTypeDef
def get_value() -> GetManagedScalingPolicyInputRequestTypeDef:
return {
"ClusterId": ...,
}
# GetManagedScalingPolicyInputRequestTypeDef definition
class GetManagedScalingPolicyInputRequestTypeDef(TypedDict):
ClusterId: str,
GetStudioSessionMappingInputRequestTypeDef#
# GetStudioSessionMappingInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import GetStudioSessionMappingInputRequestTypeDef
def get_value() -> GetStudioSessionMappingInputRequestTypeDef:
return {
"StudioId": ...,
"IdentityType": ...,
}
# GetStudioSessionMappingInputRequestTypeDef definition
class GetStudioSessionMappingInputRequestTypeDef(TypedDict):
StudioId: str,
IdentityType: IdentityTypeType, # (1)
IdentityId: NotRequired[str],
IdentityName: NotRequired[str],
- See IdentityTypeType
SessionMappingDetailTypeDef#
# SessionMappingDetailTypeDef usage example
from mypy_boto3_emr.type_defs import SessionMappingDetailTypeDef
def get_value() -> SessionMappingDetailTypeDef:
return {
"StudioId": ...,
}
# SessionMappingDetailTypeDef definition
class SessionMappingDetailTypeDef(TypedDict):
StudioId: NotRequired[str],
IdentityId: NotRequired[str],
IdentityName: NotRequired[str],
IdentityType: NotRequired[IdentityTypeType], # (1)
SessionPolicyArn: NotRequired[str],
CreationTime: NotRequired[datetime],
LastModifiedTime: NotRequired[datetime],
- See IdentityTypeType
KeyValueTypeDef#
# KeyValueTypeDef usage example
from mypy_boto3_emr.type_defs import KeyValueTypeDef
def get_value() -> KeyValueTypeDef:
return {
"Key": ...,
}
# KeyValueTypeDef definition
class KeyValueTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
HadoopStepConfigTypeDef#
# HadoopStepConfigTypeDef usage example
from mypy_boto3_emr.type_defs import HadoopStepConfigTypeDef
def get_value() -> HadoopStepConfigTypeDef:
return {
"Jar": ...,
}
# HadoopStepConfigTypeDef definition
class HadoopStepConfigTypeDef(TypedDict):
Jar: NotRequired[str],
Properties: NotRequired[Dict[str, str]],
MainClass: NotRequired[str],
Args: NotRequired[List[str]],
SpotProvisioningSpecificationTypeDef#
# SpotProvisioningSpecificationTypeDef usage example
from mypy_boto3_emr.type_defs import SpotProvisioningSpecificationTypeDef
def get_value() -> SpotProvisioningSpecificationTypeDef:
return {
"TimeoutDurationMinutes": ...,
"TimeoutAction": ...,
}
# SpotProvisioningSpecificationTypeDef definition
class SpotProvisioningSpecificationTypeDef(TypedDict):
TimeoutDurationMinutes: int,
TimeoutAction: SpotProvisioningTimeoutActionType, # (1)
BlockDurationMinutes: NotRequired[int],
AllocationStrategy: NotRequired[SpotProvisioningAllocationStrategyType], # (2)
OnDemandResizingSpecificationTypeDef#
# OnDemandResizingSpecificationTypeDef usage example
from mypy_boto3_emr.type_defs import OnDemandResizingSpecificationTypeDef
def get_value() -> OnDemandResizingSpecificationTypeDef:
return {
"TimeoutDurationMinutes": ...,
}
# OnDemandResizingSpecificationTypeDef definition
class OnDemandResizingSpecificationTypeDef(TypedDict):
TimeoutDurationMinutes: int,
SpotResizingSpecificationTypeDef#
# SpotResizingSpecificationTypeDef usage example
from mypy_boto3_emr.type_defs import SpotResizingSpecificationTypeDef
def get_value() -> SpotResizingSpecificationTypeDef:
return {
"TimeoutDurationMinutes": ...,
}
# SpotResizingSpecificationTypeDef definition
class SpotResizingSpecificationTypeDef(TypedDict):
TimeoutDurationMinutes: int,
InstanceFleetStateChangeReasonTypeDef#
# InstanceFleetStateChangeReasonTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceFleetStateChangeReasonTypeDef
def get_value() -> InstanceFleetStateChangeReasonTypeDef:
return {
"Code": ...,
}
# InstanceFleetStateChangeReasonTypeDef definition
class InstanceFleetStateChangeReasonTypeDef(TypedDict):
Code: NotRequired[InstanceFleetStateChangeReasonCodeType], # (1)
Message: NotRequired[str],
InstanceFleetTimelineTypeDef#
# InstanceFleetTimelineTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceFleetTimelineTypeDef
def get_value() -> InstanceFleetTimelineTypeDef:
return {
"CreationDateTime": ...,
}
# InstanceFleetTimelineTypeDef definition
class InstanceFleetTimelineTypeDef(TypedDict):
CreationDateTime: NotRequired[datetime],
ReadyDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
InstanceGroupDetailTypeDef#
# InstanceGroupDetailTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceGroupDetailTypeDef
def get_value() -> InstanceGroupDetailTypeDef:
return {
"Market": ...,
"InstanceRole": ...,
"InstanceType": ...,
"InstanceRequestCount": ...,
"InstanceRunningCount": ...,
"State": ...,
"CreationDateTime": ...,
}
# InstanceGroupDetailTypeDef definition
class InstanceGroupDetailTypeDef(TypedDict):
Market: MarketTypeType, # (1)
InstanceRole: InstanceRoleTypeType, # (2)
InstanceType: str,
InstanceRequestCount: int,
InstanceRunningCount: int,
State: InstanceGroupStateType, # (3)
CreationDateTime: datetime,
InstanceGroupId: NotRequired[str],
Name: NotRequired[str],
BidPrice: NotRequired[str],
LastStateChangeReason: NotRequired[str],
StartDateTime: NotRequired[datetime],
ReadyDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
CustomAmiId: NotRequired[str],
- See MarketTypeType
- See InstanceRoleTypeType
- See InstanceGroupStateType
InstanceGroupStateChangeReasonTypeDef#
# InstanceGroupStateChangeReasonTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceGroupStateChangeReasonTypeDef
def get_value() -> InstanceGroupStateChangeReasonTypeDef:
return {
"Code": ...,
}
# InstanceGroupStateChangeReasonTypeDef definition
class InstanceGroupStateChangeReasonTypeDef(TypedDict):
Code: NotRequired[InstanceGroupStateChangeReasonCodeType], # (1)
Message: NotRequired[str],
InstanceGroupTimelineTypeDef#
# InstanceGroupTimelineTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceGroupTimelineTypeDef
def get_value() -> InstanceGroupTimelineTypeDef:
return {
"CreationDateTime": ...,
}
# InstanceGroupTimelineTypeDef definition
class InstanceGroupTimelineTypeDef(TypedDict):
CreationDateTime: NotRequired[datetime],
ReadyDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
InstanceResizePolicyTypeDef#
# InstanceResizePolicyTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceResizePolicyTypeDef
def get_value() -> InstanceResizePolicyTypeDef:
return {
"InstancesToTerminate": ...,
}
# InstanceResizePolicyTypeDef definition
class InstanceResizePolicyTypeDef(TypedDict):
InstancesToTerminate: NotRequired[List[str]],
InstancesToProtect: NotRequired[List[str]],
InstanceTerminationTimeout: NotRequired[int],
InstanceStateChangeReasonTypeDef#
# InstanceStateChangeReasonTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceStateChangeReasonTypeDef
def get_value() -> InstanceStateChangeReasonTypeDef:
return {
"Code": ...,
}
# InstanceStateChangeReasonTypeDef definition
class InstanceStateChangeReasonTypeDef(TypedDict):
Code: NotRequired[InstanceStateChangeReasonCodeType], # (1)
Message: NotRequired[str],
InstanceTimelineTypeDef#
# InstanceTimelineTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceTimelineTypeDef
def get_value() -> InstanceTimelineTypeDef:
return {
"CreationDateTime": ...,
}
# InstanceTimelineTypeDef definition
class InstanceTimelineTypeDef(TypedDict):
CreationDateTime: NotRequired[datetime],
ReadyDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
JobFlowExecutionStatusDetailTypeDef#
# JobFlowExecutionStatusDetailTypeDef usage example
from mypy_boto3_emr.type_defs import JobFlowExecutionStatusDetailTypeDef
def get_value() -> JobFlowExecutionStatusDetailTypeDef:
return {
"State": ...,
"CreationDateTime": ...,
}
# JobFlowExecutionStatusDetailTypeDef definition
class JobFlowExecutionStatusDetailTypeDef(TypedDict):
State: JobFlowExecutionStateType, # (1)
CreationDateTime: datetime,
StartDateTime: NotRequired[datetime],
ReadyDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
LastStateChangeReason: NotRequired[str],
PlacementTypeTypeDef#
# PlacementTypeTypeDef usage example
from mypy_boto3_emr.type_defs import PlacementTypeTypeDef
def get_value() -> PlacementTypeTypeDef:
return {
"AvailabilityZone": ...,
}
# PlacementTypeTypeDef definition
class PlacementTypeTypeDef(TypedDict):
AvailabilityZone: NotRequired[str],
AvailabilityZones: NotRequired[List[str]],
ListBootstrapActionsInputListBootstrapActionsPaginateTypeDef#
# ListBootstrapActionsInputListBootstrapActionsPaginateTypeDef usage example
from mypy_boto3_emr.type_defs import ListBootstrapActionsInputListBootstrapActionsPaginateTypeDef
def get_value() -> ListBootstrapActionsInputListBootstrapActionsPaginateTypeDef:
return {
"ClusterId": ...,
}
# ListBootstrapActionsInputListBootstrapActionsPaginateTypeDef definition
class ListBootstrapActionsInputListBootstrapActionsPaginateTypeDef(TypedDict):
ClusterId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListBootstrapActionsInputRequestTypeDef#
# ListBootstrapActionsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import ListBootstrapActionsInputRequestTypeDef
def get_value() -> ListBootstrapActionsInputRequestTypeDef:
return {
"ClusterId": ...,
}
# ListBootstrapActionsInputRequestTypeDef definition
class ListBootstrapActionsInputRequestTypeDef(TypedDict):
ClusterId: str,
Marker: NotRequired[str],
ListClustersInputListClustersPaginateTypeDef#
# ListClustersInputListClustersPaginateTypeDef usage example
from mypy_boto3_emr.type_defs import ListClustersInputListClustersPaginateTypeDef
def get_value() -> ListClustersInputListClustersPaginateTypeDef:
return {
"CreatedAfter": ...,
}
# ListClustersInputListClustersPaginateTypeDef definition
class ListClustersInputListClustersPaginateTypeDef(TypedDict):
CreatedAfter: NotRequired[Union[datetime, str]],
CreatedBefore: NotRequired[Union[datetime, str]],
ClusterStates: NotRequired[Sequence[ClusterStateType]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListClustersInputRequestTypeDef#
# ListClustersInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import ListClustersInputRequestTypeDef
def get_value() -> ListClustersInputRequestTypeDef:
return {
"CreatedAfter": ...,
}
# ListClustersInputRequestTypeDef definition
class ListClustersInputRequestTypeDef(TypedDict):
CreatedAfter: NotRequired[Union[datetime, str]],
CreatedBefore: NotRequired[Union[datetime, str]],
ClusterStates: NotRequired[Sequence[ClusterStateType]], # (1)
Marker: NotRequired[str],
- See ClusterStateType
ListInstanceFleetsInputListInstanceFleetsPaginateTypeDef#
# ListInstanceFleetsInputListInstanceFleetsPaginateTypeDef usage example
from mypy_boto3_emr.type_defs import ListInstanceFleetsInputListInstanceFleetsPaginateTypeDef
def get_value() -> ListInstanceFleetsInputListInstanceFleetsPaginateTypeDef:
return {
"ClusterId": ...,
}
# ListInstanceFleetsInputListInstanceFleetsPaginateTypeDef definition
class ListInstanceFleetsInputListInstanceFleetsPaginateTypeDef(TypedDict):
ClusterId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListInstanceFleetsInputRequestTypeDef#
# ListInstanceFleetsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import ListInstanceFleetsInputRequestTypeDef
def get_value() -> ListInstanceFleetsInputRequestTypeDef:
return {
"ClusterId": ...,
}
# ListInstanceFleetsInputRequestTypeDef definition
class ListInstanceFleetsInputRequestTypeDef(TypedDict):
ClusterId: str,
Marker: NotRequired[str],
ListInstanceGroupsInputListInstanceGroupsPaginateTypeDef#
# ListInstanceGroupsInputListInstanceGroupsPaginateTypeDef usage example
from mypy_boto3_emr.type_defs import ListInstanceGroupsInputListInstanceGroupsPaginateTypeDef
def get_value() -> ListInstanceGroupsInputListInstanceGroupsPaginateTypeDef:
return {
"ClusterId": ...,
}
# ListInstanceGroupsInputListInstanceGroupsPaginateTypeDef definition
class ListInstanceGroupsInputListInstanceGroupsPaginateTypeDef(TypedDict):
ClusterId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListInstanceGroupsInputRequestTypeDef#
# ListInstanceGroupsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import ListInstanceGroupsInputRequestTypeDef
def get_value() -> ListInstanceGroupsInputRequestTypeDef:
return {
"ClusterId": ...,
}
# ListInstanceGroupsInputRequestTypeDef definition
class ListInstanceGroupsInputRequestTypeDef(TypedDict):
ClusterId: str,
Marker: NotRequired[str],
ListInstancesInputListInstancesPaginateTypeDef#
# ListInstancesInputListInstancesPaginateTypeDef usage example
from mypy_boto3_emr.type_defs import ListInstancesInputListInstancesPaginateTypeDef
def get_value() -> ListInstancesInputListInstancesPaginateTypeDef:
return {
"ClusterId": ...,
}
# 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)
- See InstanceGroupTypeType
- See InstanceFleetTypeType
- See InstanceStateType
- See PaginatorConfigTypeDef
ListInstancesInputRequestTypeDef#
# ListInstancesInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import ListInstancesInputRequestTypeDef
def get_value() -> ListInstancesInputRequestTypeDef:
return {
"ClusterId": ...,
}
# 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],
ListNotebookExecutionsInputListNotebookExecutionsPaginateTypeDef#
# ListNotebookExecutionsInputListNotebookExecutionsPaginateTypeDef usage example
from mypy_boto3_emr.type_defs import ListNotebookExecutionsInputListNotebookExecutionsPaginateTypeDef
def get_value() -> ListNotebookExecutionsInputListNotebookExecutionsPaginateTypeDef:
return {
"EditorId": ...,
}
# ListNotebookExecutionsInputListNotebookExecutionsPaginateTypeDef definition
class ListNotebookExecutionsInputListNotebookExecutionsPaginateTypeDef(TypedDict):
EditorId: NotRequired[str],
Status: NotRequired[NotebookExecutionStatusType], # (1)
From: NotRequired[Union[datetime, str]],
To: NotRequired[Union[datetime, str]],
ExecutionEngineId: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListNotebookExecutionsInputRequestTypeDef#
# ListNotebookExecutionsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import ListNotebookExecutionsInputRequestTypeDef
def get_value() -> ListNotebookExecutionsInputRequestTypeDef:
return {
"EditorId": ...,
}
# ListNotebookExecutionsInputRequestTypeDef definition
class ListNotebookExecutionsInputRequestTypeDef(TypedDict):
EditorId: NotRequired[str],
Status: NotRequired[NotebookExecutionStatusType], # (1)
From: NotRequired[Union[datetime, str]],
To: NotRequired[Union[datetime, str]],
Marker: NotRequired[str],
ExecutionEngineId: NotRequired[str],
ReleaseLabelFilterTypeDef#
# ReleaseLabelFilterTypeDef usage example
from mypy_boto3_emr.type_defs import ReleaseLabelFilterTypeDef
def get_value() -> ReleaseLabelFilterTypeDef:
return {
"Prefix": ...,
}
# ReleaseLabelFilterTypeDef definition
class ReleaseLabelFilterTypeDef(TypedDict):
Prefix: NotRequired[str],
Application: NotRequired[str],
ListReleaseLabelsOutputTypeDef#
# ListReleaseLabelsOutputTypeDef usage example
from mypy_boto3_emr.type_defs import ListReleaseLabelsOutputTypeDef
def get_value() -> ListReleaseLabelsOutputTypeDef:
return {
"ReleaseLabels": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListReleaseLabelsOutputTypeDef definition
class ListReleaseLabelsOutputTypeDef(TypedDict):
ReleaseLabels: List[str],
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListSecurityConfigurationsInputListSecurityConfigurationsPaginateTypeDef#
# ListSecurityConfigurationsInputListSecurityConfigurationsPaginateTypeDef usage example
from mypy_boto3_emr.type_defs import ListSecurityConfigurationsInputListSecurityConfigurationsPaginateTypeDef
def get_value() -> ListSecurityConfigurationsInputListSecurityConfigurationsPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListSecurityConfigurationsInputListSecurityConfigurationsPaginateTypeDef definition
class ListSecurityConfigurationsInputListSecurityConfigurationsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListSecurityConfigurationsInputRequestTypeDef#
# ListSecurityConfigurationsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import ListSecurityConfigurationsInputRequestTypeDef
def get_value() -> ListSecurityConfigurationsInputRequestTypeDef:
return {
"Marker": ...,
}
# ListSecurityConfigurationsInputRequestTypeDef definition
class ListSecurityConfigurationsInputRequestTypeDef(TypedDict):
Marker: NotRequired[str],
SecurityConfigurationSummaryTypeDef#
# SecurityConfigurationSummaryTypeDef usage example
from mypy_boto3_emr.type_defs import SecurityConfigurationSummaryTypeDef
def get_value() -> SecurityConfigurationSummaryTypeDef:
return {
"Name": ...,
}
# SecurityConfigurationSummaryTypeDef definition
class SecurityConfigurationSummaryTypeDef(TypedDict):
Name: NotRequired[str],
CreationDateTime: NotRequired[datetime],
ListStepsInputListStepsPaginateTypeDef#
# ListStepsInputListStepsPaginateTypeDef usage example
from mypy_boto3_emr.type_defs import ListStepsInputListStepsPaginateTypeDef
def get_value() -> ListStepsInputListStepsPaginateTypeDef:
return {
"ClusterId": ...,
}
# ListStepsInputListStepsPaginateTypeDef definition
class ListStepsInputListStepsPaginateTypeDef(TypedDict):
ClusterId: str,
StepStates: NotRequired[Sequence[StepStateType]], # (1)
StepIds: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See StepStateType
- See PaginatorConfigTypeDef
ListStepsInputRequestTypeDef#
# ListStepsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import ListStepsInputRequestTypeDef
def get_value() -> ListStepsInputRequestTypeDef:
return {
"ClusterId": ...,
}
# ListStepsInputRequestTypeDef definition
class ListStepsInputRequestTypeDef(TypedDict):
ClusterId: str,
StepStates: NotRequired[Sequence[StepStateType]], # (1)
StepIds: NotRequired[Sequence[str]],
Marker: NotRequired[str],
- See StepStateType
ListStudioSessionMappingsInputListStudioSessionMappingsPaginateTypeDef#
# ListStudioSessionMappingsInputListStudioSessionMappingsPaginateTypeDef usage example
from mypy_boto3_emr.type_defs import ListStudioSessionMappingsInputListStudioSessionMappingsPaginateTypeDef
def get_value() -> ListStudioSessionMappingsInputListStudioSessionMappingsPaginateTypeDef:
return {
"StudioId": ...,
}
# ListStudioSessionMappingsInputListStudioSessionMappingsPaginateTypeDef definition
class ListStudioSessionMappingsInputListStudioSessionMappingsPaginateTypeDef(TypedDict):
StudioId: NotRequired[str],
IdentityType: NotRequired[IdentityTypeType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListStudioSessionMappingsInputRequestTypeDef#
# ListStudioSessionMappingsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import ListStudioSessionMappingsInputRequestTypeDef
def get_value() -> ListStudioSessionMappingsInputRequestTypeDef:
return {
"StudioId": ...,
}
# ListStudioSessionMappingsInputRequestTypeDef definition
class ListStudioSessionMappingsInputRequestTypeDef(TypedDict):
StudioId: NotRequired[str],
IdentityType: NotRequired[IdentityTypeType], # (1)
Marker: NotRequired[str],
- See IdentityTypeType
SessionMappingSummaryTypeDef#
# SessionMappingSummaryTypeDef usage example
from mypy_boto3_emr.type_defs import SessionMappingSummaryTypeDef
def get_value() -> SessionMappingSummaryTypeDef:
return {
"StudioId": ...,
}
# SessionMappingSummaryTypeDef definition
class SessionMappingSummaryTypeDef(TypedDict):
StudioId: NotRequired[str],
IdentityId: NotRequired[str],
IdentityName: NotRequired[str],
IdentityType: NotRequired[IdentityTypeType], # (1)
SessionPolicyArn: NotRequired[str],
CreationTime: NotRequired[datetime],
- See IdentityTypeType
ListStudiosInputListStudiosPaginateTypeDef#
# ListStudiosInputListStudiosPaginateTypeDef usage example
from mypy_boto3_emr.type_defs import ListStudiosInputListStudiosPaginateTypeDef
def get_value() -> ListStudiosInputListStudiosPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListStudiosInputListStudiosPaginateTypeDef definition
class ListStudiosInputListStudiosPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListStudiosInputRequestTypeDef#
# ListStudiosInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import ListStudiosInputRequestTypeDef
def get_value() -> ListStudiosInputRequestTypeDef:
return {
"Marker": ...,
}
# ListStudiosInputRequestTypeDef definition
class ListStudiosInputRequestTypeDef(TypedDict):
Marker: NotRequired[str],
StudioSummaryTypeDef#
# StudioSummaryTypeDef usage example
from mypy_boto3_emr.type_defs import StudioSummaryTypeDef
def get_value() -> StudioSummaryTypeDef:
return {
"StudioId": ...,
}
# StudioSummaryTypeDef definition
class StudioSummaryTypeDef(TypedDict):
StudioId: NotRequired[str],
Name: NotRequired[str],
VpcId: NotRequired[str],
Description: NotRequired[str],
Url: NotRequired[str],
AuthMode: NotRequired[AuthModeType], # (1)
CreationTime: NotRequired[datetime],
- See AuthModeType
ModifyClusterInputRequestTypeDef#
# ModifyClusterInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import ModifyClusterInputRequestTypeDef
def get_value() -> ModifyClusterInputRequestTypeDef:
return {
"ClusterId": ...,
}
# ModifyClusterInputRequestTypeDef definition
class ModifyClusterInputRequestTypeDef(TypedDict):
ClusterId: str,
StepConcurrencyLevel: NotRequired[int],
ModifyClusterOutputTypeDef#
# ModifyClusterOutputTypeDef usage example
from mypy_boto3_emr.type_defs import ModifyClusterOutputTypeDef
def get_value() -> ModifyClusterOutputTypeDef:
return {
"StepConcurrencyLevel": ...,
"ResponseMetadata": ...,
}
# ModifyClusterOutputTypeDef definition
class ModifyClusterOutputTypeDef(TypedDict):
StepConcurrencyLevel: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
NotebookS3LocationForOutputTypeDef#
# NotebookS3LocationForOutputTypeDef usage example
from mypy_boto3_emr.type_defs import NotebookS3LocationForOutputTypeDef
def get_value() -> NotebookS3LocationForOutputTypeDef:
return {
"Bucket": ...,
}
# NotebookS3LocationForOutputTypeDef definition
class NotebookS3LocationForOutputTypeDef(TypedDict):
Bucket: NotRequired[str],
Key: NotRequired[str],
OutputNotebookS3LocationForOutputTypeDef#
# OutputNotebookS3LocationForOutputTypeDef usage example
from mypy_boto3_emr.type_defs import OutputNotebookS3LocationForOutputTypeDef
def get_value() -> OutputNotebookS3LocationForOutputTypeDef:
return {
"Bucket": ...,
}
# OutputNotebookS3LocationForOutputTypeDef definition
class OutputNotebookS3LocationForOutputTypeDef(TypedDict):
Bucket: NotRequired[str],
Key: NotRequired[str],
NotebookS3LocationFromInputTypeDef#
# NotebookS3LocationFromInputTypeDef usage example
from mypy_boto3_emr.type_defs import NotebookS3LocationFromInputTypeDef
def get_value() -> NotebookS3LocationFromInputTypeDef:
return {
"Bucket": ...,
}
# NotebookS3LocationFromInputTypeDef definition
class NotebookS3LocationFromInputTypeDef(TypedDict):
Bucket: NotRequired[str],
Key: NotRequired[str],
OnDemandCapacityReservationOptionsTypeDef#
# OnDemandCapacityReservationOptionsTypeDef usage example
from mypy_boto3_emr.type_defs import OnDemandCapacityReservationOptionsTypeDef
def get_value() -> OnDemandCapacityReservationOptionsTypeDef:
return {
"UsageStrategy": ...,
}
# OnDemandCapacityReservationOptionsTypeDef definition
class OnDemandCapacityReservationOptionsTypeDef(TypedDict):
UsageStrategy: NotRequired[OnDemandCapacityReservationUsageStrategyType], # (1)
CapacityReservationPreference: NotRequired[OnDemandCapacityReservationPreferenceType], # (2)
CapacityReservationResourceGroupArn: NotRequired[str],
OutputNotebookS3LocationFromInputTypeDef#
# OutputNotebookS3LocationFromInputTypeDef usage example
from mypy_boto3_emr.type_defs import OutputNotebookS3LocationFromInputTypeDef
def get_value() -> OutputNotebookS3LocationFromInputTypeDef:
return {
"Bucket": ...,
}
# OutputNotebookS3LocationFromInputTypeDef definition
class OutputNotebookS3LocationFromInputTypeDef(TypedDict):
Bucket: NotRequired[str],
Key: NotRequired[str],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef usage example
from mypy_boto3_emr.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
RemoveAutoScalingPolicyInputRequestTypeDef#
# RemoveAutoScalingPolicyInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import RemoveAutoScalingPolicyInputRequestTypeDef
def get_value() -> RemoveAutoScalingPolicyInputRequestTypeDef:
return {
"ClusterId": ...,
"InstanceGroupId": ...,
}
# RemoveAutoScalingPolicyInputRequestTypeDef definition
class RemoveAutoScalingPolicyInputRequestTypeDef(TypedDict):
ClusterId: str,
InstanceGroupId: str,
RemoveAutoTerminationPolicyInputRequestTypeDef#
# RemoveAutoTerminationPolicyInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import RemoveAutoTerminationPolicyInputRequestTypeDef
def get_value() -> RemoveAutoTerminationPolicyInputRequestTypeDef:
return {
"ClusterId": ...,
}
# RemoveAutoTerminationPolicyInputRequestTypeDef definition
class RemoveAutoTerminationPolicyInputRequestTypeDef(TypedDict):
ClusterId: str,
RemoveManagedScalingPolicyInputRequestTypeDef#
# RemoveManagedScalingPolicyInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import RemoveManagedScalingPolicyInputRequestTypeDef
def get_value() -> RemoveManagedScalingPolicyInputRequestTypeDef:
return {
"ClusterId": ...,
}
# RemoveManagedScalingPolicyInputRequestTypeDef definition
class RemoveManagedScalingPolicyInputRequestTypeDef(TypedDict):
ClusterId: str,
RemoveTagsInputRequestTypeDef#
# RemoveTagsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import RemoveTagsInputRequestTypeDef
def get_value() -> RemoveTagsInputRequestTypeDef:
return {
"ResourceId": ...,
"TagKeys": ...,
}
# RemoveTagsInputRequestTypeDef definition
class RemoveTagsInputRequestTypeDef(TypedDict):
ResourceId: str,
TagKeys: Sequence[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef usage example
from mypy_boto3_emr.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
SupportedProductConfigTypeDef#
# SupportedProductConfigTypeDef usage example
from mypy_boto3_emr.type_defs import SupportedProductConfigTypeDef
def get_value() -> SupportedProductConfigTypeDef:
return {
"Name": ...,
}
# SupportedProductConfigTypeDef definition
class SupportedProductConfigTypeDef(TypedDict):
Name: NotRequired[str],
Args: NotRequired[Sequence[str]],
RunJobFlowOutputTypeDef#
# RunJobFlowOutputTypeDef usage example
from mypy_boto3_emr.type_defs import RunJobFlowOutputTypeDef
def get_value() -> RunJobFlowOutputTypeDef:
return {
"JobFlowId": ...,
"ClusterArn": ...,
"ResponseMetadata": ...,
}
# RunJobFlowOutputTypeDef definition
class RunJobFlowOutputTypeDef(TypedDict):
JobFlowId: str,
ClusterArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SimpleScalingPolicyConfigurationTypeDef#
# SimpleScalingPolicyConfigurationTypeDef usage example
from mypy_boto3_emr.type_defs import SimpleScalingPolicyConfigurationTypeDef
def get_value() -> SimpleScalingPolicyConfigurationTypeDef:
return {
"ScalingAdjustment": ...,
}
# SimpleScalingPolicyConfigurationTypeDef definition
class SimpleScalingPolicyConfigurationTypeDef(TypedDict):
ScalingAdjustment: int,
AdjustmentType: NotRequired[AdjustmentTypeType], # (1)
CoolDown: NotRequired[int],
SetTerminationProtectionInputRequestTypeDef#
# SetTerminationProtectionInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import SetTerminationProtectionInputRequestTypeDef
def get_value() -> SetTerminationProtectionInputRequestTypeDef:
return {
"JobFlowIds": ...,
"TerminationProtected": ...,
}
# SetTerminationProtectionInputRequestTypeDef definition
class SetTerminationProtectionInputRequestTypeDef(TypedDict):
JobFlowIds: Sequence[str],
TerminationProtected: bool,
SetVisibleToAllUsersInputRequestTypeDef#
# SetVisibleToAllUsersInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import SetVisibleToAllUsersInputRequestTypeDef
def get_value() -> SetVisibleToAllUsersInputRequestTypeDef:
return {
"JobFlowIds": ...,
"VisibleToAllUsers": ...,
}
# SetVisibleToAllUsersInputRequestTypeDef definition
class SetVisibleToAllUsersInputRequestTypeDef(TypedDict):
JobFlowIds: Sequence[str],
VisibleToAllUsers: bool,
StartNotebookExecutionOutputTypeDef#
# StartNotebookExecutionOutputTypeDef usage example
from mypy_boto3_emr.type_defs import StartNotebookExecutionOutputTypeDef
def get_value() -> StartNotebookExecutionOutputTypeDef:
return {
"NotebookExecutionId": ...,
"ResponseMetadata": ...,
}
# StartNotebookExecutionOutputTypeDef definition
class StartNotebookExecutionOutputTypeDef(TypedDict):
NotebookExecutionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StepExecutionStatusDetailTypeDef#
# StepExecutionStatusDetailTypeDef usage example
from mypy_boto3_emr.type_defs import StepExecutionStatusDetailTypeDef
def get_value() -> StepExecutionStatusDetailTypeDef:
return {
"State": ...,
"CreationDateTime": ...,
}
# StepExecutionStatusDetailTypeDef definition
class StepExecutionStatusDetailTypeDef(TypedDict):
State: StepExecutionStateType, # (1)
CreationDateTime: datetime,
StartDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
LastStateChangeReason: NotRequired[str],
StepStateChangeReasonTypeDef#
# StepStateChangeReasonTypeDef usage example
from mypy_boto3_emr.type_defs import StepStateChangeReasonTypeDef
def get_value() -> StepStateChangeReasonTypeDef:
return {
"Code": ...,
}
# StepStateChangeReasonTypeDef definition
class StepStateChangeReasonTypeDef(TypedDict):
Code: NotRequired[StepStateChangeReasonCodeType], # (1)
Message: NotRequired[str],
StepTimelineTypeDef#
# StepTimelineTypeDef usage example
from mypy_boto3_emr.type_defs import StepTimelineTypeDef
def get_value() -> StepTimelineTypeDef:
return {
"CreationDateTime": ...,
}
# StepTimelineTypeDef definition
class StepTimelineTypeDef(TypedDict):
CreationDateTime: NotRequired[datetime],
StartDateTime: NotRequired[datetime],
EndDateTime: NotRequired[datetime],
StopNotebookExecutionInputRequestTypeDef#
# StopNotebookExecutionInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import StopNotebookExecutionInputRequestTypeDef
def get_value() -> StopNotebookExecutionInputRequestTypeDef:
return {
"NotebookExecutionId": ...,
}
# StopNotebookExecutionInputRequestTypeDef definition
class StopNotebookExecutionInputRequestTypeDef(TypedDict):
NotebookExecutionId: str,
TerminateJobFlowsInputRequestTypeDef#
# TerminateJobFlowsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import TerminateJobFlowsInputRequestTypeDef
def get_value() -> TerminateJobFlowsInputRequestTypeDef:
return {
"JobFlowIds": ...,
}
# TerminateJobFlowsInputRequestTypeDef definition
class TerminateJobFlowsInputRequestTypeDef(TypedDict):
JobFlowIds: Sequence[str],
UpdateStudioInputRequestTypeDef#
# UpdateStudioInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import UpdateStudioInputRequestTypeDef
def get_value() -> UpdateStudioInputRequestTypeDef:
return {
"StudioId": ...,
}
# UpdateStudioInputRequestTypeDef definition
class UpdateStudioInputRequestTypeDef(TypedDict):
StudioId: str,
Name: NotRequired[str],
Description: NotRequired[str],
SubnetIds: NotRequired[Sequence[str]],
DefaultS3Location: NotRequired[str],
UpdateStudioSessionMappingInputRequestTypeDef#
# UpdateStudioSessionMappingInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import UpdateStudioSessionMappingInputRequestTypeDef
def get_value() -> UpdateStudioSessionMappingInputRequestTypeDef:
return {
"StudioId": ...,
"IdentityType": ...,
"SessionPolicyArn": ...,
}
# UpdateStudioSessionMappingInputRequestTypeDef definition
class UpdateStudioSessionMappingInputRequestTypeDef(TypedDict):
StudioId: str,
IdentityType: IdentityTypeType, # (1)
SessionPolicyArn: str,
IdentityId: NotRequired[str],
IdentityName: NotRequired[str],
- See IdentityTypeType
AddTagsInputRequestTypeDef#
# AddTagsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import AddTagsInputRequestTypeDef
def get_value() -> AddTagsInputRequestTypeDef:
return {
"ResourceId": ...,
"Tags": ...,
}
# AddTagsInputRequestTypeDef definition
class AddTagsInputRequestTypeDef(TypedDict):
ResourceId: str,
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
CreateStudioInputRequestTypeDef#
# CreateStudioInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import CreateStudioInputRequestTypeDef
def get_value() -> CreateStudioInputRequestTypeDef:
return {
"Name": ...,
"AuthMode": ...,
"VpcId": ...,
"SubnetIds": ...,
"ServiceRole": ...,
"WorkspaceSecurityGroupId": ...,
"EngineSecurityGroupId": ...,
"DefaultS3Location": ...,
}
# 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)
- See AuthModeType
- See TagTypeDef
StudioTypeDef#
# StudioTypeDef usage example
from mypy_boto3_emr.type_defs import StudioTypeDef
def get_value() -> StudioTypeDef:
return {
"StudioId": ...,
}
# StudioTypeDef definition
class StudioTypeDef(TypedDict):
StudioId: NotRequired[str],
StudioArn: NotRequired[str],
Name: NotRequired[str],
Description: NotRequired[str],
AuthMode: NotRequired[AuthModeType], # (1)
VpcId: NotRequired[str],
SubnetIds: NotRequired[List[str]],
ServiceRole: NotRequired[str],
UserRole: NotRequired[str],
WorkspaceSecurityGroupId: NotRequired[str],
EngineSecurityGroupId: NotRequired[str],
Url: NotRequired[str],
CreationTime: NotRequired[datetime],
DefaultS3Location: NotRequired[str],
IdpAuthUrl: NotRequired[str],
IdpRelayStateParameterName: NotRequired[str],
Tags: NotRequired[List[TagTypeDef]], # (2)
- See AuthModeType
- See TagTypeDef
AutoScalingPolicyStatusTypeDef#
# AutoScalingPolicyStatusTypeDef usage example
from mypy_boto3_emr.type_defs import AutoScalingPolicyStatusTypeDef
def get_value() -> AutoScalingPolicyStatusTypeDef:
return {
"State": ...,
}
# AutoScalingPolicyStatusTypeDef definition
class AutoScalingPolicyStatusTypeDef(TypedDict):
State: NotRequired[AutoScalingPolicyStateType], # (1)
StateChangeReason: NotRequired[AutoScalingPolicyStateChangeReasonTypeDef], # (2)
GetAutoTerminationPolicyOutputTypeDef#
# GetAutoTerminationPolicyOutputTypeDef usage example
from mypy_boto3_emr.type_defs import GetAutoTerminationPolicyOutputTypeDef
def get_value() -> GetAutoTerminationPolicyOutputTypeDef:
return {
"AutoTerminationPolicy": ...,
"ResponseMetadata": ...,
}
# GetAutoTerminationPolicyOutputTypeDef definition
class GetAutoTerminationPolicyOutputTypeDef(TypedDict):
AutoTerminationPolicy: AutoTerminationPolicyTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutAutoTerminationPolicyInputRequestTypeDef#
# PutAutoTerminationPolicyInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import PutAutoTerminationPolicyInputRequestTypeDef
def get_value() -> PutAutoTerminationPolicyInputRequestTypeDef:
return {
"ClusterId": ...,
}
# PutAutoTerminationPolicyInputRequestTypeDef definition
class PutAutoTerminationPolicyInputRequestTypeDef(TypedDict):
ClusterId: str,
AutoTerminationPolicy: NotRequired[AutoTerminationPolicyTypeDef], # (1)
BlockPublicAccessConfigurationTypeDef#
# BlockPublicAccessConfigurationTypeDef usage example
from mypy_boto3_emr.type_defs import BlockPublicAccessConfigurationTypeDef
def get_value() -> BlockPublicAccessConfigurationTypeDef:
return {
"BlockPublicSecurityGroupRules": ...,
}
# BlockPublicAccessConfigurationTypeDef definition
class BlockPublicAccessConfigurationTypeDef(TypedDict):
BlockPublicSecurityGroupRules: bool,
PermittedPublicSecurityGroupRuleRanges: NotRequired[List[PortRangeTypeDef]], # (1)
- See PortRangeTypeDef
BootstrapActionConfigTypeDef#
# BootstrapActionConfigTypeDef usage example
from mypy_boto3_emr.type_defs import BootstrapActionConfigTypeDef
def get_value() -> BootstrapActionConfigTypeDef:
return {
"Name": ...,
"ScriptBootstrapAction": ...,
}
# BootstrapActionConfigTypeDef definition
class BootstrapActionConfigTypeDef(TypedDict):
Name: str,
ScriptBootstrapAction: ScriptBootstrapActionConfigTypeDef, # (1)
CancelStepsOutputTypeDef#
# CancelStepsOutputTypeDef usage example
from mypy_boto3_emr.type_defs import CancelStepsOutputTypeDef
def get_value() -> CancelStepsOutputTypeDef:
return {
"CancelStepsInfoList": ...,
"ResponseMetadata": ...,
}
# CancelStepsOutputTypeDef definition
class CancelStepsOutputTypeDef(TypedDict):
CancelStepsInfoList: List[CancelStepsInfoTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CloudWatchAlarmDefinitionTypeDef#
# CloudWatchAlarmDefinitionTypeDef usage example
from mypy_boto3_emr.type_defs import CloudWatchAlarmDefinitionTypeDef
def get_value() -> CloudWatchAlarmDefinitionTypeDef:
return {
"ComparisonOperator": ...,
"MetricName": ...,
"Period": ...,
"Threshold": ...,
}
# CloudWatchAlarmDefinitionTypeDef definition
class CloudWatchAlarmDefinitionTypeDef(TypedDict):
ComparisonOperator: ComparisonOperatorType, # (1)
MetricName: str,
Period: int,
Threshold: float,
EvaluationPeriods: NotRequired[int],
Namespace: NotRequired[str],
Statistic: NotRequired[StatisticType], # (2)
Unit: NotRequired[UnitType], # (3)
Dimensions: NotRequired[Sequence[MetricDimensionTypeDef]], # (4)
- See ComparisonOperatorType
- See StatisticType
- See UnitType
- See MetricDimensionTypeDef
ClusterStatusTypeDef#
# ClusterStatusTypeDef usage example
from mypy_boto3_emr.type_defs import ClusterStatusTypeDef
def get_value() -> ClusterStatusTypeDef:
return {
"State": ...,
}
# ClusterStatusTypeDef definition
class ClusterStatusTypeDef(TypedDict):
State: NotRequired[ClusterStateType], # (1)
StateChangeReason: NotRequired[ClusterStateChangeReasonTypeDef], # (2)
Timeline: NotRequired[ClusterTimelineTypeDef], # (3)
ErrorDetails: NotRequired[List[ErrorDetailTypeDef]], # (4)
- See ClusterStateType
- See ClusterStateChangeReasonTypeDef
- See ClusterTimelineTypeDef
- See ErrorDetailTypeDef
ListBootstrapActionsOutputTypeDef#
# ListBootstrapActionsOutputTypeDef usage example
from mypy_boto3_emr.type_defs import ListBootstrapActionsOutputTypeDef
def get_value() -> ListBootstrapActionsOutputTypeDef:
return {
"BootstrapActions": ...,
"Marker": ...,
"ResponseMetadata": ...,
}
# ListBootstrapActionsOutputTypeDef definition
class ListBootstrapActionsOutputTypeDef(TypedDict):
BootstrapActions: List[CommandTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ManagedScalingPolicyTypeDef#
# ManagedScalingPolicyTypeDef usage example
from mypy_boto3_emr.type_defs import ManagedScalingPolicyTypeDef
def get_value() -> ManagedScalingPolicyTypeDef:
return {
"ComputeLimits": ...,
}
# ManagedScalingPolicyTypeDef definition
class ManagedScalingPolicyTypeDef(TypedDict):
ComputeLimits: NotRequired[ComputeLimitsTypeDef], # (1)
CredentialsTypeDef#
# CredentialsTypeDef usage example
from mypy_boto3_emr.type_defs import CredentialsTypeDef
def get_value() -> CredentialsTypeDef:
return {
"UsernamePassword": ...,
}
# CredentialsTypeDef definition
class CredentialsTypeDef(TypedDict):
UsernamePassword: NotRequired[UsernamePasswordTypeDef], # (1)
DescribeClusterInputClusterRunningWaitTypeDef#
# DescribeClusterInputClusterRunningWaitTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeClusterInputClusterRunningWaitTypeDef
def get_value() -> DescribeClusterInputClusterRunningWaitTypeDef:
return {
"ClusterId": ...,
}
# DescribeClusterInputClusterRunningWaitTypeDef definition
class DescribeClusterInputClusterRunningWaitTypeDef(TypedDict):
ClusterId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeClusterInputClusterTerminatedWaitTypeDef#
# DescribeClusterInputClusterTerminatedWaitTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeClusterInputClusterTerminatedWaitTypeDef
def get_value() -> DescribeClusterInputClusterTerminatedWaitTypeDef:
return {
"ClusterId": ...,
}
# DescribeClusterInputClusterTerminatedWaitTypeDef definition
class DescribeClusterInputClusterTerminatedWaitTypeDef(TypedDict):
ClusterId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeStepInputStepCompleteWaitTypeDef#
# DescribeStepInputStepCompleteWaitTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeStepInputStepCompleteWaitTypeDef
def get_value() -> DescribeStepInputStepCompleteWaitTypeDef:
return {
"ClusterId": ...,
"StepId": ...,
}
# DescribeStepInputStepCompleteWaitTypeDef definition
class DescribeStepInputStepCompleteWaitTypeDef(TypedDict):
ClusterId: str,
StepId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeReleaseLabelOutputTypeDef#
# DescribeReleaseLabelOutputTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeReleaseLabelOutputTypeDef
def get_value() -> DescribeReleaseLabelOutputTypeDef:
return {
"ReleaseLabel": ...,
"Applications": ...,
"NextToken": ...,
"AvailableOSReleases": ...,
"ResponseMetadata": ...,
}
# DescribeReleaseLabelOutputTypeDef definition
class DescribeReleaseLabelOutputTypeDef(TypedDict):
ReleaseLabel: str,
Applications: List[SimplifiedApplicationTypeDef], # (1)
NextToken: str,
AvailableOSReleases: List[OSReleaseTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
EbsBlockDeviceConfigTypeDef#
# EbsBlockDeviceConfigTypeDef usage example
from mypy_boto3_emr.type_defs import EbsBlockDeviceConfigTypeDef
def get_value() -> EbsBlockDeviceConfigTypeDef:
return {
"VolumeSpecification": ...,
}
# EbsBlockDeviceConfigTypeDef definition
class EbsBlockDeviceConfigTypeDef(TypedDict):
VolumeSpecification: VolumeSpecificationTypeDef, # (1)
VolumesPerInstance: NotRequired[int],
EbsBlockDeviceTypeDef#
# EbsBlockDeviceTypeDef usage example
from mypy_boto3_emr.type_defs import EbsBlockDeviceTypeDef
def get_value() -> EbsBlockDeviceTypeDef:
return {
"VolumeSpecification": ...,
}
# EbsBlockDeviceTypeDef definition
class EbsBlockDeviceTypeDef(TypedDict):
VolumeSpecification: NotRequired[VolumeSpecificationTypeDef], # (1)
Device: NotRequired[str],
GetStudioSessionMappingOutputTypeDef#
# GetStudioSessionMappingOutputTypeDef usage example
from mypy_boto3_emr.type_defs import GetStudioSessionMappingOutputTypeDef
def get_value() -> GetStudioSessionMappingOutputTypeDef:
return {
"SessionMapping": ...,
"ResponseMetadata": ...,
}
# GetStudioSessionMappingOutputTypeDef definition
class GetStudioSessionMappingOutputTypeDef(TypedDict):
SessionMapping: SessionMappingDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
HadoopJarStepConfigTypeDef#
# HadoopJarStepConfigTypeDef usage example
from mypy_boto3_emr.type_defs import HadoopJarStepConfigTypeDef
def get_value() -> HadoopJarStepConfigTypeDef:
return {
"Jar": ...,
}
# HadoopJarStepConfigTypeDef definition
class HadoopJarStepConfigTypeDef(TypedDict):
Jar: str,
Properties: NotRequired[Sequence[KeyValueTypeDef]], # (1)
MainClass: NotRequired[str],
Args: NotRequired[Sequence[str]],
- See KeyValueTypeDef
InstanceFleetResizingSpecificationsTypeDef#
# InstanceFleetResizingSpecificationsTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceFleetResizingSpecificationsTypeDef
def get_value() -> InstanceFleetResizingSpecificationsTypeDef:
return {
"SpotResizeSpecification": ...,
}
# InstanceFleetResizingSpecificationsTypeDef definition
class InstanceFleetResizingSpecificationsTypeDef(TypedDict):
SpotResizeSpecification: NotRequired[SpotResizingSpecificationTypeDef], # (1)
OnDemandResizeSpecification: NotRequired[OnDemandResizingSpecificationTypeDef], # (2)
InstanceFleetStatusTypeDef#
# InstanceFleetStatusTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceFleetStatusTypeDef
def get_value() -> InstanceFleetStatusTypeDef:
return {
"State": ...,
}
# InstanceFleetStatusTypeDef definition
class InstanceFleetStatusTypeDef(TypedDict):
State: NotRequired[InstanceFleetStateType], # (1)
StateChangeReason: NotRequired[InstanceFleetStateChangeReasonTypeDef], # (2)
Timeline: NotRequired[InstanceFleetTimelineTypeDef], # (3)
- See InstanceFleetStateType
- See InstanceFleetStateChangeReasonTypeDef
- See InstanceFleetTimelineTypeDef
InstanceGroupStatusTypeDef#
# InstanceGroupStatusTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceGroupStatusTypeDef
def get_value() -> InstanceGroupStatusTypeDef:
return {
"State": ...,
}
# InstanceGroupStatusTypeDef definition
class InstanceGroupStatusTypeDef(TypedDict):
State: NotRequired[InstanceGroupStateType], # (1)
StateChangeReason: NotRequired[InstanceGroupStateChangeReasonTypeDef], # (2)
Timeline: NotRequired[InstanceGroupTimelineTypeDef], # (3)
- See InstanceGroupStateType
- See InstanceGroupStateChangeReasonTypeDef
- See InstanceGroupTimelineTypeDef
ShrinkPolicyTypeDef#
# ShrinkPolicyTypeDef usage example
from mypy_boto3_emr.type_defs import ShrinkPolicyTypeDef
def get_value() -> ShrinkPolicyTypeDef:
return {
"DecommissionTimeout": ...,
}
# ShrinkPolicyTypeDef definition
class ShrinkPolicyTypeDef(TypedDict):
DecommissionTimeout: NotRequired[int],
InstanceResizePolicy: NotRequired[InstanceResizePolicyTypeDef], # (1)
InstanceStatusTypeDef#
# InstanceStatusTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceStatusTypeDef
def get_value() -> InstanceStatusTypeDef:
return {
"State": ...,
}
# InstanceStatusTypeDef definition
class InstanceStatusTypeDef(TypedDict):
State: NotRequired[InstanceStateType], # (1)
StateChangeReason: NotRequired[InstanceStateChangeReasonTypeDef], # (2)
Timeline: NotRequired[InstanceTimelineTypeDef], # (3)
JobFlowInstancesDetailTypeDef#
# JobFlowInstancesDetailTypeDef usage example
from mypy_boto3_emr.type_defs import JobFlowInstancesDetailTypeDef
def get_value() -> JobFlowInstancesDetailTypeDef:
return {
"MasterInstanceType": ...,
"SlaveInstanceType": ...,
"InstanceCount": ...,
}
# 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[PlacementTypeTypeDef], # (2)
KeepJobFlowAliveWhenNoSteps: NotRequired[bool],
TerminationProtected: NotRequired[bool],
HadoopVersion: NotRequired[str],
ListReleaseLabelsInputRequestTypeDef#
# ListReleaseLabelsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import ListReleaseLabelsInputRequestTypeDef
def get_value() -> ListReleaseLabelsInputRequestTypeDef:
return {
"Filters": ...,
}
# ListReleaseLabelsInputRequestTypeDef definition
class ListReleaseLabelsInputRequestTypeDef(TypedDict):
Filters: NotRequired[ReleaseLabelFilterTypeDef], # (1)
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListSecurityConfigurationsOutputTypeDef#
# ListSecurityConfigurationsOutputTypeDef usage example
from mypy_boto3_emr.type_defs import ListSecurityConfigurationsOutputTypeDef
def get_value() -> ListSecurityConfigurationsOutputTypeDef:
return {
"SecurityConfigurations": ...,
"Marker": ...,
"ResponseMetadata": ...,
}
# ListSecurityConfigurationsOutputTypeDef definition
class ListSecurityConfigurationsOutputTypeDef(TypedDict):
SecurityConfigurations: List[SecurityConfigurationSummaryTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListStudioSessionMappingsOutputTypeDef#
# ListStudioSessionMappingsOutputTypeDef usage example
from mypy_boto3_emr.type_defs import ListStudioSessionMappingsOutputTypeDef
def get_value() -> ListStudioSessionMappingsOutputTypeDef:
return {
"SessionMappings": ...,
"Marker": ...,
"ResponseMetadata": ...,
}
# ListStudioSessionMappingsOutputTypeDef definition
class ListStudioSessionMappingsOutputTypeDef(TypedDict):
SessionMappings: List[SessionMappingSummaryTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListStudiosOutputTypeDef#
# ListStudiosOutputTypeDef usage example
from mypy_boto3_emr.type_defs import ListStudiosOutputTypeDef
def get_value() -> ListStudiosOutputTypeDef:
return {
"Studios": ...,
"Marker": ...,
"ResponseMetadata": ...,
}
# ListStudiosOutputTypeDef definition
class ListStudiosOutputTypeDef(TypedDict):
Studios: List[StudioSummaryTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NotebookExecutionSummaryTypeDef#
# NotebookExecutionSummaryTypeDef usage example
from mypy_boto3_emr.type_defs import NotebookExecutionSummaryTypeDef
def get_value() -> NotebookExecutionSummaryTypeDef:
return {
"NotebookExecutionId": ...,
}
# NotebookExecutionSummaryTypeDef definition
class NotebookExecutionSummaryTypeDef(TypedDict):
NotebookExecutionId: NotRequired[str],
EditorId: NotRequired[str],
NotebookExecutionName: NotRequired[str],
Status: NotRequired[NotebookExecutionStatusType], # (1)
StartTime: NotRequired[datetime],
EndTime: NotRequired[datetime],
NotebookS3Location: NotRequired[NotebookS3LocationForOutputTypeDef], # (2)
ExecutionEngineId: NotRequired[str],
NotebookExecutionTypeDef#
# NotebookExecutionTypeDef usage example
from mypy_boto3_emr.type_defs import NotebookExecutionTypeDef
def get_value() -> NotebookExecutionTypeDef:
return {
"NotebookExecutionId": ...,
}
# NotebookExecutionTypeDef definition
class NotebookExecutionTypeDef(TypedDict):
NotebookExecutionId: NotRequired[str],
EditorId: NotRequired[str],
ExecutionEngine: NotRequired[ExecutionEngineConfigTypeDef], # (1)
NotebookExecutionName: NotRequired[str],
NotebookParams: NotRequired[str],
Status: NotRequired[NotebookExecutionStatusType], # (2)
StartTime: NotRequired[datetime],
EndTime: NotRequired[datetime],
Arn: NotRequired[str],
OutputNotebookURI: NotRequired[str],
LastStateChangeReason: NotRequired[str],
NotebookInstanceSecurityGroupId: NotRequired[str],
Tags: NotRequired[List[TagTypeDef]], # (3)
NotebookS3Location: NotRequired[NotebookS3LocationForOutputTypeDef], # (4)
OutputNotebookS3Location: NotRequired[OutputNotebookS3LocationForOutputTypeDef], # (5)
OutputNotebookFormat: NotRequired[OutputNotebookFormatType], # (6)
EnvironmentVariables: NotRequired[Dict[str, str]],
- See ExecutionEngineConfigTypeDef
- See NotebookExecutionStatusType
- See TagTypeDef
- See NotebookS3LocationForOutputTypeDef
- See OutputNotebookS3LocationForOutputTypeDef
- See OutputNotebookFormatType
OnDemandProvisioningSpecificationTypeDef#
# OnDemandProvisioningSpecificationTypeDef usage example
from mypy_boto3_emr.type_defs import OnDemandProvisioningSpecificationTypeDef
def get_value() -> OnDemandProvisioningSpecificationTypeDef:
return {
"AllocationStrategy": ...,
}
# OnDemandProvisioningSpecificationTypeDef definition
class OnDemandProvisioningSpecificationTypeDef(TypedDict):
AllocationStrategy: OnDemandProvisioningAllocationStrategyType, # (1)
CapacityReservationOptions: NotRequired[OnDemandCapacityReservationOptionsTypeDef], # (2)
StartNotebookExecutionInputRequestTypeDef#
# StartNotebookExecutionInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import StartNotebookExecutionInputRequestTypeDef
def get_value() -> StartNotebookExecutionInputRequestTypeDef:
return {
"ExecutionEngine": ...,
"ServiceRole": ...,
}
# 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]],
- See ExecutionEngineConfigTypeDef
- See TagTypeDef
- See NotebookS3LocationFromInputTypeDef
- See OutputNotebookS3LocationFromInputTypeDef
- See OutputNotebookFormatType
ScalingActionTypeDef#
# ScalingActionTypeDef usage example
from mypy_boto3_emr.type_defs import ScalingActionTypeDef
def get_value() -> ScalingActionTypeDef:
return {
"SimpleScalingPolicyConfiguration": ...,
}
# ScalingActionTypeDef definition
class ScalingActionTypeDef(TypedDict):
SimpleScalingPolicyConfiguration: SimpleScalingPolicyConfigurationTypeDef, # (2)
Market: NotRequired[MarketTypeType], # (1)
StepStatusTypeDef#
# StepStatusTypeDef usage example
from mypy_boto3_emr.type_defs import StepStatusTypeDef
def get_value() -> StepStatusTypeDef:
return {
"State": ...,
}
# StepStatusTypeDef definition
class StepStatusTypeDef(TypedDict):
State: NotRequired[StepStateType], # (1)
StateChangeReason: NotRequired[StepStateChangeReasonTypeDef], # (2)
FailureDetails: NotRequired[FailureDetailsTypeDef], # (3)
Timeline: NotRequired[StepTimelineTypeDef], # (4)
- See StepStateType
- See StepStateChangeReasonTypeDef
- See FailureDetailsTypeDef
- See StepTimelineTypeDef
DescribeStudioOutputTypeDef#
# DescribeStudioOutputTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeStudioOutputTypeDef
def get_value() -> DescribeStudioOutputTypeDef:
return {
"Studio": ...,
"ResponseMetadata": ...,
}
# DescribeStudioOutputTypeDef definition
class DescribeStudioOutputTypeDef(TypedDict):
Studio: StudioTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See StudioTypeDef
- See ResponseMetadataTypeDef
GetBlockPublicAccessConfigurationOutputTypeDef#
# GetBlockPublicAccessConfigurationOutputTypeDef usage example
from mypy_boto3_emr.type_defs import GetBlockPublicAccessConfigurationOutputTypeDef
def get_value() -> GetBlockPublicAccessConfigurationOutputTypeDef:
return {
"BlockPublicAccessConfiguration": ...,
"BlockPublicAccessConfigurationMetadata": ...,
"ResponseMetadata": ...,
}
# GetBlockPublicAccessConfigurationOutputTypeDef definition
class GetBlockPublicAccessConfigurationOutputTypeDef(TypedDict):
BlockPublicAccessConfiguration: BlockPublicAccessConfigurationTypeDef, # (1)
BlockPublicAccessConfigurationMetadata: BlockPublicAccessConfigurationMetadataTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See BlockPublicAccessConfigurationTypeDef
- See BlockPublicAccessConfigurationMetadataTypeDef
- See ResponseMetadataTypeDef
PutBlockPublicAccessConfigurationInputRequestTypeDef#
# PutBlockPublicAccessConfigurationInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import PutBlockPublicAccessConfigurationInputRequestTypeDef
def get_value() -> PutBlockPublicAccessConfigurationInputRequestTypeDef:
return {
"BlockPublicAccessConfiguration": ...,
}
# PutBlockPublicAccessConfigurationInputRequestTypeDef definition
class PutBlockPublicAccessConfigurationInputRequestTypeDef(TypedDict):
BlockPublicAccessConfiguration: BlockPublicAccessConfigurationTypeDef, # (1)
BootstrapActionDetailTypeDef#
# BootstrapActionDetailTypeDef usage example
from mypy_boto3_emr.type_defs import BootstrapActionDetailTypeDef
def get_value() -> BootstrapActionDetailTypeDef:
return {
"BootstrapActionConfig": ...,
}
# BootstrapActionDetailTypeDef definition
class BootstrapActionDetailTypeDef(TypedDict):
BootstrapActionConfig: NotRequired[BootstrapActionConfigTypeDef], # (1)
ScalingTriggerTypeDef#
# ScalingTriggerTypeDef usage example
from mypy_boto3_emr.type_defs import ScalingTriggerTypeDef
def get_value() -> ScalingTriggerTypeDef:
return {
"CloudWatchAlarmDefinition": ...,
}
# ScalingTriggerTypeDef definition
class ScalingTriggerTypeDef(TypedDict):
CloudWatchAlarmDefinition: CloudWatchAlarmDefinitionTypeDef, # (1)
ClusterSummaryTypeDef#
# ClusterSummaryTypeDef usage example
from mypy_boto3_emr.type_defs import ClusterSummaryTypeDef
def get_value() -> ClusterSummaryTypeDef:
return {
"Id": ...,
}
# ClusterSummaryTypeDef definition
class ClusterSummaryTypeDef(TypedDict):
Id: NotRequired[str],
Name: NotRequired[str],
Status: NotRequired[ClusterStatusTypeDef], # (1)
NormalizedInstanceHours: NotRequired[int],
ClusterArn: NotRequired[str],
OutpostArn: NotRequired[str],
ClusterTypeDef#
# ClusterTypeDef usage example
from mypy_boto3_emr.type_defs import ClusterTypeDef
def get_value() -> ClusterTypeDef:
return {
"Id": ...,
}
# ClusterTypeDef definition
class ClusterTypeDef(TypedDict):
Id: NotRequired[str],
Name: NotRequired[str],
Status: NotRequired[ClusterStatusTypeDef], # (1)
Ec2InstanceAttributes: NotRequired[Ec2InstanceAttributesTypeDef], # (2)
InstanceCollectionType: NotRequired[InstanceCollectionTypeType], # (3)
LogUri: NotRequired[str],
LogEncryptionKmsKeyId: NotRequired[str],
RequestedAmiVersion: NotRequired[str],
RunningAmiVersion: NotRequired[str],
ReleaseLabel: NotRequired[str],
AutoTerminate: NotRequired[bool],
TerminationProtected: NotRequired[bool],
VisibleToAllUsers: NotRequired[bool],
Applications: NotRequired[List[ApplicationTypeDef]], # (4)
Tags: NotRequired[List[TagTypeDef]], # (5)
ServiceRole: NotRequired[str],
NormalizedInstanceHours: NotRequired[int],
MasterPublicDnsName: NotRequired[str],
Configurations: NotRequired[List[ConfigurationTypeDef]], # (6)
SecurityConfiguration: NotRequired[str],
AutoScalingRole: NotRequired[str],
ScaleDownBehavior: NotRequired[ScaleDownBehaviorType], # (7)
CustomAmiId: NotRequired[str],
EbsRootVolumeSize: NotRequired[int],
RepoUpgradeOnBoot: NotRequired[RepoUpgradeOnBootType], # (8)
KerberosAttributes: NotRequired[KerberosAttributesTypeDef], # (9)
ClusterArn: NotRequired[str],
OutpostArn: NotRequired[str],
StepConcurrencyLevel: NotRequired[int],
PlacementGroups: NotRequired[List[PlacementGroupConfigTypeDef]], # (10)
OSReleaseLabel: NotRequired[str],
- See ClusterStatusTypeDef
- See Ec2InstanceAttributesTypeDef
- See InstanceCollectionTypeType
- See ApplicationTypeDef
- See TagTypeDef
- See ConfigurationTypeDef
- See ScaleDownBehaviorType
- See RepoUpgradeOnBootType
- See KerberosAttributesTypeDef
- See PlacementGroupConfigTypeDef
GetManagedScalingPolicyOutputTypeDef#
# GetManagedScalingPolicyOutputTypeDef usage example
from mypy_boto3_emr.type_defs import GetManagedScalingPolicyOutputTypeDef
def get_value() -> GetManagedScalingPolicyOutputTypeDef:
return {
"ManagedScalingPolicy": ...,
"ResponseMetadata": ...,
}
# GetManagedScalingPolicyOutputTypeDef definition
class GetManagedScalingPolicyOutputTypeDef(TypedDict):
ManagedScalingPolicy: ManagedScalingPolicyTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutManagedScalingPolicyInputRequestTypeDef#
# PutManagedScalingPolicyInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import PutManagedScalingPolicyInputRequestTypeDef
def get_value() -> PutManagedScalingPolicyInputRequestTypeDef:
return {
"ClusterId": ...,
"ManagedScalingPolicy": ...,
}
# PutManagedScalingPolicyInputRequestTypeDef definition
class PutManagedScalingPolicyInputRequestTypeDef(TypedDict):
ClusterId: str,
ManagedScalingPolicy: ManagedScalingPolicyTypeDef, # (1)
GetClusterSessionCredentialsOutputTypeDef#
# GetClusterSessionCredentialsOutputTypeDef usage example
from mypy_boto3_emr.type_defs import GetClusterSessionCredentialsOutputTypeDef
def get_value() -> GetClusterSessionCredentialsOutputTypeDef:
return {
"Credentials": ...,
"ExpiresAt": ...,
"ResponseMetadata": ...,
}
# GetClusterSessionCredentialsOutputTypeDef definition
class GetClusterSessionCredentialsOutputTypeDef(TypedDict):
Credentials: CredentialsTypeDef, # (1)
ExpiresAt: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
EbsConfigurationTypeDef#
# EbsConfigurationTypeDef usage example
from mypy_boto3_emr.type_defs import EbsConfigurationTypeDef
def get_value() -> EbsConfigurationTypeDef:
return {
"EbsBlockDeviceConfigs": ...,
}
# EbsConfigurationTypeDef definition
class EbsConfigurationTypeDef(TypedDict):
EbsBlockDeviceConfigs: NotRequired[Sequence[EbsBlockDeviceConfigTypeDef]], # (1)
EbsOptimized: NotRequired[bool],
InstanceTypeSpecificationTypeDef#
# InstanceTypeSpecificationTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceTypeSpecificationTypeDef
def get_value() -> InstanceTypeSpecificationTypeDef:
return {
"InstanceType": ...,
}
# InstanceTypeSpecificationTypeDef definition
class InstanceTypeSpecificationTypeDef(TypedDict):
InstanceType: NotRequired[str],
WeightedCapacity: NotRequired[int],
BidPrice: NotRequired[str],
BidPriceAsPercentageOfOnDemandPrice: NotRequired[float],
Configurations: NotRequired[List[ConfigurationTypeDef]], # (1)
EbsBlockDevices: NotRequired[List[EbsBlockDeviceTypeDef]], # (2)
EbsOptimized: NotRequired[bool],
CustomAmiId: NotRequired[str],
StepConfigTypeDef#
# StepConfigTypeDef usage example
from mypy_boto3_emr.type_defs import StepConfigTypeDef
def get_value() -> StepConfigTypeDef:
return {
"Name": ...,
"HadoopJarStep": ...,
}
# StepConfigTypeDef definition
class StepConfigTypeDef(TypedDict):
Name: str,
HadoopJarStep: HadoopJarStepConfigTypeDef, # (2)
ActionOnFailure: NotRequired[ActionOnFailureType], # (1)
InstanceFleetModifyConfigTypeDef#
# InstanceFleetModifyConfigTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceFleetModifyConfigTypeDef
def get_value() -> InstanceFleetModifyConfigTypeDef:
return {
"InstanceFleetId": ...,
}
# InstanceFleetModifyConfigTypeDef definition
class InstanceFleetModifyConfigTypeDef(TypedDict):
InstanceFleetId: str,
TargetOnDemandCapacity: NotRequired[int],
TargetSpotCapacity: NotRequired[int],
ResizeSpecifications: NotRequired[InstanceFleetResizingSpecificationsTypeDef], # (1)
InstanceGroupModifyConfigTypeDef#
# InstanceGroupModifyConfigTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceGroupModifyConfigTypeDef
def get_value() -> InstanceGroupModifyConfigTypeDef:
return {
"InstanceGroupId": ...,
}
# InstanceGroupModifyConfigTypeDef definition
class InstanceGroupModifyConfigTypeDef(TypedDict):
InstanceGroupId: str,
InstanceCount: NotRequired[int],
EC2InstanceIdsToTerminate: NotRequired[Sequence[str]],
ShrinkPolicy: NotRequired[ShrinkPolicyTypeDef], # (1)
ReconfigurationType: NotRequired[ReconfigurationTypeType], # (2)
Configurations: NotRequired[Sequence[ConfigurationTypeDef]], # (3)
InstanceTypeDef#
# InstanceTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceTypeDef
def get_value() -> InstanceTypeDef:
return {
"Id": ...,
}
# InstanceTypeDef definition
class InstanceTypeDef(TypedDict):
Id: NotRequired[str],
Ec2InstanceId: NotRequired[str],
PublicDnsName: NotRequired[str],
PublicIpAddress: NotRequired[str],
PrivateDnsName: NotRequired[str],
PrivateIpAddress: NotRequired[str],
Status: NotRequired[InstanceStatusTypeDef], # (1)
InstanceGroupId: NotRequired[str],
InstanceFleetId: NotRequired[str],
Market: NotRequired[MarketTypeType], # (2)
InstanceType: NotRequired[str],
EbsVolumes: NotRequired[List[EbsVolumeTypeDef]], # (3)
- See InstanceStatusTypeDef
- See MarketTypeType
- See EbsVolumeTypeDef
ListNotebookExecutionsOutputTypeDef#
# ListNotebookExecutionsOutputTypeDef usage example
from mypy_boto3_emr.type_defs import ListNotebookExecutionsOutputTypeDef
def get_value() -> ListNotebookExecutionsOutputTypeDef:
return {
"NotebookExecutions": ...,
"Marker": ...,
"ResponseMetadata": ...,
}
# ListNotebookExecutionsOutputTypeDef definition
class ListNotebookExecutionsOutputTypeDef(TypedDict):
NotebookExecutions: List[NotebookExecutionSummaryTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeNotebookExecutionOutputTypeDef#
# DescribeNotebookExecutionOutputTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeNotebookExecutionOutputTypeDef
def get_value() -> DescribeNotebookExecutionOutputTypeDef:
return {
"NotebookExecution": ...,
"ResponseMetadata": ...,
}
# DescribeNotebookExecutionOutputTypeDef definition
class DescribeNotebookExecutionOutputTypeDef(TypedDict):
NotebookExecution: NotebookExecutionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
InstanceFleetProvisioningSpecificationsTypeDef#
# InstanceFleetProvisioningSpecificationsTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceFleetProvisioningSpecificationsTypeDef
def get_value() -> InstanceFleetProvisioningSpecificationsTypeDef:
return {
"SpotSpecification": ...,
}
# InstanceFleetProvisioningSpecificationsTypeDef definition
class InstanceFleetProvisioningSpecificationsTypeDef(TypedDict):
SpotSpecification: NotRequired[SpotProvisioningSpecificationTypeDef], # (1)
OnDemandSpecification: NotRequired[OnDemandProvisioningSpecificationTypeDef], # (2)
StepSummaryTypeDef#
# StepSummaryTypeDef usage example
from mypy_boto3_emr.type_defs import StepSummaryTypeDef
def get_value() -> StepSummaryTypeDef:
return {
"Id": ...,
}
# StepSummaryTypeDef definition
class StepSummaryTypeDef(TypedDict):
Id: NotRequired[str],
Name: NotRequired[str],
Config: NotRequired[HadoopStepConfigTypeDef], # (1)
ActionOnFailure: NotRequired[ActionOnFailureType], # (2)
Status: NotRequired[StepStatusTypeDef], # (3)
StepTypeDef#
# StepTypeDef usage example
from mypy_boto3_emr.type_defs import StepTypeDef
def get_value() -> StepTypeDef:
return {
"Id": ...,
}
# StepTypeDef definition
class StepTypeDef(TypedDict):
Id: NotRequired[str],
Name: NotRequired[str],
Config: NotRequired[HadoopStepConfigTypeDef], # (1)
ActionOnFailure: NotRequired[ActionOnFailureType], # (2)
Status: NotRequired[StepStatusTypeDef], # (3)
ExecutionRoleArn: NotRequired[str],
ScalingRuleTypeDef#
# ScalingRuleTypeDef usage example
from mypy_boto3_emr.type_defs import ScalingRuleTypeDef
def get_value() -> ScalingRuleTypeDef:
return {
"Name": ...,
"Action": ...,
"Trigger": ...,
}
# ScalingRuleTypeDef definition
class ScalingRuleTypeDef(TypedDict):
Name: str,
Action: ScalingActionTypeDef, # (1)
Trigger: ScalingTriggerTypeDef, # (2)
Description: NotRequired[str],
ListClustersOutputTypeDef#
# ListClustersOutputTypeDef usage example
from mypy_boto3_emr.type_defs import ListClustersOutputTypeDef
def get_value() -> ListClustersOutputTypeDef:
return {
"Clusters": ...,
"Marker": ...,
"ResponseMetadata": ...,
}
# ListClustersOutputTypeDef definition
class ListClustersOutputTypeDef(TypedDict):
Clusters: List[ClusterSummaryTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeClusterOutputTypeDef#
# DescribeClusterOutputTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeClusterOutputTypeDef
def get_value() -> DescribeClusterOutputTypeDef:
return {
"Cluster": ...,
"ResponseMetadata": ...,
}
# DescribeClusterOutputTypeDef definition
class DescribeClusterOutputTypeDef(TypedDict):
Cluster: ClusterTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
InstanceTypeConfigTypeDef#
# InstanceTypeConfigTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceTypeConfigTypeDef
def get_value() -> InstanceTypeConfigTypeDef:
return {
"InstanceType": ...,
}
# InstanceTypeConfigTypeDef definition
class InstanceTypeConfigTypeDef(TypedDict):
InstanceType: str,
WeightedCapacity: NotRequired[int],
BidPrice: NotRequired[str],
BidPriceAsPercentageOfOnDemandPrice: NotRequired[float],
EbsConfiguration: NotRequired[EbsConfigurationTypeDef], # (1)
Configurations: NotRequired[Sequence[ConfigurationTypeDef]], # (2)
CustomAmiId: NotRequired[str],
AddJobFlowStepsInputRequestTypeDef#
# AddJobFlowStepsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import AddJobFlowStepsInputRequestTypeDef
def get_value() -> AddJobFlowStepsInputRequestTypeDef:
return {
"JobFlowId": ...,
"Steps": ...,
}
# AddJobFlowStepsInputRequestTypeDef definition
class AddJobFlowStepsInputRequestTypeDef(TypedDict):
JobFlowId: str,
Steps: Sequence[StepConfigTypeDef], # (1)
ExecutionRoleArn: NotRequired[str],
StepDetailTypeDef#
# StepDetailTypeDef usage example
from mypy_boto3_emr.type_defs import StepDetailTypeDef
def get_value() -> StepDetailTypeDef:
return {
"StepConfig": ...,
"ExecutionStatusDetail": ...,
}
# StepDetailTypeDef definition
class StepDetailTypeDef(TypedDict):
StepConfig: StepConfigTypeDef, # (1)
ExecutionStatusDetail: StepExecutionStatusDetailTypeDef, # (2)
ModifyInstanceFleetInputRequestTypeDef#
# ModifyInstanceFleetInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import ModifyInstanceFleetInputRequestTypeDef
def get_value() -> ModifyInstanceFleetInputRequestTypeDef:
return {
"ClusterId": ...,
"InstanceFleet": ...,
}
# ModifyInstanceFleetInputRequestTypeDef definition
class ModifyInstanceFleetInputRequestTypeDef(TypedDict):
ClusterId: str,
InstanceFleet: InstanceFleetModifyConfigTypeDef, # (1)
ModifyInstanceGroupsInputRequestTypeDef#
# ModifyInstanceGroupsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import ModifyInstanceGroupsInputRequestTypeDef
def get_value() -> ModifyInstanceGroupsInputRequestTypeDef:
return {
"ClusterId": ...,
}
# ModifyInstanceGroupsInputRequestTypeDef definition
class ModifyInstanceGroupsInputRequestTypeDef(TypedDict):
ClusterId: NotRequired[str],
InstanceGroups: NotRequired[Sequence[InstanceGroupModifyConfigTypeDef]], # (1)
ListInstancesOutputTypeDef#
# ListInstancesOutputTypeDef usage example
from mypy_boto3_emr.type_defs import ListInstancesOutputTypeDef
def get_value() -> ListInstancesOutputTypeDef:
return {
"Instances": ...,
"Marker": ...,
"ResponseMetadata": ...,
}
# ListInstancesOutputTypeDef definition
class ListInstancesOutputTypeDef(TypedDict):
Instances: List[InstanceTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
InstanceFleetTypeDef#
# InstanceFleetTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceFleetTypeDef
def get_value() -> InstanceFleetTypeDef:
return {
"Id": ...,
}
# InstanceFleetTypeDef definition
class InstanceFleetTypeDef(TypedDict):
Id: NotRequired[str],
Name: NotRequired[str],
Status: NotRequired[InstanceFleetStatusTypeDef], # (1)
InstanceFleetType: NotRequired[InstanceFleetTypeType], # (2)
TargetOnDemandCapacity: NotRequired[int],
TargetSpotCapacity: NotRequired[int],
ProvisionedOnDemandCapacity: NotRequired[int],
ProvisionedSpotCapacity: NotRequired[int],
InstanceTypeSpecifications: NotRequired[List[InstanceTypeSpecificationTypeDef]], # (3)
LaunchSpecifications: NotRequired[InstanceFleetProvisioningSpecificationsTypeDef], # (4)
ResizeSpecifications: NotRequired[InstanceFleetResizingSpecificationsTypeDef], # (5)
- See InstanceFleetStatusTypeDef
- See InstanceFleetTypeType
- See InstanceTypeSpecificationTypeDef
- See InstanceFleetProvisioningSpecificationsTypeDef
- See InstanceFleetResizingSpecificationsTypeDef
ListStepsOutputTypeDef#
# ListStepsOutputTypeDef usage example
from mypy_boto3_emr.type_defs import ListStepsOutputTypeDef
def get_value() -> ListStepsOutputTypeDef:
return {
"Steps": ...,
"Marker": ...,
"ResponseMetadata": ...,
}
# ListStepsOutputTypeDef definition
class ListStepsOutputTypeDef(TypedDict):
Steps: List[StepSummaryTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeStepOutputTypeDef#
# DescribeStepOutputTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeStepOutputTypeDef
def get_value() -> DescribeStepOutputTypeDef:
return {
"Step": ...,
"ResponseMetadata": ...,
}
# DescribeStepOutputTypeDef definition
class DescribeStepOutputTypeDef(TypedDict):
Step: StepTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See StepTypeDef
- See ResponseMetadataTypeDef
AutoScalingPolicyDescriptionTypeDef#
# AutoScalingPolicyDescriptionTypeDef usage example
from mypy_boto3_emr.type_defs import AutoScalingPolicyDescriptionTypeDef
def get_value() -> AutoScalingPolicyDescriptionTypeDef:
return {
"Status": ...,
}
# AutoScalingPolicyDescriptionTypeDef definition
class AutoScalingPolicyDescriptionTypeDef(TypedDict):
Status: NotRequired[AutoScalingPolicyStatusTypeDef], # (1)
Constraints: NotRequired[ScalingConstraintsTypeDef], # (2)
Rules: NotRequired[List[ScalingRuleTypeDef]], # (3)
AutoScalingPolicyTypeDef#
# AutoScalingPolicyTypeDef usage example
from mypy_boto3_emr.type_defs import AutoScalingPolicyTypeDef
def get_value() -> AutoScalingPolicyTypeDef:
return {
"Constraints": ...,
"Rules": ...,
}
# AutoScalingPolicyTypeDef definition
class AutoScalingPolicyTypeDef(TypedDict):
Constraints: ScalingConstraintsTypeDef, # (1)
Rules: Sequence[ScalingRuleTypeDef], # (2)
InstanceFleetConfigTypeDef#
# InstanceFleetConfigTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceFleetConfigTypeDef
def get_value() -> InstanceFleetConfigTypeDef:
return {
"InstanceFleetType": ...,
}
# 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)
- See InstanceFleetTypeType
- See InstanceTypeConfigTypeDef
- See InstanceFleetProvisioningSpecificationsTypeDef
- See InstanceFleetResizingSpecificationsTypeDef
JobFlowDetailTypeDef#
# JobFlowDetailTypeDef usage example
from mypy_boto3_emr.type_defs import JobFlowDetailTypeDef
def get_value() -> JobFlowDetailTypeDef:
return {
"JobFlowId": ...,
"Name": ...,
"ExecutionStatusDetail": ...,
"Instances": ...,
}
# JobFlowDetailTypeDef definition
class JobFlowDetailTypeDef(TypedDict):
JobFlowId: str,
Name: str,
ExecutionStatusDetail: JobFlowExecutionStatusDetailTypeDef, # (1)
Instances: JobFlowInstancesDetailTypeDef, # (2)
LogUri: NotRequired[str],
LogEncryptionKmsKeyId: NotRequired[str],
AmiVersion: NotRequired[str],
Steps: NotRequired[List[StepDetailTypeDef]], # (3)
BootstrapActions: NotRequired[List[BootstrapActionDetailTypeDef]], # (4)
SupportedProducts: NotRequired[List[str]],
VisibleToAllUsers: NotRequired[bool],
JobFlowRole: NotRequired[str],
ServiceRole: NotRequired[str],
AutoScalingRole: NotRequired[str],
ScaleDownBehavior: NotRequired[ScaleDownBehaviorType], # (5)
- See JobFlowExecutionStatusDetailTypeDef
- See JobFlowInstancesDetailTypeDef
- See StepDetailTypeDef
- See BootstrapActionDetailTypeDef
- See ScaleDownBehaviorType
ListInstanceFleetsOutputTypeDef#
# ListInstanceFleetsOutputTypeDef usage example
from mypy_boto3_emr.type_defs import ListInstanceFleetsOutputTypeDef
def get_value() -> ListInstanceFleetsOutputTypeDef:
return {
"InstanceFleets": ...,
"Marker": ...,
"ResponseMetadata": ...,
}
# ListInstanceFleetsOutputTypeDef definition
class ListInstanceFleetsOutputTypeDef(TypedDict):
InstanceFleets: List[InstanceFleetTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
InstanceGroupTypeDef#
# InstanceGroupTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceGroupTypeDef
def get_value() -> InstanceGroupTypeDef:
return {
"Id": ...,
}
# InstanceGroupTypeDef definition
class InstanceGroupTypeDef(TypedDict):
Id: NotRequired[str],
Name: NotRequired[str],
Market: NotRequired[MarketTypeType], # (1)
InstanceGroupType: NotRequired[InstanceGroupTypeType], # (2)
BidPrice: NotRequired[str],
InstanceType: NotRequired[str],
RequestedInstanceCount: NotRequired[int],
RunningInstanceCount: NotRequired[int],
Status: NotRequired[InstanceGroupStatusTypeDef], # (3)
Configurations: NotRequired[List[ConfigurationTypeDef]], # (4)
ConfigurationsVersion: NotRequired[int],
LastSuccessfullyAppliedConfigurations: NotRequired[List[ConfigurationTypeDef]], # (4)
LastSuccessfullyAppliedConfigurationsVersion: NotRequired[int],
EbsBlockDevices: NotRequired[List[EbsBlockDeviceTypeDef]], # (6)
EbsOptimized: NotRequired[bool],
ShrinkPolicy: NotRequired[ShrinkPolicyTypeDef], # (7)
AutoScalingPolicy: NotRequired[AutoScalingPolicyDescriptionTypeDef], # (8)
CustomAmiId: NotRequired[str],
- See MarketTypeType
- See InstanceGroupTypeType
- See InstanceGroupStatusTypeDef
- See ConfigurationTypeDef
- See ConfigurationTypeDef
- See EbsBlockDeviceTypeDef
- See ShrinkPolicyTypeDef
- See AutoScalingPolicyDescriptionTypeDef
PutAutoScalingPolicyOutputTypeDef#
# PutAutoScalingPolicyOutputTypeDef usage example
from mypy_boto3_emr.type_defs import PutAutoScalingPolicyOutputTypeDef
def get_value() -> PutAutoScalingPolicyOutputTypeDef:
return {
"ClusterId": ...,
"InstanceGroupId": ...,
"AutoScalingPolicy": ...,
"ClusterArn": ...,
"ResponseMetadata": ...,
}
# PutAutoScalingPolicyOutputTypeDef definition
class PutAutoScalingPolicyOutputTypeDef(TypedDict):
ClusterId: str,
InstanceGroupId: str,
AutoScalingPolicy: AutoScalingPolicyDescriptionTypeDef, # (1)
ClusterArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
InstanceGroupConfigTypeDef#
# InstanceGroupConfigTypeDef usage example
from mypy_boto3_emr.type_defs import InstanceGroupConfigTypeDef
def get_value() -> InstanceGroupConfigTypeDef:
return {
"InstanceRole": ...,
"InstanceType": ...,
"InstanceCount": ...,
}
# 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[ConfigurationTypeDef]], # (3)
EbsConfiguration: NotRequired[EbsConfigurationTypeDef], # (4)
AutoScalingPolicy: NotRequired[AutoScalingPolicyTypeDef], # (5)
CustomAmiId: NotRequired[str],
- See MarketTypeType
- See InstanceRoleTypeType
- See ConfigurationTypeDef
- See EbsConfigurationTypeDef
- See AutoScalingPolicyTypeDef
PutAutoScalingPolicyInputRequestTypeDef#
# PutAutoScalingPolicyInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import PutAutoScalingPolicyInputRequestTypeDef
def get_value() -> PutAutoScalingPolicyInputRequestTypeDef:
return {
"ClusterId": ...,
"InstanceGroupId": ...,
"AutoScalingPolicy": ...,
}
# PutAutoScalingPolicyInputRequestTypeDef definition
class PutAutoScalingPolicyInputRequestTypeDef(TypedDict):
ClusterId: str,
InstanceGroupId: str,
AutoScalingPolicy: AutoScalingPolicyTypeDef, # (1)
AddInstanceFleetInputRequestTypeDef#
# AddInstanceFleetInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import AddInstanceFleetInputRequestTypeDef
def get_value() -> AddInstanceFleetInputRequestTypeDef:
return {
"ClusterId": ...,
"InstanceFleet": ...,
}
# AddInstanceFleetInputRequestTypeDef definition
class AddInstanceFleetInputRequestTypeDef(TypedDict):
ClusterId: str,
InstanceFleet: InstanceFleetConfigTypeDef, # (1)
DescribeJobFlowsOutputTypeDef#
# DescribeJobFlowsOutputTypeDef usage example
from mypy_boto3_emr.type_defs import DescribeJobFlowsOutputTypeDef
def get_value() -> DescribeJobFlowsOutputTypeDef:
return {
"JobFlows": ...,
"ResponseMetadata": ...,
}
# DescribeJobFlowsOutputTypeDef definition
class DescribeJobFlowsOutputTypeDef(TypedDict):
JobFlows: List[JobFlowDetailTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListInstanceGroupsOutputTypeDef#
# ListInstanceGroupsOutputTypeDef usage example
from mypy_boto3_emr.type_defs import ListInstanceGroupsOutputTypeDef
def get_value() -> ListInstanceGroupsOutputTypeDef:
return {
"InstanceGroups": ...,
"Marker": ...,
"ResponseMetadata": ...,
}
# ListInstanceGroupsOutputTypeDef definition
class ListInstanceGroupsOutputTypeDef(TypedDict):
InstanceGroups: List[InstanceGroupTypeDef], # (1)
Marker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AddInstanceGroupsInputRequestTypeDef#
# AddInstanceGroupsInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import AddInstanceGroupsInputRequestTypeDef
def get_value() -> AddInstanceGroupsInputRequestTypeDef:
return {
"InstanceGroups": ...,
"JobFlowId": ...,
}
# AddInstanceGroupsInputRequestTypeDef definition
class AddInstanceGroupsInputRequestTypeDef(TypedDict):
InstanceGroups: Sequence[InstanceGroupConfigTypeDef], # (1)
JobFlowId: str,
JobFlowInstancesConfigTypeDef#
# JobFlowInstancesConfigTypeDef usage example
from mypy_boto3_emr.type_defs import JobFlowInstancesConfigTypeDef
def get_value() -> JobFlowInstancesConfigTypeDef:
return {
"MasterInstanceType": ...,
}
# JobFlowInstancesConfigTypeDef definition
class JobFlowInstancesConfigTypeDef(TypedDict):
MasterInstanceType: NotRequired[str],
SlaveInstanceType: NotRequired[str],
InstanceCount: NotRequired[int],
InstanceGroups: NotRequired[Sequence[InstanceGroupConfigTypeDef]], # (1)
InstanceFleets: NotRequired[Sequence[InstanceFleetConfigTypeDef]], # (2)
Ec2KeyName: NotRequired[str],
Placement: NotRequired[PlacementTypeTypeDef], # (3)
KeepJobFlowAliveWhenNoSteps: NotRequired[bool],
TerminationProtected: NotRequired[bool],
HadoopVersion: NotRequired[str],
Ec2SubnetId: NotRequired[str],
Ec2SubnetIds: NotRequired[Sequence[str]],
EmrManagedMasterSecurityGroup: NotRequired[str],
EmrManagedSlaveSecurityGroup: NotRequired[str],
ServiceAccessSecurityGroup: NotRequired[str],
AdditionalMasterSecurityGroups: NotRequired[Sequence[str]],
AdditionalSlaveSecurityGroups: NotRequired[Sequence[str]],
RunJobFlowInputRequestTypeDef#
# RunJobFlowInputRequestTypeDef usage example
from mypy_boto3_emr.type_defs import RunJobFlowInputRequestTypeDef
def get_value() -> RunJobFlowInputRequestTypeDef:
return {
"Name": ...,
"Instances": ...,
}
# 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[BootstrapActionConfigTypeDef]], # (3)
SupportedProducts: NotRequired[Sequence[str]],
NewSupportedProducts: NotRequired[Sequence[SupportedProductConfigTypeDef]], # (4)
Applications: NotRequired[Sequence[ApplicationTypeDef]], # (5)
Configurations: NotRequired[Sequence[ConfigurationTypeDef]], # (6)
VisibleToAllUsers: NotRequired[bool],
JobFlowRole: NotRequired[str],
ServiceRole: NotRequired[str],
Tags: NotRequired[Sequence[TagTypeDef]], # (7)
SecurityConfiguration: NotRequired[str],
AutoScalingRole: NotRequired[str],
ScaleDownBehavior: NotRequired[ScaleDownBehaviorType], # (8)
CustomAmiId: NotRequired[str],
EbsRootVolumeSize: NotRequired[int],
RepoUpgradeOnBoot: NotRequired[RepoUpgradeOnBootType], # (9)
KerberosAttributes: NotRequired[KerberosAttributesTypeDef], # (10)
StepConcurrencyLevel: NotRequired[int],
ManagedScalingPolicy: NotRequired[ManagedScalingPolicyTypeDef], # (11)
PlacementGroupConfigs: NotRequired[Sequence[PlacementGroupConfigTypeDef]], # (12)
AutoTerminationPolicy: NotRequired[AutoTerminationPolicyTypeDef], # (13)
OSReleaseLabel: NotRequired[str],