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