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]],
InstanceFleetModifyConfigTypeDef
Usage Example
from mypy_boto3_emr.type_defs import InstanceFleetModifyConfigTypeDef
def get_value() -> InstanceFleetModifyConfigTypeDef:
return {
"InstanceFleetId": ...,
}
Definition
class InstanceFleetModifyConfigTypeDef(TypedDict):
InstanceFleetId: str,
TargetOnDemandCapacity: NotRequired[int],
TargetSpotCapacity: NotRequired[int],
SpotProvisioningSpecificationTypeDef
Usage Example
from mypy_boto3_emr.type_defs import SpotProvisioningSpecificationTypeDef
def get_value() -> SpotProvisioningSpecificationTypeDef:
return {
"TimeoutDurationMinutes": ...,
"TimeoutAction": ...,
}
Definition
class SpotProvisioningSpecificationTypeDef(TypedDict):
TimeoutDurationMinutes: int,
TimeoutAction: SpotProvisioningTimeoutActionType, # (1)
BlockDurationMinutes: NotRequired[int],
AllocationStrategy: NotRequired[SpotProvisioningAllocationStrategyType], # (2)
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