Skip to content

Typed dictionaries

Index > EMRServerless > Typed dictionaries

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

ApplicationSummaryTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ApplicationSummaryTypeDef

def get_value() -> ApplicationSummaryTypeDef:
    return {
        "id": ...,
        "arn": ...,
        "releaseLabel": ...,
        "type": ...,
        "state": ...,
        "createdAt": ...,
        "updatedAt": ...,
    }
Definition
class ApplicationSummaryTypeDef(TypedDict):
    id: str,
    arn: str,
    releaseLabel: str,
    type: str,
    state: ApplicationStateType,  # (1)
    createdAt: datetime,
    updatedAt: datetime,
    name: NotRequired[str],
    stateDetails: NotRequired[str],
    architecture: NotRequired[ArchitectureType],  # (2)
  1. See ApplicationStateType
  2. See ArchitectureType

AutoStartConfigTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import AutoStartConfigTypeDef

def get_value() -> AutoStartConfigTypeDef:
    return {
        "enabled": ...,
    }
Definition
class AutoStartConfigTypeDef(TypedDict):
    enabled: NotRequired[bool],

AutoStopConfigTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import AutoStopConfigTypeDef

def get_value() -> AutoStopConfigTypeDef:
    return {
        "enabled": ...,
    }
Definition
class AutoStopConfigTypeDef(TypedDict):
    enabled: NotRequired[bool],
    idleTimeoutMinutes: NotRequired[int],

ImageConfigurationTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ImageConfigurationTypeDef

def get_value() -> ImageConfigurationTypeDef:
    return {
        "imageUri": ...,
    }
Definition
class ImageConfigurationTypeDef(TypedDict):
    imageUri: str,
    resolvedImageDigest: NotRequired[str],

MaximumAllowedResourcesTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import MaximumAllowedResourcesTypeDef

def get_value() -> MaximumAllowedResourcesTypeDef:
    return {
        "cpu": ...,
        "memory": ...,
    }
Definition
class MaximumAllowedResourcesTypeDef(TypedDict):
    cpu: str,
    memory: str,
    disk: NotRequired[str],

NetworkConfigurationTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import NetworkConfigurationTypeDef

def get_value() -> NetworkConfigurationTypeDef:
    return {
        "subnetIds": ...,
    }
Definition
class NetworkConfigurationTypeDef(TypedDict):
    subnetIds: NotRequired[Sequence[str]],
    securityGroupIds: NotRequired[Sequence[str]],

CancelJobRunRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import CancelJobRunRequestRequestTypeDef

def get_value() -> CancelJobRunRequestRequestTypeDef:
    return {
        "applicationId": ...,
        "jobRunId": ...,
    }
Definition
class CancelJobRunRequestRequestTypeDef(TypedDict):
    applicationId: str,
    jobRunId: str,

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_emr_serverless.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,

ConfigurationTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ConfigurationTypeDef

def get_value() -> ConfigurationTypeDef:
    return {
        "classification": ...,
    }
Definition
class ConfigurationTypeDef(TypedDict):
    classification: str,
    properties: NotRequired[Dict[str, str]],
    configurations: NotRequired[List[ConfigurationTypeDef]],  # (1)
  1. See ConfigurationTypeDef

ImageConfigurationInputTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ImageConfigurationInputTypeDef

def get_value() -> ImageConfigurationInputTypeDef:
    return {
        "imageUri": ...,
    }
Definition
class ImageConfigurationInputTypeDef(TypedDict):
    imageUri: NotRequired[str],

DeleteApplicationRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import DeleteApplicationRequestRequestTypeDef

def get_value() -> DeleteApplicationRequestRequestTypeDef:
    return {
        "applicationId": ...,
    }
Definition
class DeleteApplicationRequestRequestTypeDef(TypedDict):
    applicationId: str,

GetApplicationRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import GetApplicationRequestRequestTypeDef

def get_value() -> GetApplicationRequestRequestTypeDef:
    return {
        "applicationId": ...,
    }
Definition
class GetApplicationRequestRequestTypeDef(TypedDict):
    applicationId: str,

GetDashboardForJobRunRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import GetDashboardForJobRunRequestRequestTypeDef

def get_value() -> GetDashboardForJobRunRequestRequestTypeDef:
    return {
        "applicationId": ...,
        "jobRunId": ...,
    }
Definition
class GetDashboardForJobRunRequestRequestTypeDef(TypedDict):
    applicationId: str,
    jobRunId: str,

GetJobRunRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import GetJobRunRequestRequestTypeDef

