Skip to content

Type definitions#

Index > EMR > Type definitions

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

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

TagTypeDef#

# TagTypeDef definition

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

ApplicationTypeDef#

# ApplicationTypeDef definition

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

ScalingConstraintsTypeDef#

# ScalingConstraintsTypeDef definition

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

AutoScalingPolicyStateChangeReasonTypeDef#

# AutoScalingPolicyStateChangeReasonTypeDef definition

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

AutoTerminationPolicyTypeDef#

# AutoTerminationPolicyTypeDef definition

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