def get_value() -> GetJobRunRequestRequestTypeDef:
    return {
        "applicationId": ...,
        "jobRunId": ...,
    }
Definition
class GetJobRunRequestRequestTypeDef(TypedDict):
    applicationId: str,
    jobRunId: str,

HiveTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import HiveTypeDef

def get_value() -> HiveTypeDef:
    return {
        "query": ...,
    }
Definition
class HiveTypeDef(TypedDict):
    query: str,
    initQueryFile: NotRequired[str],
    parameters: NotRequired[str],

WorkerResourceConfigTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import WorkerResourceConfigTypeDef

def get_value() -> WorkerResourceConfigTypeDef:
    return {
        "cpu": ...,
        "memory": ...,
    }
Definition
class WorkerResourceConfigTypeDef(TypedDict):
    cpu: str,
    memory: str,
    disk: NotRequired[str],

SparkSubmitTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import SparkSubmitTypeDef

def get_value() -> SparkSubmitTypeDef:
    return {
        "entryPoint": ...,
    }
Definition
class SparkSubmitTypeDef(TypedDict):
    entryPoint: str,
    entryPointArguments: NotRequired[List[str]],
    sparkSubmitParameters: NotRequired[str],

JobRunSummaryTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import JobRunSummaryTypeDef

def get_value() -> JobRunSummaryTypeDef:
    return {
        "applicationId": ...,
        "id": ...,
        "arn": ...,
        "createdBy": ...,
        "createdAt": ...,
        "updatedAt": ...,
        "executionRole": ...,
        "state": ...,
        "stateDetails": ...,
        "releaseLabel": ...,
    }
Definition
class JobRunSummaryTypeDef(TypedDict):
    applicationId: str,
    id: str,
    arn: str,
    createdBy: str,
    createdAt: datetime,
    updatedAt: datetime,
    executionRole: str,
    state: JobRunStateType,  # (1)
    stateDetails: str,
    releaseLabel: str,
    name: NotRequired[str],
    type: NotRequired[str],
  1. See JobRunStateType

TotalResourceUtilizationTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import TotalResourceUtilizationTypeDef

def get_value() -> TotalResourceUtilizationTypeDef:
    return {
        "vCPUHour": ...,
    }
Definition
class TotalResourceUtilizationTypeDef(TypedDict):
    vCPUHour: NotRequired[float],
    memoryGBHour: NotRequired[float],
    storageGBHour: NotRequired[float],

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListApplicationsRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ListApplicationsRequestRequestTypeDef

def get_value() -> ListApplicationsRequestRequestTypeDef:
    return {
        "nextToken": ...,
    }
Definition
class ListApplicationsRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    states: NotRequired[Sequence[ApplicationStateType]],  # (1)
  1. See ApplicationStateType

ListJobRunsRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ListJobRunsRequestRequestTypeDef

def get_value() -> ListJobRunsRequestRequestTypeDef:
    return {
        "applicationId": ...,
    }
Definition
class ListJobRunsRequestRequestTypeDef(TypedDict):
    applicationId: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    createdAtAfter: NotRequired[Union[datetime, str]],
    createdAtBefore: NotRequired[Union[datetime, str]],
    states: NotRequired[Sequence[JobRunStateType]],  # (1)
  1. See JobRunStateType

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

ManagedPersistenceMonitoringConfigurationTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ManagedPersistenceMonitoringConfigurationTypeDef

def get_value() -> ManagedPersistenceMonitoringConfigurationTypeDef:
    return {
        "enabled": ...,
    }
Definition
class ManagedPersistenceMonitoringConfigurationTypeDef(TypedDict):
    enabled: NotRequired[bool],
    encryptionKeyArn: NotRequired[str],

S3MonitoringConfigurationTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import S3MonitoringConfigurationTypeDef

def get_value() -> S3MonitoringConfigurationTypeDef:
    return {
        "logUri": ...,
    }
Definition
class S3MonitoringConfigurationTypeDef(TypedDict):
    logUri: NotRequired[str],
    encryptionKeyArn: NotRequired[str],

StartApplicationRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import StartApplicationRequestRequestTypeDef

def get_value() -> StartApplicationRequestRequestTypeDef:
    return {
        "applicationId": ...,
    }
Definition
class StartApplicationRequestRequestTypeDef(TypedDict):
    applicationId: str,

StopApplicationRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import StopApplicationRequestRequestTypeDef

def get_value() -> StopApplicationRequestRequestTypeDef:
    return {
        "applicationId": ...,
    }
Definition
class StopApplicationRequestRequestTypeDef(TypedDict):
    applicationId: str,

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

WorkerTypeSpecificationTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import WorkerTypeSpecificationTypeDef

def get_value() -> WorkerTypeSpecificationTypeDef:
    return {
        "imageConfiguration": ...,
    }
Definition
class WorkerTypeSpecificationTypeDef(TypedDict):
    imageConfiguration: NotRequired[ImageConfigurationTypeDef],  # (1)
  1. See ImageConfigurationTypeDef

CancelJobRunResponseTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import CancelJobRunResponseTypeDef

def get_value() -> CancelJobRunResponseTypeDef:
    return {
        "applicationId": ...,
        "jobRunId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CancelJobRunResponseTypeDef(TypedDict):
    applicationId: str,
    jobRunId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateApplicationResponseTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import CreateApplicationResponseTypeDef

def get_value() -> CreateApplicationResponseTypeDef:
    return {
        "applicationId": ...,
        "name": ...,
        "arn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateApplicationResponseTypeDef(TypedDict):
    applicationId: str,
    name: str,
    arn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetDashboardForJobRunResponseTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import GetDashboardForJobRunResponseTypeDef

def get_value() -> GetDashboardForJobRunResponseTypeDef:
    return {
        "url": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetDashboardForJobRunResponseTypeDef(TypedDict):
    url: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListApplicationsResponseTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ListApplicationsResponseTypeDef

def get_value() -> ListApplicationsResponseTypeDef:
    return {
        "applications": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListApplicationsResponseTypeDef(TypedDict):
    applications: List[ApplicationSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApplicationSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartJobRunResponseTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import StartJobRunResponseTypeDef

def get_value() -> StartJobRunResponseTypeDef:
    return {
        "applicationId": ...,
        "jobRunId": ...,
        "arn": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartJobRunResponseTypeDef(TypedDict):
    applicationId: str,
    jobRunId: str,
    arn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

WorkerTypeSpecificationInputTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import WorkerTypeSpecificationInputTypeDef

def get_value() -> WorkerTypeSpecificationInputTypeDef:
    return {
        "imageConfiguration": ...,
    }
Definition
class WorkerTypeSpecificationInputTypeDef(TypedDict):
    imageConfiguration: NotRequired[ImageConfigurationInputTypeDef],  # (1)
  1. See ImageConfigurationInputTypeDef

InitialCapacityConfigTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import InitialCapacityConfigTypeDef

def get_value() -> InitialCapacityConfigTypeDef:
    return {
        "workerCount": ...,
    }
Definition
class InitialCapacityConfigTypeDef(TypedDict):
    workerCount: int,
    workerConfiguration: NotRequired[WorkerResourceConfigTypeDef],  # (1)
  1. See WorkerResourceConfigTypeDef

JobDriverTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import JobDriverTypeDef

def get_value() -> JobDriverTypeDef:
    return {
        "sparkSubmit": ...,
    }
Definition
class JobDriverTypeDef(TypedDict):
    sparkSubmit: NotRequired[SparkSubmitTypeDef],  # (1)
    hive: NotRequired[HiveTypeDef],  # (2)
  1. See SparkSubmitTypeDef
  2. See HiveTypeDef

ListJobRunsResponseTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ListJobRunsResponseTypeDef

def get_value() -> ListJobRunsResponseTypeDef:
    return {
        "jobRuns": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListJobRunsResponseTypeDef(TypedDict):
    jobRuns: List[JobRunSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See JobRunSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListApplicationsRequestListApplicationsPaginateTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ListApplicationsRequestListApplicationsPaginateTypeDef

def get_value() -> ListApplicationsRequestListApplicationsPaginateTypeDef:
    return {
        "states": ...,
    }
Definition
class ListApplicationsRequestListApplicationsPaginateTypeDef(TypedDict):
    states: NotRequired[Sequence[ApplicationStateType]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ApplicationStateType
  2. See PaginatorConfigTypeDef

ListJobRunsRequestListJobRunsPaginateTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ListJobRunsRequestListJobRunsPaginateTypeDef

def get_value() -> ListJobRunsRequestListJobRunsPaginateTypeDef:
    return {
        "applicationId": ...,
    }
Definition
class ListJobRunsRequestListJobRunsPaginateTypeDef(TypedDict):
    applicationId: str,
    createdAtAfter: NotRequired[Union[datetime, str]],
    createdAtBefore: NotRequired[Union[datetime, str]],
    states: NotRequired[Sequence[JobRunStateType]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See JobRunStateType
  2. See PaginatorConfigTypeDef

MonitoringConfigurationTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import MonitoringConfigurationTypeDef

def get_value() -> MonitoringConfigurationTypeDef:
    return {
        "s3MonitoringConfiguration": ...,
    }
Definition
class MonitoringConfigurationTypeDef(TypedDict):
    s3MonitoringConfiguration: NotRequired[S3MonitoringConfigurationTypeDef],  # (1)
    managedPersistenceMonitoringConfiguration: NotRequired[ManagedPersistenceMonitoringConfigurationTypeDef],  # (2)
  1. See S3MonitoringConfigurationTypeDef
  2. See ManagedPersistenceMonitoringConfigurationTypeDef

ApplicationTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ApplicationTypeDef

def get_value() -> ApplicationTypeDef:
    return {
        "applicationId": ...,
        "arn": ...,
        "releaseLabel": ...,
        "type": ...,
        "state": ...,
        "createdAt": ...,
        "updatedAt": ...,
    }
Definition
class ApplicationTypeDef(TypedDict):
    applicationId: str,
    arn: str,
    releaseLabel: str,
    type: str,
    state: ApplicationStateType,  # (1)
    createdAt: datetime,
    updatedAt: datetime,
    name: NotRequired[str],
    stateDetails: NotRequired[str],
    initialCapacity: NotRequired[Dict[str, InitialCapacityConfigTypeDef]],  # (2)
    maximumCapacity: NotRequired[MaximumAllowedResourcesTypeDef],  # (3)
    tags: NotRequired[Dict[str, str]],
    autoStartConfiguration: NotRequired[AutoStartConfigTypeDef],  # (4)
    autoStopConfiguration: NotRequired[AutoStopConfigTypeDef],  # (5)
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (6)
    architecture: NotRequired[ArchitectureType],  # (7)
    imageConfiguration: NotRequired[ImageConfigurationTypeDef],  # (8)
    workerTypeSpecifications: NotRequired[Dict[str, WorkerTypeSpecificationTypeDef]],  # (9)
  1. See ApplicationStateType
  2. See InitialCapacityConfigTypeDef
  3. See MaximumAllowedResourcesTypeDef
  4. See AutoStartConfigTypeDef
  5. See AutoStopConfigTypeDef
  6. See NetworkConfigurationTypeDef
  7. See ArchitectureType
  8. See ImageConfigurationTypeDef
  9. See WorkerTypeSpecificationTypeDef

CreateApplicationRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import CreateApplicationRequestRequestTypeDef

def get_value() -> CreateApplicationRequestRequestTypeDef:
    return {
        "releaseLabel": ...,
        "type": ...,
        "clientToken": ...,
    }
Definition
class CreateApplicationRequestRequestTypeDef(TypedDict):
    releaseLabel: str,
    type: str,
    clientToken: str,
    name: NotRequired[str],
    initialCapacity: NotRequired[Mapping[str, InitialCapacityConfigTypeDef]],  # (1)
    maximumCapacity: NotRequired[MaximumAllowedResourcesTypeDef],  # (2)
    tags: NotRequired[Mapping[str, str]],
    autoStartConfiguration: NotRequired[AutoStartConfigTypeDef],  # (3)
    autoStopConfiguration: NotRequired[AutoStopConfigTypeDef],  # (4)
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (5)
    architecture: NotRequired[ArchitectureType],  # (6)
    imageConfiguration: NotRequired[ImageConfigurationInputTypeDef],  # (7)
    workerTypeSpecifications: NotRequired[Mapping[str, WorkerTypeSpecificationInputTypeDef]],  # (8)
  1. See InitialCapacityConfigTypeDef
  2. See MaximumAllowedResourcesTypeDef
  3. See AutoStartConfigTypeDef
  4. See AutoStopConfigTypeDef
  5. See NetworkConfigurationTypeDef
  6. See ArchitectureType
  7. See ImageConfigurationInputTypeDef
  8. See WorkerTypeSpecificationInputTypeDef

UpdateApplicationRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import UpdateApplicationRequestRequestTypeDef

def get_value() -> UpdateApplicationRequestRequestTypeDef:
    return {
        "applicationId": ...,
        "clientToken": ...,
    }
Definition
class UpdateApplicationRequestRequestTypeDef(TypedDict):
    applicationId: str,
    clientToken: str,
    initialCapacity: NotRequired[Mapping[str, InitialCapacityConfigTypeDef]],  # (1)
    maximumCapacity: NotRequired[MaximumAllowedResourcesTypeDef],  # (2)
    autoStartConfiguration: NotRequired[AutoStartConfigTypeDef],  # (3)
    autoStopConfiguration: NotRequired[AutoStopConfigTypeDef],  # (4)
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (5)
    architecture: NotRequired[ArchitectureType],  # (6)
    imageConfiguration: NotRequired[ImageConfigurationInputTypeDef],  # (7)
    workerTypeSpecifications: NotRequired[Mapping[str, WorkerTypeSpecificationInputTypeDef]],  # (8)
  1. See InitialCapacityConfigTypeDef
  2. See MaximumAllowedResourcesTypeDef
  3. See AutoStartConfigTypeDef
  4. See AutoStopConfigTypeDef
  5. See NetworkConfigurationTypeDef
  6. See ArchitectureType
  7. See ImageConfigurationInputTypeDef
  8. See WorkerTypeSpecificationInputTypeDef

ConfigurationOverridesTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import ConfigurationOverridesTypeDef

def get_value() -> ConfigurationOverridesTypeDef:
    return {
        "applicationConfiguration": ...,
    }
Definition
class ConfigurationOverridesTypeDef(TypedDict):
    applicationConfiguration: NotRequired[List[ConfigurationTypeDef]],  # (1)
    monitoringConfiguration: NotRequired[MonitoringConfigurationTypeDef],  # (2)
  1. See ConfigurationTypeDef
  2. See MonitoringConfigurationTypeDef

GetApplicationResponseTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import GetApplicationResponseTypeDef

def get_value() -> GetApplicationResponseTypeDef:
    return {
        "application": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetApplicationResponseTypeDef(TypedDict):
    application: ApplicationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApplicationTypeDef
  2. See ResponseMetadataTypeDef

UpdateApplicationResponseTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import UpdateApplicationResponseTypeDef

def get_value() -> UpdateApplicationResponseTypeDef:
    return {
        "application": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateApplicationResponseTypeDef(TypedDict):
    application: ApplicationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApplicationTypeDef
  2. See ResponseMetadataTypeDef

JobRunTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import JobRunTypeDef

def get_value() -> JobRunTypeDef:
    return {
        "applicationId": ...,
        "jobRunId": ...,
        "arn": ...,
        "createdBy": ...,
        "createdAt": ...,
        "updatedAt": ...,
        "executionRole": ...,
        "state": ...,
        "stateDetails": ...,
        "releaseLabel": ...,
        "jobDriver": ...,
    }
Definition
class JobRunTypeDef(TypedDict):
    applicationId: str,
    jobRunId: str,
    arn: str,
    createdBy: str,
    createdAt: datetime,
    updatedAt: datetime,
    executionRole: str,
    state: JobRunStateType,  # (1)
    stateDetails: str,
    releaseLabel: str,
    jobDriver: JobDriverTypeDef,  # (3)
    name: NotRequired[str],
    configurationOverrides: NotRequired[ConfigurationOverridesTypeDef],  # (2)
    tags: NotRequired[Dict[str, str]],
    totalResourceUtilization: NotRequired[TotalResourceUtilizationTypeDef],  # (4)
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (5)
    totalExecutionDurationSeconds: NotRequired[int],
  1. See JobRunStateType
  2. See ConfigurationOverridesTypeDef
  3. See JobDriverTypeDef
  4. See TotalResourceUtilizationTypeDef
  5. See NetworkConfigurationTypeDef

StartJobRunRequestRequestTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import StartJobRunRequestRequestTypeDef

def get_value() -> StartJobRunRequestRequestTypeDef:
    return {
        "applicationId": ...,
        "clientToken": ...,
        "executionRoleArn": ...,
    }
Definition
class StartJobRunRequestRequestTypeDef(TypedDict):
    applicationId: str,
    clientToken: str,
    executionRoleArn: str,
    jobDriver: NotRequired[JobDriverTypeDef],  # (1)
    configurationOverrides: NotRequired[ConfigurationOverridesTypeDef],  # (2)
    tags: NotRequired[Mapping[str, str]],
    executionTimeoutMinutes: NotRequired[int],
    name: NotRequired[str],
  1. See JobDriverTypeDef
  2. See ConfigurationOverridesTypeDef

GetJobRunResponseTypeDef

Usage Example
from mypy_boto3_emr_serverless.type_defs import GetJobRunResponseTypeDef

def get_value() -> GetJobRunResponseTypeDef:
    return {
        "jobRun": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetJobRunResponseTypeDef(TypedDict):
    jobRun: JobRunTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See JobRunTypeDef
  2. See ResponseMetadataTypeDef